[pkg-lxqt-devel] Bug#810732: nomacs: FTBFS on non-Linux: missing -lpthread

Aaron M. Ucko ucko at debian.org
Mon Jan 11 18:51:20 UTC 2016


Source: nomacs
Version: 3.0.0+dfsg-1
Severity: important
Justification: fails to build from source

Builds of nomacs on kFreeBSD and the Hurd have been failing with
errors along the lines of

  /usr/bin/ld: CMakeFiles/nomacs.dir/3rdparty/libwebp/src/utils/thread.c.o: undefined reference to symbol 'pthread_join@@GLIBC_2.3'
  //lib/x86_64-kfreebsd-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
  collect2: error: ld returned 1 exit status
  CMakeFiles/nomacs.dir/build.make:2896: recipe for target 'nomacs' failed

I'm not sure offhand why Linux builds are unaffected, but expect
linking with -lpthread should clear the errors up.

Incidentally, per Policy 4.13, it's best practice to use separately
packaged installations of third-party libraries such as libwebp when
possible.

Could you please look into these concerns?

Thanks!



More information about the pkg-lxqt-devel mailing list