[Bug 229793] New: pkg-config fails to build (in autoreconf)
https://bugzilla.novell.com/show_bug.cgi?id=229793 Summary: pkg-config fails to build (in autoreconf) Product: openSUSE 10.3 Version: unspecified Platform: All OS/Version: All Status: NEW Severity: Normal Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: andreas.hanke@gmx-topmail.de QAContact: qa@suse.de pkg-config currently fails to build; reason is an automake error. The interesting part of the output is: configure.in:106: AC_CONFIG_AUX_DIR must be called before AM_INIT_AUTOMAKE... configure.in:4: ... AM_INIT_AUTOMAKE called here The failure is inside some win32 code that could be removed. But I'd suggest to just remove the autoreconf call for now. Upstream seems to use a really old automake version, as running just automake instead of autoreconf shows: configure.in:4: version mismatch. This is Automake 1.9.6, configure.in:4: but the definition used by this AM_INIT_AUTOMAKE configure.in:4: comes from Automake 1.7.9. You should recreate configure.in:4: aclocal.m4 with aclocal and run automake again. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229793 ------- Comment #1 from andreas.hanke@gmx-topmail.de 2006-12-19 15:03 MST ------- "fails to build" should have been: fails to build in the build service, GNOME:UNSTABLE. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229793 ------- Comment #2 from andreas.hanke@gmx-topmail.de 2006-12-19 15:25 MST ------- I've just detected that in openSUSE 10.2, the default PKG_CONFIG_PC_PATH is miscompiled because of this.
From the build log:
if gcc -DHAVE_CONFIG_H -I. -I. -I. -DPKG_CONFIG_PC_PATH="\"/usr/lib/pkgconfig:/pkgconfig\"" -I./glib-1.2.8 -g -Wall -O2 -g -O2 -MT poptparse.o -MD -MP -MF ".deps/poptparse.Tpo" \ As you can see, PKG_CONFIG_PC_PATH is defined to: /usr/lib/pkgconfig:/pkgconfig But should be: /usr/lib/pkgconfig:/usr/share/pkgconfig This is then hard-coded into the binary: # strings /usr/bin/pkg-config | grep /pkgconfig http://www.freedesktop.org/software/pkgconfig/ /usr/lib/pkgconfig:/pkgconfig This is yet another autoconf 2.60 <-> datadir incompatibility. It's caused by the fact that in openSUSE 10.2 you're running autoconf, but not automake. Running automake breaks the build, so I suggest to entirely remove all autoconf and automake calls. The build system is too broken to be regenerated with recent autotools and everything works for me as shipped in the upstream tarball. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229793 andreas.hanke@gmx-topmail.de changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|pkg-config fails to build |pkg-config fails to build (autotools setup |(in autoreconf) |completely broken) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229793 sbrabec@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #3 from sbrabec@novell.com 2006-12-22 08:29 MST ------- I already remove autoreconf as a work-around. x86_64 pkgconfig has still hardwired upper mentioned path, but we have /etc/profile.d/pkgconfig.sh. I am not sure, what is better - patching pkg-config or variable, I prefer second one - user compiled unpatched pkg-config will not break the system. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com