Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57790 - media-libs/xvid tries to strip libxvidcore.so.4.0 which will contain runtime text relocations
Summary: media-libs/xvid tries to strip libxvidcore.so.4.0 which will contain runtime...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Brian Harring (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 57789
Blocks:
  Show dependency tree
 
Reported: 2004-07-20 16:40 UTC by Octavio Ruiz (Ta^3)
Modified: 2005-01-08 02:05 UTC (History)
0 users

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


Attachments
emerge info (emerge_info,1.92 KB, text/plain)
2004-07-22 20:15 UTC, Octavio Ruiz (Ta^3)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Octavio Ruiz (Ta^3) 2004-07-20 16:40:12 UTC
# emerge xvid (With FEATURES="strict")

(...)

>>> Install xvid-1.0.1 into /var/tmp/portage/xvid-1.0.1/image/ category media-libs
  D: /usr/lib
  I: /usr/lib/libxvidcore.so.4.0
  I: /usr/lib/libxvidcore.a
  D: /usr/include
  I: /usr/include/xvid.h
man:
prepallstrip:
strip: 
strip: 
   usr/lib/libxvidcore.so.4.0
        usr/lib/libxvidcore.so.4.0 will contain runtime text relocations
/usr/lib/portage/bin/prepstrip: line 38: ewarn: command not found
/usr/lib/portage/bin/prepstrip: line 39: ewarn: command not found
/usr/lib/portage/bin/prepstrip: line 40: ewarn: command not found
/usr/lib/portage/bin/prepstrip: line 41: ewarn: command not found
/usr/lib/portage/bin/prepstrip: line 42: ewarn: command not found
making executable: /usr/lib/libxvidcore.so.4.0
>>> Completed installing into /var/tmp/portage/xvid-1.0.1/image/


**************
# emerge xvid (With RESTRICT="nostrip" and FEATURES="strict")

(...)

nostrip

>>> Install xvid-1.0.1 into /var/tmp/portage/xvid-1.0.1/image/ category media-libs
  D: /usr/lib
  I: /usr/lib/libxvidcore.so.4.0
  I: /usr/lib/libxvidcore.a
  D: /usr/include
  I: /usr/include/xvid.h
man:
making executable: /usr/lib/libxvidcore.so.4.0
>>> Completed installing into /var/tmp/portage/xvid-1.0.1/image/

IMHO: First its a bug of prepstrip (Bug #57789 ), then its a bug of xvid ebuild because it tries to strip a shared object that can not/should not be striped (!?).
Comment 1 Chris White (RETIRED) gentoo-dev 2004-07-22 13:13:23 UTC
I need to know your portage version.  I've tried this on both an amd64 box and an x86 box.  They both work.  Please post your emerge --info.  Also, try upgrading portage to the latest (~arch?).
Comment 2 Octavio Ruiz (Ta^3) 2004-07-22 20:15:29 UTC
Created attachment 35983 [details]
emerge info
Comment 3 Octavio Ruiz (Ta^3) 2004-07-22 20:17:54 UTC
* emerge info is now attached
* i will assign this bug to Brian Harring
Comment 4 Octavio Ruiz (Ta^3) 2005-01-08 02:05:53 UTC
Bug is not reproducible, strip and merge is OK.

>>> Test phase [not enabled]: media-libs/xvid-1.0.2

>>> Install xvid-1.0.2 into /var/tmp/portage/xvid-1.0.2/image/ category media-libs
  D: //usr/lib
  I: //usr/lib/libxvidcore.so.4.0
  I: //usr/lib/libxvidcore.a
  D: /usr/include
  I: /usr/include/xvid.h
man:
prepallstrip:
strip: 
strip: 
   usr/lib/libxvidcore.so.4.0
making executable: /usr/lib/libxvidcore.so.4.0
>>> Completed installing xvid-1.0.2 into /var/tmp/portage/xvid-1.0.2/image/


# emerge info

Portage 2.0.51-r8 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.10-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct 16 2004, 21:00:36)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon64 -fstack-protector -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon64 -fstack-protector -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/breakmygentoo"
SYNC="rsync://callampa/portage"
USE="amd64 X Xaw3d acpi acpi4linux aim alsa apache2 berkdb bitmap-fonts cdparanoia crypt cups dga dillo directfb divx4linux dvd dvdr dvdread emacs encode ethereal f77 fam fbcon fortran gdbm gif gimpprint gpm gstreamer gtk gtk2 icq imagemagick imap imlib ipv6 jabber java javascript jp2 jpeg justify leim lzw lzw-tiff maildir mng motif mozdevelop moznoirc moznomail mozsvg mpeg msn multilib ncurses net network nls noreiserfs nptl nvidia offensive oggvorbis opengl oss pam pcmcia pcre perl pg-intdatetime pg-vacuumdelay png pnp python readline rtc samba scanner sld ssl svg tcpd tiff truetype truetype-fonts trusted type1-fonts unicode usagi usb wmf wsconvert xml2 xmms xpm xprint xrandr xv xvid yahoo zlib video_cards_nvidia"