Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 259837 - broken sandbox support after upgrade from binary package
Summary: broken sandbox support after upgrade from binary package
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-21 19:27 UTC by infobox.oleg
Modified: 2009-07-15 09:18 UTC (History)
2 users (show)

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


Attachments
emerge log displaying errors (part of emerge log.txt,13.59 KB, text/plain)
2009-02-21 19:29 UTC, infobox.oleg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description infobox.oleg 2009-02-21 19:27:16 UTC
I suspect there is something wrong with emerge from binary package functionality of portage. See below.

I've upgraded sandbox from sys-apps/sandbox-1.2.18.1-r2 to sys-apps/sandbox-1.3.5 using binary package.
After that I could not emerge anything due to error:
 *      /usr/lib/portage/bin/ebuild.sh: line 147: hasq: command not found    
This was repeated many times (will attach log later).

After that I was not able to emerge anything, including sandbox itself. I've solved it by 
FEATURES=-sandbox emerge sandbox
but it cost me several hours to come up with this idea.

Reproducible: Sometimes

Steps to Reproduce:
1. emerge =sandbox-1.3.5
2. quickpkg --include-config=y sandbox
3. emerge =sandbox-1.2.18.1-r2
4. emerge -K =sandbox-1.3.5
During this merge see errors about hasq not found etc.



emerge --info:

Portage 2.2_rc23 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.28-tuxonice-r3 i686)                                                       
=================================================================              
System uname: Linux-2.6.28-tuxonice-r3-i686-Intel-R-_Core-TM-2_CPU_T5500_@_1.66GHz-with-glibc2.0                                                              
Timestamp of tree: Sat, 21 Feb 2009 16:00:01 +0000                             
ccache version 2.4 [enabled]                                                   
app-shells/bash:     3.2_p39                                                   
dev-java/java-config: 1.3.7-r1, 2.1.6-r1                                       
dev-lang/python:     2.4.4-r14, 2.5.2-r7                                       
dev-util/ccache:     2.4-r7                                                    
dev-util/cmake:      2.6.2-r1                                                  
sys-apps/baselayout: 2.0.0                                                     
sys-apps/openrc:     0.3.0-r1                                                  
sys-apps/sandbox:    1.2.18.1-r2                                               
sys-devel/autoconf:  2.13, 2.63                                                
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2         
sys-devel/binutils:  2.18-r3                                                   
sys-devel/gcc-config: 1.4.0-r4                                                 
sys-devel/libtool:   1.5.26                                                    
virtual/os-headers:  2.6.27-r2                                                 
ACCEPT_KEYWORDS="x86"                                                          
CBUILD="i686-pc-linux-gnu"                                                     
CFLAGS="-march=prescott -pipe -O2"                                             
CHOST="i686-pc-linux-gnu"                                                      
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config"                                                                    
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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/udev/rules.d"                           
CXXFLAGS="-march=prescott -pipe -O2"                                           
DISTDIR="/usr/portage/distfiles"                                               
FEATURES="ccache collision-protect distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict test unmerge-orphans userfetch userpriv"                                                        
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"                                                         
LC_ALL="en_US.utf8"                                                            
LDFLAGS="-Wl,-O1"                                                              
LINGUAS="en cs ru uk"                                                          
MAKEOPTS="-j3"                                                                 
PKGDIR="/usr/portage/packages"                                                 
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="/usr/portage/local/layman/synce /usr/portage/local/layman/kde-testing /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl acpi adns alsa apache2 arts audiofile automount bash-completionberkdb bluetooth branding bzip2 cairo calendars caps cdparanoia cdr chm cli cracklib crypt cups curl curlwrappers custom-optimization cvs dbus dhcp dri dts dvd dvdr dvdread eds emboss encode escreen esd evo fam fbcon ffmpeg firefox flacfortran gcj gdbm gif glut gpm gstreamer gtk gtk2 hal iconv icq ieee1394 imap imlib inotify ipv6 isdnlog jabber java javascript jikes jingle jpeg junit kde kdeprefix laptop lash ldap libnotify libwww lm_sensors log4j logitech-mouse logrotate mad madwifi matroska mcal midi mikmod mime mozilla mp3 mpeg mpi mplayer mudflap mysql ncurses nls nntp nocd nodrm nptl nptlonly nsplugin ntfs obex ogg openal opengl openmp osc oscar oss pam pcmcia pcre pdf perl php png postgres ppdspppd prelude python qt3 qt3support qt4 quicktime rdesktop readline reflection reiserfs samba scanner sdl session shorten soap sockets spell spl sqlite sqlite3 ssl startup-notification subversion svg synaptics sysfs tcpd test theora threads tidy tiff truetype unicode usb vhosts videos vorbis wifi win32codecs x86 xcomposite xine xml xorg xosd xprint xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synapticswacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en cs ru uk" USERLAND="GNU" VIDEO_CARDS="vesa v4l intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 infobox.oleg 2009-02-21 19:29:50 UTC
Created attachment 182755 [details]
emerge log displaying errors

Here is an error log after my system got broken. Unfortunately I don't have the original log from emerge, which messed the system and I'm not willing to break the production OS again :-)
Comment 2 Zac Medico gentoo-dev 2009-02-25 00:44:48 UTC
Where did you get the sandbox binpkg which triggered this? Do you have a build log from when it was built?
Comment 3 infobox.oleg 2009-02-26 10:16:30 UTC
(In reply to comment #2)
> Where did you get the sandbox binpkg which triggered this? Do you have a build
> log from when it was built?
> 
I've built binpkg using quickpkg on the same machine. I don't have build log, but sandbox 1.3.5 was working just fine after emerge from source.
Comment 4 Zac Medico gentoo-dev 2009-02-26 17:16:07 UTC
There's not much we can do without more info if it's not reproducible.
Comment 5 Steven Noonan 2009-07-15 08:50:28 UTC
Just for anyone else who finds this bug later... Sandbox broke on me when I merged it from a binary package as well. The solution provided by the original reporter ('USE=-sandbox emerge sandbox') didn't solve the problem for me, but doing 'emerge -C sandbox; emerge sandbox' corrected the problem.
Comment 6 Steven Noonan 2009-07-15 09:18:41 UTC
Oh, also, I am pretty sure this bug I just submitted (277902) is the cause for this bug (259837): http://bugs.gentoo.org/show_bug.cgi?id=277902