Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22342 - emerge -ub media-gfx/xv builds an incorrect package. docs/xvdocs.ps becomes usr/lib
Summary: emerge -ub media-gfx/xv builds an incorrect package. docs/xvdocs.ps becomes u...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-06 08:54 UTC by David A Bestor
Modified: 2005-07-27 18:05 UTC (History)
1 user (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 David A Bestor 2003-06-06 08:54:02 UTC
The "emerge -ub xv-3.10a-r2" puts usr/lib/xvdocs.ps as usr/lib in the package

Fix1: Add "dodir /usr/lib" to the section of src_install () 
in /usr/portage/media-gfx/xv/xv-3.10a-r2.ebuild
or
Fix2: Take out the /usr/lib/xvdocs.ps 
in /usr/portage/media-gfx/xv/xv-3.10a-r3.ebuild
since its not needed, Add to the src_compile() section...
        mv Makefile Makefile.orig2
        sed -e "s:cp docs/xvdocs.ps\* \$(LIBDIR)::" \
                Makefile.orig2 > Makefile


Reproducible: Always
Steps to Reproduce:
1. emerge -ub media-gfx/xv
2. tar -jtvf /usr/portage/packages/All/xv-3.10a-r2.tbz2
You will see....
 -rw-r--r-- root/root   3678303 2003-06-06 06:53:32 usr/lib





Portage 2.0.48 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20-gentoo-r5-1dab i686 AMD-K7(tm) Processor
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
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 oss 3dnow apm avi crypt cups encode gif imlib jpeg libg++ libwww mikmod
mmx mpeg ncurses nls pdflib png quicktime sdl spell svga truetype xml2 xmms xv
zlib gdbm berkdb slang readline arts java X gpm tcpd pam ssl perl python
oggvorbis motif opengl qt kde -gnome -gtk"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=athlon -O3 -pipe"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"

Be kind...Just started using gentoo yesterday...
Comment 1 Michael M Nazaroff (RETIRED) gentoo-dev 2003-06-11 15:16:45 UTC
"Be kind...Just started using gentoo yesterday..." hehe :-)

ok.. thanx for the recomondations actually thats better then I usually get, I'm trying to decide how to handle this since I need to do a new updated xv ebuild anyways.  Well I get to this week maybe tonight if I have time.

naz
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-07-27 18:05:18 UTC
Is this still an issue?