Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104532 - lincity-ng 1.0.1 doesn't build with physfs 1.1.0
Summary: lincity-ng 1.0.1 doesn't build with physfs 1.1.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
: 104959 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-01 19:33 UTC by Aaron
Modified: 2008-11-15 13:58 UTC (History)
4 users (show)

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 Aaron 2005-09-01 19:33:50 UTC
lincity-ng doesn't compile 

Reproducible: Always
Steps to Reproduce:
1.emerge =physfs-1.1.0 
2.emerge =lincity-ng-1.0.1 
3. 
 
Actual Results:  
lincity-ng configure errors out with physfs >=1.0.0 not found  

Expected Results:  
install correctly. 

Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 
2.6.13-gentoo x86_64) 
================================================================= 
System uname: 2.6.13-gentoo x86_64 AMD Athlon(tm) 64 Processor 3500+ 
Gentoo Base System version 1.12.0_pre7 
dev-lang/python:     2.4.1-r1 
sys-apps/sandbox:    1.2.12 
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 
sys-devel/binutils:  2.16.1 
sys-devel/libtool:   1.5.18-r1 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="amd64 ~amd64" 
AUTOCLEAN="yes" 
CBUILD="x86_64-pc-linux-gnu" 
CFLAGS="-O2 -march=athlon64 -mtune=athlon64 -pipe -fno-ident" 
CHOST="x86_64-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=athlon64 -mtune=athlon64 -pipe -fno-ident 
-fvisibility-inlines-hidden" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo 
http://gentoo.osuosl.org http://mirror.usu.edu/mirrors/gentoo/" 
LDFLAGS="-Wl,-O1" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="amd64 X a52 aac alsa arts berkdb bzip2 cdr crypt cups dlloader dv dvd 
dvdr encode esd exif ffmpeg gif gnutls gphoto2 hal ieee1394 jpeg kde 
kdeenablefinal mp3 mysql ncurses nvidia ogg oggvorbis opengl pic png qt samba 
sdl spell ssl theora tiff truetype usb vorbis wmf xine xml xml2 xv zlib 
userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS, MAKEOPTS
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2005-09-02 06:33:40 UTC
http://www.gentoo.org/proj/en/desktop/games/#doc_chap5_sect4

Is PhysFS 1.1.0 compatible with 1.0.x?  If so, then the configure script
probably needs fixing, otherwise, we just need to change the dependencies.
Comment 2 SpanKY gentoo-dev 2005-09-02 15:59:07 UTC
1.1.0 is a 'dev' version ... i could just move it to KEYWORDS=-* ...
Comment 3 Andrei Slavoiu 2005-09-03 03:20:16 UTC
The problem is that physfs.h from version 1.1.0 uses the size_t type which is 
defined by malloc.h without including it. I am not sure what is the propper fix 
for this, include malloc.h in physfs.h or make sure that all the configure 
tests (and games themself) include malloc.h before phyfs.h 
Comment 4 SpanKY gentoo-dev 2005-09-03 12:16:09 UTC
well, we dont really know because you didnt post any error output :P
Comment 5 SpanKY gentoo-dev 2005-09-05 18:48:47 UTC
*** Bug 104959 has been marked as a duplicate of this bug. ***
Comment 6 Ryan C. Gordon 2005-09-05 21:55:28 UTC
Hi, I'm the upstream maintainer of PhysicsFS...1.1.0 is a development branch
release, and probably has lots of broken code, being the first release of that
branch.

The current stable version is 1.0.1...the dev branch will remain binary
compatible with 1.0 (we won't remove or change existing interfaces, but we will
add new ones), but in terms of bugs, you install it at your own risk at this
point...we're ripping up a lot of the existing code behind the existing interfaces.

I see it's masked in portage with ~x86, etc...do any packages _need_ 1.1.0 at
this point?

--ryan.
Comment 7 Christoph Brill (egore) (RESIGNED) 2005-09-06 00:13:23 UTC
lincity-ng does not intend to use physfs 1.1.0 yet. We (the guys who maintain 
lincity-ng) will adapt it when it is no longer a dev branch.
Comment 8 SpanKY gentoo-dev 2005-09-06 05:31:36 UTC
no, no packages require physfs 1.1.0 at this point ... it was added based on a
request from another user

we can remove KEYWORDS from it so that only people who really want it will
install it ... but this bug report does illustrate an error that will need to be
fixed at some point :)
Comment 9 Ryan C. Gordon 2005-09-06 13:53:25 UTC
This particular bug is now fixed in PhysicsFS's subversion repository; it'll be
in the next release. It does not affect the 1.0.1 release, so I think we're good
to close this bug once 1.1.0 is masked off in Portage.

Thanks for the report, everyone!

--ryan.

Comment 10 SpanKY gentoo-dev 2005-09-06 15:28:52 UTC
sounds good, thanks