Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 435744 - dev-util/premake versions 3 and 4 are incompatible and should be slotted / premake3 bump to 3.7
Summary: dev-util/premake versions 3 and 4 are incompatible and should be slotted / pr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Aaron W. Swenson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-21 14:15 UTC by Gavin Pryke
Modified: 2013-04-09 10:32 UTC (History)
3 users (show)

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


Attachments
patch to slot premake-3.5 and 4.3 (premake.patch,1.35 KB, patch)
2013-03-29 13:57 UTC, Dominique Michel
Details | Diff
ebuild for premake 3.7 (premake-3.7.ebuild,424 bytes, text/plain)
2013-03-29 13:58 UTC, Dominique Michel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gavin Pryke 2012-09-21 14:15:10 UTC
Summary says it all, it seems they can be slotted easily as binary has different names. I have ebuild in local overlay that needs premake 3.x and came across this.

Reproducible: Always




More info:
http://industriousone.com/post/what-about-version-3
https://bugs.gentoo.org/show_bug.cgi?id=60960#c25

Also. there is a bug in premake 3.5 in tree:
1520012: Improper Makefiles when filenames have spaces

This prevents an ebuild I am working on in my local overlay to function as some of the paths have spaces.
Is it possible to bump to 3.7 as well please?

Thanks.
Comment 1 Julian Ospald 2012-10-21 15:39:28 UTC
I agree, this should be slotted. We recently came across a package in #gentoo-dev which also needs 3.7 and does not work with 3.5

so +1 for
a) slot premake
b) add 3.7 to the tree
Comment 2 Julian Ospald 2012-10-21 15:39:55 UTC
#gentoo-dev-help I mean :o
Comment 3 Dominique Michel 2013-03-29 13:56:00 UTC
I have 2 gentoo machines, one with premake-3.7, the other with premake-4.3. When I try to install jost from the pro-audio overlay, it work with 3.7, but fail with 4.3 with error cannot find command premake

# equery f premake
 * Searching for premake ...
 * Contents of dev-util/premake-3.7:
/usr
/usr/bin
/usr/bin/premake
/usr/lib
/usr/lib/debug
/usr/lib/debug/usr
/usr/lib/debug/usr/bin
/usr/lib/debug/usr/bin/premake.debug

# equery f premake
 * Searching for premake ...
 * Contents of dev-util/premake-4.3:
/usr
/usr/bin
/usr/bin/premake4

That imply than not only they are not compatible but they don't install the same files and can be easily slotted.
Comment 4 Dominique Michel 2013-03-29 13:57:29 UTC
Created attachment 343644 [details, diff]
patch to slot premake-3.5 and 4.3
Comment 5 Dominique Michel 2013-03-29 13:58:13 UTC
Created attachment 343646 [details]
ebuild for premake 3.7
Comment 6 Julian Ospald 2013-03-29 14:08:35 UTC
@ Aaron ...did you lost interest in this package? I could help if you want

otherwise please comment here what is your opinion on this problem
Comment 7 Aaron W. Swenson gentoo-dev 2013-04-08 15:33:15 UTC
If I knew it was so easy to slot the package, I wouldn't have put it off for so long. I'll get to it later today.

@hasufell, I only have a mild interest in premake. I don't actually have any packages which need it nor do I have any private projects that I use it in. Feel free to add yourself to maintainers.
Comment 8 Julian Ospald 2013-04-08 17:36:11 UTC
yeah, I doubt any gentoo dev would use this voluntarily for his own project :P
Comment 9 Aaron W. Swenson gentoo-dev 2013-04-09 10:32:04 UTC
*premake-4.3-r1 (09 Apr 2013)
*premake-3.7 (09 Apr 2013)

  09 Apr 2013; Aaron W. Swenson <titanofold@gentoo.org> +premake-3.7.ebuild,
  +premake-4.3-r1.ebuild:
  Version bump. Now slotted, thanks to Dominique Michel. Fixes bug 435744.