Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43346 - bootsplash-0.6-r7 fails to compile
Summary: bootsplash-0.6-r7 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-29 21:21 UTC by Dave Worth
Modified: 2004-03-06 03:03 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 Dave Worth 2004-02-29 21:21:45 UTC
I am unable to emerge media-gfx/bootsplash-0.6-r7.  I ran this as part of a routine emerge -U world.  Not sure if I have something missing that I need to unemerge and emerge again, but I haven't been able to find a solution.




Reproducible: Always
Steps to Reproduce:
1. emerge media-gfx/bootsplash-0.6-r7
2.
3.

Actual Results:  

>>> emerge (1 of 6) media-gfx/bootsplash-0.6-r7 to /
>>> md5 src_uri ;-) bootsplash-0.6-r7.tar.bz2
>>> Unpacking source...
>>> Unpacking bootsplash-0.6-r7.tar.bz2 to /var/tmp/portage/bootsplash-0.6-r7/work
>>> Source unpacked.
gcc -O2 -Wall   -c -o fbmngplay.o fbmngplay.c
gcc -O2 -Wall   -c -o messages.o messages.c
gcc -O2 -Wall   -c -o mng.o mng.c
gcc -O2 -Wall   -c -o console.o console.c
gcc -O2 -Wall -L/usr/lib  -o fbmngplay -L/usr/lib  fbmngplay.o messages.o mng.o
console.o -lmng -lz -lm
gcc -O2 -Wall -L/usr/lib  -static -o fbmngplay.static -L/usr/lib  fbmngplay.o
messages.o mng.o console.o /usr/lib/libmng.a /usr/lib/libjpeg.a /usr/lib/libz.a -lm
/usr/lib/libmng.a(libmng_cms.o)(.text+0xe): In function `mnglcms_initlibrary':
: undefined reference to `cmsErrorAction'
/usr/lib/libmng.a(libmng_cms.o)(.text+0x35): In function
`mnglcms_createfileprofile':
: undefined reference to `cmsOpenProfileFromFile'
/usr/lib/libmng.a(libmng_cms.o)(.text+0xf7): In function
`mnglcms_createsrgbprofile':
: undefined reference to `cmsWhitePointFromTemp'
/usr/lib/libmng.a(libmng_cms.o)(.text+0x113): In function
`mnglcms_createsrgbprofile':
: undefined reference to `cmsBuildGamma'
/usr/lib/libmng.a(libmng_cms.o)(.text+0x13b): In function
`mnglcms_createsrgbprofile':
: undefined reference to `cmsCreateRGBProfile'
/usr/lib/libmng.a(libmng_cms.o)(.text+0x14b): In function
`mnglcms_createsrgbprofile':
: undefined reference to `cmsFreeGamma'
/usr/lib/libmng.a(libmng_cms.o)(.text+0x22b): In function `init_full_cms':
: undefined reference to `cmsOpenProfileFromMem'
/usr/lib/libmng.a(libmng_cms.o)(.text+0x270): In function `init_full_cms':
: undefined reference to `cmsCreateTransform'
/usr/lib/libmng.a(libmng_cms.o)(.text+0x50a): In function `init_full_cms':
: undefined reference to `cmsBuildGamma'
/usr/lib/libmng.a(libmng_cms.o)(.text+0x54e): In function `init_full_cms':
: undefined reference to `cmsCreateRGBProfile'
/usr/lib/libmng.a(libmng_cms.o)(.text+0x55e): In function `init_full_cms':
: undefined reference to `cmsFreeGamma'
/usr/lib/libmng.a(libmng_cms.o)(.text+0x6a3): In function `init_full_cms_object':
: undefined reference to `cmsOpenProfileFromMem'
/usr/lib/libmng.a(libmng_cms.o)(.text+0x6e8): In function `init_full_cms_object':
: undefined reference to `cmsCreateTransform'
/usr/lib/libmng.a(libmng_cms.o)(.text+0x8e9): In function `init_full_cms_object':
: undefined reference to `cmsBuildGamma'
/usr/lib/libmng.a(libmng_cms.o)(.text+0x933): In function `init_full_cms_object':
: undefined reference to `cmsCreateRGBProfile'
/usr/lib/libmng.a(libmng_cms.o)(.text+0x943): In function `init_full_cms_object':
: undefined reference to `cmsFreeGamma'
/usr/lib/libmng.a(libmng_cms.o)(.text+0x988): In function `correct_full_cms':
: undefined reference to `cmsDoTransform'
/usr/lib/libmng.a(libmng_cms.o)(.text+0x51): In function `mnglcms_creatememprofile':
: undefined reference to `cmsOpenProfileFromMem'
/usr/lib/libmng.a(libmng_cms.o)(.text+0x165): In function
`mnglcms_freeprofile':: undefined reference to `cmsCloseProfile'
/usr/lib/libmng.a(libmng_cms.o)(.text+0x175): In function `mnglcms_freetransform':
: undefined reference to `cmsDeleteTransform'
collect2: ld returned 1 exit status
make: *** [fbmngplay.static] Error 1
 
