Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Aug 2012 23:00:12 GMT
From:      Mark Linimon <linimon@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/170946: [patch] mark certain ports broken on ARM
Message-ID:  <201208232300.q7NN0ChZ078869@freefall.freebsd.org>
Resent-Message-ID: <201208232310.q7NNA16b079693@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         170946
>Category:       ports
>Synopsis:       [patch] mark certain ports broken on ARM
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 23 23:10:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Mark Linimon
>Release:        FreeBSD 9.0-STABLE i386
>Organization:
FreeBSD
>Environment:
System: FreeBSD freefall.freebsd.org 9.0-STABLE FreeBSD 9.0-STABLE #6 r235139: Tue May 8 21:19:03 UTC 2012 simon@freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL i386
>Description:
I have recently started building packages for arm.  At the moment I am
building a very restricted subset due to how little hardware we have.

To keep from trying to build the same ports over and over, I'd like to
go ahead and mark some ports from the first few runs as BROKEN.  I will
be testing this both on arm and in combination with some other amd64
build, but I would like to give the maintainers a heads-up.  (I do not
expect the maintainers to take any action on fixing the problems; just
approval of the BROKEN line.)

Thanks.
>How-To-Repeat:
>Fix:
Index: databases/mysql41-server/Makefile
===================================================================
--- databases/mysql41-server/Makefile	(revision 303040)
+++ databases/mysql41-server/Makefile	(working copy)
@@ -62,6 +62,10 @@
 
 .include <bsd.port.pre.mk>
 
+.if ${ARCH} == "arm"
+BROKEN=		Does not compile on arm
+.endif
+
 .if ${ARCH} == "i386"
 CONFIGURE_ARGS+=--enable-assembler --with-berkeley-db
 .endif
Index: databases/mysql50-server/Makefile
===================================================================
--- databases/mysql50-server/Makefile	(revision 303040)
+++ databases/mysql50-server/Makefile	(working copy)
@@ -70,6 +70,10 @@
 
 .include <bsd.port.pre.mk>
 
+.if ${ARCH} == "arm"
+BROKEN=		Does not compile on arm
+.endif
+
 .if ${ARCH} == "i386"
 CONFIGURE_ARGS+=--enable-assembler --with-berkeley-db
 .endif
Index: databases/mysql51-server/Makefile
===================================================================
--- databases/mysql51-server/Makefile	(revision 303040)
+++ databases/mysql51-server/Makefile	(working copy)
@@ -67,6 +67,10 @@
 
 .include <bsd.port.pre.mk>
 
+.if ${ARCH} == "arm"
+BROKEN=		Does not compile on arm
+.endif
+
 .if ${ARCH} == "i386"
 CONFIGURE_ARGS+=--enable-assembler
 .endif
Index: databases/mysql55-server/Makefile
===================================================================
--- databases/mysql55-server/Makefile	(revision 303040)
+++ databases/mysql55-server/Makefile	(working copy)
@@ -90,4 +90,10 @@
 post-patch:
 	@${REINPLACE_CMD} 's/*.1/${MAN1}/' ${WRKSRC}/man/CMakeLists.txt
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "arm"
+BROKEN=		Does not compile on arm
+.endif
+
+.include <bsd.port.post.mk>
Index: databases/py-sqlite3/Makefile
===================================================================
--- databases/py-sqlite3/Makefile	(revision 303040)
+++ databases/py-sqlite3/Makefile	(working copy)
@@ -30,6 +30,10 @@
 
 .include <bsd.port.pre.mk>
 
+.if ${ARCH} == "arm"
+BROKEN=		Does not install on arm
+.endif
+
 post-extract:
 .if ${PYTHON_REL} < 300
 	@${CP} ${FILESDIR}/setup.py ${WRKSRC}
Index: devel/gobject-introspection/Makefile
===================================================================
--- devel/gobject-introspection/Makefile	(revision 303040)
+++ devel/gobject-introspection/Makefile	(working copy)
@@ -42,4 +42,10 @@
 	@${REINPLACE_CMD} -e "s|'cc'|'${CC:Q:C/[[:space:]]+/', '/g}'|g" \
 		${WRKSRC}/giscanner/sourcescanner.py
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "arm"
+BROKEN=		Does not compile on arm
+.endif
+
+.include <bsd.port.post.mk>
Index: devel/icu/Makefile
===================================================================
--- devel/icu/Makefile	(revision 303040)
+++ devel/icu/Makefile	(working copy)
@@ -64,6 +64,10 @@
 
 .include <bsd.port.pre.mk>
 
