Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 173590

Summary: x11-apps/sessreg-1.0.2 fails to compile on G/FBSD
Product: Gentoo/Alt Reporter: Christoph Mende (RETIRED) <angelos>
Component: FreeBSDAssignee: Gentoo/BSD Team <bsd+disabled>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: FreeBSD   
Whiteboard:
Package list:
Runtime testing required: ---

Description Christoph Mende (RETIRED) gentoo-dev 2007-04-06 19:28:27 UTC
In file included from sessreg.h:60,
                 from sessreg.c:78:
/usr/include/utmp.h:54: error: expected specifier-qualifier-list before 'int32_t'
/usr/include/utmp.h:63: error: expected specifier-qualifier-list before 'int32_t'
sessreg.c: In function 'set_utmp':
sessreg.c:421: error: 'struct utmp' has no member named 'ut_time'
gmake[1]: *** [sessreg-sessreg.o] Error 1
gmake: *** [all] Error 2

sessreg-1.0.0 does not have that problem and compiles fine

Portage 2.1.2.3 (default-bsd/fbsd/6.2/x86, gcc-4.1.2, freebsd-lib-6.2-r1, 6.2-RELEASE i386)
=================================================================
System uname: 6.2-RELEASE i386 i386
Gentoo Base System release 1.13.0_alpha12
Timestamp of tree: Fri, 06 Apr 2007 17:00:01 +0000
ccache version 2.4 [enabled]
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-devel/autoconf:  2.61
sys-devel/automake:  1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.23b
virtual/os-headers:  6.2-r1
ACCEPT_KEYWORDS="x86-fbsd ~x86-fbsd"
AUTOCLEAN="yes"
CBUILD="i486-gentoo-freebsd6.2"
CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer -w"
CHOST="i486-gentoo-freebsd6.2"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer -w"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="-q"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2 -s"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="berkdb cli crypt cups dri gdbm iconv java5 libg++ midi ncurses offensive oss pam pcre ppds readline reflection session spl ssl tcpd truetype unicode x86-fbsd xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="FreeBSD" INPUT_DEVICES="keyboard mouse" KERNEL="FreeBSD" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="BSD" VIDEO_CARDS="radeon"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Christoph Mende (RETIRED) gentoo-dev 2007-04-06 19:45:02 UTC
Sorry, must have had a typo in my first search :>

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