Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149079 - tf-40-r2 does not compile - array type errors
Summary: tf-40-r2 does not compile - array type errors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-25 09:44 UTC by Stuart Stegall
Modified: 2006-10-01 16:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
fixes the compile error (tf-fix.patch,1.91 KB, patch)
2006-09-30 09:19 UTC, Alexander Graf
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stuart Stegall 2006-09-25 09:44:43 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7
Build Identifier: 

This package does not compile.  I believe it might be a 4.x strictness issue.

Reproducible: Always

Steps to Reproduce:
1. emerge =games-mud/tf-40-r2
2. emerge stops and spits out error
3.

Actual Results:  
Found strchr.
Did not find strcmpi, but that's ok.
Found strcspn.
Found strerror.
Found strftime.
Did not find stricmp, but that's ok.
Found strstr.
Found strtod.
Found strtol.
Found tzset.
Found waitpid.
Testing case conversion...
Case conversion works.
Testing type of signal handlers...
Signal handlers return void, as they should.
Testing for time_t...
time() returns time_t, as it should.
Creating linker test...
Will link with -lbsd compatibility library.
Will link with -lnet.
Will link with -lncurses terminal control library.
Will link with -lm math library.
Using <termios.h>.
cd ./src; { make all 2>&1; echo; cat exitmsg; } | \
    { tee -a ../Build.log || cat; }
make[1]: Entering directory `/var/tmp/portage/tf-40-r2/work/tf-40s1/src'
gcc -O    -c -o command.o command.c
gcc -O    -c -o dstring.o dstring.c
gcc -O    -c -o expand.o expand.c
gcc -O    -c -o expr.o expr.c
In file included from expr.c:39:
history.h:34: error: array type has incomplete element type
history.h:34: error: array type has incomplete element type
make[1]: *** [expr.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/tf-40-r2/work/tf-40s1/src'

cat: exitmsg: No such file or directory
>>> Source compiled.
>>> Test phase [none]: games-mud/tf-40-r2

>>> Install tf-40-r2 into /var/tmp/portage/tf-40-r2/image/ category games-mud
!!! dobin: src/tf does not exist

!!! ERROR: games-mud/tf-40-r2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_install
  ebuild.sh, line 1020:   Called src_install
  tf-40-r2.ebuild, line 32:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if rel
evant.



Expected Results:  
Compiled.

Portage 2.1.1 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3,
2.6.17-beyond3 x86_64)
=================================================================
System uname: 2.6.17-beyond3 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.5
Last Sync: Sun, 24 Sep 2006 19:00:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
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.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-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -msse3 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -msse3 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer
sandbox sfperms strict test"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
http://gentoo.cites.uiuc.edu/pub/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/"
LINGUAS="en en_US"
MAKEOPTS="-j2"
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"
PORTDIR_OVERLAY="/usr/local/overlays"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac acl acpi akobe alsa apache2 audiofile avi bash-completion
bcp berkdb bitmap-fonts bjam bogofilter boost branding bzip2 cairo cdr cli crypt
cscope cups curl dbus djbfft dlloader dri dssi dts dvd dvdr dvdread eds
elibc_glibc emboss encode exif expat exscalibar fam firefox flac fortran fpx ftp
gd gdbm gif glitz glut gmp gnokii gnome gnutls gphoto2 gpm graphviz gs gsl
gstreamer gtk gtk2 guile hal hash ieee1394 imlib input_devices_keyboard
input_devices_mouse insecure-savers ipv6 isdnlog jack jack-tmpfs jackmidi java
jbig jpeg jpeg2k kernel_linux lapack lash lcms ldap libg++ linguas_en
linguas_en_US logitech-mouse mad mikmod mono mp3 mpeg musicbrainz mysql ncurses
network nls nptl nptlonly nsplugin numeric offensive ogg openal openexr opengl
pam pam_console pcre pda pdf pdflib perl physfs png ppds pppd pwdb pyste python
quicktime readline reflection ruby samba sdl session speex spell spl sqlite ssl
svg tcl tcpd theora threads tidy tiff truetype truetype-fonts type1-fonts udev
unicode userland_GNU video_cards_nvidia visualization vorbis vst wmf xcomposite
xine xml xmms xorg xscreensaver xv xvid xvmc yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alexander Graf 2006-09-30 09:19:37 UTC
Created attachment 98447 [details, diff]
fixes the compile error
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2006-10-01 16:49:51 UTC
Fixed in portage.  Thanks for the bug report and patch.