Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285165 - media-libs/libcanberra-0.15-r1 fails due to wrong docdir
Summary: media-libs/libcanberra-0.15-r1 fails due to wrong docdir
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-16 08:30 UTC by Heiko
Modified: 2009-09-25 15:32 UTC (History)
0 users

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


Attachments
Patch against the ebuild to fix the issue. (libcanberra-0.15-r1.ebuild.patch,418 bytes, patch)
2009-09-16 08:31 UTC, Heiko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko 2009-09-16 08:30:45 UTC
media-libs/libcanberra-0.15-r1 fails with out-of-prefix files due to wrong docdir value in the ebuild. I assume this is because of that single line being new from 0.14 to 0.15: --docdir=/usr/share/doc/${PF}


Reproducible: Always

Actual Results:  
Merge fails due to out-of-prefix files.

Expected Results:  
Successful merge.

Just fix the line
  --docdir=/usr/share/doc/${PF} \
to read
  --docdir="${EPREFIX}"/usr/share/doc/${PF} \
Comment 1 Heiko 2009-09-16 08:31:51 UTC
Created attachment 204296 [details, diff]
Patch against the ebuild to fix the issue.
Comment 2 Heiko 2009-09-16 08:45:56 UTC
Just for the sake of completeness the snipped error:

make[2]: Leaving directory `/Gentoo/var/tmp/portage/media-libs/libcanberra-0.15-r1/work/libcanberra-0.15'                                                    
make[1]: Leaving directory `/Gentoo/var/tmp/portage/media-libs/libcanberra-0.15-r1/work/libcanberra-0.15'                                                    
>>> Completed installing libcanberra-0.15-r1 into /Gentoo/var/tmp/portage/media-libs/libcanberra-0.15-r1/image/Gentoo/                                       

strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment
   usr/bin/canberra-gtk-play                                 
   usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so         
   usr/lib/libcanberra-0.15/libcanberra-pulse.so             
   usr/lib/libcanberra-0.15/libcanberra-alsa.so              
   usr/lib/libcanberra-0.15/libcanberra-null.so              
   usr/lib/libcanberra-0.15/libcanberra-gstreamer.so         
   usr/lib/libcanberra-0.15/libcanberra-multi.so             
   usr/lib/libcanberra-gtk.so.0.1.1                          
   usr/lib/libcanberra.so.0.1.7                              
 * QA Notice: the following files are outside of the prefix: 
 * /usr                                                      
 * /usr/share                                                
 * /usr/share/doc                                            
 * /usr/share/doc/libcanberra-0.15-r1                        
 * /usr/share/doc/libcanberra-0.15-r1/README                 
 * ERROR: media-libs/libcanberra-0.15-r1 failed:             
 *   Aborting due to QA concerns: there are files installed outside the prefix

and emerge --info without USE

Portage 2.2.00.14200-prefix (prefix/linux/amd64, gcc-4.4.1, unavailable, 2.6.31 x86_64)                                                
=================================================================                                                                      
System uname: Linux-2.6.31-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-glibc2.2.5                                           
Timestamp of tree: Wed, 16 Sep 2009 08:19:38 +0000                                                                                     
distcc 3.1 x86_64-pc-linux-gnu [enabled]                                                                                               
ccache version 2.4 [enabled]                                                                                                           
app-shells/bash:     4.0_p33                                                                                                           
dev-java/java-config: 2.1.9                                                                                                            
dev-lang/python:     2.6.2-r01.3                                                                                                       
dev-python/pycrypto: 2.0.1-r8                                                                                                          
dev-util/ccache:     2.4-r8                                                                                                            
dev-util/cmake:      2.6.4-r2                                                                                                          
sys-apps/sandbox:    2.0                                                                                                               
sys-devel/autoconf:  2.13, 2.63-r01.1                                                                                                  
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2-r00.1, 1.11                                                                       
sys-devel/binutils:  2.20.51.0.1                                                                                                       
sys-devel/gcc-config: 1.4.1-r00.2                                                                                                      
sys-devel/libtool:   2.2.6a-r00.1                                                                                                      
virtual/os-headers:  2.6.30-r1                                                                                                         
ACCEPT_KEYWORDS="~amd64-linux"                                                                                                         
CBUILD="x86_64-pc-linux-gnu"                                                                                                           
CFLAGS="-O2 -pipe -march=core2 -mmmx -msse -msse2 -msse3 -mssse3 -mfpmath=sse -fomit-frame-pointer -momit-leaf-frame-pointer -ftracer"                                                                                                                                                 
CHOST="x86_64-pc-linux-gnu"                                                                                                                                  
CONFIG_PROTECT="/Gentoo/usr/share/config /etc"                                                                                                               
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"                                                                                                                                   
CXXFLAGS="-O2 -pipe -march=core2 -mmmx -msse -msse2 -msse3 -mssse3 -mfpmath=sse -fomit-frame-pointer -momit-leaf-frame-pointer -ftracer"
DISTDIR="/Gentoo/usr/portage/distfiles"
FEATURES="assume-digests ccache collision-protect distcc distlocks fixpackages noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo "
LDFLAGS="-Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/Gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/Gentoo/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude=/metadata/cache"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/Gentoo/var/tmp"
PORTDIR="/Gentoo/usr/portage"
PORTDIR_OVERLAY="/Users/heiko/Development/GentooPrefixOverlay.git"
SYNC="svn://overlays.gentoo.org/proj/alt/trunk/prefix-overlay"

The previously attached patch fixes the problem and that README is then correctly merged to:
/Gentoo/usr/share/doc/libcanberra-0.15-r1/README
Comment 3 Fabian Groffen gentoo-dev 2009-09-25 15:32:42 UTC
also fixed for 0.17, thanks