Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 229873 - sci-astronomy/celestia-1.5.1 fails to build with sandbox error with pkgcore, builds fine with portage
Summary: sci-astronomy/celestia-1.5.1 fails to build with sandbox error with pkgcore, ...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-28 07:32 UTC by Volker Hemmann
Modified: 2008-11-11 13:45 UTC (History)
0 users

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


Attachments
celestia-1.5.1-kde.patch (celestia-1.5.1-kde.patch,718 bytes, text/plain)
2008-11-07 11:00 UTC, Sébastien Fabbro (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Volker Hemmann 2008-06-28 07:32:00 UTC
sci-astronomy/celestia-1.5.1 fails with this error:
Making all in scripts                                                                                                                  
make[2]: Entering directory `/var/tmp/portage/sci-astronomy/celestia-1.5.1/work/celestia-1.5.1/scripts'                                
make[2]: Für das Ziel »all« ist nichts zu tun.                                                                                         
make[2]: Leaving directory `/var/tmp/portage/sci-astronomy/celestia-1.5.1/work/celestia-1.5.1/scripts'                                 
make[2]: Entering directory `/var/tmp/portage/sci-astronomy/celestia-1.5.1/work/celestia-1.5.1'                                        
make[2]: Leaving directory `/var/tmp/portage/sci-astronomy/celestia-1.5.1/work/celestia-1.5.1'                                         
make[1]: Leaving directory `/var/tmp/portage/sci-astronomy/celestia-1.5.1/work/celestia-1.5.1'                                         
sandbox exists- /var/log/sandbox/sandbox-2651.log                                                                                      
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------                                                       
LOG FILE = "/var/log/sandbox/sandbox-2651.log"                                                                                         

open_wr:   /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
open_wr:   /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
open_wr:   /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
open_wr:   /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
--------------------------------------------------------------------------------

SANDBOX_ON:=0
SANDBOX_DISABLED:=0
SANDBOX_READ:=/bin:/:/dev/shm:/var/tmp:/var/tmp/portage/ccache:/var/tmp/portage/sci-astronomy/celestia-1.5.1/image/:/var/tmp/portage/sci-astronomy/celestia-1.5.1/work/:/var/tmp/portage/sci-astronomy/celestia-1.5.1/temp/:/dev/urandom:/dev/random:/usr/lib64/python2.5/site-packages/pkgcore/bin/ebuild-env                                                                                                       
SANDBOX_WRITE:=/dev/zero:/dev/null:/dev/fd:/proc/self/fd:/dev/pts/:/dev/vc/:/dev/pty:/dev/tty:/dev/tts:/dev/console:/dev/shm:/dev/shm/ngpt:/var/log/scrollkeeper.log:/usr/tmp/conftest:/usr/lib/conftest:/usr/lib32/conftest:/usr/lib64/conftest:/usr/tmp/cf:/usr/lib/cf:/usr/lib32/cf:/usr/lib64/cf:/tmp/.gconfd/lock:/tmp/.bash_history:/tmp:/tmp:/var/tmp:/tmp/:/var/tmp/:/var/log/sandbox/sandbox-2651.log:/dev/shm:/var/tmp:/var/tmp/portage/ccache:/var/tmp/portage/sci-astronomy/celestia-1.5.1/image/:/var/tmp/portage/sci-astronomy/celestia-1.5.1/work/:/var/tmp/portage/sci-astronomy/celestia-1.5.1/temp/:/var/log/sandbox/sandbox-2651.log                                            
SANDBOX_PREDICT:=/tmp/.:/usr/lib/python2.0/:/usr/lib/python2.1/:/usr/lib/python2.2/:/usr/lib/python2.3/:/usr/lib/python2.4/:/usr/lib/python2.5/:/usr/lib/python3.0/:/var/db/aliases.db:/var/db/netgroup.db:/var/db/netmasks.db:/var/db/ethers.db:/var/db/rpc.db:/var/db/protocols.db:/var/db/services.db:/var/db/networks.db:/var/db/hosts.db:/var/db/group.db:/var/db/passwd.db:/proc/self/maps:/dev/console:/dev/random:/var/tmp                                                                                                                          
SANDBOX_DEBUG:=unset                                                                                                                   
SANDBOX_DEBUG_LOG:=/var/log/sandbox/sandbox-debug-2651.log                                                                             
SANDBOX_LOG:=/var/log/sandbox/sandbox-2651.log                                                                                         
SANDBOX_ARMED:=unset                                                                                                                   
phases failed                                                                                                                          
!!! Failed to build config wrapped(use): ebuild src: sci-astronomy/celestia-1.5.1: Failed build operation: compile: Failed building (False/0 return from handler)    

with pkgcore, but emerges fine with portage.

Reproducible: Always

Steps to Reproduce:
1.sys-apps/pkgcore-0.4.7.4 installed
2.sys-apps/portage-2.2-rc1 installed
3. try installing/updating celestia

Actual Results:  
with pkgcore the above error happens, with emerge it installs fine.

Expected Results:  
it should install or fail with both managers.

emerge --info
WARNING: repository at /usr/portage/local/layman/einit is missing a repo_name entry
WARNING: repository at /usr/local/portage is missing a repo_name entry             
Portage 2.2_rc1 (default/linux/amd64/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-rc8r4 x86_64)
=================================================================                                           
System uname: Linux-2.6.26-rc8r4-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6000+-with-glibc2.2.5      
Timestamp of tree: Sat, 28 Jun 2008 07:00:01 +0000                                                          
ccache version 2.4 [enabled]                                                                                
app-shells/bash:     3.2_p39                                                                                
dev-java/java-config: 1.3.7, 2.1.6                                                                          
dev-lang/python:     2.5.2-r5                                                                               
dev-util/ccache:     2.4-r7                                                                                 
sys-apps/baselayout: 2.0.0                                                                                  
sys-apps/openrc:     0.2.5                                                                                  
sys-apps/sandbox:    1.2.18.1-r3                                                                            
sys-devel/autoconf:  2.13, 2.62                                                                             
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.1-r1                                                          
sys-devel/binutils:  2.18.50.0.7                                                                            
sys-devel/gcc-config: 1.4.0-r4                                                                              
sys-devel/libtool:   2.2.4                                                                                  
virtual/os-headers:  2.6.25-r4                                                                              
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                              
CBUILD="x86_64-pc-linux-gnu"                                                                                
CFLAGS="-march=k8 -O2 -msse3 -pipe"                                                                         
CHOST="x86_64-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.1/env /usr/kde/4.1/share/config /usr/kde/4.1/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/terminfo /etc/udev/rules.d"                                                                                                                                   
CXXFLAGS="-march=k8 -O2 -msse3 -pipe"                                                                                                  
DISTDIR="/var/portage/distfiles"                                                                                                       
FEATURES="autoconfig candy ccache distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"             
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"                                                                           
LANG="de_DE@euro"                                                                                                                      
LC_ALL="de_DE@euro"                                                                                                                    
LDFLAGS=""                                                                                                                             
LINGUAS="de"                                                                                                                           
MAKEOPTS="-j3"
PKGDIR="/var/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="/var/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/kdesvn-portage /usr/portage/local/layman/einit /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip S3TC X Xaw3d a52 aac accessibility acpi addbookmarks aiglx aim aio akode alias alsa altenburgcards amarok amd64 amr amrnb amrwb aotuv aqua_theme archive asf athena audiofile autoreplace bash-completion berkdb binary-drivers bluetooth boost branding bzip2 cairo captury cdda cddb cdinstall cdparanoia cdr cdrom cdsound cegui cg clamav cli connectionstatus contactnotes cpudetection cracklib crypt css cups curl dbus depth32 dhcp dio divx dnd double-precision dpms dri dts dv dvb dvbplayer dvbsetup dvd dvdr dvdread eds emboss emerald emul-linux-x86 encode evo exif expat exscalibar extra-cardsets fame fasttrack ffmpeg fftw file filter_default filter_legacy filter_light firefox fits flac foomaticdb fortran ftp gadu gammu gd gdbm gif gimp gimpprint glitz glut glx gnokii gnutella gpgme gpm gtk gtk2 hal hddtemp highlight history iconv icq icu id3 id3tag ieee1394 imagemagick imlib inotify irc irmc isdnlog jabber java javascript jce joystick jpeg jpeg2k kcal kde kdecards kdeenablefinal kdehiddenvisibility kdepim kdm kexi kipi lame lapack lcms lesstif libnotify libsamplerate libwww lirc lm_sensors logitech-mouse lzo lzw mad magic maps matroska midi mikmod mime mixer mjpeg mmap mmx mmxext mng mp3 mp4 mpeg mpeg2 mplayer msn mtp mudflap mule multilib musepack music nano-syntax ncurses neXt net network newspr ngui nls no-old-linux nocd nosendmail nova nowin nowlistening nptl nptlonly nsplugin nvidia obex offensive ogg ogg123 ogm openexr opengl openmp oscar pam paste64 pch pcre pda pdf perl physfs pixmaps plasma player plugins png pnm posix ppds pppd python qt3 qt3support qt4 quicktime rar readline recode reflection reiser4 reiserfs remix resolvconf rogue rtc samba sametime sasl scanner scenarios schedule scsi sdl sdl-sound sdlaudio sendfile server session sharedmem slp smp sms sndfile sockets sounds spell spl sqlite sqlite3 srt sse sse-filters sse2 sse3 ssl ssse3 startup-notification statistics stats stencil-buffer stroke subp subtitles svg sysfs sysvipc szip tcpd texteffect texturestga theora threads threadsafe tiff timidity tk toolbar tools transcode translator truetype tv tv_check tv_combiner tv_pick_cgi type1 unicode unzip usb userlocales utempter v4l v4l2 vcd videos visualization vorbis webdav webpresence wifi wireshark wmf wmp wxwindows x264xanim xcb xcomposite xemacs xext xface xine xml xorg xosd xpm xrandr xrender xscreensaver xskatcards xv xvid xvmc yahoo yiff yv12 zip zlib zsh-completion zvbi" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" LIRC_DEVICES="devinput" USERLAND="GNU" VIDEO_CARDS="nvidia vesa vga v4l nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

sandbox was just updated, error happend with 1.2.18.1-r2 too
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-28 14:06:58 UTC
See the first ~20 lines of kde_src_compile() in kde.eclass for reference.
Comment 2 Sébastien Fabbro (RETIRED) gentoo-dev 2008-11-06 12:11:19 UTC
Is it still happening with recent pkgcore? Please try with portage also.
Comment 3 Volker Hemmann 2008-11-06 18:46:58 UTC
with pkgcore 0.4.7.13:
sandbox exists- /var/log/sandbox/sandbox-5798.log                                                                                     
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------                                                      
LOG FILE = "/var/log/sandbox/sandbox-5798.log"                                                                                        

open_wr:   /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
open_wr:   /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
open_wr:   /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
open_wr:   /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
--------------------------------------------------------------------------------

with portage:
it installs fine.
Comment 4 Sébastien Fabbro (RETIRED) gentoo-dev 2008-11-07 11:00:20 UTC
Created attachment 170968 [details]
celestia-1.5.1-kde.patch

I tried with both portage and paludis and they install ok. I am not sure what causes this sandbox failure since we have an addwrite in qt3.eclass which is inherited by kde-functions. Also I'm not familiar with pkgcore. 
I'm posting a patch, please try. If this patch does not work and unless someone comes up with a patch working with all package managers, I will close this bug.
Comment 5 Volker Hemmann 2008-11-07 20:29:58 UTC
same thing with patch&pkgcore:
sandbox exists- /var/log/sandbox/sandbox-17965.log
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-17965.log"

open_wr:   /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
open_wr:   /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
open_wr:   /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
open_wr:   /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
--------------------------------------------------------------------------------

and the sandbox-logfile does not exist
Comment 6 Sébastien Fabbro (RETIRED) gentoo-dev 2008-11-10 14:33:15 UTC
Unfortunately I can't spend more effort tracking down this issue which seems related to pkgcore. If you or someone else comes up with a solution, re-open the bug.
Thanks.
Comment 7 Volker Hemmann 2008-11-11 12:44:06 UTC
I opened a ticked on pkgcore.org, since there is another package that is failing in the exact same way (kdesvn-1.0.4)
Comment 8 Markus Dittrich (RETIRED) gentoo-dev 2008-11-11 13:45:56 UTC
(In reply to comment #7)
> I opened a ticked on pkgcore.org, since there is another package that is
> failing in the exact same way (kdesvn-1.0.4)
> 

Thanks and please let us know if there are any new
developments.

Best,
Markus