Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 243230 - games-rpg/mangos failed to build in top-level directory
Summary: games-rpg/mangos failed to build in top-level directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Christian Parpart (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-22 16:03 UTC by Pinky
Modified: 2009-07-23 01:39 UTC (History)
0 users

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


Attachments
patch for ebuild, move build into new subdirectory (mangos-build.patch,508 bytes, patch)
2008-10-23 12:30 UTC, Pinky
Details | Diff
changed to GIT repository and other changes (mangos_ebuild.patch,2.56 KB, patch)
2008-10-31 00:19 UTC, brett taylor
Details | Diff
changed to GIT repository, create separate build directory, fix instalation to /usr insted of /usr/local (mangos-ebuild.patch,2.99 KB, patch)
2008-10-31 19:49 UTC, Pinky
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pinky 2008-10-22 16:03:24 UTC
mangos failed to build with message:

configure: error:
      Please configure and build in a directory other than the
      top-level source directory. This is needed because a lot
      of maintainers tend to break parallel build trees
      (a.k.a. VPATH builds). This is kinda real ensurance they
      will not do it (by enforcing everybody to do VPATH builds).

      For example, try the following from the top-level source
      directory:

          mkdir objdir
          cd objdir
          ../configure
          make

      This will create a build space in the directory `objdir' and
      start a build in that directory.

      If however you realy want to disable this error,
      use --enable-maintainer-mode switch.



Reproducible: Always
Comment 1 Pinky 2008-10-22 16:22:28 UTC
dep/ACE_wrappers require configuration/build in separate directory, usign --enable-maintainer-mod is not solution.
Comment 2 Pinky 2008-10-23 12:30:11 UTC
Created attachment 169562 [details, diff]
patch for ebuild, move build into new subdirectory

create new subdirectory in work directory and configure and build mangos in this directory
Comment 3 brett taylor 2008-10-31 00:19:25 UTC
Created attachment 170369 [details, diff]
changed to GIT repository and other changes

changed the ebuild to use the new git repository, added AHBot, defined depends >=sysdevel/automake-1.5, included the patch created by pinky above
Comment 4 Pinky 2008-10-31 18:39:38 UTC
Comment on attachment 169562 [details, diff]
patch for ebuild, move build into new subdirectory

obsoleted by mangos_ebuild.patch
Comment 5 Pinky 2008-10-31 19:49:58 UTC
Created attachment 170421 [details, diff]
changed to GIT repository, create separate build directory, fix instalation to /usr insted of /usr/local

fix instalation directory in previous patch
Comment 6 Christian Parpart (RETIRED) gentoo-dev 2009-07-23 01:39:43 UTC
i've incorporated the ahbot feature, and did some other minor improvements to the ebuild {some also mentioned in your patch[es]} and bumped the live ebuild to .2

the ad tool currently doesn't build with trunk, so this is made optional via local useflag "tools", hope they'll fix this soon.

thanks to you all, so far.

p.s.: if anyone knows how to splitup sd2 into its own package {in a *clean* way}, any suggestions are welcome. too sad it must be built inside the mangos-tree.