Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 249300 - kdelibs-4.1.3-r1 won't link because undefined reference to `jpeg_resync_to_restart'
Summary: kdelibs-4.1.3-r1 won't link because undefined reference to `jpeg_resync_to_re...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-29 20:05 UTC by Frank Hollenbach
Modified: 2008-12-04 20:25 UTC (History)
0 users

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


Attachments
Build Log (build.log,866.61 KB, text/plain)
2008-11-29 20:08 UTC, Frank Hollenbach
Details
Environment (environment,132.88 KB, text/plain)
2008-11-29 20:09 UTC, Frank Hollenbach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Hollenbach 2008-11-29 20:05:24 UTC
Build fails with :
[ 79%] Building CXX object khtml/CMakeFiles/khtml.dir/khtmlpartadaptor.o
[ 79%] Building CXX object khtml/CMakeFiles/khtml.dir/kcookiejar_interface.o
Linking CXX shared library ../lib/libkhtml.so
CMakeFiles/khtml.dir/imload/decoders/jpegloader.o: In function `khtmlImLoad::JPEGLoader::Private::~Private()':
jpegloader.cpp:(.text+0x1a4): undefined reference to `jpeg_destroy_decompress'
CMakeFiles/khtml.dir/imload/decoders/jpegloader.o: In function `khtmlImLoad::JPEGLoader::Private::~Private()':
jpegloader.cpp:(.text+0x1fc): undefined reference to `jpeg_destroy_decompress'
CMakeFiles/khtml.dir/imload/decoders/jpegloader.o: In function `khtmlImLoad::JPEGLoader::Private::Private()':
jpegloader.cpp:(.text+0x284): undefined reference to `jpeg_std_error'
jpegloader.cpp:(.text+0x298): undefined reference to `jpeg_CreateDecompress'
jpegloader.cpp:(.text+0x2a0): undefined reference to `jpeg_std_error'
CMakeFiles/khtml.dir/imload/decoders/jpegloader.o: In function `khtmlImLoad::JPEGLoader::Private::Private()':
jpegloader.cpp:(.text+0x34c): undefined reference to `jpeg_std_error'
jpegloader.cpp:(.text+0x360): undefined reference to `jpeg_CreateDecompress'
jpegloader.cpp:(.text+0x368): undefined reference to `jpeg_std_error'
CMakeFiles/khtml.dir/imload/decoders/jpegloader.o: In function `khtmlImLoad::JPEGLoader::Private::processData(unsigned char*, int)':
jpegloader.cpp:(.text+0x748): undefined reference to `jpeg_read_scanlines'
jpegloader.cpp:(.text+0x7e4): undefined reference to `jpeg_start_output'
jpegloader.cpp:(.text+0x804): undefined reference to `jpeg_read_header'
jpegloader.cpp:(.text+0x8f8): undefined reference to `jpeg_finish_decompress'
jpegloader.cpp:(.text+0x900): undefined reference to `jpeg_destroy_decompress'
jpegloader.cpp:(.text+0x974): undefined reference to `jpeg_has_multiple_scans'
jpegloader.cpp:(.text+0x99c): undefined reference to `jpeg_calc_output_dimensions'
jpegloader.cpp:(.text+0x9cc): undefined reference to `jpeg_start_decompress'
jpegloader.cpp:(.text+0xaac): undefined reference to `jpeg_consume_input'
jpegloader.cpp:(.text+0xb44): undefined reference to `jpeg_finish_output'
jpegloader.cpp:(.text+0xb4c): undefined reference to `jpeg_input_complete'
CMakeFiles/khtml.dir/imload/decoders/jpegloader.o:(.got2+0xc): undefined reference to `jpeg_resync_to_restart'
collect2: ld returned 1 exit status
make[2]: *** [lib/libkhtml.so.5.1.0] Error 1
make[1]: *** [khtml/CMakeFiles/khtml.dir/all] Error 2
make: *** [all] Error 2


Reproducible: Always

Steps to Reproduce:
just emerge ...

Actual Results:  
buid breaks, so kde 4.1.3 won't be build


emerge --info
Portage 2.1.6_rc2 (default/linux/powerpc/ppc32/2008.0, gcc-4.2.4, glibc-2.8_p20080602-r0, 2.6.24-gentoo-r3 ppc)
=================================================================
System uname: Linux-2.6.24-gentoo-r3-ppc-7455,_altivec_supported-with-glibc2.0
Timestamp of tree: Fri, 28 Nov 2008 02:08:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.3.6-r6, 2.4.4-r15, 2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="ppc ~ppc"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=7400 -maltivec -mabi=altivec -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=7400 -maltivec -mabi=altivec -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="candy distlocks metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://212.219.56.152/sites/www.ibiblio.org/gentoo/ ftp://212.219.56.131/sites/www.ibiblio.org/gentoo/ ftp://212.219.56.162/sites/www.ibiblio.org/gentoo/ ftp://212.219.56.146/sites/www.ibiblio.org/gentoo/ ftp://ftp.ankara.edu.tr/gentoo/ http://adelie.polymtl.ca/ ftp://mirror.pacific.net.au/linux/Gentoo"
LC_ALL="C"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://192.168.178.201/gentoo-portage"
USE="X acl alsa apache2 arts bidi bitmap-fonts bzip2 cdr cgi chipcard cli cracklib crypt cups dbus dri dvd dvdread dvdwrite encode faad foomaticdb fortran gd gdbm gimp gpm gstreamer gtk gtk2 gvlc iconv imlib ipv6 isdnlog kde kdeprefix kvlc matroska midi mudflap mysql ncurses nls nptl nptlonly nsplugin openmp pam pcre pdf perl php png ppc ppds pppd python qt3 quotes readline reflection session soup spl ssl svg sysfs tcpd tk truetype unicode usb wxgtk1 wxwindows xorg xprint xulrunner xv zlib" ALSA_CARDS="usb-audio usb-usx2y" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="ati128 fbdev vesa radeon ati"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Frank Hollenbach 2008-11-29 20:08:32 UTC
Created attachment 173800 [details]
Build Log
Comment 2 Frank Hollenbach 2008-11-29 20:09:28 UTC
Created attachment 173804 [details]
Environment
Comment 3 Patrick Lauer gentoo-dev 2008-12-02 21:54:51 UTC
As far as I can tell those come from media-libs/jpeg

Do you have the jpeg useflag set? (Possibly missing dependency)
Is that package installed, and what happens if you (re)install it?
Comment 4 Frank Hollenbach 2008-12-04 20:25:04 UTC
(In reply to comment #3)
> As far as I can tell those come from media-libs/jpeg
> 
> Do you have the jpeg useflag set? (Possibly missing dependency)
> Is that package installed, and what happens if you (re)install it?
> 
Hi,

yes, I did it. Sorry, take some time on a Mac G4 PPC. Same result as before.

 emerge --info
Portage 2.1.6_rc2 (default/linux/powerpc/ppc32/2008.0, gcc-4.2.4, glibc-2.8_p20080602-r0, 2.6.24-gentoo-r3 ppc)
=================================================================
System uname: Linux-2.6.24-gentoo-r3-ppc-7455,_altivec_supported-with-glibc2.0
Timestamp of tree: Tue, 02 Dec 2008 02:35:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.3.6-r6, 2.4.4-r15, 2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="ppc ~ppc"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=7400 -maltivec -mabi=altivec -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=7400 -maltivec -mabi=altivec -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="candy distlocks metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://212.219.56.152/sites/www.ibiblio.org/gentoo/ ftp://212.219.56.131/sites/www.ibiblio.org/gentoo/ ftp://212.219.56.162/sites/www.ibiblio.org/gentoo/ ftp://212.219.56.146/sites/www.ibiblio.org/gentoo/ ftp://ftp.ankara.edu.tr/gentoo/ http://adelie.polymtl.ca/ ftp://mirror.pacific.net.au/linux/Gentoo"
LC_ALL="C"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://192.168.178.201/gentoo-portage"
USE="X acl alsa apache2 arts bidi bitmap-fonts bzip2 cdr cgi chipcard cli cracklib crypt cups dbus dri dvd dvdread dvdwrite encode faad foomaticdb fortran gd gdbm gimp gpm gstreamer gtk gtk2 gvlc iconv imlib ipv6 isdnlog jpeg kde kdeprefix kvlc matroska midi mudflap mysql ncurses nls nptl nptlonly nsplugin openmp pam pcre pdf perl php png ppc ppds pppd python qt3 quotes readline reflection session soup spl ssl svg sysfs tcpd tk truetype unicode usb wxgtk1 wxwindows xorg xprint xulrunner xv zlib" ALSA_CARDS="usb-audio usb-usx2y" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="ati128 fbdev vesa radeon ati"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

I re-emerged media-libs/openjpeg and 
media-libs/jpeg and then kdelibs-4.1.3-r1,
same "procedure as before".

Sorry, 
Frank