Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82589 - splashutils-0.9_pre10 fails when trying to use libjpeg
Summary: splashutils-0.9_pre10 fails when trying to use libjpeg
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-19 08:45 UTC by Karsten Becker
Modified: 2005-02-20 07:22 UTC (History)
1 user (show)

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 Karsten Becker 2005-02-19 08:45:09 UTC
desktop lib # env-update && source /etc/profile && env-update && emerge splashutils && env-update && source /etc/profile &&env-update
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies...
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies...
Calculating dependencies ...done!
>>> emerge (1 of 1) media-gfx/splashutils-0.9_pre10 to /
>>> md5 src_uri ;-) splashutils-0.9-pre10.tar.bz2
>>> md5 src_uri ;-) miscsplashutils-0.1.2.tar.bz2
>>> md5 src_uri ;-) splashutils-gentoo-0.1.2.tar.bz2
>>> md5 src_uri ;-) fbsplash-theme-emergence-r1.tar.bz2
>>> md5 src_uri ;-) fbsplash-theme-gentoo.tar.bz2
>>> Unpacking source...
>>> Unpacking splashutils-0.9-pre10.tar.bz2 to /var/tmp/portage/splashutils-0.9_pre10/work
>>> Unpacking miscsplashutils-0.1.2.tar.bz2 to /var/tmp/portage/splashutils-0.9_pre10/work
>>> Unpacking splashutils-gentoo-0.1.2.tar.bz2 to /var/tmp/portage/splashutils-0.9_pre10/work
>>> Unpacking fbsplash-theme-emergence-r1.tar.bz2 to /var/tmp/portage/splashutils-0.9_pre10/work
>>> Unpacking fbsplash-theme-gentoo.tar.bz2 to /var/tmp/portage/splashutils-0.9_pre10/work
>>> Source unpacked.
  MAKE    klibc
opening ../linux/include/linux/errno.h
opening ../linux/include/asm/errno.h
opening ../linux/include/asm-generic/errno.h
opening ../linux/include/asm-generic/errno-base.h
EPERM (1) => "Operation not permitted"
ENOENT (2) => "No such file or directory"

...[cut out a bit]...

SYSCALL FOUND: sethostname
SYSCALL FOUND: pread64
SYSCALL FOUND: getrlimit
SYSCALL FOUND: tkill
  CONF    libjpeg
configure: error: installation or configuration problem: C compiler cannot create executables.
sed: can't read Makefile: No such file or directory
make[1]: Entering directory `/var/tmp/portage/splashutils-0.9_pre10/work/splashutils-0.9-pre10/libs/jpeg-6b'
make[1]: *** No rule to make target `libjpeg.a'.  Stop.
make[1]: Leaving directory `/var/tmp/portage/splashutils-0.9_pre10/work/splashutils-0.9-pre10/libs/jpeg-6b'
  MAKE    libjpeg
make[1]: *** No rule to make target `libjpeg.a'.  Stop.
make: *** [jpeglib] Error 2
cc -O2 fbres.c -o fbres
strip fbres
make[1]: Entering directory `/var/tmp/portage/splashutils-0.9_pre10/work/miscsplashutils-0.1.2/fbtruetype'
gcc -O2 -Wall -I/usr/include/freetype2   -c -o fbtruetype.o fbtruetype.c
gcc -O2 -Wall -I/usr/include/freetype2   -c -o messages.o messages.c
gcc -O2 -Wall -I/usr/include/freetype2   -c -o console.o console.c
gcc -O2 -Wall -I/usr/include/freetype2   -c -o ttf.o ttf.c
gcc -O2 -Wall -I/usr/include/freetype2   -c -o luxisri.o luxisri.c
gcc -O2 -Wall -I/usr/include/freetype2 -L/usr/lib -o fbtruetype -L/usr/lib fbtruetype.o messages.o console.o ttf.o luxisri.o -lfreetype -lm
gcc -O2 -Wall -I/usr/include/freetype2 -L/usr/lib -static -o fbtruetype.static -L/usr/lib fbtruetype.o messages.o console.ottf.o luxisri.o /usr/lib/libfreetype.a /usr/lib/libz.a -lm
strip -s fbtruetype fbtruetype.static
make[1]: Leaving directory `/var/tmp/portage/splashutils-0.9_pre10/work/miscsplashutils-0.1.2/fbtruetype'
>>> Test phase [not enabled]: media-gfx/splashutils-0.9_pre10

>>> Install splashutils-0.9_pre10 into /var/tmp/portage/splashutils-0.9_pre10/image/ category media-gfx
install -D fbres /var/tmp/portage/splashutils-0.9_pre10/image//sbin/fbres
make[1]: Entering directory `/var/tmp/portage/splashutils-0.9_pre10/work/miscsplashutils-0.1.2/fbtruetype'
install -D fbtruetype /var/tmp/portage/splashutils-0.9_pre10/image//sbin/fbtruetype
install -D fbtruetype.static /var/tmp/portage/splashutils-0.9_pre10/image//sbin/fbtruetype.static
make[1]: Leaving directory `/var/tmp/portage/splashutils-0.9_pre10/work/miscsplashutils-0.1.2/fbtruetype'
  CONF    libjpeg
configure: error: installation or configuration problem: C compiler cannot create executables.
sed: can't read Makefile: No such file or directory
make[1]: Entering directory `/var/tmp/portage/splashutils-0.9_pre10/work/splashutils-0.9-pre10/libs/jpeg-6b'
make[1]: *** No rule to make target `libjpeg.a'.  Stop.
make[1]: Leaving directory `/var/tmp/portage/splashutils-0.9_pre10/work/splashutils-0.9-pre10/libs/jpeg-6b'
  MAKE    libjpeg
make[1]: *** No rule to make target `libjpeg.a'.  Stop.
make: *** [jpeglib] Error 2

!!! ERROR: media-gfx/splashutils-0.9_pre10 failed.
!!! Function src_install, Line 84, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


-----


But libjpeg is there:

desktop lib # ll /usr/lib/libj*
-rw-r--r--  1 root root 244K 19. Feb 17:29 /usr/lib/libjpeg.a
-rwxr-xr-x  1 root root  790 19. Feb 17:29 /usr/lib/libjpeg.la
lrwxrwxrwx  1 root root   17 19. Feb 17:29 /usr/lib/libjpeg.so -> libjpeg.so.62.
lrwxrwxrwx  1 root root   17 19. Feb 17:29 /usr/lib/libjpeg.so.62 -> libjpeg.so.
-rwxr-xr-x  1 root root 158K 19. Feb 17:29 /usr/lib/libjpeg.so.62.0.0


Reproducible: Always
Steps to Reproduce:
1. Only try to 'emerge splashutils'.

Actual Results:  
See description. Doesn't work.

Expected Results:  
Should work.
Comment 1 Michal Januszewski (RETIRED) gentoo-dev 2005-02-20 04:01:56 UTC
Please stop the build (CRTL-C) after you see 'make[1]: *** No rule to make target `libjpeg.a'.  Stop.' and attach /var/tmp/portage/splashutils-0.9_pre10/work/splashutils-0.9-pre10/libs/jpeg-6b/config.log to this bug.
Comment 2 Karsten Becker 2005-02-20 07:22:41 UTC
Got it. The build doesn't like any LDFLAGS. After commenting them out, it worked. I'm ashamed.