You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was very excited to test the new version of tflint on our project as it ran on my machine so I decided to put it on our CI. Unfortunately things didn't go well :/
Long story short: I think there was something different/strange regarding linking libraries when generating this new version.
These are some steps one can do to reproduce the issue:
Version 0.4.3 - Everything working
$ docker run --entrypoint /bin/sh -ti hashicorp/terraform:0.10.6
# curl -L -o /tmp/tflint.zip https://github.com/wata727/tflint/releases/download/v0.4.3/tflint_linux_amd64.zip && unzip /tmp/tflint.zip -d /usr/local/bin
...
# tflint
Awesome! Your code is following the best practices :)
# apk add --upgrade file
...
# file /usr/local/bin/tflint
/usr/local/bin/tflint: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, with debug_info, not stripped
# ldd /usr/local/bin/tflint
ldd: /usr/local/bin/tflint: Not a valid dynamic program
Version 0.5.0 - with terraform 0.10.6
$ docker run --entrypoint /bin/sh -ti hashicorp/terraform:0.10.6
# curl -L -o /tmp/tflint.zip https://github.com/wata727/tflint/releases/download/v0.5.0/tflint_linux_amd64.zip && unzip /tmp/tflint.zip -d /usr/local/bin
...
# tflint
/bin/sh: tflint: not found
# apk add --upgrade file
...
# file /usr/local/bin/tflint
/usr/local/bin/tflint: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, with debug_info, not stripped
# ldd /usr/local/bin/tflint
/lib64/ld-linux-x86-64.so.2 (0x5605e5ca0000)
libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x5605e5ca0000)
libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x5605e5ca0000)
Error relocating /usr/local/bin/tflint: __vfprintf_chk: symbol not found
Error relocating /usr/local/bin/tflint: __fprintf_chk: symbol not found
Version 0.5.0 - with terraform 0.10.7
$ docker run --entrypoint /bin/sh -ti hashicorp/terraform:0.10.7
# curl -L -o /tmp/tflint.zip https://github.com/wata727/tflint/releases/download/v0.5.0/tflint_linux_amd64.zip && unzip /tmp/tflint.zip -d /usr/local/bin
...
# tflint
/bin/sh: tflint: not found
# apk add --upgrade file
...
# file /usr/local/bin/tflint
/usr/local/bin/tflint: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, with debug_info, not stripped
# ldd /usr/local/bin/tflint
/lib64/ld-linux-x86-64.so.2 (0x55e51813d000)
libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x55e51813d000)
libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x55e51813d000)
Error relocating /usr/local/bin/tflint: __vfprintf_chk: symbol not found
Error relocating /usr/local/bin/tflint: __fprintf_chk: symbol not found
Please ping if there is something I can do to help.
The text was updated successfully, but these errors were encountered:
@hposca I certainly confirmed this problem. I think that it is probably caused by the different release environment. Since v0.5.1 was released in the previous environment, please try this.
In the future, I would like to release this on Travis and to prevent this problem.
Hi there.
I was very excited to test the new version of
tflint
on our project as it ran on my machine so I decided to put it on our CI. Unfortunately things didn't go well :/Long story short: I think there was something different/strange regarding linking libraries when generating this new version.
These are some steps one can do to reproduce the issue:
Version 0.4.3 - Everything working
Version 0.5.0 - with terraform 0.10.6
Version 0.5.0 - with terraform 0.10.7
Please ping if there is something I can do to help.
The text was updated successfully, but these errors were encountered: