Trying to upgrade hedgewars from 0.9.9 to 0.9.10 but get a Access Violation.
Created attachment 188297 [details] Sandbox log file
emerge --info Portage 2.1.6.11 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r2 x86_64) ================================================================= System uname: Linux-2.6.28-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-glibc2.2.5 Timestamp of tree: Tue, 14 Apr 2009 08:15:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7-r1, 2.1.7 dev-lang/python: 2.4.4-r13, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 dev-util/cmake: 2.6.2-r1 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.3.2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 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="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer" 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/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.netspace.net.au/pub/gentoo/ http://ftp.swin.edu.au/gentoo/ http://mirror.pacific.net.au/gentoo/ http://ftp.iinet.net.au/pub/Gentoo/" LDFLAGS="-Wl,-O1" LINGUAS="en en_AU en_GB" MAKEOPTS="-j2" 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="/usr/portage/local/layman/n4g" SYNC="rsync://ftp.swin.edu.au/gentoo-portage/" USE="X a52 aac acl acpi aiglx alsa amd64 berkdb bluetooth branding bzip2 cairo calendar cddb cdparanoia cdr cli cracklib crypt css cups dbus dri dts dvb dvd dvdr dvdread eds emboss encode esd evo fbcon ffmpeg firefox flac flash fortran ftp gdbm gif glut gpm gstreamer hal htmlhandbook iconv id3tag imap ipv6 isdnlog java jpeg kde lame ldap libnotify libsamplerate lm_sensors lzo mad midi mikmod mmx mp3 mp4 mpeg mudflap multilib musicbrainz ncurses nls nptl nptlonly ntfs ogg openalopengl openmp pam pcre pdf perl png ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection reiserfs sdl session spell spl sse sse2 ssl ssse3 startup-notification svg sysfs taglib tcpd theora threads tiff truefonts truetype unicode usb vorbis wavpack wifi x264 xcomposite xfs xine xinerama xml xorg xscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" 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 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" DVB_CARDS="usb-dib0700" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glkhd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_AU en_GB" USERLAND="GNU" VIDEO_CARDS="nv vesa nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I get the same on amd64, and I am wondering if the /usr/share... path in the dosym confuses the "automagic" ${D}-prepending in portage? With a small change the ebuild worked just fine for me: 47c47 < dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf \ --- > dosym ../../../../../../usr/share/fonts/dejavu/DejaVuSans-Bold.ttf \ Not sure if this is an optimal solution, though, but other symlinks in gentoo seem to be much like it with the prepended dots and slashes up to root and then directories back -- and now I have a theory why, too (the clumsy and confusing ${D}-prepending?! :) ).
I can't reproduce it. Try it with the stable version of portage. And make sure your tree is sync'd up. There was a bug fixed in the games eclass fairly recently related to chmoding symlinks. Make sure you don't have any old eclasses lying around as well.
(In reply to comment #4) > I can't reproduce it. Try it with the stable version of portage. And make > sure your tree is sync'd up. There was a bug fixed in the games eclass fairly > recently related to chmoding symlinks. I tried with freshly synced tree and portage-2.2_rc28 and _rc30 -- both fail just alike to Mr Mason's attempt with portage 2.1.6.11. But indeed, with the stable portage-2.1.6.7 the ebuild worked fine just as it is in portage. So, maybe there is related a bug in the newer, testing/unstable portage versions?
(In reply to comment #5) > (In reply to comment #4) > > I can't reproduce it. Try it with the stable version of portage. And make > > sure your tree is sync'd up. There was a bug fixed in the games eclass fairly > > recently related to chmoding symlinks. > > I tried with freshly synced tree and portage-2.2_rc28 and _rc30 -- both fail > just alike to Mr Mason's attempt with portage 2.1.6.11. > > But indeed, with the stable portage-2.1.6.7 the ebuild worked fine just as it > is in portage. So, maybe there is related a bug in the newer, testing/unstable > portage versions? > (In reply to comment #3) > I get the same on amd64, and I am wondering if the /usr/share... path in the > dosym confuses the "automagic" ${D}-prepending in portage? > > With a small change the ebuild worked just fine for me: > > 47c47 > < dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf \ > --- > > dosym ../../../../../../usr/share/fonts/dejavu/DejaVuSans-Bold.ttf \ > > Not sure if this is an optimal solution, though, but other symlinks in gentoo > seem to be much like it with the prepended dots and slashes up to root and then > directories back -- and now I have a theory why, too (the clumsy and confusing > ${D}-prepending?! :) ). > I modified the ebuild as suggested in comment #3 and emerged with success.
Same for me: --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE "/var/log/sandbox/sandbox-30522.log" VERSION 1.0 FORMAT: F - Function called FORMAT: S - Access Status FORMAT: P - Path as passed to function FORMAT: A - Absolute Path (not canonical) FORMAT: R - Canonical Path FORMAT: C - Command Line F: fchownat S: deny P: /proc/30659/fd/7/DejaVuSans-Bold.ttf A: /proc/30659/fd/7/DejaVuSans-Bold.ttf R: /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf C: chown root:games -R /var/tmp/portage/games-strategy/hedgewars-0.9.10/image///usr/share/games -------------------------------------------------------------------------------- >>> Failed to emerge games-strategy/hedgewars-0.9.10 sys-apps/portage-2.1.6.11 The SVN version compiles fine.
Same fail when I use sys-apps/portage-2.1.6.7 (stable on ~amd64) media-fonts/dejavu-2.28-r1
Yay, got the stabilized sandbox-1.6-r2 with today's emerge --sync && emerge -vuDN world and now hedgewars compilation passes nicely as well, with the ebuild in portage tree unmodified. Maybe the sandbox upgrade fixes it for others as well?
sounds fixed.
(In reply to comment #9) > Yay, got the stabilized sandbox-1.6-r2 with today's emerge --sync && emerge > -vuDN world and now hedgewars compilation passes nicely as well, with the > ebuild in portage tree unmodified. Maybe the sandbox upgrade fixes it for > others as well? > I can confirm successful hedgewars compile with sandbox update. Thanks