Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 298135 - app-misc/screen-4.0.3: build fails in utmp.c
Summary: app-misc/screen-4.0.3: build fails in utmp.c
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 Interix
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-23 21:41 UTC by Leho Kraav (:macmaN @lkraav)
Modified: 2011-12-15 18:25 UTC (History)
0 users

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 Leho Kraav (:macmaN @lkraav) 2009-12-23 21:41:38 UTC
(...)

Now please check the pathnames in the Makefile and in the user
configuration section in config.h.
Then type 'make' to make screen. Good luck.

AWK=gawk srcdir=. sh ./term.sh
make -j2 
CPP="i586-pc-interix6.0-gcc -E " srcdir=. sh ./osdef.sh
AWK=gawk CC="i586-pc-interix6.0-gcc -DMAXWIN=100 -DNONETHACK" srcdir=. sh ./comm.sh
In file included from osdef0.c:23:
os.h:275:20: error: utmp.h: No such file or directory
sh ./tty.sh tty.c
i586-pc-interix6.0-gcc -c -I. -I.    -DMAXWIN=100 -DNONETHACK term.c
i586-pc-interix6.0-gcc -c -I. -I.    -DMAXWIN=100 -DNONETHACK window.c
In file included from screen.h:25,
                 from window.c:34:
os.h:275:20: error: utmp.h: No such file or directory
In file included from screen.h:144,
                 from window.c:34:
display.h:177: error: field 'd_utmp_logintty' has incomplete type
In file included from screen.h:145,
                 from window.c:34:
window.h:247: error: field 'w_savut' has incomplete type
i586-pc-interix6.0-gcc -c -I. -I.    -DMAXWIN=100 -DNONETHACK utmp.c
window.c: In function 'DoStartLog':
window.c:505: warning: incompatible implicit declaration of built-in function 'strncpy'
window.c: In function 'MakeWindow':
window.c:645: warning: incompatible implicit declaration of built-in function 'strncpy'
window.c:651: warning: incompatible implicit declaration of built-in function 'strlen'
window.c:720: warning: incompatible implicit declaration of built-in function 'strlen'
window.c: In function 'RemakeWindow':
window.c:840: warning: incompatible implicit declaration of built-in function 'strncpy'
window.c:852: warning: incompatible implicit declaration of built-in function 'strlen'
window.c: In function 'ForkWindow':
window.c:1345: warning: incompatible implicit declaration of built-in function 'strcpy'
window.c:1346: warning: incompatible implicit declaration of built-in function 'strncpy'
window.c:1351: warning: incompatible implicit declaration of built-in function 'strlen'
window.c: In function 'execvpe':
window.c:1410: warning: incompatible implicit declaration of built-in function 'strlen'
window.c:1412: warning: incompatible implicit declaration of built-in function 'strcpy'
window.c: In function 'winexec':
window.c:1540: warning: incompatible implicit declaration of built-in function 'strncpy'
window.c: In function 'zmodem_fin':
window.c:2078: warning: incompatible implicit declaration of built-in function 'strlen'
window.c: In function 'zmodem_found':
window.c:2144: warning: incompatible implicit declaration of built-in function 'strlen'
make: *** [window.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from screen.h:25,
                 from utmp.c:29:
os.h:275:20: error: utmp.h: No such file or directory
In file included from screen.h:144,
                 from utmp.c:29:
display.h:177: error: field 'd_utmp_logintty' has incomplete type
In file included from screen.h:145,
                 from utmp.c:29:
window.h:247: error: field 'w_savut' has incomplete type
utmp.c: In function 'RemoveLoginSlot':
utmp.c:309: error: storage size of 'u' isn't known
utmp.c:343: error: dereferencing pointer to incomplete type
utmp.c:344: error: dereferencing pointer to incomplete type
utmp.c: In function 'SetUtmp':
utmp.c:405: error: storage size of 'u' isn't known
utmp.c: In function 'RemoveUtmp':
utmp.c:499: error: storage size of 'u' isn't known
utmp.c:523: error: dereferencing pointer to incomplete type
utmp.c: In function 'getutent':
utmp.c:671: error: invalid application of 'sizeof' to incomplete type 'struct utmp' 
utmp.c:671: error: invalid application of 'sizeof' to incomplete type 'struct utmp' 
utmp.c: In function 'getutslot':
utmp.c:682: error: invalid application of 'sizeof' to incomplete type 'struct utmp' 
utmp.c:683: error: invalid application of 'sizeof' to incomplete type 'struct utmp' 
utmp.c:683: error: invalid application of 'sizeof' to incomplete type 'struct utmp' 
utmp.c: In function 'pututslot':
utmp.c:701: error: dereferencing pointer to incomplete type
utmp.c:702: error: dereferencing pointer to incomplete type
utmp.c:702: error: dereferencing pointer to incomplete type
utmp.c: In function 'makedead':
utmp.c:718: error: dereferencing pointer to incomplete type
utmp.c: In function 'makeuser':
utmp.c:729: warning: incompatible implicit declaration of built-in function 'strncpy'
utmp.c:729: error: dereferencing pointer to incomplete type
utmp.c:729: error: dereferencing pointer to incomplete type
utmp.c:730: error: dereferencing pointer to incomplete type
utmp.c:730: error: dereferencing pointer to incomplete type
utmp.c:731: error: dereferencing pointer to incomplete type
utmp.c: In function 'getttyent':
utmp.c:809: warning: incompatible implicit declaration of built-in function 'strlen'
make: *** [utmp.o] Error 1
 * ERROR: app-misc/screen-4.0.3 failed:
 *   emake failed

Portage 2.2.00.14487-prefix (prefix/windows/interix/6.0/x86, gcc-4.2.4, unavailable, 6.1 x86)
=================================================================
System uname: Interix-6.1-x86-32bit
Timestamp of tree: Sun, 20 Dec 2009 21:54:42 +0000
app-shells/bash:     4.0_p33-r00.1
dev-lang/python:     2.6.2-r2
sys-devel/autoconf:  2.63-r01.1
sys-devel/automake:  1.9.6-r2, 1.10.2-r00.1, 1.11
sys-devel/binutils:  2.18-r4
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool:   2.2.6a-r00.2
ACCEPT_KEYWORDS="~x86-interix"
CBUILD="i586-pc-interix6.0"
CFLAGS=""
CHOST="i586-pc-interix6.0"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS=""
DISTDIR="/dev/fs/G/distfiles"
FEATURES="assume-digests buildpkg collision-protect distlocks fixpackages nostrip parallel-fetch preserve-libs protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS=""
MAKEOPTS="-j2"
PKGDIR="/dev/fs/G/packages-interix"
PORTAGE_CONFIGROOT="/opt/gentoo/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/opt/gentoo/var/tmp"
PORTDIR="/dev/fs/G/prefix"
PORTDIR_OVERLAY="/dev/fs/G/overlays/layman/leho"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="7zip X bash-completion bzip2 cairo cracklib cscope curl cxx esd exif fontconfig gtk i6fork iconv jpeg lzo mad mng modules mp3 ncurses netpbm nls openssl pdf png prefix python readline sqlite ssl svg threads truetype vorbis x86-interix xpm zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="Interix" INPUT_DEVICES="keyboard mouse" KERNEL="Interix" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Reproducible: Always
Comment 1 Fabian Groffen gentoo-dev 2010-01-24 09:48:52 UTC
did configure detect getutent and/or ut_host?