Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217311 - app-misc/screen-4.0.3 fails to compile, bad config.h
Summary: app-misc/screen-4.0.3 fails to compile, bad config.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-11 15:43 UTC by Robin Johnson
Modified: 2008-04-11 18:45 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 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-04-11 15:43:49 UTC
config.status: creating config.h
config.status: executing default commands

====
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
CPP="x86_64-pc-linux-gnu-gcc -E " srcdir=. sh ./osdef.sh
AWK=gawk CC="x86_64-pc-linux-gnu-gcc -O2 -pipe -march=k8 -DMAXWIN=100" srcdir=. sh ./comm.sh
sh ./tty.sh tty.c
x86_64-pc-linux-gnu-gcc -c -I. -I.    -O2 -pipe -march=k8 -DMAXWIN=100 term.c
x86_64-pc-linux-gnu-gcc -c -I. -I.    -O2 -pipe -march=k8 -DMAXWIN=100 putenv.c
x86_64-pc-linux-gnu-gcc -c -I. -I.    -O2 -pipe -march=k8 -DMAXWIN=100 kmapdef.c
In file included from kmapdef.c:5:
config.h:567: error: expected identifier or '(' before '/' token
In file included from putenv.c:58:
config.h:567: error: expected identifier or '(' before '/' token
make: *** [putenv.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [kmapdef.o] Error 1
=====

The section of config is:
563 /*
564  * If you are on a SYS V machine that restricts filename length to 14 
565  * characters, you may need to enforce that by setting NAME_MAX to 14
566  */
567 /* #undef NAME_MAX      /* KEEP_UNDEF_HERE override system value */ */
568 /* #undef NAME_MAX */

Portage 2.1.5_rc2 (default-linux/amd64/2006.1, gcc-4.1.2, glibc-2.7-r2, 2.6.19.7-db2 x86_64)
=================================================================
System uname: 2.6.19.7-db2 x86_64 Dual Core AMD Opteron(tm) Processor 280
Timestamp of tree: Fri, 11 Apr 2008 01:16:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4, 2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.12
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=k8"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/conf.avail/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=k8"
DISTDIR="/home/gentoo/distfiles"
FEATURES="buildpkg collision-detect distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://216.165.129.134/gentoo http://gentoo.mirrors.tds.net/gentoo http://gentoo.osuosl.org/"
LDFLAGS=""
MAKEOPTS="-j10"
PKGDIR="/home/gentoo/packages/db-server"
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="/dev/shm"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://10.0.0.51/gentoo-portage"
USE="amd64 async authdaemond authlib bash-completion berkdb bzip2 bzlib cap caps cdb chroot ck-server cli cracklib crypt curlwrappers dba dbm dbx dio dri erandom exif extensions f2c fam fastcgi flatfile gd-external gdbm gnutls hpn iconv imap innodb ipv6 isdnlog jpeg lids lm_sensors logrotate memlimit midi mpi mudflap mysql mysqli ncurses nethack nfs nls no-htdocs nptl nptlonly openmp pam pcre perl png posix postgres ppds pppd python qmail readline reflection reiserfs romio rrdtool ruby sasl session sftp sftplogging sharedext skey snmp soap sockets spl sqlite ssl symlink sysvipc tcpd threads truetype unicode urandom vim-syntax vpopmail xattr xml xmlrpc xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" 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="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sven Wegener gentoo-dev 2008-04-11 18:45:37 UTC
autoconf-2.62 has changed behaviour in generating config.h. I just commited a patch for this.