Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Dec 2017 10:23:19 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r456901 - in head: biology/avida biology/gmap devel/amd64-gcc devel/k8048 devel/kyra devel/php-uprofiler games/supertuxkart graphics/cimg multimedia/handbrake net/tcpkali security/massc...
Message-ID:  <201712211023.vBLANJrQ072021@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Thu Dec 21 10:23:19 2017
New Revision: 456901
URL: https://svnweb.freebsd.org/changeset/ports/456901

Log:
  Try to bring some consistency to ports that have x86-specific pieces.
  
   - in general, if we think that the code is not architecture-specific,
     and instead just enables x86 assembler by default, those should
     use BROKEN rather than IGNORE.  This will allow them to be attempted
     with TRYBROKEN.
   - spell i386 as x86.
   - spell asm as assembler.
   - pet portlint.
  
  These changes should have no effect on tier-1 builds.
  
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/biology/avida/Makefile
  head/biology/gmap/Makefile
  head/devel/amd64-gcc/Makefile
  head/devel/k8048/Makefile
  head/devel/kyra/Makefile
  head/devel/php-uprofiler/Makefile
  head/games/supertuxkart/Makefile
  head/graphics/cimg/Makefile
  head/multimedia/handbrake/Makefile
  head/net/tcpkali/Makefile
  head/security/masscan/Makefile
  head/sysutils/freeipmi/Makefile
  head/textproc/randlm/Makefile

Modified: head/biology/avida/Makefile
==============================================================================
--- head/biology/avida/Makefile	Thu Dec 21 09:31:25 2017	(r456900)
+++ head/biology/avida/Makefile	Thu Dec 21 10:23:19 2017	(r456901)
@@ -12,11 +12,11 @@ COMMENT=	Auto-adaptive genetic system designed for ALi
 
 LICENSE=	GPLv3
 
-BROKEN_aarch64=		invokes x86 asm
-BROKEN_armv6=		invokes x86 asm
-BROKEN_armv7=		invokes x86 asm
-BROKEN_mips=		invokes x86 asm
-BROKEN_mips64=		invokes x86 asm
+BROKEN_aarch64=		invokes x86 assembler
+BROKEN_armv6=		invokes x86 assembler
+BROKEN_armv7=		invokes x86 assembler
+BROKEN_mips=		invokes x86 assembler
+BROKEN_mips64=		invokes x86 assembler
 BROKEN_sparc64=		missing atomics implementation
 BROKEN_powerpc64=	fails to compile: sibling call optimization does not allow automatic multiple TOCs
 

Modified: head/biology/gmap/Makefile
==============================================================================
--- head/biology/gmap/Makefile	Thu Dec 21 09:31:25 2017	(r456900)
+++ head/biology/gmap/Makefile	Thu Dec 21 10:23:19 2017	(r456901)
@@ -15,6 +15,13 @@ LICENSE_NAME=	GMAP License
 LICENSE_FILE=	${WRKSRC}/COPYING
 LICENSE_PERMS=	dist-mirror pkg-mirror auto-accept
 
+BROKEN_aarch64=		invokes x86 assembler
+BROKEN_armv6=		invokes x86 assembler
+BROKEN_armv7=		invokes x86 assembler
+BROKEN_mips64=		invokes x86 assembler
+BROKEN_powerpc64=	invokes x86 assembler
+BROKEN_sparc64=		invokes x86 assembler
+
 USES=		gmake perl5
 GNU_CONFIGURE=	yes
 
@@ -23,13 +30,6 @@ WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:C|\.|-|g}
 OPTIONS_DEFINE=	SIMD
 
 SIMD_CONFIGURE_OFF=	--disable-builtin-popcount --disable-simd
-
-BROKEN_aarch64=		Does not build: invokes x86 asm
-BROKEN_armv6=		Does not build: invokes x86 asm
-BROKEN_armv7=		Does not build: invokes x86 asm
-BROKEN_mips64=		Does not build: invokes x86 asm
-BROKEN_powerpc64=	Does not build: invokes x86 asm
-BROKEN_sparc64=		Does not build: invokes x86 asm
 
 # shebang_fix operates during patch.
 # These scripts are created during configure.

Modified: head/devel/amd64-gcc/Makefile
==============================================================================
--- head/devel/amd64-gcc/Makefile	Thu Dec 21 09:31:25 2017	(r456900)
+++ head/devel/amd64-gcc/Makefile	Thu Dec 21 10:23:19 2017	(r456901)
@@ -8,11 +8,11 @@ GCC_TARGET=	x86_64-unknown-${OPSYS:tl}${OSREL}
 BU_PREFIX=	x86_64-${OPSYS:tl}
 FREEBSD_EXTENSION=	yes
 
