Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 42037
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: media-video herd <media-video@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Kyle Smith <kyle_smith82@hotmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 42037 depends on: Show dependency tree
Bug 42037 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-02-18 09:16 0000
When I try and emerge mjpegtools (required to update other packages) I get this
undefined reference:

lavplay.o(.text+0xa0f): In function `lavplay_mjpeg_set_params':
: undefined reference to `XOpenDisplay'
lavplay.o(.text+0xa89): In function `lavplay_mjpeg_set_params':
: undefined reference to `XGetWindowAttributes'


Reproducible: Always
Steps to Reproduce:
1.emerge mjpegtools
2.
3.

Actual Results:  
** Emerge error **

gcc -mcpu=i686 -march=i686 -mcpu=athlon -march=athlon -O2 -pipe -mno-sse2 -Wall 
-Wunused -o .libs/lavplay lavplay.o  ../utils/libmjpegutils.a
./.libs/liblavplay
.so ./.libs/liblavjpeg.so -L/usr/local/src/jpeg-mmx ./.libs/liblavfile.so
-L/usr
/lib -lmovtar /usr/lib/libquicktime.so -ldl /usr/lib/libjpeg.so
-L/usr/local/lib
 /usr/lib/libdv.so -lm /usr/lib/libglib.so -lpthread -L/usr/X11R6/lib
gcc -mcpu=i686 -march=i686 -mcpu=athlon -march=athlon -O2 -pipe -mno-sse2 -Wall 
-Wunused -o .libs/lavrec lavrec.o  ../utils/libmjpegutils.a
./.libs/liblavrec.so
 ./.libs/liblavfile.so -L/usr/lib -lmovtar /usr/lib/libquicktime.so -ldl
-L/usr/
local/src/jpeg-mmx -L/usr/local/lib /usr/lib/libdv.so -lm /usr/lib/libglib.so
./
.libs/liblavjpeg.so /usr/lib/libjpeg.so -lpthread
lavplay.o(.text+0xa0f): In function `lavplay_mjpeg_set_params':
: undefined reference to `XOpenDisplay'
lavplay.o(.text+0xa89): In function `lavplay_mjpeg_set_params':
: undefined reference to `XGetWindowAttributes'
collect2: ld returned 1 exit status
make[2]: *** [lavplay] Error 1
make[2]: *** Waiting for unfinished jobs....
creating lavrec
make[2]: Leaving directory
`/var/tmp/portage/mjpegtools-1.6.1.90-r1/work/mjpegto
ols-1.6.1.90/lavtools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/mjpegtools-1.6.1.90-r1/work/mjpegto
ols-1.6.1.90'
make: *** [all] Error 2

!!! ERROR: media-video/mjpegtools-1.6.1.90-r1 failed.
!!! Function src_compile, Line 65, Exitcode 2
!!! compile problem

Expected Results:  
Compiled.

** Emerge info **

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.20-gentoo-r5
=================================================================
System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon -march=athlon -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.
/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozill
/defaults/pref /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/shar
/texmf/tex/platex/config/ /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Lin
x/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm arts avi berkdb bonobo cdr crypt cups directfb encode esd
fbcon foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib java jpeg kde 
ibg++ libwww mad mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam
pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcltk tcp
 tetex truetype x86 xml2 xmms xv zlib"

------- Comment #1 From Christian Jiresjö 2004-03-01 04:48:03 0000 -------
This is a dupe of Bugzilla Bug 36771

------- Comment #2 From Patrick Kursawe 2004-03-17 03:02:53 0000 -------
*** Bug 44830 has been marked as a duplicate of this bug. ***

------- Comment #3 From Patrick Kursawe 2004-03-17 04:16:35 0000 -------
Christian, why do you think this is a dupe? The bug you mention refers to
versions > .90, as far as I can see.

------- Comment #4 From Patrick Kursawe 2004-03-17 05:26:14 0000 -------
Kyle, Giovanni, please do me a favour and test the following:

1. see if you can still reproduce the problem
2. remove the line starting with "epatch" from the ebuild in src_unpack
3. retry and report if it works

Thank you.

------- Comment #5 From Giovanni 2004-03-17 05:49:10 0000 -------
removed 'epatch "${FILESDIR}/no-x11-lib.patch"' from
mjpegtools-1.6.1.90-r2.ebuild.

now it work.

thanks.

------- Comment #6 From Patrick Kursawe 2004-03-17 05:56:32 0000 -------
Ok, since this is a compile time problem, I'll silently fix this for -r2.
Thanks for testing.

------- Comment #7 From Martin Gramatke 2004-03-24 10:38:37 0000 -------
test

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug