Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27358 - net-nds/gq-0.7.0_beta2 build failiure
Summary: net-nds/gq-0.7.0_beta2 build failiure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-26 07:19 UTC by Paul Slinski
Modified: 2003-09-02 19:03 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Slinski 2003-08-26 07:19:31 UTC
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"
Comment 1 Brandy Westcott (RETIRED) gentoo-dev 2003-08-28 03:53:50 UTC
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` 
Comment 2 Paul Slinski 2003-08-28 06:36:14 UTC
Where are you adding this? (line #)
Comment 3 Brandy Westcott (RETIRED) gentoo-dev 2003-08-28 13:48:46 UTC
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. 
Comment 4 Donny Davies (RETIRED) gentoo-dev 2003-08-28 21:39:06 UTC
The package has always installed properly for me.

Are your clocks broken?
Comment 5 Brandy Westcott (RETIRED) gentoo-dev 2003-08-29 07:57:00 UTC
System clock seems to be fine here. 
Comment 6 Paul Slinski 2003-08-29 10:08:03 UTC
No broken clock here either.
Comment 7 Paul Slinski 2003-09-02 11:45:12 UTC
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.
Comment 8 Donny Davies (RETIRED) gentoo-dev 2003-09-02 19:03:36 UTC
Fixed in CVS, thank you.