>>> Unpacking source... >>> Unpacking libsigc++-1.2.5.tar.gz to /var/tmp/portage/dev-libs/libsigc++-1.2.5/work Running eautoreconf in '/var/tmp/portage/dev-libs/libsigc++-1.2.5/work/libsigc++-1.2.5' ... Running aclocal -I $(srcdir)/scripts -I scripts ... Failed Running aclocal ! Include in your bugreport the contents of: /var/tmp/portage/dev-libs/libsigc++-1.2.5/temp/aclocal-7153.out ERROR: dev-libs/libsigc++-1.2.5 failed. Call stack: ebuild.sh, line 49: Called src_unpack environment, line 2544: Called eautoreconf environment, line 858: Called eaclocal environment, line 797: Called autotools_run_tool 'src_unpack' 'src_unpack' 'aclocal' '-I' '$(srcdir)/scripts' environment, line 353: Called die The specific snippet of code: die "Failed Running $1 !"; The die message: Failed Running aclocal ! Output of /var/tmp/portage/dev-libs/libsigc++-1.2.5/temp/aclocal-7153.out ***** aclocal ***** ***** aclocal -I $(srcdir)/scripts -I scripts aclocal: couldn't open directory `$(srcdir)/scripts': Tiedostoa tai hakemistoa ei ole Output of emerge --info Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r8 i686) ================================================================= System uname: 2.6.23-gentoo-r8 i686 AMD Sempron(tm) Processor 3000+ Timestamp of tree: Wed, 23 Apr 2008 15:05: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.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 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.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=i686 -O2 -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/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=i686 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ " LANG="fi_FI" LC_ALL="fi_FI" LINGUAS="fi" 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" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa apache2 arts artswrappersuid asf audiofile bash-completion cairo carbone_theme cdr cli cpu-detection cracklib crypt css ctype cups curl dba dbus dv dvb dvd dvdr dvdread eds emboss encode evo fam fame fastbuild ffmpeg firefox force-cgi-redirect fortran ftp gd gdbm gif gnome gpm gstreamer gtk hal iconv ieee1394 ifp ipv6 isdnlog java jpeg kde kerberos ldap mad memlimit midi mikmod mjpeg mmx mmxext mozilla mp3 mpeg mplayer mudflap musicbrainz mysql ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp pam pcre pdf perl png posix pppd python qt3 qt3support qt4 quicktime readline reflection rt2500usb rt61pci samba sdl server session sftp simplexml slang soap sockets spell spl ssl subtitles svg svnserve tcpd theora tiff tokenizer truetype unicode usb userlocales utempter v4l vidix visualization vorbis win32codecs x264 x86 xine xml xorg xprint xscreensaver xsl xv xvid xvmc 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fi" LIRC_DEVICES="sir" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Reproducible: Always Steps to Reproduce: 1.emerge =libsigc++-1.2.5 2. 3.
Include in your bugreport the contents of: /var/tmp/portage/dev-libs/libsigc++-1.2.5/temp/aclocal-7153.out
It was there but here it is again: Output of /var/tmp/portage/dev-libs/libsigc++-1.2.5/temp/aclocal-7153.out ***** aclocal ***** ***** aclocal -I $(srcdir)/scripts -I scripts aclocal: couldn't open directory `$(srcdir)/scripts': Tiedostoa tai hakemistoa ei ole
(In reply to comment #2) > It was there but here it is again: So it was. Sorry about that. > Output of > /var/tmp/portage/dev-libs/libsigc++-1.2.5/temp/aclocal-7153.out > > ***** aclocal ***** > ***** aclocal -I $(srcdir)/scripts -I scripts > > aclocal: couldn't open directory `$(srcdir)/scripts': Tiedostoa tai hakemistoa > ei ole "Tiedostoa tai hakemistoa ei ole" => "No such file or directory".
could reproduce this also. on portage you have also a masked 2.2.2 version, maybe you can use this? if you need 1.2* version you could try this ebuild for 1.2.7 i am not quite sure if i did it correctly but it was possible for me to emerge it from portage overlay with this ebuild..
Created attachment 151297 [details] used 1.2.5 ebuild for this
I ran into the same problem today; I'd add that _before_ aclocal would complain about the missing directory, first, an eval fails in the ebuild script (well, at least according to the log that I see). Here's the error message: * Running eautoreconf in '/var/tmp/portage/dev-libs/libsigc++-1.2.5/work/libsigc++-1.2.5' ... /var/tmp/portage/dev-libs/libsigc++-1.2.5/temp/environment: line 790: srcdir: command not found And here's the code snippet that fails: ---> for amflags_file in GNUmakefile.am Makefile.am GNUmakefile.in Makefile.in; do [[ -e ${amflags_file} ]] || continue; aclocal_opts=$(sed -n '/^ACLOCAL_AMFLAGS[[:space:]]*=/s:[^=]*=::p' ${amf lags_file}); eval aclocal_opts=\"${aclocal_opts}\"; break; done; ---> Line #790 is the one before the break statement; (the one with the eval).
To all, Could you try Erik's ebuild in a local overlay and let me know if it fixes the bug for you? @Erik, please send patches rather than full ebuilds next time :) it makes reviewing easier. Thanks
@Erik, why did you add this bit to src_unpack : ${I}="${S}/scripts" and why did you remove eautoreconf? Thanks
The attached ebuild for version 1.2.7 works on x86
(In reply to comment #7) > To all, > > Could you try Erik's ebuild in a local overlay and let me know if it fixes the > bug for you? Works fine here on x86 Thx Volker
Alright, so the problem is that Makefile.am contains : ACLOCAL_AMFLAGS = -I $(srcdir)/scripts $(srcdir) is expanded by the autotools eclass, operation which obviously fails, returning a busted path. So I've fixed that issue in the new and vastly improved 1.2.7 ebuild. Please try it out. If something breaks, please reopen this bug. Thanks
1.2.7 ebuild in current tree works for me too, to fix same error with 1.2.5. CHOST="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CXXFLAGS="${CFLAGS}" I had to add this to /etc/portage/package.keywords: =dev-libs/libsigc++-1.2.7 ~amd64 Unless it changed within the last two days, there's something in Portage blocking this for amd64. Is that still necessary?
*** Bug 239731 has been marked as a duplicate of this bug. ***
*** Bug 245473 has been marked as a duplicate of this bug. ***
*** Bug 223819 has been marked as a duplicate of this bug. ***
*** Bug 247034 has been marked as a duplicate of this bug. ***
1.2.7 is ok for me.