Summary: | games-strategy/widelands-0.18 version bump | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kai Dietrich <mail> |
Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | chalucha, dev |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
widelands-0.18.ebuild
fixed widelands-0.18.ebuild |
Description
Kai Dietrich
2014-02-23 22:06:59 UTC
Created attachment 371642 [details]
widelands-0.18.ebuild
This ebuild works for me on AMD64. I just removed the cxxflags.patch and the two sed commands containin "#define OF(x)" but I did not check if both are not required anymore.
Don't work for me. homeserver temp # cat build.log * Package: games-strategy/widelands-0.18 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux multilib userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking widelands-build18-src.tar.bz2 to /var/tmp/portage/games-strategy/widelands-0.18/work >>> Source unpacked in /var/tmp/portage/games-strategy/widelands-0.18/work >>> Preparing source in /var/tmp/portage/games-strategy/widelands-0.18/work/widelands-build18-src ... * Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is: * * /usr/portage/games-strategy/widelands/files/widelands-0.18-gcc47.patch * ( widelands-0.18-gcc47.patch ) * ERROR: games-strategy/widelands-0.18::gentoo failed (prepare phase): * Cannot find $EPATCH_SOURCE! * * Call stack: * ebuild.sh, line 93: Called src_prepare * environment, line 3417: Called epatch '/usr/portage/games-strategy/widelands/files/widelands-0.18-gcc47.patch' * environment, line 1553: Called die * The specific snippet of code: * die "Cannot find \$EPATCH_SOURCE!"; I just commented this two string in ebuld file: # epatch \ # "${FILESDIR}"/${P}-gcc47.patch And everything build well. But game show build 17DEV :) You should also rename the patches in widelands/files/ as their name contains a version string. If the version of the ebuild is changed (0.17 -> 0.18) it won't find its patches without renaming the patches as well. I had already played! ) (In reply to Mario Kicherer from comment #1) > Created attachment 371642 [details] > widelands-0.18.ebuild > > This ebuild works for me on AMD64. I just removed the cxxflags.patch and the > two sed commands containin "#define OF(x)" but I did not check if both are > not required anymore. gcc47.patch NOT need too - build 18 include this fix and i remove *boost* strings in src_prepare() - cc1plus warnings: can't find /usr/inclide/boost-1_55 (but build without errors). simply i rm it for simply '/usr/inclide/boost'. amd64 gcc-4.8.2 boost-1.55 build - fine start - good work (game-play) - testing Created attachment 373988 [details]
fixed widelands-0.18.ebuild
any reason this one is not in portage? It did work for me just fine and I did play it successfully. I did change EAPI=3 to EAPI=5 just to update it a little bit but I am not sure even if that is required. I got distracted while updating the cxxflags patch. in portage now. |