Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC
Bug 684660 - media-gfx/gmic-2.5.3 - ld: CMakeFiles/gmic_krita_qt.dir/src/CroppedImageListProxy.cpp.o: undefined reference to symbol 'pthread_testcancel@@GLIBC_2.2.5'
Summary: media-gfx/gmic-2.5.3 - ld: CMakeFiles/gmic_krita_qt.dir/src/CroppedImageListP...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-28 19:56 UTC by Jaak Ristioja
Modified: 2020-07-30 02:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,238.36 KB, text/plain)
2019-04-28 19:56 UTC, Jaak Ristioja
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaak Ristioja 2019-04-28 19:56:59 UTC
Created attachment 574576 [details]
build.log

media-gfx/gmic-2.5.3 fails to build:

[2/2] : && /usr/bin/x86_64-pc-linux-gnu-g++  -O2 -pipe -mtune=native -ggdb  -Wl,-O1 -Wl,--as-needed -s    -rdynamic CMakeFiles/gmic_krita_qt.dir/gmic_krita_qt_autogen/mocs_compilation.cpp.o CMakeFiles/gmic_krita_qt.dir/src/ClickableLabel.cpp.o CMakeFiles/gmic_krita_qt.dir/src/Common.cpp.o CMakeFiles/gmic_krita_qt.dir/src/OverrideCursor.cpp.o CMakeFiles/gmic_krita_qt.dir/src/DialogSettings.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterParameters/AbstractParameter.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterParameters/BoolParameter.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterParameters/ButtonParameter.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterParameters/ChoiceParameter.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterParameters/ColorParameter.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterParameters/ConstParameter.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterParameters/FileParameter.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterParameters/FilterParametersWidget.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterParameters/FloatParameter.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterParameters/FolderParameter.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterParameters/IntParameter.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterParameters/LinkParameter.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterParameters/MultilineTextParameterWidget.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterParameters/NoteParameter.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterParameters/PointParameter.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterParameters/SeparatorParameter.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterParameters/TextParameter.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterSelector/FiltersModel.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterSelector/FiltersModelReader.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterSelector/FiltersPresenter.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterSelector/FiltersView/FiltersView.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterSelector/FiltersView/TreeView.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterSelector/FiltersVisibilityMap.cpp.o CMakeFiles/gmic_krita_qt.dir/src/CroppedImageListProxy.cpp.o CMakeFiles/gmic_krita_qt.dir/src/CroppedActiveLayerProxy.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterSyncRunner.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterThread.cpp.o CMakeFiles/gmic_krita_qt.dir/src/gmic_qt.cpp.o CMakeFiles/gmic_krita_qt.dir/src/Globals.cpp.o CMakeFiles/gmic_krita_qt.dir/src/GmicStdlib.cpp.o CMakeFiles/gmic_krita_qt.dir/src/GmicProcessor.cpp.o CMakeFiles/gmic_krita_qt.dir/src/HeadlessProcessor.cpp.o CMakeFiles/gmic_krita_qt.dir/src/HtmlTranslator.cpp.o CMakeFiles/gmic_krita_qt.dir/src/IconLoader.cpp.o CMakeFiles/gmic_krita_qt.dir/src/ImageConverter.cpp.o CMakeFiles/gmic_krita_qt.dir/src/ImageTools.cpp.o CMakeFiles/gmic_krita_qt.dir/src/InputOutputState.cpp.o CMakeFiles/gmic_krita_qt.dir/src/KeypointList.cpp.o CMakeFiles/gmic_krita_qt.dir/src/LayersExtentProxy.cpp.o CMakeFiles/gmic_krita_qt.dir/src/Logger.cpp.o CMakeFiles/gmic_krita_qt.dir/src/MainWindow.cpp.o CMakeFiles/gmic_krita_qt.dir/src/ParametersCache.cpp.o CMakeFiles/gmic_krita_qt.dir/src/PreviewMode.cpp.o CMakeFiles/gmic_krita_qt.dir/src/TimeLogger.cpp.o CMakeFiles/gmic_krita_qt.dir/src/Updater.cpp.o CMakeFiles/gmic_krita_qt.dir/src/Utils.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterSelector/FiltersView/FilterTreeItem.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterSelector/FiltersView/FilterTreeFolder.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterSelector/FavesModel.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterSelector/FavesModelReader.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterSelector/FiltersView/FilterTreeAbstractItem.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterSelector/FiltersView/FilterTreeItemDelegate.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterSelector/FavesModelWriter.cpp.o CMakeFiles/gmic_krita_qt.dir/src/Widgets/PreviewWidget.cpp.o CMakeFiles/gmic_krita_qt.dir/src/Widgets/ProgressInfoWidget.cpp.o CMakeFiles/gmic_krita_qt.dir/src/Widgets/InOutPanel.cpp.o CMakeFiles/gmic_krita_qt.dir/src/Widgets/ZoomLevelSelector.cpp.o CMakeFiles/gmic_krita_qt.dir/src/Widgets/SearchFieldWidget.cpp.o CMakeFiles/gmic_krita_qt.dir/src/Widgets/LanguageSelectionWidget.cpp.o CMakeFiles/gmic_krita_qt.dir/src/Widgets/ProgressInfoWindow.cpp.o CMakeFiles/gmic_krita_qt.dir/src/Host/Krita/host_krita.cpp.o CMakeFiles/gmic_krita_qt.dir/gmic_krita_qt_autogen/EWIEGA46WW/qrc_gmic_qt.cpp.o CMakeFiles/gmic_krita_qt.dir/gmic_krita_qt_autogen/EWIEGA46WW/qrc_translations.cpp.o  -o gmic_krita_qt -L/var/tmp/portage/media-gfx/gmic-2.5.3/work/gmic-2.5.3_build /usr/lib64/libQt5Widgets.so.5.12.3 /usr/lib64/libQt5Gui.so.5.12.3 /usr/lib64/libQt5Network.so.5.12.3 -lpng -lz -lfftw3 -lz -lSM -lICE -lX11 -lXext -lgmic /usr/lib64/libQt5Core.so.5.12.3 -lfftw3 -lSM -lICE -lX11 -lXext -lgmic && :
FAILED: gmic_krita_qt 
: && /usr/bin/x86_64-pc-linux-gnu-g++  -O2 -pipe -mtune=native -ggdb  -Wl,-O1 -Wl,--as-needed -s    -rdynamic CMakeFiles/gmic_krita_qt.dir/gmic_krita_qt_autogen/mocs_compilation.cpp.o CMakeFiles/gmic_krita_qt.dir/src/ClickableLabel.cpp.o CMakeFiles/gmic_krita_qt.dir/src/Common.cpp.o CMakeFiles/gmic_krita_qt.dir/src/OverrideCursor.cpp.o CMakeFiles/gmic_krita_qt.dir/src/DialogSettings.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterParameters/AbstractParameter.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterParameters/BoolParameter.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterParameters/ButtonParameter.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterParameters/ChoiceParameter.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterParameters/ColorParameter.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterParameters/ConstParameter.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterParameters/FileParameter.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterParameters/FilterParametersWidget.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterParameters/FloatParameter.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterParameters/FolderParameter.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterParameters/IntParameter.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterParameters/LinkParameter.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterParameters/MultilineTextParameterWidget.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterParameters/NoteParameter.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterParameters/PointParameter.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterParameters/SeparatorParameter.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterParameters/TextParameter.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterSelector/FiltersModel.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterSelector/FiltersModelReader.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterSelector/FiltersPresenter.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterSelector/FiltersView/FiltersView.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterSelector/FiltersView/TreeView.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterSelector/FiltersVisibilityMap.cpp.o CMakeFiles/gmic_krita_qt.dir/src/CroppedImageListProxy.cpp.o CMakeFiles/gmic_krita_qt.dir/src/CroppedActiveLayerProxy.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterSyncRunner.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterThread.cpp.o CMakeFiles/gmic_krita_qt.dir/src/gmic_qt.cpp.o CMakeFiles/gmic_krita_qt.dir/src/Globals.cpp.o CMakeFiles/gmic_krita_qt.dir/src/GmicStdlib.cpp.o CMakeFiles/gmic_krita_qt.dir/src/GmicProcessor.cpp.o CMakeFiles/gmic_krita_qt.dir/src/HeadlessProcessor.cpp.o CMakeFiles/gmic_krita_qt.dir/src/HtmlTranslator.cpp.o CMakeFiles/gmic_krita_qt.dir/src/IconLoader.cpp.o CMakeFiles/gmic_krita_qt.dir/src/ImageConverter.cpp.o CMakeFiles/gmic_krita_qt.dir/src/ImageTools.cpp.o CMakeFiles/gmic_krita_qt.dir/src/InputOutputState.cpp.o CMakeFiles/gmic_krita_qt.dir/src/KeypointList.cpp.o CMakeFiles/gmic_krita_qt.dir/src/LayersExtentProxy.cpp.o CMakeFiles/gmic_krita_qt.dir/src/Logger.cpp.o CMakeFiles/gmic_krita_qt.dir/src/MainWindow.cpp.o CMakeFiles/gmic_krita_qt.dir/src/ParametersCache.cpp.o CMakeFiles/gmic_krita_qt.dir/src/PreviewMode.cpp.o CMakeFiles/gmic_krita_qt.dir/src/TimeLogger.cpp.o CMakeFiles/gmic_krita_qt.dir/src/Updater.cpp.o CMakeFiles/gmic_krita_qt.dir/src/Utils.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterSelector/FiltersView/FilterTreeItem.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterSelector/FiltersView/FilterTreeFolder.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterSelector/FavesModel.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterSelector/FavesModelReader.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterSelector/FiltersView/FilterTreeAbstractItem.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterSelector/FiltersView/FilterTreeItemDelegate.cpp.o CMakeFiles/gmic_krita_qt.dir/src/FilterSelector/FavesModelWriter.cpp.o CMakeFiles/gmic_krita_qt.dir/src/Widgets/PreviewWidget.cpp.o CMakeFiles/gmic_krita_qt.dir/src/Widgets/ProgressInfoWidget.cpp.o CMakeFiles/gmic_krita_qt.dir/src/Widgets/InOutPanel.cpp.o CMakeFiles/gmic_krita_qt.dir/src/Widgets/ZoomLevelSelector.cpp.o CMakeFiles/gmic_krita_qt.dir/src/Widgets/SearchFieldWidget.cpp.o CMakeFiles/gmic_krita_qt.dir/src/Widgets/LanguageSelectionWidget.cpp.o CMakeFiles/gmic_krita_qt.dir/src/Widgets/ProgressInfoWindow.cpp.o CMakeFiles/gmic_krita_qt.dir/src/Host/Krita/host_krita.cpp.o CMakeFiles/gmic_krita_qt.dir/gmic_krita_qt_autogen/EWIEGA46WW/qrc_gmic_qt.cpp.o CMakeFiles/gmic_krita_qt.dir/gmic_krita_qt_autogen/EWIEGA46WW/qrc_translations.cpp.o  -o gmic_krita_qt -L/var/tmp/portage/media-gfx/gmic-2.5.3/work/gmic-2.5.3_build /usr/lib64/libQt5Widgets.so.5.12.3 /usr/lib64/libQt5Gui.so.5.12.3 /usr/lib64/libQt5Network.so.5.12.3 -lpng -lz -lfftw3 -lz -lSM -lICE -lX11 -lXext -lgmic /usr/lib64/libQt5Core.so.5.12.3 -lfftw3 -lSM -lICE -lX11 -lXext -lgmic && :
/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/gmic_krita_qt.dir/src/CroppedImageListProxy.cpp.o: undefined reference to symbol 'pthread_testcancel@@GLIBC_2.2.5'
/lib64/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