-BROKEN_aarch64=		error: invalid output constraint '=a' in asm
-BROKEN_armv6=		error: invalid output constraint '=a' in asm
-BROKEN_armv7=		error: invalid output constraint '=a' in asm
-BROKEN_mips=		configure: error: cannot compute suffix of object files: cannot compile
-BROKEN_mips64=		configure: error: cannot compute suffix of object files: cannot compile
-BROKEN_powerpc64=	error: invalid output constraint in asm
+BROKEN_aarch64=		invalid output constraint '=a' in assembler
+BROKEN_armv6=		invalid output constraint '=a' in assembler
+BROKEN_armv7=		invalid output constraint '=a' in assembler
+BROKEN_mips=		configure: cannot compute suffix of object files: cannot compile
+BROKEN_mips64=		configure: cannot compute suffix of object files: cannot compile
+BROKEN_powerpc64=	invalid output constraint in assembler
 
 .include "${MASTERDIR}/Makefile"

Modified: head/devel/k8048/Makefile
==============================================================================
--- head/devel/k8048/Makefile	Thu Dec 21 09:31:25 2017	(r456900)
+++ head/devel/k8048/Makefile	Thu Dec 21 10:23:19 2017	(r456901)
@@ -11,13 +11,18 @@ COMMENT=	Programs Microchip PICs using Velleman K8048 
 
 LICENSE=	BSD3CLAUSE
 
+BROKEN_aarch64=		invokes x86 assembler
+BROKEN_armv6=		invokes x86 assembler
+BROKEN_armv7=		invokes x86 assembler
+BROKEN_mips=		invokes x86 assembler
+BROKEN_mips64=		invokes x86 assembler
+BROKEN_sparc64=		invokes x86 assembler
+BROKEN_powerpc64=	invokes x86 assembler
+
 WRKSRC=		${WRKDIR}/${PORTNAME}/Src
 
 USES=		gmake
 ALL_TARGET=	build
-
-BROKEN_armv6=	fails to compile: invokes x86 asm
-BROKEN_armv7=	fails to compile: invokes x86 asm
 
 PLIST_FILES=	bin/${PORTNAME} bin/kio ${BIN_SYMLINKS}
 

Modified: head/devel/kyra/Makefile
==============================================================================
--- head/devel/kyra/Makefile	Thu Dec 21 09:31:25 2017	(r456900)
+++ head/devel/kyra/Makefile	Thu Dec 21 10:23:19 2017	(r456901)
@@ -16,6 +16,10 @@ LICENSE=	GPLv2
 LIB_DEPENDS=	libpng.so:graphics/png \
 		libtiff.so:graphics/tiff
 
+BROKEN_aarch64=		invalid output constraint =A in assembler
+BROKEN_armv6=		invalid output constraint =A in assembler
+BROKEN_armv7=		invalid output constraint =A in assembler
+
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
 USES=		gmake jpeg zip
@@ -25,10 +29,6 @@ MAKEFILE=	MakefileKyra
 MAKE_ENV=	MAKE_KYRA=RELEASE KYRA_OPENGL=YES
 MAKE_ARGS=	CC="${CC}" CXX="${CXX}" LD="${CXX}" \
 		RELEASE_CFLAGS="${CFLAGS}" RELEASE_CXXFLAGS="${CXXFLAGS}"
-
-BROKEN_aarch64=		Fails to compile: error: invalid output constraint =A in asm
-BROKEN_armv6=		Fails to compile: error: invalid output constraint =A in asm
-BROKEN_armv7=		Fails to compile: error: invalid output constraint =A in asm
 
 do-install:
 .for i in encoder spriteed

Modified: head/devel/php-uprofiler/Makefile
==============================================================================
--- head/devel/php-uprofiler/Makefile	Thu Dec 21 09:31:25 2017	(r456900)
+++ head/devel/php-uprofiler/Makefile	Thu Dec 21 10:23:19 2017	(r456901)
@@ -13,12 +13,12 @@ COMMENT=	Lightweight profiler for PHP
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/../LICENSE
 
