>>> Compiling source in /var/tmp/portage/sus-2.0.6/work/sus-2.0.6 ... i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -DDEBUG -DUSE_PAM -DPROMISCUOUS -DUSE_SHADOW -DSUSERS=\"/etc/susers.cpp\" -c -o gpp.o gpp.c gpp.c:489: error: static declaration of 'gpp_expand' follows non-static declaration gpp.h:37: error: previous declaration of 'gpp_expand' was here gpp.c: In function 'gpp_expand': gpp.c:492: error: invalid storage class for function 'PopSpecs' gpp.c:493: error: invalid storage class for function 'PushSpecs' gpp.c: In function 'gpp': gpp.c:548: error: invalid storage class for function 'gpp_main' gpp.c: At top level: gpp.c:610: warning: conflicting types for 'PushSpecs' gpp.c:610: error: static declaration of 'PushSpecs' follows non-static declaration gpp.c:523: error: previous implicit declaration of 'PushSpecs' was here gpp.c:620: warning: conflicting types for 'PopSpecs' gpp.c:620: error: static declaration of 'PopSpecs' follows non-static declaration gpp.c:530: error: previous implicit declaration of 'PopSpecs' was here gpp.c:3038: error: static declaration of 'gpp_main' follows non-static declaration gpp.c:561: error: previous implicit declaration of 'gpp_main' was here make: *** [gpp.o] Error 1 !!! ERROR: app-admin/sus-2.0.6 failed. Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.16.16 x86_64) ================================================================= System uname: 2.6.16.16 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.12.5 Last Sync: Sun, 24 Sep 2006 07:50:01 +0000 ccache version 2.3 [disabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: [Not Present] dev-lang/python: 2.4.3-r1 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.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 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=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://85.25.128.62 ftp://212.219.56.134/sites/www.ibiblio.org/gentoo/ ftp://ftp.snt.utwente.nl /pub/os/linux/gentoo" LINGUAS="" 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" SYNC="rsync://rsync12.de.gentoo.org/gentoo-portage" USE="x86 berkdb bitmap-fonts cli crypt cups dlloader dri elibc_glibc fortran gdbm gpm input_devices_evdev input _devices_keyboard input_devices_mouse ipv6 isdnlog kernel_linux libg++ ncurses nls nptl nptlonly pam pcre perl ppds pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts udev unicode userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_ca rds_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_im stt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 vi deo_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_t dfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga vide o_cards_via video_cards_vmware video_cards_voodoo xorg zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
I think removing this package might be a better idea than updating it. Just tried building the 2.2 version of it, and the author makes too many assumptions about things, #1 being that the program only works on old Solaris (8 or 9) or RH 7.2 (real old). He's referencing old defines like CLK_TCK instead of CLOCKS_PER_SEC and a pam reference (PAM_CONST) that doesn't exist in any of my headers. Getting past PAM_CONST produces a double reference to main() and a host of other linker errors, many of which don't make sense to me. thoughts?
I'd agree on removing it, it doesn't compile and doesn't look fixable with a reasonable amount of work. I found this error with my nifty build-all script, never used sus myself, so I don't care much. Feel free to p.mask / remove / summon treecleaners.
yeah, it was one of those ebuilds just dropped off at my doorstep for some reason. I think back in the day when new ebuild bugs were randomly assigned to devs by wranglers. I'll dig up the removal process and get started on that (yay for bureaucracy?)
treecleaner: feel free to remove
Doesn't have any reverse dependencies (nothing depending on it) -> masked.
treecleaned