Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 162996 - [gnome-experimental overlay] sys-apps/hal-0.5.8.1 configure fails due to syntax error in ./configure
Summary: [gnome-experimental overlay] sys-apps/hal-0.5.8.1 configure fails due to synt...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-20 23:37 UTC by Karl Mikaelsson
Modified: 2007-01-27 12:02 UTC (History)
0 users

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


Attachments
patch for configure.in (hal-0.5.8.1-configure.patch,702 bytes, text/plain)
2007-01-22 02:56 UTC, Barry Gear
Details
fixed patch (hal-0.5.8.1-configure.patch,701 bytes, text/plain)
2007-01-22 03:04 UTC, Barry Gear
Details
fixed patch (hal-0.5.8.1-configure.patch,701 bytes, patch)
2007-01-22 03:04 UTC, Barry Gear
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Mikaelsson 2007-01-20 23:37:26 UTC
sys-apps/hal-0.5.8.1 fails to run ./configure due to syntax errors.
It seems that the build scripts are somewhat bugged, and I'm not good enough at auto* to provide a solution.



Reproducible: Always

Steps to Reproduce:
1. emerge =sys-apps/hal-0.5.8.1

Actual Results:  
checking for libusb-config... /usr/bin/libusb-config
./configure: line 23012: syntax error near unexpected token `then'
./configure: line 23012: `              USE_LIBPCI=yes  if true; then'


Expected Results:  
I expected it to configure smoothly, of course :-)

masamune ~ # emerge --info
Portage 2.1.2-r1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r3 i686)
=================================================================
System uname: 2.6.19-gentoo-r3 i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.9
Timestamp of tree: Sat, 20 Jan 2007 21:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
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.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19.2-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=k8 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-mtune=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US"
LC_ALL="en_US"
LINGUAS="en sv"
MAKEOPTS="-j2"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/gnome-experimental /usr/local/overlays/local-portage-tree"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl acpi aim alsa apache2 avahi bash-completion berkdb bitmap-fonts bonobo browserplugin bzip2 cairo cdr chm cli cracklib crypt curl dbus dbx dlloader dri dvd dvdread eds emacs emboss encode exif fam ffmpeg flac foomaticdb fortran ftp galago gdbm gecko-sdk gif glitz gmail gmp gnome gpm gstreamer gstreamer10 gtk gtk2 gtkhtml hal howl iconv icq idn imap imlib innodb inotify ipv6 isdnlog jabber java jpeg justify keyring leim libg++ libnotify libwww linuxkeys lzo mad mikmod mime mmx mmxext mono motif moznocompose moznoirc moznomail mozsvg mp3 mpeg mplayer msn mule musepack mysql mysqli nautilus ncurses nls nptl nptlonly nsplugin offensive ogg opengl oscar oss pam pcre pdf perl php png pppd python quicktime readline real reflection sdl session spell spl sqlite sse sse2 ssl startup-notification svg tcpd tga theora tidy tiff truetype truetype-fonts type1-fonts udev unicode userlocales utf8 videos vorbis win32codecs wv x86 xanim xft xml xorg xpm xv xvid zeroconf zlib" ALSA_CARDS="ens1370 emu10k1" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en sv" USERLAND="GNU" VIDEO_CARDS="fglrx vesa"
Unset:  CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Karl Mikaelsson 2007-01-20 23:38:21 UTC
I forgot to mention, this ebuild is from the gnome-experimental overlay.
Comment 2 Barry Gear 2007-01-22 02:56:29 UTC
Created attachment 107749 [details]
patch for configure.in

Created a quick patch to add some CRs to the configure.in. Compiled for me afterwards.
Comment 3 Barry Gear 2007-01-22 03:04:30 UTC
Created attachment 107751 [details]
fixed patch

sorry..didnt notice the 'i' in there..
Comment 4 Barry Gear 2007-01-22 03:04:48 UTC
Created attachment 107752 [details, diff]
fixed patch

sorry..didnt notice the 'i' in there..
Comment 5 Lukasz Badura 2007-01-25 12:16:10 UTC
(In reply to comment #4)
> Created an attachment (id=107752) [edit]
> fixed patch
> 
> sorry..didnt notice the 'i' in there..

It doesn't work. configure.in is patched, however the configure script returns the exact same error. Is there any other way to compile hal ?

Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-01-25 13:34:39 UTC
you need to add eautoreconf in the ebuild after the patch. I'll add a patch for the ebuild when I have some time.
Comment 7 Karl Mikaelsson 2007-01-25 15:50:32 UTC
Using patch from comment #4 makes my hal build as well.
Thank you, all!
Comment 8 Rémi Cardona (RETIRED) gentoo-dev 2007-01-26 22:48:37 UTC
Applied this patch plus a fix for another bug in the overlay. Please test. Thanks
Comment 9 Karl Mikaelsson 2007-01-26 23:37:19 UTC
hal-0.5.8.1 from gnome-experimental builds without problems on my machine. I'm fairly oblivious to what the other bugfix fixed, so I'm at a loss for testing it. Nevertheless, thank you!
Comment 10 Marcello Laganà 2007-01-27 10:51:20 UTC
(In reply to comment #8)
> Applied this patch plus a fix for another bug in the overlay. Please test.
> Thanks
> 

On my system i've added also -lz flag for the test build:

-               AM_CONDITIONAL(HAVE_LIBPCI,false)])], [
+               AM_CONDITIONAL(HAVE_LIBPCI,false)],[-lz])], [

libpci (from pciutils 2.2.4) seems to require it

When I played with this package, I've found another bug located in /usr/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi:80
Two xml-test <match> aren't closed after the <merge>, so I can't mount hot-pluggable storage drivers

Comment 11 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-01-27 11:59:06 UTC
it seems we owe you a beer :)
Comment 12 Rémi Cardona (RETIRED) gentoo-dev 2007-01-27 12:02:01 UTC
Fixing this ASAP. Thanks a lot Marcello. :)