!!! ERROR: media-gfx/bootsplash-0.6-r7 failed.
!!! Function src_compile, Line 23, Exitcode 2
!!! (no error message)

Expected Results:  
emerged package

Running linux-2.4.20-gentoo-r9, 

make.conf is:

USE="gnome gtk -kde -qt"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CXXFLAGS="${CFLAGS}"
GENTOO_MIRRORS="http://mirror.clarkson.edu/pub/distributions/gentoo/"
Comment 1 Troy Dack 2004-03-01 00:51:28 UTC
Bump
Comment 2 Michal Januszewski (RETIRED) gentoo-dev 2004-03-01 14:09:17 UTC
Could you please check whether the problem is still there with -r8/-r9? It would also be helpful if you told us what version of media-libs/libmng and media-libs/jpeg you're using.
Comment 3 Dave Worth 2004-03-02 08:19:05 UTC
I do receive the same error with r8.  I'm using media-libs/libmng-1.0.5 and media-libs/jpeg-6b-r3.  Thank you!
Comment 4 Michal Januszewski (RETIRED) gentoo-dev 2004-03-03 07:27:14 UTC
Ok.. please reemerge media-libs/lcms and media-libs/libmng and tell us whether the problem is still there. If this doesn't help, please go to 

/var/tmp/portage/bootsplash-0.6-r8/work/bootsplash-0.6-r8/utils/fbmngplay/

and execute:

gcc -O2 -Wall -L/usr/lib  -static -o fbmngplay.static -L/usr/lib  fbmngplay.o
messages.o mng.o console.o /usr/lib/libmng.a /usr/lib/libjpeg.a /usr/lib/liblcms.a /usr/lib/libz.a -lm

and see if the errors are still there.
Comment 5 Dave Worth 2004-03-03 09:12:24 UTC
Ok, unemerged & reemerged media-libs/lcms and did the same with media-libs/libmng, then tried to emerge bootsplash-0.6-r7, but no joy.

I also ran the command you recommended from:
/var/tmp/portage/bootsplash-0.6-r8/work/bootsplash-0.6-r8/utils/fbmngplay/
and then tried to emerge bootsplash-0.6-r7, but I received this error:

