Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138063 - emerge lprng-3.8.28 fails with gcc-4.1.1
Summary: emerge lprng-3.8.28 fails with gcc-4.1.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Other
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
: 132637 (view as bug list)
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-06-26 08:38 UTC by Thomas Pfaff
Modified: 2006-07-18 10:10 UTC (History)
1 user (show)

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


Attachments
lpq fix for gcc-4.1.1 (lprng-3.8.28-lpq.diff,383 bytes, patch)
2006-06-26 08:42 UTC, Thomas Pfaff
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Pfaff 2006-06-26 08:38:43 UTC
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
Comment 1 Thomas Pfaff 2006-06-26 08:42:36 UTC
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.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-06-26 08:47:02 UTC
*** Bug 132637 has been marked as a duplicate of this bug. ***
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-06-26 08:47:29 UTC
Bug 138063
Comment 4 Thomas Pfaff 2006-07-18 04:02:34 UTC
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.
Comment 5 Stefan Schweizer (RETIRED) gentoo-dev 2006-07-18 04:07:05 UTC
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?
Comment 6 Stefan Schweizer (RETIRED) gentoo-dev 2006-07-18 10:10:08 UTC
thanks, I committed this for thomas