Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133609 - media-libs/jasper-1.701.0 fails to emerge
Summary: media-libs/jasper-1.701.0 fails to emerge
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Patrick Kursawe (RETIRED)
URL:
Whiteboard:
Keywords:
: 133608 137499 139306 140895 142486 144068 144966 146823 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-05-17 09:39 UTC by Andrei
Modified: 2010-03-20 11:59 UTC (History)
9 users (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 Andrei 2006-05-17 09:39:14 UTC
[...]
creating jasper
/bin/sh ../../libtool --mode=link i686-pc-linux-gnu-gcc  -O2 -march=athlon-xp -fomit-frame-pointer -momit-leaf-frame-pointer -pipe -W -Wall -Wno-long-long -Wformat -Wmissing-prototypes -Wstrict-prototypes -pedantic   -o imgcmp  imgcmp.o ../libjasper/libjasper.la -lm  -ljpeg
i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -fomit-frame-pointer -momit-leaf-frame-pointer -pipe -W -Wall -Wno-long-long -Wformat -Wmissing-prototypes -Wstrict-prototypes -pedantic -o .libs/imgcmp imgcmp.o  ../libjasper/.libs/libjasper.so -lm /usr/lib/libjpeg.so
creating imgcmp
/bin/sh ../../libtool --mode=link i686-pc-linux-gnu-gcc  -O2 -march=athlon-xp -fomit-frame-pointer -momit-leaf-frame-pointer -pipe -W -Wall -Wno-long-long -Wformat -Wmissing-prototypes -Wstrict-prototypes -pedantic   -o imginfo  imginfo.o ../libjasper/libjasper.la -lm  -ljpeg
i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -fomit-frame-pointer -momit-leaf-frame-pointer -pipe -W -Wall -Wno-long-long -Wformat -Wmissing-prototypes -Wstrict-prototypes -pedantic -o .libs/imginfo imginfo.o  ../libjasper/.libs/libjasper.so -lm /usr/lib/libjpeg.so
creating imginfo
i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -fomit-frame-pointer -momit-leaf-frame-pointer -pipe -W -Wall -Wno-long-long -Wformat -Wmissing-prototypes -Wstrict-prototypes -pedantic -o .libs/jiv jiv.o  ../libjasper/.libs/libjasper.so /usr/lib/libglut.so /usr/lib/opengl/xorg-x11/lib/libGL.so -L/usr/lib /usr/lib/libXxf86vm.so /usr/lib/libGLU.so /usr/lib/opengl/nvidia/lib/libGL.so -lpthread /usr/lib/libXmu.so /usr/lib/libXi.so /usr/lib/libXext.so /usr/lib/libXt.so /usr/lib/libSM.so /usr/lib/libICE.so /usr/lib/libX11.so /usr/lib/libXau.so /usr/lib/libXdmcp.so -ldl -lm /usr/lib/libjpeg.so -Wl,--rpath -Wl,/usr/lib/opengl/xorg-x11/lib -Wl,--rpath -Wl,/usr/lib/opengl/nvidia/lib
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000016gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000003gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000027gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000025gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000034gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000018gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000013gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000005gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000022gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000039gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000008gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000002gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000030gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000033gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000004gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000036gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000031gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000038gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000028gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000024gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000041gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000029gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000012gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000020gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000026gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000019gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000015gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000010gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000011gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000017gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000021gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000035gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000006gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000009gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000007gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000023gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000014gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000037gl'
/usr/lib/opengl/nvidia/lib/libGLcore.so.1: undefined reference to `_nv000032gl'
collect2: ld returned 1 exit status
make[2]: *** [jiv] Error 1
make[2]: Leaving directory `/var/tmp/portage/jasper-1.701.0/work/jasper-1.701.0/src/appl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/jasper-1.701.0/work/jasper-1.701.0/src'
make: *** [all-recursive] Error 1

!!! ERROR: media-libs/jasper-1.701.0 failed.
Call stack:
  ebuild.sh, line 1527:   Called dyn_compile
  ebuild.sh, line 931:   Called src_compile
  jasper-1.701.0.ebuild, line 34:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

-------------------------------
emerge --info

Portage 2.1_rc1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r3, 2.6.16-gentoo-r7-tux i686)
=================================================================
System uname: 2.6.16-gentoo-r7-tux i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.12.0_pre19
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -momit-leaf-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -momit-leaf-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.roedu.net/pub/mirrors/gentoo.org/ ftp://ftp.romnet.org/gentoo/ftp://ftp.lug.ro/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.ro.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext 7zip X aac alsa apache2 apm arts artswrappersuid avi berkdb bitmap-fonts bittorrent cairo cddb cdinstall cdr cdrom cli crypt css cups dri dvd dvdr eds effects emboss encode esd ethereal figlet finger firefox flac fmod foomaticdb fortran ftp gdbm gif glitz glut glx gmail gpm gzip http imagemagick imlib irc isdnlog jabber java javascript jpeg kde kdeenablefinal kdexdeltas kqemu libg++ libwww lm_sensors logrotate mad mikmod mmx mmxext mono motif moznoirc mp3 mpeg mplayer msn musicbrainz ncurses net network nforce2 nls no-old-linux nocd nptl nptlonly nsplugin ntfs ntlm nvidia ogg openal opengl oss pam pascal pcre pda pdflib perl php png pppd python qt quicktime readline reflection samba scp sdl session sockets speex spell spl sqlite3 sse ssl subversion svg symlink tcpd threads truetype truetype-fonts type1-fonts udev usb vcd vorbis win32codecs wxwindows xine xinetd xml xorg xscreensaver xv yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_joystick kernel_linux userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-05-17 09:50:45 UTC
*** Bug 133608 has been marked as a duplicate of this bug. ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-05-17 09:53:19 UTC
Try 'eselect opengl xorg-x11' before emerging.
Comment 3 Andrei 2006-05-18 04:57:03 UTC
> Try 'eselect opengl xorg-x11' before emerging.

