From f4ea425a5bb8c4c7f08da85f1ed7e25fc336ef3b Mon Sep 17 00:00:00 2001 From: Mark Linimon Date: Sat, 29 Apr 2017 07:04:49 +0000 Subject: [PATCH] Provide more descriptive error messages for ports failing on powerpc64. While here, pet portlint. Approved by: portmgr (tier-2 blanket) --- comms/telldus-core/Makefile | 2 +- comms/uartlirc/Makefile | 9 ++------- databases/gnats4/Makefile | 2 +- databases/mariadb100-server/Makefile | 2 +- databases/mariadb101-server/Makefile | 2 +- databases/p5-Tie-LevelDB/Makefile | 2 +- databases/percona56-server/Makefile | 2 +- databases/riak/Makefile | 2 +- databases/rocksdb/Makefile | 2 +- databases/tarantool/Makefile | 2 +- databases/virtuoso/Makefile | 2 +- databases/xtrabackup/Makefile | 4 ++-- 12 files changed, 14 insertions(+), 19 deletions(-) diff --git a/comms/telldus-core/Makefile b/comms/telldus-core/Makefile index 8c9a26926e2d..299c20bca7bf 100644 --- a/comms/telldus-core/Makefile +++ b/comms/telldus-core/Makefile @@ -17,7 +17,7 @@ LIB_DEPENDS= libftdi.so:devel/libftdi \ libconfuse.so:devel/libconfuse \ libargp.so:devel/argp-standalone -BROKEN_powerpc64= Does not build +BROKEN_powerpc64= Does not build: error: strlen was not declared in this scope BROKEN_sparc64= Does not build USES= cmake compiler:c++11-lang iconv:wchar_t diff --git a/comms/uartlirc/Makefile b/comms/uartlirc/Makefile index fbc7fae6e3f9..2c722336d37f 100644 --- a/comms/uartlirc/Makefile +++ b/comms/uartlirc/Makefile @@ -13,7 +13,8 @@ EXTRACT_SUFX= .shar MAINTAINER= ports@FreeBSD.org COMMENT= Driver for "homebrew" serial LIRC receivers -BROKEN_powerpc64= Does not build +BROKEN_powerpc64= Does not build: error: uart.h: No such file or directory +BROKEN_sparc64= Does not build USES= kmod @@ -26,12 +27,6 @@ PLIST_FILES+= ${KMODDIR}/${PORTNAME}.ko CFLAGS+= ${DEBUG_FLAGS} -.include - -.if ${ARCH} == "powerpc" || ${ARCH} == "sparc64" -BROKEN= Does not compile on powerpc or sparc64 -.endif - do-install: ${INSTALL} ${WRKSRC}/${PORTNAME}.ko ${STAGEDIR}${KMODDIR} diff --git a/databases/gnats4/Makefile b/databases/gnats4/Makefile index cb3913072ac5..1152d8c3a432 100644 --- a/databases/gnats4/Makefile +++ b/databases/gnats4/Makefile @@ -11,7 +11,7 @@ PKGNAMESUFFIX= 4 MAINTAINER= portmaster@bsdforge.com COMMENT= GNATS, the GNU Problem Report Management System -BROKEN_powerpc64= Does not build +BROKEN_powerpc64= Does not build: error: conflicting types for yy_scan_string GNU_CONFIGURE= yes USES= cpe gmake makeinfo diff --git a/databases/mariadb100-server/Makefile b/databases/mariadb100-server/Makefile index 67ba650d9dc0..ae1eb0a81629 100644 --- a/databases/mariadb100-server/Makefile +++ b/databases/mariadb100-server/Makefile @@ -24,7 +24,7 @@ LICENSE_FILE_PerconaFT= ${WRKSRC}/storage/tokudb/PerconaFT/PATENTS LICENSE_PERMS_PerconaFT= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BROKEN_aarch64= Fails to link: missing sbrk -BROKEN_powerpc64= Does not build +BROKEN_powerpc64= Does not build: g++49: internal compiler error: Killed (program cc1plus) SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message diff --git a/databases/mariadb101-server/Makefile b/databases/mariadb101-server/Makefile index b10354f68a5a..4a73839b3085 100644 --- a/databases/mariadb101-server/Makefile +++ b/databases/mariadb101-server/Makefile @@ -23,7 +23,7 @@ LICENSE_FILE_PerconaFT= ${WRKSRC}/storage/tokudb/PerconaFT/PATENTS LICENSE_PERMS_PerconaFT= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BROKEN_aarch64= Fails to link: missing sbrk -BROKEN_powerpc64= Does not build +BROKEN_powerpc64= Does not build: fatal error: sys/platform/ppc.h: No such file or directory SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message diff --git a/databases/p5-Tie-LevelDB/Makefile b/databases/p5-Tie-LevelDB/Makefile index a29240e0735c..cd303cd39831 100644 --- a/databases/p5-Tie-LevelDB/Makefile +++ b/databases/p5-Tie-LevelDB/Makefile @@ -17,7 +17,7 @@ LICENSE_COMB= dual LIB_DEPENDS= libleveldb.so:databases/leveldb BROKEN_aarch64= does not build: error: Please implement AtomicPointer for this platform -BROKEN_powerpc64= does not build +BROKEN_powerpc64= does not build: error: unrecognized command line option -std=c++0x BROKEN_sparc64= does not build: unrecognized command line options MAKE_ARGS= CC="${CXX}" diff --git a/databases/percona56-server/Makefile b/databases/percona56-server/Makefile index 9fd4a23c83f0..b855e875bb46 100644 --- a/databases/percona56-server/Makefile +++ b/databases/percona56-server/Makefile @@ -12,7 +12,7 @@ DISTNAME= percona-server-${DISTVERSION} MAINTAINER= flo@FreeBSD.org COMMENT?= Multithreaded SQL database (server) -BROKEN_powerpc64= Does not build +BROKEN_powerpc64= Does not build: #error Unsupported platform SLAVEDIRS= databases/percona56-client \ databases/percona-pam-for-mysql diff --git a/databases/riak/Makefile b/databases/riak/Makefile index 17ca6f438b3e..c034211898de 100644 --- a/databases/riak/Makefile +++ b/databases/riak/Makefile @@ -45,7 +45,7 @@ MAKE_JOBS_UNSAFE=yes MAKE_ENV= PATH=${LOCALBASE}/lib/erlang15/bin:${PATH} BROKEN_aarch64= Does not compile: error: Unknown CPU architecture -BROKEN_powerpc64= Does not build +BROKEN_powerpc64= Does not compile: error: Unknown CPU architecture BROKEN_sparc64= Does not compile: Please implement AtomicPointer for this platform .include diff --git a/databases/rocksdb/Makefile b/databases/rocksdb/Makefile index efb3246b8cea..6a5b561d9a92 100644 --- a/databases/rocksdb/Makefile +++ b/databases/rocksdb/Makefile @@ -20,7 +20,7 @@ LIB_DEPENDS= libgflags.so:devel/gflags \ BROKEN_DragonFly= does not build on DragonFly BSD using GCC with -Werror BROKEN_aarch64= does not build: the clang compiler does not support -march=native BROKEN_armv6= does not build: the clang compiler does not support -march=native -BROKEN_powerpc64= does not build +BROKEN_powerpc64= does not build: the clang compiler does not support -march=native BROKEN_sparc64= cannot build: uses unknown compiler flags OPTIONS_DEFINE= DEBUG LZ4 ZSTD diff --git a/databases/tarantool/Makefile b/databases/tarantool/Makefile index d390ad5ede09..8bf1c168e820 100644 --- a/databases/tarantool/Makefile +++ b/databases/tarantool/Makefile @@ -12,7 +12,7 @@ COMMENT= NoSQL database running in a Lua application server LICENSE= BSD2CLAUSE -BROKEN_powerpc64= Does not build +BROKEN_powerpc64= Does not build: Unsupported architecture -- powerpc64 MAKE_JOBS_UNSAFE=yes USES= cmake compiler:c++11-lang gettext gmake perl5 readline diff --git a/databases/virtuoso/Makefile b/databases/virtuoso/Makefile index 169fb5f703d7..6f32599efabd 100644 --- a/databases/virtuoso/Makefile +++ b/databases/virtuoso/Makefile @@ -21,7 +21,7 @@ BUILD_DEPENDS= gawk:lang/gawk\ LIB_DEPENDS= libxml2.so:textproc/libxml2 BROKEN_aarch64= Fails to link: missing sbrk -BROKEN_powerpc64= Does not build +BROKEN_powerpc64= Does not compile: error: DV_INT_TAG_WORD undeclared BROKEN_sparc64= Does not compile: error: DV_INT_TAG_WORD undeclared NOT_FOR_ARCHS= arm armv6 i386 mips powerpc diff --git a/databases/xtrabackup/Makefile b/databases/xtrabackup/Makefile index 13cefab10b9f..7f4ebccddc81 100644 --- a/databases/xtrabackup/Makefile +++ b/databases/xtrabackup/Makefile @@ -13,8 +13,6 @@ COMMENT= OpenSource version of InnoDB backup with support of Percona extensions LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN_powerpc64= Does not build - # quilt is required by build.sh BUILD_DEPENDS= bash:shells/bash \ cmake:devel/cmake \ @@ -26,6 +24,8 @@ LIB_DEPENDS= libev.so:devel/libev \ RUN_DEPENDS= p5-DBD-mysql>=0:databases/p5-DBD-mysql \ qpress:archivers/qpress +BROKEN_powerpc64= Does not build: ld: final link failed: Bad value + # autotool is in use for 5.1 builds USES= alias autoreconf:build cpe gettext cmake libtool perl5 shebangfix CPE_VENDOR= percona