| Summary: | mythtv-0.21_pre15567 sandbox violation | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Frank Hellmuth <fhellmuth> |
| Component: | Current packages | Assignee: | Television related Applications in Gentoo's Portage <media-tv> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | candrews |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://svn.mythtv.org/trac/ticket/4528 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Frank Hellmuth
2008-01-26 11:04:31 UTC
I'm seeing the exact same problem here. # emerge --info Portage 2.1.4 (default-linux/amd64/2007.0/desktop, gcc-4.2.2, glibc-2.7-r1, 2.6.23-gentoo-r6 x86_64) ================================================================= System uname: 2.6.23-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3300+ Timestamp of tree: Sun, 27 Jan 2008 06:16:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.3 dev-lang/python: 2.5.1-r5 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0_rc6-r1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.24 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=athlon64 -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/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/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer parallel-fetch prelink sandbox sfperms strict unmerge-orphans userfetch usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,--hash-style=both,-z,relro,--enable-new-dtags,-O1,-z,now,--as-needed" LINGUAS="en" MAKEOPTS="-j2" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/webapps-experimental /usr/portage/local/layman/sunrise /usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="3dnow X a52 aac acl acpi aiglx alsa amd64 animation apache2 artworkextra asf aspnet2 asyncns authdaemond avahi avi bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo caps cdda cdparanoia cdr chm cli cracklib crypt cups curl daap dbus dga divx4linux dlloader dpms dri dts dv dvb dvd dvdr dvdread emboss encode exif fam fame fat fbcondecor fbsplash ffmpeg fftw firefox flac foomaticdb fortran freetype gaim gd gdbm geoip gif gimpprint glib glibc-omitfp glitz glut gnome gnutls gphoto2 gpm gstreamer gstreamer10 gtk gtk2 hal hardenedphp hbci howl howl-compat iconv ieee1394 imagemagick imap imlib innodb ipv6 isdnlog java java5 joystick jpeg jpeg2k junit kde kdehiddenvisibility lcms libfame libnotify libsamplerate libusb lirc live lm_sensors lzo mad maildir mdnsresponder-compat midi mikmod mjpeg mmap mmx mmxext mng mono motif mozilla mozsvg mp3 mpeg mpeg2 mplayer mudflap musepack mysql mythtv nautilus ncurses network nls nptl nptlonly ntfs nvidia offensive ofx ogg oggvorbis openexr opengl openmp pam pango pcre pdf pdflib perl pic pie png pnp ppd ppds pppd prelude pulseaudio python qt qt3 qt3support qt4 quicktime rar readline reflection rtc samba sasl screensaver sdl session sharedmem shout snmp sox speex spell spl sqlite sse sse2 ssl suspend2 svg tcpd theora threads tiff transcode truetype truetype-fonts type-fonts type1-fonts unicode unzip upnp ups usb v4l v4l2 vcd videos vorbis webdav webservices wifi wmf wv x264 xanim xcb xine xinerama xml xml2 xorg xpm xprint xrandr xscreensaver xv xvid xvmc zeroconf zip zlib" ALSA_CARDS="via82xx" 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 auth_digest proxy proxy_ajp proxy_connect proxy_http" ELIBC="glibc" INPUT_DEVICES="evdev joystick keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" LIRC_DEVICES="mceusb2" USERLAND="GNU" VIDEO_CARDS="nv nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Same here. Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 i686) ================================================================= System uname: 2.6.23-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Timestamp of tree: Sun, 27 Jan 2008 06:30:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" 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/share/config" CONFIG_PROTECT_MASK="/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/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/mystuff /usr/portage/local/layman/custom-kernels /usr/portage/local/layman/sunrise" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac accessibility acl acpi aim alsa apache2 arts asf audiofile avi berkdb bitmap-fonts branding bzip2 bzlib cairo cddb cdr clamav cli cracklib crypt css cups dbus directfb divx dri dts dvb dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg firefox fortran freetype gdbm gif gimp gimpprint gkrellm glitz gmedia gpm gstreamer gtk gtk2 hal httpd iconv icq ifp ipv6 isdnlog ithreads ivtv java jpeg kde kerberos ldap libclamav lirc live lm_sensors mad midi mikmod mjpeg mmx mozilla mp3 mpeg mplayer msn mtp mudflap mysql mythtv ncurses nls nptl nptlonly nsplugin nvidia offensive ogg oggvorbis opengl openmp oss pam pcap pcre pdf perl png posix pppd python qt3 qt3support qt4 quicktime rar readline real realmedia reflection screen sdl session sftp spell spl sse sse2 ssl stream svg tcpd theora threads tiff transcode truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vcd visualization vlm vorbis wifi win32codecs wmp wxwindows x264 x86 xml xorg xv xvid xvmc yahoo 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 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 joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="hauppauge" USERLAND="GNU" VIDEO_CARDS="nvidia vesa v4l" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Original poster just pasted the access violation summary from Portage but not the actual error from the build system. I'd really need to see that to be able to diagnose anything. (In reply to comment #3) > Original poster just pasted the access violation summary from Portage but not > the actual error from the build system. I'd really need to see that to be able > to diagnose anything. Could you give me please the exact commands to give you the needed information? I can't see any more useful information, the sandbox*.log file provide exactly the same information as the emerge output. BTW.: It installed fine with FEATURES=-sandbox (dangerous, I know), but as I tried to recreate the error the sandbox violation changed to # cat /var/log/sandbox/sandbox-7270.log rmdir: /usr/include/mythtv/libmyth (symlink to /usr/include/mythtv) symlink: /usr/include/mythtv/libmyth/mythtv (symlink to /usr/include/mythtv/mythtv) (In reply to comment #4) > (In reply to comment #3) > > Original poster just pasted the access violation summary from Portage but not > > the actual error from the build system. I'd really need to see that to be able > > to diagnose anything. > > Could you give me please the exact commands to give you the needed information? copy and paste Copy and paste where it actually manipulates those files in the build system. This is actually going to be a bug with MythTV no longer respecting the INSTALL_ROOT variable to make install. I looked at their qmake files to see if they renamed it but it appears they did not. So they changed something in their build system which broke this. Since 0.21 ebuilds aren't supported by Gentoo (heck they're masked entirely with a note saying they're not supported. It's probably an issue you're going to have to take up with upstream. I've committed a new revision of trunk so you can try that. Ahh .. OK, I see. This seems to be the place where it happens cp -f "mythconfigdialogs.h" "/var/tmp/portage/media-tv/mythtv-0.21_pre15567/image//usr/include/mythtv/" cp -f "mythconfiggroups.h" "/var/tmp/portage/media-tv/mythtv-0.21_pre15567/image//usr/include/mythtv/" rmdir /usr/include/mythtv/libmyth ; ln -s /usr/include/mythtv/ /usr/include/mythtv/libmyth ACCESS DENIED rmdir: /usr/include/mythtv/libmyth rmdir: failed to remove `/usr/include/mythtv/libmyth': Permission denied ACCESS DENIED symlink: /usr/include/mythtv/libmyth/mythtv ln: creating symbolic link `/usr/include/mythtv/libmyth/mythtv': Permission denied make[2]: *** [install_inc2] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-tv/mythtv-0.21_pre15567/work/mythtv-0.21/libs/libmyth' ( [ -d libmythfreemheg ] && cd libmythfreemheg ; make -f Makefile install; ) || true make[2]: Entering directory `/var/tmp/portage/media-tv/mythtv-0.21_pre15567/work/mythtv-0.21/libs/libmythfreemheg' cp -f "libmythfreemheg-0.20.so.0.20.0" "/var/tmp/portage/media-tv/mythtv-0.21_pre15567/image//usr/lib64/libmythfreemheg-0.20.so.0.20.0" strip --strip-unneeded "/var/tmp/portage/media-tv/mythtv-0.21_pre15567/image//usr/lib64/libmythfreemheg-0.20.so.0.20.0" Hope that helped more! This should be fixed by the latest ebuild, mythtv-0.21_p15635 fixed. Thanks! |