Build failed. After installation of media-libs/lcms >1.19 it works. x86_64-pc-linux-gnu-gcc -DHAVE_MKSTEMP -DHAVE_FILE64 -DHAVE_MKSTEMP64 -DHAVE_FONTCONFIG -DHAVE_SETLOCALE -DHAVE_SSE2 -DHAVE_DBUS -DHAVE_BSWAP32 -DHAVE_BYTESWAP_H -fPIC -O2 -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H=1 -DHAVE_SYS_TIME_H=1 -DGX_COLOR_INDEX_TYPE="unsigned long int" -O2 -pipe -DUSE_LIBPAPER -DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"/usr/lib64/ghostscript/9.05\" -I./soobj -I./base -DWHICH_CMS="lcms2" -g -o ./sobin/gsc ./psi/dxmainc.c \ -Wl,-O1 -Wl,--as-needed -L./sobin -lgs ./psi/dxmainc.c: In function ‘gsdll_stdout’: ./psi/dxmainc.c:59: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result ./psi/dxmainc.c: In function ‘gsdll_stderr’: ./psi/dxmainc.c:67: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result ./sobin/libgs.so: undefined reference to `cmsGetTransformOutputFormat' ./sobin/libgs.so: undefined reference to `cmsChangeBuffersFormat' ./sobin/libgs.so: undefined reference to `cmsGetTransformInputFormat' collect2: ld returned 1 exit status make[2]: *** [sobin/gsc] Error 1 make[2]: Leaving directory `/var/tmp/portage/app-text/ghostscript-gpl-9.05-r1/work/ghostscript-9.05' make[1]: *** [so-subtarget] Error 2 make[1]: Leaving directory `/var/tmp/portage/app-text/ghostscript-gpl-9.05-r1/work/ghostscript-9.05' make: *** [so] Error 2 emake failed * ERROR: app-text/ghostscript-gpl-9.05-r1 failed (compile phase): * emake failed * * Call stack: * ebuild.sh, line 75: Called src_compile * environment, line 3038: Called die * The specific snippet of code: * emake -j1 so all || die "emake failed"; * * If you need support, post the output of 'emerge --info =app-text/ghostscript-gpl-9.05-r1', * the complete build log and the output of 'emerge -pqv =app-text/ghostscript-gpl-9.05-r1'. * The complete build log is located at '/var/tmp/portage/app-text/ghostscript-gpl-9.05-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/ghostscript-gpl-9.05-r1/temp/environment'. * S: '/var/tmp/portage/app-text/ghostscript-gpl-9.05-r1/work/ghostscript-9.05' * Messages for package app-text/ghostscript-gpl-9.05-r1: * ERROR: app-text/ghostscript-gpl-9.05-r1 failed (compile phase): * emake failed * * Call stack: * ebuild.sh, line 75: Called src_compile * environment, line 3038: Called die * The specific snippet of code: * emake -j1 so all || die "emake failed"; * * If you need support, post the output of 'emerge --info =app-text/ghostscript-gpl-9.05-r1', * the complete build log and the output of 'emerge -pqv =app-text/ghostscript-gpl-9.05-r1'. * The complete build log is located at '/var/tmp/portage/app-text/ghostscript-gpl-9.05-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/ghostscript-gpl-9.05-r1/temp/environment'. * S: '/var/tmp/portage/app-text/ghostscript-gpl-9.05-r1/work/ghostscript-9.05' * * The following package has failed to build or install: * * (app-text/ghostscript-gpl-9.05-r1::gentoo, ebuild scheduled for merge), Log file: * '/var/tmp/portage/app-text/ghostscript-gpl-9.05-r1/temp/build.log' * * IMPORTANT: 1 news items need reading for repository 'science'. * IMPORTANT: 21 news items need reading for repository 'gentoo'. * Use eselect news to read news items. # eix lcms * media-gfx/argyllcms Available versions: 1.4.0 {doc} Homepage: http://www.argyllcms.com/ Description: Open source, ICC compatible color management system [U] media-libs/lcms Available versions: (0) 1.19 (2) 2.2-r1 2.3 {doc jpeg python static-libs test tiff zlib} Installed versions: 1.19(16:13:22 14.11.2010)(jpeg python tiff zlib -static-libs) 2.0a(2)!t(16:17:48 14.11.2010)(jpeg tiff zlib -static-libs) Homepage: http://www.littlecms.com/ Description: A lightweight, speed optimized color management engine
Hello, I could not reproduce this problem. After removal of lcms:0 and lcms:2 an emerge of ghostscript-gpl pulled media-libs/lcms-2.3:2 (as recorded in the DEPENDS). Please provide the complete build.log (as attachment) and the outputs of `emerge -pv lcms` and `emerge -pv ghostscript-gpl`. Thanks
ok, sorry my fault (it was too late :-)) The Package media-libs/lcms-2.0a from Slot 2 was also installed and does not meet all requirements, i suppose. ghostscript-gpl-9.05-r1.ebuild COMMON_DEPEND=" ... media-libs/lcms:2 ...
So it works after upgrading to lcms-2.3:2?
Yes, after upgrading to lcms-2.3:2, I was able to build app-text/ghostscript-gpl-9.05-r1