-BROKEN_aarch64=		Does not build: invokes x86 asm
-BROKEN_armv6=		Does not build: invokes x86 asm
-BROKEN_armv7=		Does not build: invokes x86 asm
-BROKEN_mips64=		Does not build: invokes x86 asm
-BROKEN_powerpc64=	Does not build: invokes x86 asm
-BROKEN_sparc64=		Does not build: invokes x86 asm
+BROKEN_aarch64=		invokes x86 assembler
+BROKEN_armv6=		invokes x86 assembler
+BROKEN_armv7=		invokes x86 assembler
+BROKEN_mips64=		invokes x86 assembler
+BROKEN_powerpc64=	invokes x86 assembler
+BROKEN_sparc64=		invokes x86 assembler
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	FriendsOfPHP

Modified: head/games/supertuxkart/Makefile
==============================================================================
--- head/games/supertuxkart/Makefile	Thu Dec 21 09:31:25 2017	(r456900)
+++ head/games/supertuxkart/Makefile	Thu Dec 21 10:23:19 2017	(r456901)
@@ -20,8 +20,13 @@ LIB_DEPENDS=	libvorbisfile.so:audio/libvorbis \
 		libpng.so:graphics/png \
 		libfreetype.so:print/freetype2
 
-ONLY_FOR_ARCHS=		amd64 i386
-ONLY_FOR_ARCHS_REASON=	fails to build: invokes x86 asm
+BROKEN_aarch64=		invokes x86 assembler
+BROKEN_armv6=		invokes x86 assembler
+BROKEN_armv7=		invokes x86 assembler
+BROKEN_mips=		invokes x86 assembler
+BROKEN_mips64=		invokes x86 assembler
+BROKEN_sparc64=		invokes x86 assembler
+BROKEN_powerpc64=	invokes x86 assembler
 
 USES=		alias cmake compiler:c++11-lib dos2unix gettext \
 		jpeg openal:al pkgconfig tar:xz

Modified: head/graphics/cimg/Makefile
==============================================================================
--- head/graphics/cimg/Makefile	Thu Dec 21 09:31:25 2017	(r456900)
+++ head/graphics/cimg/Makefile	Thu Dec 21 10:23:19 2017	(r456901)
@@ -18,8 +18,13 @@ LICENSE_FILE_CeCILL=	${WRKSRC}/Licence_CeCILL_V2-en.tx
 LICENSE_PERMS_CeCILL_C=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 LICENSE_PERMS_CeCILL=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
-ONLY_FOR_ARCHS=	amd64 i386
-ONLY_FOR_ARCHS_REASON=	invokes i386 asm
+BROKEN_aarch64=		invokes x86 assembler
+BROKEN_armv6=		invokes x86 assembler
+BROKEN_armv7=		invokes x86 assembler
+BROKEN_mips=		invokes x86 assembler
+BROKEN_mips64=		invokes x86 assembler
+BROKEN_sparc64=		invokes x86 assembler
+BROKEN_powerpc64=	invokes x86 assembler
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	dtschump

Modified: head/multimedia/handbrake/Makefile
==============================================================================
--- head/multimedia/handbrake/Makefile	Thu Dec 21 09:31:25 2017	(r456900)
+++ head/multimedia/handbrake/Makefile	Thu Dec 21 10:23:19 2017	(r456901)
@@ -34,8 +34,13 @@ LIB_DEPENDS=	libdbus-1.so:devel/dbus \
 		libopus.so:audio/opus \
 		libjansson.so:devel/jansson
 
-BROKEN_aarch64=	Fails to build: invokes x86 asm
-BROKEN_armv6=	Fails to build: invokes x86 asm
+BROKEN_aarch64=		invokes x86 assembler
+BROKEN_armv6=		invokes x86 assembler
+BROKEN_armv7=		invokes x86 assembler
+BROKEN_mips=		invokes x86 assembler
+BROKEN_mips64=		invokes x86 assembler
+BROKEN_sparc64=		invokes x86 assembler
+BROKEN_powerpc64=	invokes x86 assembler
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	HandBrake

Modified: head/net/tcpkali/Makefile
==============================================================================
--- head/net/tcpkali/Makefile	Thu Dec 21 09:31:25 2017	(r456900)
+++ head/net/tcpkali/Makefile	Thu Dec 21 10:23:19 2017	(r456901)
@@ -11,8 +11,13 @@ COMMENT=	High performance load generator for TCP and W
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-ONLY_FOR_ARCHS=		amd64 i386
-ONLY_FOR_ARCHS_REASON=	uses x86 assembler
+BROKEN_aarch64=		invokes x86 assembler
+BROKEN_armv6=		invokes x86 assembler
+BROKEN_armv7=		invokes x86 assembler
+BROKEN_mips=		invokes x86 assembler
+BROKEN_mips64=		invokes x86 assembler
+BROKEN_sparc64=		invokes x86 assembler
+BROKEN_powerpc64=	invokes x86 assembler
 
 GNU_CONFIGURE=	yes
 USES=		autoreconf libtool gmake ncurses

