amiaopensource / homebrew-amiaos

Homebrew tap for AMIA Open Source
MIT License
29 stars 14 forks source link

gtkdialog install error: "binutils/bin/ld: /lib/x86_64-linux-gnu/libpthread.so.0: undefined reference to ..." #363

Open pjotrek-b opened 1 year ago

pjotrek-b commented 1 year ago

This error seems different than #355:

$ brew install gtkdialog throws the following error:

Last 15 lines from /home/arkthis/.cache/Homebrew/Logs/gtkdialog/02.make: /home/linuxbrew/.linuxbrew/opt/binutils/bin/ld: /lib/x86_64-linux-gnu/libpthread.so.0: undefined reference to __libc_siglongjmp@GLIBC_PRIVATE' /home/linuxbrew/.linuxbrew/opt/binutils/bin/ld: /lib/x86_64-linux-gnu/libpthread.so.0: undefined reference tolibc_pthread_init@GLIBC_PRIVATE' /home/linuxbrew/.linuxbrew/opt/binutils/bin/ld: /lib/x86_64-linux-gnu/libpthread.so.0: undefined reference to `libc_allocate_rtsig_private@GLIBC_PRIVATE' /home/linuxbrew/.linuxbrew/opt/binutils/bin/ld: /lib/x86_64-linux-gnu/libpthread.so.0: undefined reference to __libc_dlopen_mode@GLIBC_PRIVATE' /home/linuxbrew/.linuxbrew/opt/binutils/bin/ld: /lib/x86_64-linux-gnu/libpthread.so.0: undefined reference tolibc_dlsym@GLIBC_PRIVATE' /home/linuxbrew/.linuxbrew/opt/binutils/bin/ld: /lib/x86_64-linux-gnu/libpthread.so.0: undefined reference to __libc_longjmp@GLIBC_PRIVATE' /home/linuxbrew/.linuxbrew/opt/binutils/bin/ld: /lib/x86_64-linux-gnu/libpthread.so.0: undefined reference tolibc_current_sigrtmin_private@GLIBC_PRIVATE' collect2: error: ld returned 1 exit status make[3]: [Makefile:483: gtkdialog] Error 1 make[3]: Leaving directory '/tmp/gtkdialog-20230830-161885-1p5yi0g/gtkdialog-0.8.4d/src' make[2]: [Makefile:402: all] Error 2 make[2]: Leaving directory '/tmp/gtkdialog-20230830-161885-1p5yi0g/gtkdialog-0.8.4d/src' make[1]: [Makefile:424: all-recursive] Error 1 make[1]: Leaving directory '/tmp/gtkdialog-20230830-161885-1p5yi0g/gtkdialog-0.8.4d' make: [Makefile:363: all] Error 2

This is on Xubuntu 20.04.6. btw: vrecord brew-installation has worked flawlessly on that OS/version in 2021-10.

privatezero commented 1 year ago

I can't reproduce on my versions of Ubuntu - I wonder if something is going wonky with the autogen.sh step. If you run the install in interactive mode (brew install -i gtkdialog) and then run ./autogen.sh in the build directory, does it throw any errors?

retokromer commented 1 year ago

@privatezero You were quicker. I can’t reproduce neither on Ubuntu 23.04, 22.04.3 LTS and 20.04.6 LTS.

pjotrek-b commented 1 year ago

Interesting that you can't reproduce it. Good! Yet odd for me :wink: I'll revert my VM and try again then.

Thanks for checking!