Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 420595 - app-text/ghostscript-gpl-9.05-r1 needs >media-libs/lcms-2.0a
Summary: app-text/ghostscript-gpl-9.05-r1 needs >media-libs/lcms-2.0a
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-10 22:33 UTC by Fred Kastl
Modified: 2012-06-12 22:35 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fred Kastl 2012-06-10 22:33:18 UTC
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
Comment 1 Michael Weber (RETIRED) gentoo-dev 2012-06-11 08:08:07 UTC
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
Comment 2 Fred Kastl 2012-06-11 20:14:10 UTC
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
...
Comment 3 Michael Weber (RETIRED) gentoo-dev 2012-06-12 13:43:11 UTC
So it works after upgrading to lcms-2.3:2?
Comment 4 Fred Kastl 2012-06-12 22:35:17 UTC
Yes, after upgrading to lcms-2.3:2, I was able to build app-text/ghostscript-gpl-9.05-r1