Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 151041 - lprng-3.8.28 emerge fails with kerberos use flag (-Werror)
Summary: lprng-3.8.28 emerge fails with kerberos use flag (-Werror)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-12 09:53 UTC by Ryan Hendrickson
Modified: 2006-10-14 00:57 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 Ryan Hendrickson 2006-10-12 09:53:59 UTC
It compiles fine without kerberos.


The errors start here:

/bin/sh ../libtool --mode=compile 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  -O2 -march=athlon-xp -pipe -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -g -W -Wall  -Werror  -Wno-unused  -DHAVE_CONFIG_H -c ./common/linelist.c
cc1: warnings being treated as errors
./common/krb5_auth.c: In function 'des_read':
./common/krb5_auth.c:925: warning: pointer targets in passing argument 3 of 'Read_fd_len_timeout' differ in signedness
make[1]: *** [krb5_auth.lo] Error 1
cd src; make MAKETARGET=lpd.conf
make[1]: *** Waiting for unfinished jobs....
make[1]: Entering directory `/var/tmp/portage/lprng-3.8.28/work/LPRng-3.8.28/src'
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  -O2 -march=athlon-xp -pipe -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -g -W -Wall  -Werror  -Wno-unused  -DHAVE_CONFIG_H   -c -o lpc.o ./common/lpc.c
/bin/sh ../libtool --mode=compile 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  -O2 -march=athlon-xp -pipe -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -g -W -Wall  -Werror  -Wno-unused  -DHAVE_CONFIG_H -c ./common/krb5_auth.c
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 -O2 -march=athlon-xp -pipe -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -g -W -Wall -Werror -Wno-unused -DHAVE_CONFIG_H -c ./common/linelist.c -o linelist.o
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 -O2 -march=athlon-xp -pipe -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -g -W -Wall -Werror -Wno-unused -DHAVE_CONFIG_H -c ./common/krb5_auth.c -o krb5_auth.o
echo timestamp > linelist.lo
make[1]: Leaving directory `/var/tmp/portage/lprng-3.8.28/work/LPRng-3.8.28/src'make: *** [src] Error 2
make: *** Waiting for unfinished jobs....
/bin/sh ../libtool --mode=compile 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  -O2 -march=athlon-xp -pipe -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -g -W -Wall  -Werror  -Wno-unused  -DHAVE_CONFIG_H -c ./common/linelist.c
cc1: warnings being treated as errors
./common/krb5_auth.c: In function 'des_read':
./common/krb5_auth.c:925: warning: pointer targets in passing argument 3 of 'Read_fd_len_timeout' differ in signedness
make[1]: *** [krb5_auth.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
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 -O2 -march=athlon-xp -pipe -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -g -W -Wall -Werror -Wno-unused -DHAVE_CONFIG_H -c ./common/linelist.c -o linelist.o
echo timestamp > linelist.lo
make[1]: Leaving directory `/var/tmp/portage/lprng-3.8.28/work/LPRng-3.8.28/src'make: *** [src/lpd.conf] Error 2

!!! ERROR: net-print/lprng-3.8.28 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  lprng-3.8.28.ebuild, line 57:   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 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.12.5
Last Sync: Thu, 12 Oct 2006 15:50:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
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-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo http://gentoo.chem.wisc.edu/gentoo/"
LINGUAS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync.exclude"
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/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac acl acpi adns afs aim alsa artworkextra asf audiofile avahi bash-completion bitmap-fonts bonobo browserplugin bzip2 c++ cairo caps ccache cdparanoia cli crypt curl daap dbus directfb divx4linux dlloader dmi dri dvd dvi effects elibc_glibc exif expat fam fbcon festival ffmpeg firefox flac flash gdbm gimp glitz glut gnome gnomecanvas gnutls gpm gs gstreamer gstreamer010 gtk guile hal icq imagemagick imap inkjar input_devices_keyboard input_devices_mouse input_devices_wacom isdnlog jabber java joystick jpeg kerberos kernel_linux kqemu lame latex lcms libnotify mad mime ming mmap mmx mmxext mng mozdevelop mozilla mozsvg mp3 msn musicbrainz nautilus ncurses network nptl nptlonly nsplugin nvidia ogg openal opengl oscar pam pcre pdf perl png ppds pppd pulseaudio python quicktime readline real reflection rtc samba sdl session smime sndfile spell spl sse ssl startup-notification svg sysfs tagwriting tcpd tetex threads tiff truetype truetype-fonts type1 type1-fonts udev unicode usb userland_GNU userlocales utf8 video_cards_nvidia vim vorbis win32codecs wmf xface xine xml xorg xpm xscreensaver xv xvid xvmc yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS
Comment 1 Ryan Hendrickson 2006-10-12 10:15:07 UTC
The patch described here fixes the code:
http://www.archivum.info/debian-bugs-dist.lists.debian.org/2004-12/msg09290.html
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2006-10-14 00:57:16 UTC
thanks fixed