Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128976 - app-admin/ulogd-1.23 fails - conffile.h: No such file or directory
Summary: app-admin/ulogd-1.23 fails - conffile.h: No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Other
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-05 16:02 UTC by Leo
Modified: 2006-04-13 15:06 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 Leo 2006-04-05 16:02:12 UTC
When I try to update my ulogd I get:
"conffile/conffile.c:24:22: conffile.h: No such file or directory" and the system update stops due to errors.

Workaround:
1)Edit the file /var/lib/portage/world and remove ulogd from the list.
2)Edit the file  /var/tmp/portage/ulogd-1.23/work/ulogd-1.23/conffile/conffile.c and change line 24 (#include "conffile.h") to "#include "../include/ulogd/conffile.h"
3)Make sure you are at  /var/tmp/portage/ulogd-1.23/work/ulogd-1.23/
4)make install

Your package is updated but your portage tree doesnt know so keep the ulogd out of the world file until this problem is fixed or you will have it again.

Result for emerge --info:

Portage 2.1_pre7-r4 (default-linux/amd64/2005.1, gcc-3.4.6, glibc-2.4-r1, 2.6.15-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.3.5-r2, 2.4.2-r1
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://mirror.espri.arizona.edu/gentoo/ ftp://ftp.las.ic.unicamp.br/pub/gentoo/ ftp://mirror.pacific.net.au/linux/Gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi berkdb bitmap-fonts cdr cli crypt cups dri dvd dvdread eds emboss encode foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg lzw lzw-tiff mp3 mpeg mysql ncurses nls nptl nptlonly nvidia opengl pam pcre pdflib perl png pppd python qt quicktime readline sdl spell ssl tcpd tiff truetype-fonts type1-fonts usb xml xpm xv zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Alexander Skwar 2006-04-11 14:54:00 UTC
Same here, on x86 - could hardware please be changed?

creating Rules.make
gcc -march=athlon-xp -O2 -pipe -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -Wall -DULOGD_CONFIGFILE=\"/etc/ulogd.conf\" -I/lib/modules/`uname -r`/build/include -I./libipulog/include -I./include   -c -o conffile/conffile.o conffile/conffile.c
make: *** No rule to make target `libipulog/libipulog.a', needed by `ulogd'.  Stop.
make: *** Waiting for unfinished jobs....
make[1]: Entering directory `/Gentoo/Portage/build/portage/ulogd-1.23/work/ulogd-1.23/conffile'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
gcc -march=athlon-xp -O2 -pipe -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -Wall -DULOGD_CONFIGFILE=\"/etc/ulogd.conf\" -I/lib/modules/`uname -r`/build/include -I../include/ulogd -c conffile.c -o conffile.o
conffile/conffile.c:24:22: conffile.h: No such file or directory
conffile/conffile.c:33: error: syntax error before '*' token
conffile/conffile.c:33: warning: type defaults to `int' in declaration of `config_errce'
conffile/conffile.c:33: warning: data definition has no type or storage class
conffile/conffile.c: In function `config_register_file':
conffile/conffile.c:121: error: `ERROOM' undeclared (first use in this function)
conffile/conffile.c:121: error: (Each undeclared identifier is reported only once
conffile/conffile.c:121: error: for each function it appears in.)
conffile/conffile.c: At top level:
conffile/conffile.c:129: error: syntax error before "config_entry_t"
conffile/conffile.c: In function `config_parse_file':
conffile/conffile.c:133: error: `config_entry_t' undeclared (first use in this function)
conffile/conffile.c:133: error: `ce' undeclared (first use in this function)
conffile/conffile.c:136: error: `LINE_LEN' undeclared (first use in this function)
conffile/conffile.c:141: error: `ERROPEN' undeclared (first use in this function)
conffile/conffile.c:156: error: `section' undeclared (first use in this function)
conffile/conffile.c:147: warning: unused variable `wordbuf'
conffile/conffile.c:164: error: `ERRSECTION' undeclared (first use in this function)
conffile/conffile.c:186: error: `keys' undeclared (first use in this function)
conffile/conffile.c:195: error: `CONFIG_OPT_MULTI' undeclared (first use in this function)
conffile/conffile.c:199: error: `ERRMULT' undeclared (first use in this function)
conffile/conffile.c:205: error: `CONFIG_TYPE_STRING' undeclared (first use in this function)
conffile/conffile.c:207: error: `CONFIG_VAL_STRING_LEN' undeclared (first use in this function)
conffile/conffile.c:212: error: `CONFIG_TYPE_INT' undeclared (first use in this function)
conffile/conffile.c:215: error: `CONFIG_TYPE_CALLBACK' undeclared (first use in this function)
conffile/conffile.c:170: warning: unused variable `wordbuf'
conffile/conffile.c:227: error: `CONFIG_OPT_MANDATORY' undeclared (first use in this function)
conffile/conffile.c:231: error: `ERRMAND' undeclared (first use in this function)
conffile/conffile.c:136: warning: unused variable `linebuf'
make: *** [conffile/conffile.o] Error 1
make[1]: Leaving directory `/Gentoo/Portage/build/portage/ulogd-1.23/work/ulogd-1.23/conffile'
[...]
make[1]: Leaving directory `/Gentoo/Portage/build/portage/ulogd-1.23/work/ulogd-1.23/pcap'

!!! ERROR: app-admin/ulogd-1.23 failed.
Call stack:
  ebuild.sh, line 1526:   Called dyn_compile
  ebuild.sh, line 923:   Called src_compile
  ulogd-1.23.ebuild, line 35:   Called die



askwar@hetzner /etc/apache2/modules.d $ emerge -vpt ulogd

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild   R   ] app-admin/ulogd-1.23  USE="mysql -postgres" 0 kB

Total size of downloads: 0 kB


askwar@hetzner /etc/apache2/modules.d $ emerge --info
Portage 2.1_pre7-r5 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r3, 2.6.14-hardened-r5.01 i686)
=================================================================
System uname: 2.6.14-hardened-r5.01 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.12.0_pre17
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2-r1
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-r2
sys-devel/binutils:  2.15.92.0.2-r10, 2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/mail/dspam /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control /var/run/dspam"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/Gentoo/Portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="        http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/    http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/       ftp://gentoo.itdnet.net/gentoo/         http://ftp.gentoo.or.kr/
        http://distfiles.gentoo.org/ "
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/Gentoo/Portage/packages"
PORTAGE_TMPDIR="/Gentoo/Portage/build"
PORTDIR="/Gentoo/Portage/tree"
PORTDIR_OVERLAY="/Gentoo/Portage/local-tree/misc /Gentoo/Portage/local-tree/overlays/gentoo-de"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip acl apache2 async bash-completion berkdb bzip2 cap caps ccache checkpath chroot cracklib crypt cyrus dcc discard-path dlloader ecc erandom exif extensions firefox glep glibc-omitfp hardened hardenedphp hpn iconv idea idled idn imagemagick imap imlib imlib2 jikes jpeg kdeenablefinal linuxthreads-tls logrotate lynxkeymap maildir mime mmap mmx mmxext mode-owner moznoirc mozsvg multislot nls no-old-linux noaudio nocd nodrm nolvm1 nopop3d offensive pam pam-mysql pcre pdf php pic png posix postfix prelude pyzor razor readline recode reiserfs sasl sendfile server sftplogging sguil sharedmem sse ssl static svg sysvipc szip tcpd threads tiff tokenizer tools unicode userlocales utf8 vhosts vim-pager x86 xfs xinetd zlib elibc_glibc input_devices_void kernel_linux linguas_de userland_GNU video_cards_dummy video_cards_none"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL
Comment 2 Torsten Veller (RETIRED) gentoo-dev 2006-04-13 13:13:29 UTC
I've just recommited an ebuild for 1.23 which doesn't support parallel make jobs.
Thanks for the report.
Patches making it parallel make safe are welcome.
Comment 3 Leo 2006-04-13 14:57:54 UTC
I still have the same problem. Is the new ebuild for x86 only? The update crashed at the same place. Do I need to provide you more info to help?
Comment 4 Leo 2006-04-13 15:06:31 UTC
Actually it did work. I am sorry. I am still new at this bug reporting thing. I had to sync my portage and then perform the update. Sorry, my bad!