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
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.
1.1.0 is a 'dev' version ... i could just move it to KEYWORDS=-* ...
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
well, we dont really know because you didnt post any error output :P
*** Bug 104959 has been marked as a duplicate of this bug. ***
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.
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.
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 :)
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.
sounds good, thanks