Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 278655 - media-tv/mythtv-0.22_alpha20959 won't compile. permission denied
Summary: media-tv/mythtv-0.22_alpha20959 won't compile. permission denied
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-22 08:45 UTC by Marc Arens
Modified: 2009-08-03 01:02 UTC (History)
1 user (show)

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


Attachments
Ebuild that can run configure regardless of execute bit. (mythtv-0.22_alpha20959.ebuild,8.38 KB, text/plain)
2009-07-27 08:26 UTC, John W Eckhart
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Arens 2009-07-22 08:45:07 UTC
media-tv:mythtv-0.22_alpha20959 won't compile. permission denied. See Actual results for more details.

Reproducible: Always

Steps to Reproduce:
1. try to emerge media-tv:mythtv-0.22_alpha20959
2.
3.

Actual Results:  
cat /var/log/portage/media-tv:mythtv-0.22_alpha20959:20090722-082604.log 
 * This ebuild now uses a heavily stripped down version of your CFLAGS
 * 
 * For NVIDIA based cards, the XvMC renderer only works on
 * the NVIDIA 4, 5, 6 & 7 series cards.
>>> Unpacking source...
>>> Unpacking mythtv-0.22_alpha20959.zip to /var/tmp/portage/media-tv/mythtv-0.22_alpha20959/work
>>> Source unpacked in /var/tmp/portage/media-tv/mythtv-0.22_alpha20959/work
>>> Preparing source in /var/tmp/portage/media-tv/mythtv-0.22_alpha20959/work/trunk/mythtv ...
 * Applying mythtv-0.21-ldconfig-sanxbox-fix.patch ...                                                                                                                                                        [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-tv/mythtv-0.22_alpha20959/work/trunk/mythtv ...
 * Running ./configure --prefix=/usr
 * 		--mandir=/usr/share/man
 * 		--libdir-name=lib --disable-altivec --disable-audio-jack --enable-xvmc --enable-xvmcw 		--disable-xvmc-vld --enable-glx-procaddrarb
 * 		--enable-dvb
 * 		--disable-firewire
 * 		--enable-lirc
 * 		--disable-audio-arts
 * 		--disable-directfb
 * 		--dvb-path=/usr/include
 * 		--enable-opengl-vsync
 * 		--enable-xrandr
 * 		--enable-xv
 * 		--enable-x11 --enable-mmx --with-bindings=perl,python --compile-type=profile --cpu=athlon-xp --disable-distcc --disable-ccache
/var/tmp/portage/media-tv/mythtv-0.22_alpha20959/temp/environment: line 3466: ./configure: Permission denied
 * 
 * ERROR: media-tv/mythtv-0.22_alpha20959 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_configure
 *             environment, line 3466:  Called die
 * The specific snippet of code:
 *       ./configure ${myconf} || die "configure died"
 *  The die message:
 *   configure died
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/media-tv:mythtv-0.22_alpha20959:20090722-082604.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-tv/mythtv-0.22_alpha20959/temp/environment'.
 * 



emerge --info
Portage 2.2_rc33 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.29-gentoo-r5-i686-AMD_Athlon-tm-_XP_2100+-with-glibc2.0
Timestamp of tree: Mon, 20 Jul 2009 23:00:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-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.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
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="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/var/binpkgs"
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/local/portage/layman/pda /usr/local/portage"
SYNC="rsync://192.168.1.1/gentoo-portage"
USE="3dnow X acl acpi alsa apache2 berkdb bitmap-fonts bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus divx4linux dri dvd dvdr dvdread emboss encode evo fam ffmpeg firefox flac fortran gdbm gif gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog java jikes jpeg ldap libnotify mad midi mikmod mmx mp3 mpeg mudflap mysql ncurses nls nptl nptlonly offensive ogg opengl openmp pam pcre pdf perl pic png ppds pppd python qt3support qt4 quicktime readline reflection samba sdl session spell spl sse ssl startup-notification svg sysfs tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l vorbis win32codecs x86 xml xml2 xorg xulrunner xv xvid zlib" ALSA_CARDS="intel8x0" 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="worker 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 authz_host dir mime" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="devinput" USERLAND="GNU" VIDEO_CARDS="nvidia nv radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Robert Lippmann 2009-07-26 19:58:07 UTC
(In reply to comment #0)
> media-tv:mythtv-0.22_alpha20959 won't compile. permission denied. See Actual
> results for more details.
> 

This appears to be the same problem as bug 240952.
Comment 2 John W Eckhart 2009-07-27 08:26:51 UTC
Created attachment 199291 [details]
Ebuild that can run configure regardless of execute bit.

This was solved for the x11-themes/mythtv-themes-0.22_alpha20934 ebuild by adding an sh before ./configure. I'm attaching an ebuild that does the same for media-tv/mythtv
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2009-08-03 01:02:52 UTC
This is already resolved in the tree.