Bug 144511 - no ebuild for warzone2100 2.0.4
|
Bug#:
144511
|
Product: Gentoo Linux
|
Version: 2006.0
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: enhancement
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: games@gentoo.org
|
Reported By: hkbst@gentoo.org
|
|
Component: Games
|
|
|
URL:
|
|
Summary: no ebuild for warzone2100 2.0.4
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2006-08-20 04:45 0000
|
There is no ebuild yet for warzone2100 2.0.4 release candidate 2. I'm hoping I
can adapt the 2.0.3 ebuild so I'll give it a try.
The ebuild which downloads, unpacks and fails to compile warzone2100-2.0.4_rc2:
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:
/var/cvsroot/gentoo-x86/games-strategy/warzone2100/warzone2100-2.0.3.ebuild,v
1.4 2006/08/11 20:38:22 wolf31o2 Exp $
inherit debug eutils versionator games
MY_PV="$(get_version_component_range -2 ${PV})"
DESCRIPTION="3D real-time strategy game"
HOMEPAGE="http://wz.rootzilla.de/"
SRC_URI="http://download.gna.org/warzone/releases/${MY_PV}/warzone-${PV}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
# upstream requested debug support
IUSE="debug mp3"
RDEPEND="dev-games/physfs
mp3? ( >=media-libs/libmad-0.15 )
media-libs/jpeg
media-libs/libogg
media-libs/libpng
media-libs/libsdl
media-libs/libvorbis
media-libs/openal
media-libs/sdl-net
virtual/glu
virtual/opengl"
DEPEND="${RDEPEND}
app-arch/zip"
S=${WORKDIR}/warzone-${PV}
src_unpack() {
unpack ${A}
cd "${S}"
# epatch "${FILESDIR}/${P}-16bpp.patch"
}
src_compile() {
egamesconf \
--disable-dependency-tracking \
--with-ogg \
$(use_with mp3) \
$(use_enable debug) \
|| die "egamesconf failed"
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
doicon debian/${PN}.png
domenu debian/warzone.desktop
dodoc AUTHORS CHANGELOG README TODO
prepgamesdirs
}
#pkg_postinst() {
# games_pkg_postinst
# ewarn "Currently, attempting to use uppercase letters in save game
names"
# ewarn "will cause a crash."
#}
stderr output:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld:
skipping incompatible /usr/X11R6/lib/libphysfs.so when searching for -lphysfs
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld:
skipping incompatible /usr/X11R6/lib/libphysfs.a when searching for -lphysfs
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld:
skipping incompatible /usr/lib/libphysfs.so when searching for -lphysfs
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld:
skipping incompatible /usr/lib/libphysfs.a when searching for -lphysfs
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find -lphysfs
collect2: ld returned 1 exit status
make[3]: *** [warzone] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
emerge --info:
Portage 2.1.1_pre5-r2 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-hardened,
glibc-2.4-r3, 2.6.17-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.4
Last Sync: Fri, 18 Aug 2006 09:50:01 +0000
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python: 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.60
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.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -pipe -O2 -ggdb1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler
/etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -pipe -O2 -ggdb1"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms splitdebug
strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LC_ALL="nl_NL@euro.UTF-8"
LINGUAS="nl en"
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/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d a52 aac aalib acpi aim alsa artworkextra avi bash-completion
berkdb bidi bitmap-fonts bzip2 canna cdr cjk cli crypt cups dbus dga directfb
divx4linux dlloader dri dvd dvdr eds elibc_glibc emboss encode fbcon firefox
foomaticdb fortran freewnn ftp gif ginac gnome gpm gstreamer gtk gtk2 gtkhtml
guile hal hardened icq ieee1394 imlib input_devices_keyboard
input_devices_mouse ipv6 isdnlog jabber java javascript jpeg kde kdeenablefinal
kernel_linux ldap libcaca libwww linguas_en linguas_nl lzw lzw-tiff mad mozilla
mp3 mpeg mplayer msn mule ncurses nls nptl nptlonly offensive ogg opengl oscar
pam pcre pdflib perl php png pppd python qt qt3 qt4 quicktime readline
reflection sasl sdl session speex spell spl ssl svg tcpd theora tidy tiff
truetype-fonts type1-fonts unicode usb userland_GNU v4l vcd video_cards_ati
video_cards_fbdev video_cards_radeon video_cards_vesa videos vorbis wmf xine
xmms xorg xpm xv xvid yahoo zlib"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS
I also have dev-games/physfs version 1.0.1 installed. Maybe I just need a newer
version.
Actually this is the same error I get for the warzone2100-2.0.3 ebuild. It
seems to mean that a 32-bit version of physfs is needed.
Strangely enough I do have warzone2100-2.0.3 installed and I can run it,
although it does segfault after 3 seconds.
(In reply to comment #5)
> We'll do 2.0.4 final.
>
2.0.4 final is out :)
yep, it's out and it's not in yet. retitling and reopening
In portage. thanks for the bug report and ebuild.