lprng does not build with gcc-4.1.1: i686-pc-linux-gnu-gcc -I.. -I. -I./include -I./common -D_FILE_OFFSET_BITS=64 -I/usr/include -g -W -Wall -Werror -Wno-unused -Os -s -fomit-frame-pointer -march=pentium4 -msse -msse2 -mmmx -mfpmath=sse -pipe -D_FILE_OFFSET_BITS=64 -g -W -Wall -Werror -Wno-unused -DHAVE_CONFIG_H -c -o lpq.o ./common/lpq.c cc1: warnings being treated as errors ./common/lpq.c: In function 'Term_clear': ./common/lpq.c:452: warning: not enough variable arguments to fit a sentinel make[1]: *** [lpq.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/lprng-3.8.28/work/LPRng-3.8.28/src' make: *** [src] Error 2 !!! ERROR: net-print/lprng-3.8.28 failed. Call stack: ebuild.sh, line 1540: Called dyn_compile ebuild.sh, line 940: Called src_compile lprng-3.8.28.ebuild, line 58: Called die !!! printer on fire! !!! If you need support, post the topmost build error, and the call stack if relevant. emerge --info Portage 2.1.1_pre1-r1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.12-colinux-udev i686) ================================================================= System uname: 2.6.12-colinux-udev i686 Intel(R) Celeron(R) CPU 2.40GHz Gentoo Base System version 1.12.1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 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/gcc-config: [Not Present] sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -s -fomit-frame-pointer -march=pentium4 -msse -msse2 -mmmx -mfpmath=sse -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-Os -s -fomit-frame-pointer -march=pentium4 -msse -msse2 -mmmx -mfpmath=sse -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.ISO-8859-1" LINGUAS="de en" MAKEOPTS="-j1" 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/src/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts avi berkdb bitmap-fonts cli crypt dri dvd dvdr eds emboss encode ffmpeg flac font-server foomaticdb fortran gcj gdbm gif gpm gstreamer gtk gtk2 imlib isdnlog jack java jpeg kde libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses noantlr nobcel nobeanutils nobsf nobsh nocommonslogging nocommonsnet nogecko-sdk nojdepend nojsch nojython nolog4j nooro noregexp norhino noxalan noxerces nptl nptlonly objc ogg opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflection sdl session spell spl sse ssl tcltk tcpd theora tiff truetype truetype-fonts type1-fonts udev usb userlocales vorbis win32codecs xcomposite xgetdefault xine xml xmms xorg xv xvmc zlib elibc_glibc input_devices_mouse input_devices_keyboard input_devices_void kernel_linux linguas_de linguas_en userland_GNU video_cards_vga video_cards_vesa video_cards_fbdev" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 90190 [details, diff] lpq fix for gcc-4.1.1 Attached is a patch for lprng to fix the build with gcc-4.1.1.
*** Bug 132637 has been marked as a duplicate of this bug. ***
Bug 138063
It would be nice if someone would have a look at the Makefile fix for Bug 136858 and the lpq patch here to get both lprng bugs closed.
currently it has no maintainer because no one of the printing herd uses it - if you want to proxy maintain it can you please mail me in private?
thanks, I committed this for thomas