'eselect opengl set xorg-x11' works for me too.

Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-06-22 00:39:01 UTC
*** Bug 137499 has been marked as a duplicate of this bug. ***
Comment 5 merwan kashouty 2006-06-22 07:04:49 UTC
this is the fix for this? your kidding right
Comment 6 Andrei 2006-06-22 07:40:52 UTC
it's not a fix, it's a workaround :))
Comment 7 merwan kashouty 2006-06-22 07:46:36 UTC
well just a note.. for me this is only happening on ~amd64... on ~x86 it emerges fine with opengl set to nvidia.
Comment 8 skelter 2006-06-22 09:01:05 UTC
(In reply to comment #6)
If it isn't a fix, and is merely a workaround, shall the bug remain OPEN until it is fixed?
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-06-22 09:18:44 UTC
For fix, ask nVidia to fix their opengl.
Comment 10 merwan kashouty 2006-06-22 09:46:28 UTC
"For fix, ask nVidia to fix their opengl."

ok maybe my first post came across the wrong way... it wasnt that a work around wasnt appreciated but that the bug had marked as resolved when i dont think it should be... but i am not a dev... if its procedural to mark closed things that require upstream attention then my bad... keeping it open though will help others to see the work round when they run into it.

as for asking nvidia... that sounds like a plan for the maintainer... at least a note to them as to the issue.
Comment 11 Andrei 2006-06-22 13:16:09 UTC
(In reply to comment #7)
> well just a note.. for me this is only happening on ~amd64... on ~x86 it
> emerges fine with opengl set to nvidia.
> 

true, i just tried that! it works fine with the nvidia interface. (but it tend to believe ccache did some magic around here...)
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2006-07-05 06:32:28 UTC
*** Bug 139306 has been marked as a duplicate of this bug. ***
Comment 13 John N. Laliberte (RETIRED) gentoo-dev 2006-07-18 05:45:05 UTC
*** Bug 140895 has been marked as a duplicate of this bug. ***
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2006-08-02 00:19:58 UTC
*** Bug 142486 has been marked as a duplicate of this bug. ***
Comment 15 Jakub Moc (RETIRED) gentoo-dev 2006-08-02 00:22:36 UTC
@phosphan - can you stick some message to the ebuild?
Comment 16 Patrick Kursawe (RETIRED) gentoo-dev 2006-08-07 00:34:27 UTC
Sounds reasonable.
Comment 17 Patrick Kursawe (RETIRED) gentoo-dev 2006-08-14 01:31:16 UTC
Since I can't see from the reports when exactly this breaks, I added a hint to the "die" message about switching to the xorg implementation when make fails. Resolving as "UPSTREAM", if nobody objects.
Comment 18 Jakub Moc (RETIRED) gentoo-dev 2006-08-15 22:19:21 UTC
*** Bug 144068 has been marked as a duplicate of this bug. ***
Comment 19 Jakub Moc (RETIRED) gentoo-dev 2006-08-24 06:02:27 UTC
*** Bug 144966 has been marked as a duplicate of this bug. ***
Comment 20 Sawk 2006-08-24 09:33:33 UTC
eselect opengl set xorg-x11 works for me
Comment 21 Erik Quaeghebeur 2006-08-24 14:51:05 UTC
(In reply to comment #17)
> Since I can't see from the reports when exactly this breaks, I added a hint to
> the "die" message about switching to the xorg implementation when make fails.
> 
The hint contains an error: it says to try "eselect opengl xorg-x11", whereas it should say "eselect opengl set xorg-x11".
Comment 22 Patrick Kursawe (RETIRED) gentoo-dev 2006-08-24 23:18:11 UTC
(In reply to comment #21)
> The hint contains an error: it says to try "eselect opengl xorg-x11", whereas
> it should say "eselect opengl set xorg-x11".

Ooops. Thanks for the hint, fixed in CVS.

Comment 23 Jakub Moc (RETIRED) gentoo-dev 2006-09-08 04:31:20 UTC
*** Bug 146823 has been marked as a duplicate of this bug. ***
Comment 24 Jakob Schiotz 2007-06-12 09:07:44 UTC
I still see this, even with the proposed workaround.  Note, that although I *have* chosen the xorg-x11 version of opengl, it still fails with a reference to the ATI implementation in the error message.


demokrit ~ # eselect opengl set xorg-x11
Switching to xorg-x11 OpenGL interface... done

demokrit ~ # emerge -a1v media-libs/jasper

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] media-libs/jasper-1.900.1-r1 [1.701.0] USE="jpeg opengl" 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB

 [ ..... ]

/bin/sh ../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=nocona   -o jasper  jasper.o ../libjasper/libjasper.la -lm  -ljpeg
mkdir .libs
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=nocona -o .libs/jasper jasper.o  ../libjasper/.libs/libjasper.so -lm /usr/lib64/libjpeg.so
creating jasper
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../src/libjasper/include/jasper -I../../src/libjasper/include    -O2 -pipe -march=nocona -MT jiv.o -MD -MP -MF ".deps/jiv.Tpo" -c -o jiv.o jiv.c; \
        then mv -f ".deps/jiv.Tpo" ".deps/jiv.Po"; else rm -f ".deps/jiv.Tpo"; exit 1; fi
/bin/sh ../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=nocona   -o jiv  jiv.o ../libjasper/libjasper.la -lglut -lGL -lGLU  -lSM -lICE -lX11 -lXmu -lXi -lXext -lXt   -L/usr/lib64 -lm  -ljpeg
libtool: link: cannot find the library `/usr/lib64/opengl/ati/lib/libGL.la' or unhandled argument `/usr/lib64/opengl/ati/lib/libGL.la'
make[2]: *** [jiv] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/jasper-1.900.1-r1/work/jasper-1.900.1/src/appl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/jasper-1.900.1-r1/work/jasper-1.900.1/src'
make: *** [all-recursive] Error 1

!!! ERROR: media-libs/jasper-1.900.1-r1 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_compile
  ebuild.sh, line 972:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  jasper-1.900.1-r1.ebuild, line 36:   Called die

!!! If you got undefined references to OpenGL related libraries,please try 'eselect opengl set xorg-x11' before emerging. See bug #133609.
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/media-libs/jasper-1.900.1-r1/temp/build.log'.


How can it fail with a reference to the ATI libs when I have selected the xorg-x11 opengl interface?  I checked with ldd `which glxgears` that it is indeed the xorg-x11 interface that is used.

Now I remerged jasper with the -opengl flag, and waits to see what that breaks :-)

/Jakob


Comment 25 Jakob Schiotz 2007-06-12 09:09:13 UTC
(In reply to comment #24)
> I still see this, even with the proposed workaround.  Note, that although I
> *have* chosen the xorg-x11 version of opengl, it still fails with a reference
> to the ATI implementation in the error message.

I forgot to say that I am on a machine with an Intel Core 2 Duo machine, i.e. a dual-core machine running an amd64 profile (in case it matters).

Comment 26 Max Loparev 2010-03-20 11:59:41 UTC
media-libs/jasper-1.900.1-r3 still wants /usr/lib64/libGL.la during build. I have to create this link to /usr/lib64/opengl/xorg-x11/lib/libGL.la manually to proceed with build process. eselect opengl set xorg-x11 doesn't help.

Should i open new bug? Because i can't reopen this one.