Summary: | econf fails with "no configure script found" due to noexec mount option | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Vladimir Indik <vovka> |
Component: | New packages | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | vovka |
Priority: | High | Keywords: | InVCS |
Version: | 2007.0 | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 181949, 187293 | ||
Attachments: |
environment of a failed build
build.log of emerge with "--debug" option. |
Description
Vladimir Indik
2007-06-06 17:42:37 UTC
*** Bug 181106 has been marked as a duplicate of this bug. *** *** Bug 181107 has been marked as a duplicate of this bug. *** Portage 2.1.2.7 (default-linux/amd64/2007.0, gcc-3.4.6, glibc-2.5-r2, 2.6.20-gentoo-r7 x86_64) ================================================================= System uname: 2.6.20-gentoo-r7 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ Gentoo Base System release 1.12.9 Timestamp of tree: Wed, 06 Jun 2007 15:50:01 +0000 dev-java/java-config: 1.3.7, 2.0.32 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O3 -pipe -msse3 -fomit-frame-pointer -funroll-loops -fforce-mem -fforce-addr" 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/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=athlon64 -O3 -pipe -msse3 -fomit-frame-pointer -funroll-loops -fforce-mem -fforce-addr" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/ ftp://gentoo.tiscali.nl/pub/mirror/gentoo/ http://linuv.uv.es/mirror/gentoo/ " LANG="ru_RU.UTF-8" LC_ALL="" LINGUAS="ru" MAKEOPTS="-j3" 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/xeffects" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X acl alsa amd64 berkdb bitmap-fonts cdr cli cracklib crypt cups dri dvdr flac fortran gdbm gnome gpm gtk gtk2 iconv isdnlog jpeg libg++ mad midi mmx mmxext mp3 mudflap ncurses nls nptl nptlonly nvidia ogg opengl openmp oss pam pcre perl png pppd python readline reflection samba session smb spl sse sse2 ssl tcpd truetype truetype-fonts type1-fonts unicode userlocales vorbis xorg xscreensaver zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Care to post the build.log please ? Does this really happen for every package you try to emerge ? (In reply to comment #4) > Care to post the build.log please ? vovka@localhost ~ $ cat /tmp/portage/media-sound/mpd-0.12.1/temp/build.log * Home directory of user mpd, as well as default locations in mpd.conf have * been changed to /var/lib/mpd, please bear that in mind while updating * your mpd.conf file. >>> Unpacking source... >>> Unpacking mpd-0.12.1.tar.bz2 to /tmp/portage/media-sound/mpd-0.12.1/work * Applying mpdconf.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /tmp/portage/media-sound/mpd-0.12.1/work/mpd-0.12.1 ... !!! ERROR: media-sound/mpd-0.12.1 failed. Call stack: ebuild.sh, line 1615: Called dyn_compile ebuild.sh, line 972: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile mpd-0.12.1.ebuild, line 59: Called econf '--enable-alsa' '--enable-alsatest' '--enable-oss' '--enable-mp3' '--disable-aac' '--disable-ao' '--disable-aotest' '--disable-audiofile' '--disable-audiofiletest' '--enable-libFLACtest' '--enable-flac' '--enable-oggflac' '--disable-shout' '--disable-ipv6' '--enable-mp3' '--enable-id3' '--disable-libmikmodtest' '--disable-mod' '--disable-mpc' '--disable-pulse' '--enable-oggvorbis' '--enable-vorbistest' ebuild.sh, line 581: Called die !!! no configure script found !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/tmp/portage/media-sound/mpd-0.12.1/temp/build.log'. > Does this really happen for every package you try to emerge ? > No, only package, which need to compile from sources. Hm, there is something fundamental wrong with your settings. It looks like portage unpacks the source somewhere, and then looks elsewhere. Can you please paste your /etc/make.conf ? CCing portage@g.o, guys, do you have any idea what can be wrong here? Looks like any autotooled package fails because portage can't find configure script after unpacking... Having ECONF_SOURCE in the environment could throw it off like that. Check the output of `portageq envvar ECONF_SOURCE`. (In reply to comment #6) > Can you please paste your /etc/make.conf ? vovka@localhost ~ $ cat /etc/make.conf | grep -v '^#' CFLAGS="-march=athlon64 -O3 -pipe -msse3 -fomit-frame-pointer -funroll-loops -fforce-mem -fforce-addr" CHOST="x86_64-pc-linux-gnu" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j3" GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/ ftp://gentoo.tiscali.nl/pub/mirror/gentoo/ http://linuv.uv.es/mirror/gentoo/ " SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X gnome gtk gtk2 -qt -kde dvdr alsa cdr -ipv6 nvidia samba smb mp3 flac ogg vorbis opengl userlocales -evo -eds jpeg mad mmx mmxext oss png truetype xscreensaver" FEATURES="parallel-fetch" INPUT_DEVICES="keyboard mouse" VIDEO_CARDS="nvidia" LINGUAS="ru" source /usr/portage/local/layman/make.conf (In reply to comment #7) > Having ECONF_SOURCE in the environment could throw it off like that. Check the > output of `portageq envvar ECONF_SOURCE`. > Output of `portageq envvar ECONF_SOURCE` is empty. Can you attach /var/tmp/portage/$category/$package/temp/environment of a failed build? Created attachment 121421 [details]
environment of a failed build
environment of a failed build
Please run emerge with --debug and attach /tmp/portage/media-sound/mpd-0.12.1/temp/build.log Created attachment 121498 [details]
build.log of emerge with "--debug" option.
'[' -x ./configure ']' is failing which suggests that your filesystem is mounted with the noexec option (probably specified in /etc/fstab). You can also see those options in /proc/mounts. (In reply to comment #14) > '[' -x ./configure ']' is failing which suggests that your filesystem is > mounted with the noexec option (probably specified in /etc/fstab). You can > also see those options in /proc/mounts. > Yes, my filesystem is mounted with the noexec option. Thank you! Thanks to all of you, guys! :) (In reply to comment #0) > If I enter "emerge <anything>", then I see this: Hrm, I missed that part about "emerge <anything>". This clearly has nothing to do with media-sound/mpd, so I'm reassigning it... I think I'll add some code to check for this condition. In svn r6766 it's fixed to say "configure is not executable". This has been released in 2.1.2.10. |