Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 15876
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Martin Holzer (RETIRED) <mholzer@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Russell Cloran <russell@rucus.ru.ac.za>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

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

Bug 15876 depends on: Show dependency tree
Bug 15876 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: 2003-02-17 18:24 0000
mjpegtools requires svgalib to build correctly (libvga), but there is no
explicit depend.

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

Actual Results:  
compile stops when trying to link to libvga

Expected Results:  
compile should complete cleanly!

zazu tmp # emerge info
Portage 2.0.46-r12 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r3)
=================================================================
System uname: 2.4.20-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 1.70GHz
GENTOO_MIRRORS="ftp://146.231.125.78 ftp://ftp.is.co.za/linux/distributions/gentoo
ftp://gentoo.oregonstate.edu/
ftp://www.ibiblio.org/pub/Linux/distributions/gentoo"CONFIG_PROTECT="/etc
/var/qmail/control /usr/share/config /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /opt/jakarta/tomcat/conf"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 3dnow avi crypt encode gif jpeg libg++ libwww mmx mpeg ncurses pdflib png
spell truetype xml2 xmms xv zlib readline svga java X sdl tcpd pam ssl perl python
esd imlib oggvorbis gtk opengl aalib acpi alsa apache2 -apm -arts -berkdb -cups
-gdbm -gnome gphoto2 -gpm gtk2 jikes -kde maildir -mikmod -motif mozilla -nls
-oss pic -qt -qtmt -quicktime samba -slang sse usb"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.rucus.ru.ac.za/gentoo-portage"
FEATURES="sandbox ccache"

------- Comment #1 From foser (RETIRED) 2003-02-18 08:27:17 0000 -------
why do i get this bug, i havent ever touched mjpegtools.

------- Comment #2 From Martin Holzer (RETIRED) 2003-02-18 16:10:17 0000 -------
fixed in cvs


------- Comment #3 From Aron Griffis (RETIRED) 2003-02-20 11:55:33 0000 -------
The problem here is that the user has USE=svga (this is the default on x86).
sdl will use svgalib when available, and mjpegtools will use sdl.

I think that this would have worked if you did

   emerge unmerge svgalib
   emerge libsdl
   emerge mjpegtools

So we have a user error here.  You have svga in your USE but you're
trying to remove svgalib from the system.  Granted, the dep system can solve
this for you if we add the dependency to mjpegtools, but that is wrong 
because mjpegtools only needs svgalib if you also have USE=sdl.

I would like this ebuild reverted to its previous state.  There's no reason 
for this ebuild to depend directly on svgalib.  Otherwise we should update
all the other ebuilds that use sdl to also depend on svgalib (conditionally on 
USE="sdl svga").

Aron

P.S. This isn't just a gratuitous change for me.  svgalib doesn't work on 
alpha, and depending on svgalib in mjpegtools breaks mjpegtools for alpha.

------- Comment #4 From Aron Griffis (RETIRED) 2003-02-20 17:01:13 0000 -------
For the moment I just made svgalib depend on USE=svga since that's easiest.
It seems like a half-way fix to me but it will suffice.

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