+.if ${ARCH} == "arm"
+BROKEN=		Does not compile on arm
+.endif
+
 .if defined(WITHOUT_THREADS)
 CONFIGURE_ARGS+=	--enable-threads=no
 .else
Index: devel/llvm/Makefile
===================================================================
--- devel/llvm/Makefile	(revision 303040)
+++ devel/llvm/Makefile	(working copy)
@@ -80,7 +80,9 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${ARCH} == "sparc64"
+.if ${ARCH} == "arm"
+BROKEN=		Does not compile on arm
+.elif ${ARCH} == "sparc64"
 BROKEN=		does not compile on sparc64
 .endif
 
Index: devel/nspr/Makefile
===================================================================
--- devel/nspr/Makefile	(revision 303040)
+++ devel/nspr/Makefile	(working copy)
@@ -31,6 +31,10 @@
 
 .include <bsd.port.pre.mk>
 
+.if ${ARCH} == "arm"
+BROKEN=		Does not compile on arm
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's,-lpthread,${PTHREAD_LIBS},g ; s,echo aout,echo elf,g' ${WRKSRC}/${CONFIGURE_SCRIPT}
 
Index: devel/pwlib/Makefile
===================================================================
--- devel/pwlib/Makefile	(revision 303040)
+++ devel/pwlib/Makefile	(working copy)
@@ -34,6 +34,9 @@
 
 .include <bsd.port.pre.mk>
 
+.if ${ARCH} == "arm"
+BROKEN=		Does not install on arm: mtree
+.endif
 
 CFLAGS=		-O1
 CONFIGURE_ENV=	PTHREAD_LIBS="${PTHREAD_LIBS}"
Index: devel/qmake/Makefile
===================================================================
--- devel/qmake/Makefile	(revision 303040)
+++ devel/qmake/Makefile	(working copy)
@@ -62,8 +62,8 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${ARCH} == "alpha"
-CXXFLAGS+=	-mieee
+.if ${ARCH} == "arm"
+BROKEN=		Does not compile on arm
 .endif
 
 .include <bsd.port.post.mk>
Index: devel/qt4-moc/Makefile
===================================================================
--- devel/qt4-moc/Makefile	(revision 303040)
+++ devel/qt4-moc/Makefile	(working copy)
@@ -54,4 +54,10 @@
 pre-build:
 	cd ${BUILD_WRKSRC}/../bootstrap && ${MAKE}
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "arm"
+BROKEN=		Does not compile on arm
+.endif
+
+.include <bsd.port.post.mk>
Index: devel/qt4-rcc/Makefile
===================================================================
--- devel/qt4-rcc/Makefile	(revision 303040)
+++ devel/qt4-rcc/Makefile	(working copy)
@@ -53,4 +53,10 @@
 pre-build:
 	cd ${BUILD_WRKSRC}/../bootstrap && ${MAKE}
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "arm"
+BROKEN=		Does not configure on arm
+.endif
+
+.include <bsd.port.post.mk>
Index: devel/qt4-uic/Makefile
===================================================================
--- devel/qt4-uic/Makefile	(revision 303040)
+++ devel/qt4-uic/Makefile	(working copy)
@@ -54,4 +54,10 @@
 pre-build:
 	cd ${BUILD_WRKSRC}/../bootstrap && ${MAKE}
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "arm"
+BROKEN=		Does not configure on arm
+.endif
+
+.include <bsd.port.post.mk>
Index: editors/emacs/Makefile
===================================================================
--- editors/emacs/Makefile	(revision 302835)
+++ editors/emacs/Makefile	(working copy)
@@ -242,7 +242,9 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${ARCH} == "ia64"
+.if ${ARCH} == "arm"
+BROKEN=	Emacs 24.X does not currently build on arm
+.elif ${ARCH} == "ia64"
 BROKEN=	Emacs 24.X does not currently build on ia64
 .endif
 
Index: graphics/cairo/Makefile
===================================================================
--- graphics/cairo/Makefile	(revision 303040)
+++ graphics/cairo/Makefile	(working copy)
@@ -49,6 +49,10 @@
 
 .include <bsd.port.pre.mk>
 
+.if ${ARCH} == "arm"
+BROKEN=		Does not compile on arm
+.endif
+
 .if defined(WITH_GL)
 USE_GL=		gl
 CONFIGURE_ARGS+=	--enable-gl
