Summary: | media-gfx/gmic-1.5.9.2-r1: fails to build with --as-needed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | Current packages | Assignee: | Gentoo Graphics Project <graphics+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esigra, mjo, vivo75 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://tinderboxlogs.s3.amazonaws.com/tbamd64.excelsior.flameeyes.eu/media-gfx%3Agmic-1.5.9.2-r1%3A20140823-120130.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 129413 | ||
Attachments: | media-gfx:gmic-1.5.9.2-r1:20140823-120130.html |
Description
Diego Elio Pettenò (RETIRED)
![]() media-gfx/gmic-1.6.0.2
* Applying gmic-1.6.0.2-makefile.patch ...
[ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-gfx/gmic-1.6.0.2/work/gmic-1.6.0.2/src ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-gfx/gmic-1.6.0.2/work/gmic-1.6.0.2/src ...
make -j12 -s AR=x86_64-pc-linux-gnu-ar CC=x86_64-pc-linux-gnu-g++ 'CFLAGS=-O2 -march=westmere -pipe -mno-3dnow -mno-sse4a -mno-movbe -mno-sha -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-lzcnt -mno-rtm -mno-hle -mno-rdrnd -mno-f16c -mno-fsgsbase -mno-rdseed -mno-prfchw -mno-adx -mno-xsave -mno-xsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 --param=l1-cache-size=32 --param=l1-cache-line-size=64 --param=l2-cache-size=12288 -mtune=westmere -mno-bmi2 -mno-avx2 -mno-lzcnt -mrdrnd --param=l1-cache-size=32 -mno-rtm -mno-hle -mno-rdseed -mno-prfchw -mno-adx -fvisibility-inlines-hidden -fabi-version=6 -ffor-scope -fstrict-enums -fuse-cxa-atexit -ffat-lto-objects' LIB=lib64 OPT_CFLAGS= DEBUG_CFLAGS= linux lib
/var/tmp/portage/media-gfx/gmic-1.6.0.2/temp/ccbLqtdL.o: In function `main':
gmic_use_lib.cpp:(.text+0x7a): undefined reference to `cimg_library::CImgList<float>::assign(unsigned int)'
gmic_use_lib.cpp:(.text+0xc8): undefined reference to `cimg_library::CImg<float>::assign(unsigned int, unsigned int, unsigned int, unsigned int)'
gmic_use_lib.cpp:(.text+0x56c): undefined reference to `cimg_library::CImgList<float>::assign(unsigned int)'
gmic_use_lib.cpp:(.text+0x5b2): undefined reference to `cimg_library::CImgList<char>::~CImgList()'
gmic_use_lib.cpp:(.text+0x5c1): undefined reference to `cimg_library::CImgList<float>::~CImgList()'
gmic_use_lib.cpp:(.text+0x6cd): undefined reference to `cimg_library::CImgList<char>::~CImgList()'
gmic_use_lib.cpp:(.text+0x6e1): undefined reference to `cimg_library::CImgList<float>::~CImgList()'
/var/tmp/portage/media-gfx/gmic-1.6.0.2/temp/ccbLqtdL.o: In function `gmic& gmic::run<float>(char const*, cimg_library::CImgList<float>&, cimg_library::CImgList<char>&, float*, bool*)':
gmic_use_lib.cpp:(.text._ZN4gmic3runIfEERS_PKcRN12cimg_library8CImgListIT_EERNS5_IcEEPfPb[_ZN4gmic3runIfEERS_PKcRN12cimg_library8CImgListIT_EERNS5_IcEEPfPb]+0xa3): undefined reference to `cimg_library::CImgList<char>::~CImgList()'
gmic_use_lib.cpp:(.text._ZN4gmic3runIfEERS_PKcRN12cimg_library8CImgListIT_EERNS5_IcEEPfPb[_ZN4gmic3runIfEERS_PKcRN12cimg_library8CImgListIT_EERNS5_IcEEPfPb]+0xc6): undefined reference to `cimg_library::CImgList<char>::~CImgList()'
collect2: error: ld returned 1 exit status
Makefile:394: recipe for target 'gmic_lib' failed
make[1]: *** [gmic_lib] Error 1
Makefile:350: recipe for target 'lib' failed
make: *** [lib] Error 2
make: *** Waiting for unfinished jobs....
* ERROR: media-gfx/gmic-1.6.0.2::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=media-gfx/gmic-1.6.0.2::gentoo'`,
* the complete build log and the output of `emerge -pqv '=media-gfx/gmic-1.6.0.2::gentoo'`.
* The complete build log is located at '/var/log/portage/media-gfx:gmic-1.6.0.2:20141203-234354.log.gz'.
* The ebuild environment file is located at '/var/tmp/portage/media-gfx/gmic-1.6.0.2/temp/environment'.
* Working directory: '/var/tmp/portage/media-gfx/gmic-1.6.0.2/work/gmic-1.6.0.2/src'
* S: '/var/tmp/portage/media-gfx/gmic-1.6.0.2/work/gmic-1.6.0.2/src'
cp: cannot stat ‘/var/tmp/portage/media-gfx/gmic-1.6.0.2/temp/build.log’: No such file or directory
* Messages for package media-gfx/gmic-1.6.0.2:
* ERROR: media-gfx/gmic-1.6.0.2::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=media-gfx/gmic-1.6.0.2::gentoo'`,
* the complete build log and the output of `emerge -pqv '=media-gfx/gmic-1.6.0.2::gentoo'`.
* The complete build log is located at '/var/log/portage/media-gfx:gmic-1.6.0.2:20141203-234354.log.gz'.
* The ebuild environment file is located at '/var/tmp/portage/media-gfx/gmic-1.6.0.2/temp/environment'.
* Working directory: '/var/tmp/portage/media-gfx/gmic-1.6.0.2/work/gmic-1.6.0.2/src'
* S: '/var/tmp/portage/media-gfx/gmic-1.6.0.2/work/gmic-1.6.0.2/src'
Created attachment 390892 [details]
media-gfx:gmic-1.5.9.2-r1:20140823-120130.html
external link from diego tinderbox
(In reply to Francesco Riosa from comment #2) > Created attachment 390892 [details] > media-gfx:gmic-1.5.9.2-r1:20140823-120130.html > > external link from diego tinderbox Makefile patch fixes welcome, I haven't been able to ever reproduce this but I'd probably have to track down that as-needed gcc profile forcing method to do so. The latest media-gfx/gmic-1.7.9 works for me, even with the modified specs file. The problem was likely fixed when gmic switched to cmake. Resolved? Or somebody want to confirm? Closing this since I still can't reproduce it either with new versions. |