Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106309 - media-libs/dumb-0.9.2-r2 with "debug" USE flag attempts to execute file instead of installing it
Summary: media-libs/dumb-0.9.2-r2 with "debug" USE flag attempts to execute file inste...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-17 14:41 UTC by Sophie Hamilton
Modified: 2005-10-18 15:02 UTC (History)
0 users

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


Attachments
Patch to fix this problem (-p0 from the portage tree root) (patch,363 bytes, patch)
2005-09-17 14:43 UTC, Sophie Hamilton
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sophie Hamilton 2005-09-17 14:41:52 UTC
The latest version of media-libs/dumb is 0.9.2-r2. When you run:

USE="debug" emerge dumb

You get an error upon install, although the installation continues:

/home/ciaran/portage/overlay/media-libs/dumb/dumb-0.9.2-r2.ebuild: line 36:
23552 Segmentation fault      lib/unix/libdumbd.so

(although the file is in my overlay, it is the original file)

This is caused by line 40 of the ebuild, which reads:

"use debug && lib/unix/libdumbd.so"

As a result, it's attempting to execute the file when it should in fact be
installing it. It should read:

"use debug && dolib.so lib/unix/libdumbd.so"

I'll attach a patch to make things easy, although it's obviously a fairly
trivial change.

Reproducible: Always
Steps to Reproduce:
1. USE="debug" emerge dumb

Actual Results:  
Emerge completed but with error as described above.

Expected Results:  
Installed the libdumbd.so file as well as everything else.

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.9-gentoo-r9 i686)
=================================================================
System uname: 2.6.9-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 1400MHz
Gentoo Base System version 1.4.16
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -mcpu=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -mcpu=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk/ http://distfiles.gentoo.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/ciaran/portage/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apm avi berkdb bitmap-fonts cdr crypt cups curl dga
divx4linux dvd eds emboss encode esd fam flac fluidsynth foomaticdb fortran gd
gdbm gif gmail gnome gphoto2 gpm gstreamer gtk gtk2 imagemagick imlib ipv6 jack
java jbig joystick jpeg kde kdeenablefinal ladspa libg++ libwww mad mikmod mmx
mmxext motif mozsvg mp3 mpeg multitarget mysql ncurses nls nodrm nptl ogg
oggvorbis opengl oss pam pdflib perl pic png povray ppds python qt quicktime
readline real samba sdl slang sse sse2 ssl svga tcltk tcpd tiff truetype
truetype-fonts type1-fonts v4l vorbis xine xml2 xmms xv zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Sophie Hamilton 2005-09-17 14:43:30 UTC
Created attachment 68692 [details, diff]
Patch to fix this problem (-p0 from the portage tree root)
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2005-10-18 15:02:46 UTC
This is in the portage tree as -r3, thank you for your thorough report and patch.