man 3 pthread_testcancel states:

  Compile and link with -pthread.

I guess the reason for this bug is that the build system does not compile and/or link with -pthread.

[ebuild     U ~] media-gfx/gmic-2.5.3::gentoo [2.0.0::gentoo] USE="X cli ffmpeg fftw gimp jpeg krita%* openexr png tiff zlib -curl% -graphicsmagick -opencv -openmp -qt5% -static-libs"

# emerge --info
Portage 2.3.62 (python 3.6.5-final-0, default/linux/amd64/17.0/no-multilib/hardened, gcc-8.3.0, glibc-2.28-r6, 5.0.10-gentoo x86_64)
=================================================================
Timestamp of repository gentoo: Sun, 28 Apr 2019 00:45:01 +0000
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.30 p5) 2.30.0
distcc 3.3.2 x86_64-pc-linux-gnu [disabled]
ccache version 3.6 [disabled]
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.4.8::gentoo, 3.5.5-r1::gentoo, 3.6.5::gentoo
dev-util/ccache:          3.6::gentoo
dev-util/cmake:           3.14.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.38.3-r1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r4::gentoo, 2.31.1-r4::gentoo
sys-devel/gcc:            6.4.0-r5::gentoo, 7.3.0-r6::gentoo, 8.2.0-r6::gentoo, 8.3.0-r1::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.0-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.28-r6::gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mtune=native -ggdb"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="-O2 -pipe -mtune=native -ggdb"
DISTDIR="/var/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs clean-logs collision-protect compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr"
FFLAGS="-O2 -pipe"
LANG="POSIX"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en et et_EE"
MAKEOPTS="-j12"
USE="64bit X a52 aac acl acpi alsa amd64 amr aspell avx avx2 bash-completion bidi boost brightness-control bzip2 cairo canberra caps cdda cdr cli color-management colord cpudetection cracklib crypt cups custom-optimization cxx dbus doc double-precision dri dvd dvdr dvdread eds egl eglfs elogind emboss enca encode evdev evo exif faac faad fam fbcon ffmpeg fftw firefox flac fluidsynth fontconfig fontforge gcrypt gif git glitz gmp gnat_2017 gnuplot gnutls gpg gphoto2 gpm gtk gtk3 handbook hardened hdri heif htmlhandbook iconv icu id3tag idn imagemagick introspection ipv6 jpeg kate kde kontact kpathsea ladspa lapack laptop latex lcms libnotify libsamplerate libtirpc lua lz4 lzma lzo mad mailwrapper markdown matroska md5sum midi mikmod mmap mms mmx mng modplug mp3 mp4 mpeg mudflap ncurses nptl nptlonly ogg openal openexr opengl openh264 opus otr pcre pdf pic pie plasma png policykit postscript ppds projectm pulseaudio qalculate raw readline reflection rrdtool rtmp scanner schroedinger sdl sdl2 seccomp session smp sndfile source speex spell spl sqlite sse sse2 sse3 sse4_1 sse4_2 ssl ssp ssse3 startup-notification subversion svg sysfs system-sqlite tbb tcpd theora threads tiff truetype ucs2 udev unicode urandom usb v4l v4l2 vaapi valgrind vc vdpau vorbis vpx wayland webp wifi wmf x264 xattr xcb xcomposite xetex xft xinerama xorg xosd xprint xscreensaver xtpax xulrunner xv xvid zlib" ABI_X86="64" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 popcnt sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" KERNEL="linux" L10N="en et et-EE" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" USERLAND="GNU"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Tim Harder gentoo-dev 2019-07-02 21:26:57 UTC
Does this still occur with 2.6.7 that's now in the tree?
Comment 2 Tim Harder gentoo-dev 2019-09-27 03:28:00 UTC
Closing as obsolete, feel free to reopen if it still exists with current versions in the tree.
Comment 3 Jaak Ristioja 2019-12-28 12:07:21 UTC
(In reply to Tim Harder from comment #1)
> Does this still occur with 2.6.7 that's now in the tree?

Didn't try with 2.6.7, but it still happens with 2.7.2:

/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/gmic_krita_qt.dir/src/CroppedImageListProxy.cpp.o: undefined reference to symbol 'pthread_testcancel@@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /lib64/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.