From owner-freebsd-ports-bugs@freebsd.org Sun Dec 6 20:57:50 2015 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 495389A052F for ; Sun, 6 Dec 2015 20:57:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3A0721041 for ; Sun, 6 Dec 2015 20:57:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tB6KvoYq014203 for ; Sun, 6 Dec 2015 20:57:50 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 205074] sysutils/relaunchd: fails to compile on FreeBSD 9 Date: Sun, 06 Dec 2015 20:57:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mark@heily.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2015 20:57:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205074 Bug ID: 205074 Summary: sysutils/relaunchd: fails to compile on FreeBSD 9 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: mark@heily.com There is a new upstream version of relaunchd that fixes a compilation failure on FreeBSD 9. Please update the port to the latest version (v0.3.1) found here: https://github.com/mheily/relaunchd/tree/ports/FreeBSD See below for the details of the failure: ====>> Building sysutils/relaunchd build started at Sun Dec 6 04:40:43 UTC 2015 port directory: /usr/ports/sysutils/relaunchd building for: FreeBSD 93i386-default-job-19 9.3-RELEASE-p30 FreeBSD 9.3-RELEASE-p30 i386 maintained by: mark@heily.com Makefile ident: $FreeBSD: head/sysutils/relaunchd/Makefile 402986 2015-12-04 13:36:28Z kmoore $ Poudriere version: 3.1.10 Host OSVERSION: 1100085 Jail OSVERSION: 903000 ---Begin Environment--- SHELL=/bin/csh UNAME_p=i386 UNAME_m=i386 OSVERSION=903000 UNAME_v=FreeBSD 9.3-RELEASE-p30 UNAME_r=9.3-RELEASE-p30 BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 SAVED_TERM= MASTERMNT=/usr/local/poudriere/data/.m/93i386-default/ref PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk PKGNAME=relaunchd-0.3.0 OLDPWD=/ PWD=/usr/local/poudriere/data/.m/93i386-default/ref/.p/pool MASTERNAME=93i386-default SCRIPTPREFIX=/usr/local/share/poudriere USER=root HOME=/root POUDRIERE_VERSION=3.1.10 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh LIBEXECPREFIX=/usr/local/libexec/poudriere LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/relaunchd/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/relaunchd/work HOME=/wrkdirs/usr/ports/sysutils/relaunchd/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/relaunchd/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/relaunchd/work HOME=/wrkdirs/usr/ports/sysutils/relaunchd/work TMPDIR="/tmp" NO_PIE=yes SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=9.3 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib DOCSDIR="share/doc/relaunchd" EXAMPLESDIR="share/examples/relaunchd" DATADIR="share/relaunchd" WWWDIR="www/relaunchd" ETCDIR="etc/relaunchd" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/relaunchd DOCSDIR=/usr/local/share/doc/relaunchd EXAMPLESDIR=/usr/local/share/examples/relaunchd WWWDIR=/usr/local/www/relaunchd ETCDIR=/usr/local/etc/relaunchd --End SUB_LIST-- ---Begin make.conf--- MACHINE=i386 MACHINE_ARCH=i386 ARCH=${MACHINE_ARCH} USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles #### /usr/local/etc/poudriere.d/make.conf #### DISABLE_MAKE_JOBS=poudriere ---End make.conf--- =================================================== ===> License ISCL accepted by the user =========================================================================== =================================================== ===> relaunchd-0.3.0 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.6.2.txz [93i386-default-job-19] Installing pkg-1.6.2... [93i386-default-job-19] Extracting pkg-1.6.2: .......... done Message from pkg-1.6.2: If you are upgrading from the old package format, first run: # pkg2ng ===> relaunchd-0.3.0 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of relaunchd-0.3.0 =========================================================================== =================================================== =========================================================================== =================================================== ===> License ISCL accepted by the user => mheily-relaunchd-v0.3.0_GH0.tar.gz doesn't seem to exist in /portdistfiles/. => Attempting to fetch https://codeload.github.com/mheily/relaunchd/tar.gz/v0.3.0?dummy=/mheily-relaunchd-v0.3.0_GH0.tar.gz fetch: https://codeload.github.com/mheily/relaunchd/tar.gz/v0.3.0?dummy=/mheily-relaunchd-v0.3.0_GH0.tar.gz: size unknown fetch: https://codeload.github.com/mheily/relaunchd/tar.gz/v0.3.0?dummy=/mheily-relaunchd-v0.3.0_GH0.tar.gz: size of remote file is not known mheily-relaunchd-v0.3.0_GH0.tar.gz -1 B 0 Bps ===> Fetching all distfiles required by relaunchd-0.3.0 for building =========================================================================== =================================================== ===> License ISCL accepted by the user ===> Fetching all distfiles required by relaunchd-0.3.0 for building => SHA256 Checksum OK for mheily-relaunchd-v0.3.0_GH0.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> License ISCL accepted by the user ===> Fetching all distfiles required by relaunchd-0.3.0 for building ===> Extracting for relaunchd-0.3.0 => SHA256 Checksum OK for mheily-relaunchd-v0.3.0_GH0.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for relaunchd-0.3.0 =========================================================================== =================================================== =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for relaunchd-0.3.0 =========================================================================== =================================================== ===> Building for relaunchd-0.3.0 echo "/* Automatically generated -- do not edit */" > config.h printf '#define HAVE_SYS_LIMITS_H ' >> config.h echo '#include ' | cc -O2 -pipe -fno-strict-aliasing -x c -c - 2>/dev/null; echo "$? == 0" | bc >> config.h test -d /var/db && statedir=/var/db/launchd || statedir=/var/lib/launchd ; echo "#define PKGSTATEDIR \"$statedir\"" >> config.h cc -include config.h -O2 -pipe -fno-strict-aliasing -o launchd job.c log.c launchd.c manager.c manifest.c socket.c jsmn/jsmn.c timer.c pidfile.c flopen.c In file included from manifest.h:24, from job.h:26, from job.c:30: cvec.h: In function 'cvec_dup': cvec.h:130: error: 'for' loop initial declaration used outside C99 mode In file included from manifest.h:24, from job.h:26, from manager.h:20, from launchd.c:36: cvec.h: In function 'cvec_dup': cvec.h:130: error: 'for' loop initial declaration used outside C99 mode In file included from manifest.h:24, from job.h:26, from manager.c:26: cvec.h: In function 'cvec_dup': cvec.h:130: error: 'for' loop initial declaration used outside C99 mode In file included from manifest.h:24, from manifest.c:18: cvec.h: In function 'cvec_dup': cvec.h:130: error: 'for' loop initial declaration used outside C99 mode In file included from manifest.h:24, from job.h:26, from socket.c:25: cvec.h: In function 'cvec_dup': cvec.h:130: error: 'for' loop initial declaration used outside C99 mode socket.c: In function 'job_manifest_socket_open': socket.c:77: error: 'SOCK_CLOEXEC' undeclared (first use in this function) socket.c:77: error: (Each undeclared identifier is reported only once socket.c:77: error: for each function it appears in.) In file included from manifest.h:24, from job.h:26, from manager.h:20, from timer.c:29: cvec.h: In function 'cvec_dup': cvec.h:130: error: 'for' loop initial declaration used outside C99 mode *** [launchd] Error code 1 Stop in /wrkdirs/usr/ports/sysutils/relaunchd/work/relaunchd-0.3.0. *** [do-build] Error code 1 Stop in /usr/ports/sysutils/relaunchd. -- You are receiving this mail because: You are the assignee for the bug.