Unable to build net-nds/gq-0.7.0_beta2 due to a build error. Reproducible: Always Steps to Reproduce: 1. emerge net-nds/gq 2. 3. Actual Results: [ truncated ] Making install in po make[1]: Entering directory `/var/tmp/portage/gq-0.7.0_beta2/work/gq-0.7.0beta2/po' /bin/sh `case ".././mkinstalldirs" in /*) echo ".././mkinstalldirs" ;; *) echo "../.././mkinstalldirs" ;; esac` /var/tmp/portage/gq-0.7 ../.././mkinstalldirs: ../.././mkinstalldirs: No such file or directory make[1]: *** [install-data-yes] Error 127 make[1]: Leaving directory `/var/tmp/portage/gq-0.7.0_beta2/work/gq-0.7.0beta2/po' make: *** [install-recursive] Error 1 !!! ERROR: net-nds/gq-0.7.0_beta2 failed. !!! Function einstall, Line 347, Exitcode 2 !!! einstall failed Portage 2.0.49 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-ck6) ================================================================= System uname: 2.4.20-ck6 i686 Intel(R) Pentium(R) 4 CPU 3.06GHz distcc 2.10 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.2 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe" DISTDIR="/mnt/portage/distfiles" FEATURES="autoaddcvs nostrip buildpkg ccache sandbox strict" GENTOO_MIRRORS="ftp://gentoo.noved.org/ http://adelie.polymtl.ca/ http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ ftp://cs.ubishops.ca/pub/gentoo" MAKEOPTS="-j3" PKGDIR="/mnt/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://192.168.10.198/gentoo-portage" USE="x86 oss 3dnow apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb alsa gdbm berkdb slang readline arts tetex aalib nas bonobo svga java X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl mozilla ldap cdr scanner acpi acpi4linux amd artswrappersuid cjk clamav curl dga dnd dvb dvd emacs evo faad fbcon fbdev fltk gb gd gnomedb gtk2 gtkhtml guile imap ipv6 jikes junit mbox mcal memlimit mozaccess mozcalendar mozp3p mozsvg mozxmlterm mpi oav oci8 odbc pda pic samba snmp sox sse tcltk tiff type1 usb v4l vim-with-x wmf xface xfs xinerama xml xosd xvid"
This error was reproduceable on my machine. I noticed that the configure script is being run twice due to autotools timestamp skews. The first time it is run it creates the po/Makefile which includes: MKINSTALLDIRS = ./mkinstalldirs After the second time it is run, this eventually becomes: MKINSTALLDIRS = $(top_builddir)/./mkinstalldirs which causes make install to fail. Adding the following to the ebuild fixed things nicely: cd ${S} touch aclocal.m4 configure `find . -name Makefile.in`
Where are you adding this? (line #)
Paul, this needs to be added to the gq-0.7.0_beta2.ebuild file. Usually code that modifies the source code is added to the unpack() function: src_unpack() { unpack ${A} # Fix timestamp skews cd ${S} touch aclocal.m4 configure `find . -name Makefile.in` } Alternatively, you can test my fix by placing it in at the start of the src_compile function: src_compile() { cd ${S} touch aclocal.m4 configure `find . -name Makefile.in` local myconf="--enable-browser-dnd --enable-cache" ..... } The important thing is that the times on some of the autotools generated files need to be updated before econf is invoked.
The package has always installed properly for me. Are your clocks broken?
System clock seems to be fine here.
No broken clock here either.
Brandy, Your src_unpack functon fixes this ebuild. As far as the clocks here, they're all sync'd with a local time server and are within seconds of each-other.
Fixed in CVS, thank you.