Index: lang/gcc42/Makefile
===================================================================
--- lang/gcc42/Makefile	(revision 303040)
+++ lang/gcc42/Makefile	(working copy)
@@ -40,6 +40,10 @@
 
 .include <bsd.port.pre.mk>
 
+.if ${ARCH} == "arm"
+BROKEN=		Does not compile on arm
+.endif
+
 .if ${ARCH} == "amd64"
 CONFIGURE_TARGET=	x86_64-portbld-freebsd${OSREL}
 .else
Index: lang/tcl86/Makefile
===================================================================
--- lang/tcl86/Makefile	(revision 303040)
+++ lang/tcl86/Makefile	(working copy)
@@ -46,6 +46,10 @@
 
 .include <bsd.port.pre.mk>
 
+.if ${ARCH} == "arm"
+BROKEN=		Does not build on arm
+.endif
+
 .if !defined(WITHOUT_TCL_MODULES)
 RUN_DEPENDS+=	${LOCALBASE}/lib/tcl8/8.5/tcltest-2.3.4.tm:${PORTSDIR}/lang/tcl-modules
 .endif
Index: mail/dovecot2/Makefile
===================================================================
--- mail/dovecot2/Makefile	(revision 303040)
+++ mail/dovecot2/Makefile	(working copy)
@@ -58,6 +58,10 @@
 
 .include <bsd.port.pre.mk>
 
+.if ${ARCH} == "arm"
+BROKEN=		Does not build on arm
+.endif
+
 # sed script for dovecot.conf
 REINPLACE=	s!%%PROTOCOLS%%!${PROTOCOLS}!g;\
 		s!/usr/!${PREFIX}/!g;\
Index: mail/dovecot/Makefile
===================================================================
--- mail/dovecot/Makefile	(revision 303040)
+++ mail/dovecot/Makefile	(working copy)
@@ -70,6 +70,10 @@
 
 .include <bsd.port.pre.mk>
 
+.if ${ARCH} == "arm"
+BROKEN=		Does not build on arm
+.endif
+
 # Default requirement for dovecot rc script
 _REQUIRE=	LOGIN
 
Index: net-p2p/rtorrent/Makefile
===================================================================
--- net-p2p/rtorrent/Makefile	(revision 303040)
+++ net-p2p/rtorrent/Makefile	(working copy)
@@ -37,6 +37,10 @@
 
 .include <bsd.port.pre.mk>
 
+.if ${ARCH} == "arm"
+BROKEN=		Does not configure on arm
+.endif
+
 .if !defined(WITHOUT_XMLRPC)
 CONFIGURE_ARGS+=	--with-xmlrpc-c
 LIB_DEPENDS+=	xmlrpc.3:${PORTSDIR}/net/xmlrpc-c-devel
Index: net/socat/Makefile
===================================================================
--- net/socat/Makefile	(revision 303041)
+++ net/socat/Makefile	(working copy)
@@ -43,4 +43,10 @@
 	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "arm"
+BROKEN=		Does not configure on arm
+.endif
+
+.include <bsd.port.post.mk>
Index: net/vnc/Makefile
===================================================================
--- net/vnc/Makefile	(revision 303041)
+++ net/vnc/Makefile	(working copy)
@@ -44,6 +44,10 @@
 
 .include <bsd.port.pre.mk>
 
+.if ${ARCH} == "arm"
+BROKEN=		Does not compile on arm
+.endif
+
 .if !defined(WITHOUT_SERVER)
 MASTER_SITES+=	${MASTER_SITE_XORG:S/$/:x/}
 MASTER_SITE_SUBDIR+=	4.3.0/:x
Index: sysutils/lsof/Makefile
===================================================================
--- sysutils/lsof/Makefile	(revision 303041)
+++ sysutils/lsof/Makefile	(working copy)
@@ -44,6 +44,10 @@
 
 .include <bsd.port.pre.mk>
 
+.if ${ARCH} == "arm"
+BROKEN=		Does not compile on arm
+.endif
+
 CONFIGURE_SCRIPT=	Configure
 CONFIGURE_ARGS=	-n freebsd
 CONFIGURE_ENV=	LSOF_CC="${CC}" FREEBSD_SYS="${SRC_BASE}/sys"
Index: www/varnish/Makefile
===================================================================
--- www/varnish/Makefile	(revision 303041)
+++ www/varnish/Makefile	(working copy)
@@ -55,4 +55,10 @@
 .endfor
 	@${CAT} ${PKGMESSAGE}
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "arm"
+BROKEN=		Does not configure on arm
+.endif
+
+.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208232300.q7NN0ChZ078869>