Summary: | [mips] lang/luajit unsupported build with gcc < 4.3 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Sean Bruno <sbruno> | ||||
Component: | Individual Port(s) | Assignee: | Sean Bruno <sbruno> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | CC: | emaste, mips | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(osa) |
||||
Version: | Latest | ||||||
Hardware: | mips | ||||||
OS: | Any | ||||||
URL: | http://dirty.ysv.freebsd.org/data/11mips32-11mips32/2015-01-26_23h32m57s/logs/errors/luajit-2.0.3.log | ||||||
Attachments: |
|
Description
Sean Bruno
2015-01-27 17:58:38 UTC
Auto-assigned to maintainer osa@FreeBSD.org I'm thinking about changing the port to this for clarity: Index: Makefile =================================================================== --- Makefile (revision 378625) +++ Makefile (working copy) @@ -21,10 +21,7 @@ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} @${INSTALL_MAN} ${WRKSRC}/etc/luajit.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 -.include <bsd.port.pre.mk> +ONLY_FOR_ARCHS= i386 amd64 armv6 +ONLY_FOR_ARCHS_REASON= Requires newer gcc/clang to compile. -.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64" -BROKEN= Does not compile on ia64, powerpc, or sparc64 -.endif - .include <bsd.port.post.mk> Created attachment 155552 [details]
Use ONLY_FOR_ARCHS to disable builds, add mips/mips64 to ARCHS that don't support this port.
Hi Sean, go ahead and commit changes. A commit references this bug: Author: sbruno Date: Sat May 2 17:52:29 UTC 2015 New revision: 385200 URL: https://svnweb.freebsd.org/changeset/ports/385200 Log: lang/luajit requires a much more modern compiler than the gcc4.2.1 available on non-clang architechtures. In addition, if there is no lang/gcc available for the architecuture, we can't build it via that method either. Rework archtecture disable to use ONLY_FOR_ARCHS and give a clearer reason why this is being disabled on powrepc/mips/sparc64. PR: 197132 Reviewed by: osa@freebsd.org (maintainer) Changes: head/lang/luajit/Makefile A commit references this bug: Author: sbruno Date: Sat May 2 18:43:36 UTC 2015 New revision: 385203 URL: https://svnweb.freebsd.org/changeset/ports/385203 Log: This time, don't delete the requisite includes for the post-install bits. Reimplement ONLY_FOR_ARCHS such that we know that this port requires newer compiler features (which aren't very clear from the port itself). Probably need to validate this on powerpc as we have clang available and gcc ports. PR: 197132 Changes: head/lang/luajit/Makefile |