>>> emerge (1 of 6) media-gfx/bootsplash-0.6-r8 to /
>>> md5 src_uri ;-) bootsplash-0.6-r8.tar.bz2
>>> Unpacking source...
>>> Unpacking bootsplash-0.6-r8.tar.bz2 to /var/tmp/portage/bootsplash-0.6-r8/work
>>> Source unpacked.
gcc -O2 -Wall   -c -o fbmngplay.o fbmngplay.c
gcc -O2 -Wall   -c -o messages.o messages.c
gcc -O2 -Wall   -c -o mng.o mng.c
gcc -O2 -Wall   -c -o console.o console.c
gcc -O2 -Wall -L/usr/lib  -o fbmngplay -L/usr/lib  fbmngplay.o messages.o mng.o console.o -lmng -lz -lm
gcc -O2 -Wall -L/usr/lib  -static -o fbmngplay.static -L/usr/lib  fbmngplay.o messages.o mng.o console.o /usr/lib/libmng.a /usr/lib/libjpeg.a /usr/lib/libz.a -lm
/usr/lib/libmng.a(libmng_cms.o)(.text+0xe): In function `mnglcms_initlibrary':
: undefined reference to `cmsErrorAction'
/usr/lib/libmng.a(libmng_cms.o)(.text+0x35): In function `mnglcms_createfileprofile':
: undefined reference to `cmsOpenProfileFromFile'
/usr/lib/libmng.a(libmng_cms.o)(.text+0xbc): In function `mnglcms_createsrgbprofile':
: undefined reference to `cmsWhitePointFromTemp'
/usr/lib/libmng.a(libmng_cms.o)(.text+0xd2): In function `mnglcms_createsrgbprofile':
: undefined reference to `cmsBuildGamma'
/usr/lib/libmng.a(libmng_cms.o)(.text+0xfa): In function `mnglcms_createsrgbprofile':
: undefined reference to `cmsCreateRGBProfile'
/usr/lib/libmng.a(libmng_cms.o)(.text+0x10a): In function `mnglcms_createsrgbprofile':
: undefined reference to `cmsFreeGamma'
/usr/lib/libmng.a(libmng_cms.o)(.text+0x1eb): In function `init_full_cms':
: undefined reference to `cmsOpenProfileFromMem'
/usr/lib/libmng.a(libmng_cms.o)(.text+0x230): In function `init_full_cms':
: undefined reference to `cmsCreateTransform'
/usr/lib/libmng.a(libmng_cms.o)(.text+0x4bf): In function `init_full_cms':
: undefined reference to `cmsBuildGamma'
/usr/lib/libmng.a(libmng_cms.o)(.text+0x4ee): In function `init_full_cms':
: undefined reference to `cmsCreateRGBProfile'
/usr/lib/libmng.a(libmng_cms.o)(.text+0x4fe): In function `init_full_cms':
: undefined reference to `cmsFreeGamma'
/usr/lib/libmng.a(libmng_cms.o)(.text+0x63d): In function `init_full_cms_object':
: undefined reference to `cmsOpenProfileFromMem'
/usr/lib/libmng.a(libmng_cms.o)(.text+0x682): In function `init_full_cms_object':
: undefined reference to `cmsCreateTransform'
/usr/lib/libmng.a(libmng_cms.o)(.text+0x874): In function `init_full_cms_object':
: undefined reference to `cmsBuildGamma'
/usr/lib/libmng.a(libmng_cms.o)(.text+0x8a9): In function `init_full_cms_object':
: undefined reference to `cmsCreateRGBProfile'
/usr/lib/libmng.a(libmng_cms.o)(.text+0x8b9): In function `init_full_cms_object':
: undefined reference to `cmsFreeGamma'
/usr/lib/libmng.a(libmng_cms.o)(.text+0x918): In function `correct_full_cms':
: undefined reference to `cmsDoTransform'
/usr/lib/libmng.a(libmng_cms.o)(.text+0x51): In function `mnglcms_creatememprofile':
: undefined reference to `cmsOpenProfileFromMem'
/usr/lib/libmng.a(libmng_cms.o)(.text+0x125): In function `mnglcms_freeprofile':: undefined reference to `cmsCloseProfile'
/usr/lib/libmng.a(libmng_cms.o)(.text+0x135): In function `mnglcms_freetransform':
: undefined reference to `cmsDeleteTransform'
collect2: ld returned 1 exit status
make: *** [fbmngplay.static] Error 1
 
!!! ERROR: media-gfx/bootsplash-0.6-r8 failed.
!!! Function src_compile, Line 23, Exitcode 2
!!! (no error message)

Thank you for your help & suggestions...
Comment 6 Michal Januszewski (RETIRED) gentoo-dev 2004-03-03 09:37:56 UTC
Sorry, I didn't make it clear, what I wanted you to check is whether going to /var/tmp/portage/bootsplash-0.6-r8/work/bootsplash-0.6-r8/utils/fbmngplay/ and executing `gcc -O2 -Wall -L/usr/lib  -static -o fbmngplay.static -L/usr/lib  fbmngplay.o messages.o mng.o console.o /usr/lib/libmng.a /usr/lib/libjpeg.a /usr/lib/liblcms.a /usr/lib/libz.a -lm` from there gives any errors. Please don't try to emerge Bootsplash after doing so. Just cd into this dir and check if this command gives any errors. If it doesn't - we have a fix which I'll include into our Bootsplash package. If it does - then we'll have to think of smth else :)
Comment 7 Dave Worth 2004-03-03 13:54:39 UTC
DOH!  Gotcha.  No, running that command did not give me any errors.  Sorry for the confusion & thanks again!

Dave
Comment 8 Michal Januszewski (RETIRED) gentoo-dev 2004-03-06 03:03:55 UTC
Well then, we've just found a solution :) The fix is included in the latest Bootsplash (0.6-r11). It's still ~x86, so you might need to use `ACCEPT_KEYWORDS="~x86" emerge -u bootsplash` in order to install it. Thanks for your cooperation on solving this issue.