Modified: head/security/masscan/Makefile
==============================================================================
--- head/security/masscan/Makefile	Thu Dec 21 09:31:25 2017	(r456900)
+++ head/security/masscan/Makefile	Thu Dec 21 10:23:19 2017	(r456901)
@@ -10,8 +10,13 @@ COMMENT=	Very fast port scanner
 
 LICENSE=	GPLv3
 
-ONLY_FOR_ARCHS=		amd64 i386
-ONLY_FOR_ARCHS_REASON=	uses i386 assembler
+BROKEN_aarch64=		invokes x86 assembler
+BROKEN_armv6=		invokes x86 assembler
+BROKEN_armv7=		invokes x86 assembler
+BROKEN_mips=		invokes x86 assembler
+BROKEN_mips64=		invokes x86 assembler
+BROKEN_sparc64=		invokes x86 assembler
+BROKEN_powerpc64=	invokes x86 assembler
 
 USES=		gmake
 USE_GITHUB=	yes

Modified: head/sysutils/freeipmi/Makefile
==============================================================================
--- head/sysutils/freeipmi/Makefile	Thu Dec 21 09:31:25 2017	(r456900)
+++ head/sysutils/freeipmi/Makefile	Thu Dec 21 10:23:19 2017	(r456901)
@@ -13,11 +13,16 @@ COMMENT=	Library and tools to support IPMI-capable har
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-ONLY_FOR_ARCHS=	amd64 i386
-ONLY_FOR_ARCHS_REASON=	invokes i386 asm
-
 LIB_DEPENDS=	libargp.so:devel/argp-standalone \
 		libgcrypt.so:security/libgcrypt
+
+BROKEN_aarch64=		invokes x86 assembler
+BROKEN_armv6=		invokes x86 assembler
+BROKEN_armv7=		invokes x86 assembler
+BROKEN_mips=		invokes x86 assembler
+BROKEN_mips64=		invokes x86 assembler
+BROKEN_sparc64=		invokes x86 assembler
+BROKEN_powerpc64=	invokes x86 assembler
 
 OPTIONS_DEFINE=	DEBUG DOCS IOPERM
 IOPERM_DESC=	Use i386_set_ioperm

Modified: head/textproc/randlm/Makefile
==============================================================================
--- head/textproc/randlm/Makefile	Thu Dec 21 09:31:25 2017	(r456900)
+++ head/textproc/randlm/Makefile	Thu Dec 21 10:23:19 2017	(r456901)
@@ -14,6 +14,11 @@ BUILD_DEPENDS=	${LOCALBASE}/include/google/sparse_hash
 LIB_DEPENDS=	libboost_thread.so:devel/boost-libs
 RUN_DEPENDS=	${LOCALBASE}/include/google/sparse_hash_map:devel/sparsehash
 
+BROKEN_aarch64=		fails to compile: invalid output constraint =a in assembler
+BROKEN_armv6=		fails to compile: invalid output constraint =a in assembler
+BROKEN_armv7=		fails to compile: BloomMap.cpp:275:58: error: ordered comparison between pointer and zero ('int *' and 'int')
+BROKEN_powerpc64=	fails to compile: 'itr' does not name a type
+
 GNU_CONFIGURE=	yes
 USE_PERL5=	run
 USE_LDCONFIG=	yes
@@ -23,11 +28,6 @@ MAKE_JOBS_UNSAFE=yes
 CXXFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 INSTALL_TARGET=	install-strip
-
-BROKEN_aarch64=		fails to compile: invalid output constraint =a in asm
-BROKEN_armv6=		fails to compile: invalid output constraint =a in asm
-BROKEN_armv7=		fails to compile: BloomMap.cpp:275:58: error: ordered comparison between pointer and zero ('int *' and 'int')
-BROKEN_powerpc64=	fails to compile: error: 'itr' does not name a type
 
 post-patch:
 	cd ${WRKSRC}/hadoop && ${MV} strings.cpp strings.cc && ${MV} strings.h s.h



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