Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117140 - Directives may not be used inside a macro argument in psmisc build
Summary: Directives may not be used inside a macro argument in psmisc build
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
: 137315 (view as bug list)
Depends on:
Reported: 2005-12-29 18:33 UTC by Jesse
Modified: 2006-06-19 23:42 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Jesse 2005-12-29 18:33:41 UTC
foobar files # emerge psmisc
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-process/psmisc-21.9 to /
>>> checksums files   ;-) psmisc-21.6.ebuild
>>> checksums files   ;-) psmisc-21.8.ebuild
>>> checksums files   ;-) psmisc-21.9.ebuild
>>> checksums files   ;-) files/psmisc-21.6-nonls.patch
>>> checksums files   ;-) files/psmisc-21.8-ipv6.patch
>>> checksums files   ;-) files/digest-psmisc-21.6
>>> checksums files   ;-) files/digest-psmisc-21.8
>>> checksums files   ;-) files/digest-psmisc-21.9
>>> checksums files   ;-) files/psmisc-21.6-scanf.patch
>>> checksums files   ;-) files/psmisc-21.6-selinux.diff.bz2
>>> checksums src_uri ;-) psmisc-21.9.tar.gz
>>> Unpacking source...
>>> Unpacking psmisc-21.9.tar.gz to /var/tmp/portage/psmisc-21.9/work     [ ok ]
>>> Source unpacked.C++ checks...
>>> Compiling source in /var/tmp/portage/psmisc-21.9/work/psmisc-21.9 ...
 * econf: updating psmisc-21.9/config/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating psmisc-21.9/config/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --bindir=/bin --disable-selinux --enable-nls --enable-ipv6 --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking whether ln -s works... yes
checking for tgetent in -ltinfo... no
checking for tgetent in -lncurses... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for unistd.h... (cached) yes
checking termcap.h usability... yes
checking termcap.h presence... yes
checking for termcap.h... yes
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking whether NLS is requested... yes
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for strdup... yes
checking for strerror... yes
checking for strtoul... yes
checking for rpmatch... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating icons/Makefile
config.status: creating po/
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/psmisc-21.9/work/psmisc-21.9'
Making all in doc
make[2]: Entering directory `/var/tmp/portage/psmisc-21.9/work/psmisc-21.9/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/psmisc-21.9/work/psmisc-21.9/doc'
Making all in src
make[2]: Entering directory `/var/tmp/portage/psmisc-21.9/work/psmisc-21.9/src'
i686-pc-linux-gnu-gcc -E -dM signames.c |\
        tr -s '\t ' ' ' | sort -n -k 3 | sed \
's:#define SIG\([A-Z]\+[0-9]*\) \([0-9]\+\) *\(\|/\*.*\)$:{\
\2,"\1" },:p;d' | \
          grep -v '[0-9][0-9][0-9]' >signames.h || \
          { rm -f signames.h; exit 1; }
grep '^{ 1,"HUP" },$' signames.h >/dev/null || \
          { rm -f signames.h; exit 1; }
make  all-am
make[3]: Entering directory `/var/tmp/portage/psmisc-21.9/work/psmisc-21.9/src'
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -DLOCALEDIR=\"/usr/share/locale\" -O2 -march=athlon-xp -pipe -MT fuser.o -MD -MP -MF ".deps/fuser.Tpo" -c -o fuser.o fuser.c; \
then mv -f ".deps/fuser.Tpo" ".deps/fuser.Po"; else rm -f ".deps/fuser.Tpo"; exit 1; fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -DLOCALEDIR=\"/usr/share/locale\" -O2 -march=athlon-xp -pipe -MT signals.o -MD -MP -MF ".deps/signals.Tpo" -c -o signals.o signals.c; \
then mv -f ".deps/signals.Tpo" ".deps/signals.Po"; else rm -f ".deps/signals.Tpo"; exit 1; fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -DLOCALEDIR=\"/usr/share/locale\" -O2 -march=athlon-xp -pipe -MT killall.o -MD -MP -MF ".deps/killall.Tpo" -c -o killall.o killall.c; \
then mv -f ".deps/killall.Tpo" ".deps/killall.Po"; else rm -f ".deps/killall.Tpo"; exit 1; fi
fuser.c:98:1: directives may not be used inside a macro argument
fuser.c:97:5: unterminated argument list invoking macro "_"
fuser.c: In function `usage':
fuser.c:99: `_' undeclared (first use in this function)
fuser.c:99: (Each undeclared identifier is reported only once
fuser.c:99: for each function it appears in.)
fuser.c:99: parse error before string constant
distcc[29141] ERROR: compile fuser.c on localhost failed
make[3]: *** [fuser.o] Error 1
make[3]: *** Waiting for unfinished jobs....
distcc[29144] (dcc_writex) ERROR: failed to write: Connection timed out
distcc[29144] (dcc_writex) ERROR: failed to write: Broken pipe
distcc[29144] Warning: failed to distribute signals.c to, running locally instead
make[3]: Leaving directory `/var/tmp/portage/psmisc-21.9/work/psmisc-21.9/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/psmisc-21.9/work/psmisc-21.9/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/psmisc-21.9/work/psmisc-21.9'
make: *** [all] Error 2

!!! ERROR: sys-process/psmisc-21.9 failed.
!!! Function src_compile, Line 35, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-12-30 01:04:40 UTC
emerge --info, please...
Comment 2 Jesse 2005-12-30 01:14:39 UTC
(In reply to comment #1)
> emerge --info, please...

foobar files # emerge --info
Portage 2.1_pre2 (default-linux/x86/2005.0, gcc-3.2.3, glibc-2.3.5-r3, 2.4.24 i686)
System uname: 2.4.24 i686 AMD Athlon(tm) 4 Processor
Gentoo Base System version 1.12.0_pre12
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.2.3-r1, 2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.4.19-r1, 2.6.11-r3
CFLAGS="-O2 -march=athlon-xp -pipe"
CONFIG_PROTECT="/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
FEATURES="autoconfig distcc distlocks sandbox sfperms strict"
USE="X aalib acpi alsa apache1 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups dvd dvdr eds emboss encode esd ethereal expat fam firebird flac flash foomaticdb fortran gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 guile imlib ipv6 java jpeg kde lcms libg++ libwww mad mikmod mmx mng motif mozilla mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pcre pdflib perl png python qt quicktime readline recode ruby samba sdl slang spell ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis x86 xine xml xml2 xmms xv xvid zlib elibc_glibc kernel_linux userland_GNU"
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-12-30 01:40:16 UTC
Upgrade your gcc to some decent version.
Comment 4 Jesse 2005-12-30 11:34:08 UTC
(In reply to comment #3)
> Upgrade your gcc to some decent version.

Yeah, I was running emerge -uD world, it upgraded gcc, but I hadn't updated it properly and then source /etc/profiled, when I did that, it fixed it.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-06-19 23:42:13 UTC
*** Bug 137315 has been marked as a duplicate of this bug. ***