Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67778 - HAL 0.2.98-r1 wont build
Summary: HAL 0.2.98-r1 wont build
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: foser (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-16 06:16 UTC by Mark
Modified: 2005-01-16 13:46 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 Mark 2004-10-16 06:16:56 UTC
hal-0.2.98-r1 seems to have some problems compiling due to the macro in fstab-sync.c 

#define fstab_update_debug(...) do {if (verbose) fprintf (stderr, __VA_ARGS__);} while (0)

maybe i'm missing something or havent the right version of something

Reproducible: Always
Steps to Reproduce:
1. ACCEPT_KEYWORDS="~x86" emerge hal

Actual Results:  
fstab-sync.c:1849:1: directives may not be used inside a macro argument
fstab-sync.c:1848:46: unterminated argument list invoking macro "fstab_update_debug"
fstab-sync.c: In function `main':
fstab-sync.c:1852: `fstab_update_debug' undeclared (first use in this function)
fstab-sync.c:1852: (Each undeclared identifier is reported only once
fstab-sync.c:1852: for each function it appears in.)
fstab-sync.c:1852: parse error before string constant
make[3]: *** [fstab-sync.o] Error 1
make[3]: *** Waiting for unfinished jobs....
gcc -march=athlon-tbird -mcpu=athlon-tbird -O3 -pipe -Wall -Wchar-subscripts
-Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align
-Wsign-compare -o .libs/lshal lshal.o  /usr/lib/libdbus-glib-1.so
/usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so ../libhal/.libs/libhal.so
/usr/lib/libdbus-1.so -lnsl
creating lshal
make[3]: Leaving directory `/var/tmp/portage/hal-0.2.98-r1/work/hal-0.2.98/tools'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/hal-0.2.98-r1/work/hal-0.2.98/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/hal-0.2.98-r1/work/hal-0.2.98'
make: *** [all] Error 2

!!! ERROR: sys-apps/hal-0.2.98-r1 failed.
!!! Function src_compile, Line 39, Exitcode 2
!!! (no error message)


Expected Results:  
compile?!

Portage 2.0.50-r11 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1, 2.6.9-rc3)
=================================================================
System uname: 2.6.9-rc3 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -mcpu=athlon-tbird -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1
/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla
/defaults/pref /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share
/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-tbird -mcpu=athlon-tbird -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/dis
tributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"

----------------------------------------------------
My gcc* versions are:
sys-libs/glibc-2.3.2-r1
sys-devel/gcc-config-1.3.3-r1
sys-devel/gcc-3.2.2
Comment 1 foser (RETIRED) gentoo-dev 2004-10-18 09:43:55 UTC
probably your gcc, could you update or patch ?
Comment 2 Mark 2004-10-21 09:30:00 UTC
updating gcc and friends fixed the problem. 

would be nice to have it as dependency.
Comment 3 foser (RETIRED) gentoo-dev 2005-01-16 13:46:41 UTC
hard to implement such deps, it might work with older slotted broweser etc.

no further reports so i'm closing this wontfix for now.