Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 276824 - compiling sys-apps/openrc-0.4.3-r3 fails with: rc.c:179: error: 'COMMAND_LINE_SIZE' undeclared (first use in this function)
Summary: compiling sys-apps/openrc-0.4.3-r3 fails with: rc.c:179: error: 'COMMAND_LINE...
Status: RESOLVED DUPLICATE of bug 276715
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-06 20:08 UTC by Asfand Yar Qazi
Modified: 2009-07-06 23:26 UTC (History)
0 users

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 Asfand Yar Qazi 2009-07-06 20:08:10 UTC
Hi,

Did a:

emerge -va1 openrc

Got a:

x86_64-pc-linux-gnu-gcc -O3 -g -march=k8 -pipe  -std=c99 -Wall -Wextra -Wimplicit -Wshadow -Wformat=2 -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wnested-externs -Winline -Wwrite-strings -Wcast-align -Wcast-qual -Wpointer-arith -Wdeclaration-after-statement -Wsequence-point  -I../includes -I../librc -I../libeinfo  -D_BSD_SOURCE -D_XOPEN_SOURCE=600 -DHAVE_TERMCAP -DHAVE_PAM -c rc.c -o rc.o
rc.c: In function 'proc_getent':
rc.c:179: error: 'COMMAND_LINE_SIZE' undeclared (first use in this function)
rc.c:179: error: (Each undeclared identifier is reported only once
rc.c:179: error: for each function it appears in.)
rc.c:179: warning: unused variable 'proc'
make[2]: *** [rc.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-apps/openrc-0.4.3-r3/work/openrc-0.4.3/src/rc'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-apps/openrc-0.4.3-r3/work/openrc-0.4.3/src'
make: *** [all] Error 2


Reproducible: Always




emerge --info:

Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.10.1-r0, 2.6.30-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r1-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6400+-with-gentoo-2.0.1
Timestamp of tree: Mon, 06 Jul 2009 09:45:02 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.8-r1
dev-lang/python:     2.4.4-r4, 2.5.4-r2, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
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.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -g -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d /usr/share/X11/xkb"
CXXFLAGS="-O3 -g -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache distlocks fixpackages notitles parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.virginmedia.com/"
LANG="en_GB"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages64"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude /packages64"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/enlightenment /usr/local/portage"
SYNC="rsync://sff.qazi.eu/gentoo-portage"
USE="3dnow 3dnowext X Xaw3d acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread emboss encode evo exif fam firefox gif glib gmp gs gstreamer gtk hal htmlhandbook iconv inotify ipv6 isdnlog jpeg kde kdeenablefinal kdehiddenvisibility libnotify mad md5sum midi mikmod mmx mmxext mp3 mpeg mudflap multilib ncurses nls nptl nptlonly offensive ogg opengl openmp oss pam pch pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection rle samba sdl semantic-desktop session smp spell spl sse sse2 ssl startup-notification svg sysfs tcpd threads tiff truetype unicode usb v4l v4l2 vorbis xcb xcomposite xinerama xml xorg xpm xulrunner xv zlib" ALSA_CARDS="ca0106" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Asfand Yar Qazi 2009-07-06 20:10:45 UTC
Forgot: here are the use flags enabled on it:

[ebuild     U ] sys-apps/openrc-0.4.3-r3 [0.4.3-r2] USE="ncurses pam unicode -debug" 0 kB
Comment 2 Rafał Mużyło 2009-07-06 23:26:37 UTC

*** This bug has been marked as a duplicate of bug 276715 ***