Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 385647 - sys-apps/baselayout-2.1 cannot handle /lib not being a symlink
Summary: sys-apps/baselayout-2.1 cannot handle /lib not being a symlink
Status: RESOLVED DUPLICATE of bug 385625
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-04 19:02 UTC by André Terpstra
Modified: 2011-10-04 19:09 UTC (History)
0 users

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 André Terpstra 2011-10-04 19:02:18 UTC
See emerge output.

I'm aware that there is some discussion going on between developers but feel that gentoo should provide some steps to solve this problem at least temporarily.

Reproducible: Always

Steps to Reproduce:
1.update @world
2.
3.
Actual Results:  
>>> Emerging (1 of 3) sys-apps/baselayout-2.1
 * baselayout-2.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                        [ ok ] 
 * Based on your profile, these paths should be symlinks:                                                                               
 *  /lib                                                                                                                                
 * Failure to fix this may result in a broken system.                                                                                   
                                                                                                                                        
 * Converting /lib from a dir to a symlink                                                                                              
 * ERROR: sys-apps/baselayout-2.1 failed (setup phase):                                                                                 
 *   non-empty dir found where we needed a symlink: /lib                                                                                
 *                                                                                                                                      
 * Call stack:                                                                                                                          
 *               ebuild.sh, line  91:  Called pkg_setup                                                                                 
 *   baselayout-2.1.ebuild, line  20:  Called multilib_layout                                                                           
 *   baselayout-2.1.ebuild, line  70:  Called die                                                                                       
 * The specific snippet of code:                                                                                                        
 *                                      die "non-empty dir found where we needed a symlink: ${prefix}lib"                               
 *                                                                                                                                      
 * If you need support, post the output of 'emerge --info =sys-apps/baselayout-2.1',                                                    
 * the complete build log and the output of 'emerge -pqv =sys-apps/baselayout-2.1'.                                                     
 * The complete build log is located at '/var/tmp/portage/sys-apps/baselayout-2.1/temp/build.log'.                                      
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/baselayout-2.1/temp/die.env'.                                   
 * S: '/var/tmp/portage/sys-apps/baselayout-2.1/work/baselayout-2.1'                                                                    
                                                                                                                                        
>>> Failed to emerge sys-apps/baselayout-2.1, Log file:                                                                                 
                                                                                                                                        
>>>  '/var/tmp/portage/sys-apps/baselayout-2.1/temp/build.log'                                                                          

Expected Results:  
compile normally


TitanGentoo2 ~ # emerge --info
Portage 2.1.10.20 (default/linux/amd64/10.0/no-multilib, gcc-4.5.3, glibc-2.13-r4, 3.0.4-gentoo x86_64)                                                                                                                                                                        
=================================================================                                                                                                                                                                                                              
System uname: Linux-3.0.4-gentoo-x86_64-AMD_Phenom-tm-_II_X6_1055T_Processor-with-gentoo-2.0.3                                                                                                                                                                                 
Timestamp of tree: Tue, 04 Oct 2011 17:45:01 +0000                                                                                                                                                                                                                             
ccache version 3.1.6 [enabled]                                                                                                                                                                                                                                                 
app-shells/bash:          4.2_p10                                                                                                                                                                                                                                              
dev-java/java-config:     2.1.11-r3                                                                                                                                                                                                                                            
dev-lang/python:          2.7.2-r3, 3.2.2                                                                                                                                                                                                                                      
dev-util/ccache:          3.1.6                                                                                                                                                                                                                                                
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1-r1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r3
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=amdfam10 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://192.168.1.222/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="nl en"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://192.168.1.222/gentoo-portage"
USE="X acl acpi alsa amd64 berkdb branding bzip2 cairo cli consolekit cracklib crypt cups cxx dbus declarative device-mapper dri extras fortran gallium gdbm gdu gpm iconv icu ipv6 java jpeg kde lock minizip mmx mng modules mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre perl png policykit pppd python qt3support qt4 readline semantic-desktop session sql sse sse2 ssl startup-notification static-libs svg sysfs tcpd threads thunar tiff truetype udev unicode vorbis webkit wmf xcomposite xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="nl en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-10-04 19:09:37 UTC

*** This bug has been marked as a duplicate of bug 385625 ***