From owner-svn-ports-head@freebsd.org Sun Jul 26 09:02:00 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 699483A2025; Sun, 26 Jul 2020 09:02:00 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BDxlD1gmfz4Hfj; Sun, 26 Jul 2020 09:02:00 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1D10CA78D; Sun, 26 Jul 2020 09:02:00 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 06Q91xS9085882; Sun, 26 Jul 2020 09:01:59 GMT (envelope-from mandree@FreeBSD.org) Received: (from mandree@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 06Q91x24085881; Sun, 26 Jul 2020 09:01:59 GMT (envelope-from mandree@FreeBSD.org) Message-Id: <202007260901.06Q91x24085881@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mandree set sender to mandree@FreeBSD.org using -f From: Matthias Andree Date: Sun, 26 Jul 2020 09:01:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r543455 - head/security/openvpn-auth-ldap/files X-SVN-Group: ports-head X-SVN-Commit-Author: mandree X-SVN-Commit-Paths: head/security/openvpn-auth-ldap/files X-SVN-Commit-Revision: 543455 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2020 09:02:00 -0000 Author: mandree Date: Sun Jul 26 09:01:59 2020 New Revision: 543455 URL: https://svnweb.freebsd.org/changeset/ports/543455 Log: security/openvpn-auth-ldap: try to fix head fallout from -export-dynamic The option is a linker option but is passed to cc verbatim, and this causes fallout complaints on head i386 (13): --- lemon --- cc -o lemon lemon.o -export-dynamic ld: warning: cannot find entry symbol xport-dynamic; defaulting to 0x4049B0 ===> making all in src --- all --- --- auth-ldap.o --- cc -fPIC -O2 -pipe -fPIC -fstack-protector-strong -DLDAP_DEPRECATED -fno-strict-aliasing -Wno-import -L/usr/local/lib -I/usr/local/include -fPIC -I/usr/local/include -D_THREAD_SAFE -fobjc-exceptions -fno-strict-aliasing -O2 -pipe -fPIC -fstack-protector-strong -DLDAP_DEPRECATED -fno-strict-aliasing -DHAVE_CONFIG_H -Wall -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -c auth-ldap.m -o auth-ldap.o -I. -I../src -I.. -I../src -I. -I../tests -I../tests --- TRConfigParser.m --- ./tools/lemon -T../tools/lempar.c -m -q TRConfigParser.lemon -OTRConfigParser.m Segmentation fault (core dumped) *** [TRConfigParser.m] Error code 139 NOTE! With devel/check exactly at 0.15.1, this fails to build due to a regression in check 0.15.1. 0.15.0 is fine, and the bug is reported here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248274 (FreeBSD) https://github.com/libcheck/check/issues/293 (upstream) http://beefy17.nyi.freebsd.org/data/head-i386-default/p543393_s363499/logs/openvpn-auth-ldap-2.0.4.log This is more fallout to permit narrowing down failures: =>> Building security/openvpn-auth-ldap build started at Sun Jul 26 01:01:36 UTC 2020 port directory: /usr/ports/security/openvpn-auth-ldap package name: openvpn-auth-ldap-2.0.4 building for: FreeBSD head-i386-default-job-12 13.0-CURRENT FreeBSD 13.0-CURRENT 1300101 i386 maintained by: mandree@FreeBSD.org Makefile ident: $FreeBSD: head/security/openvpn-auth-ldap/Makefile 527679 2020-03-03 15:11:46Z mat $ Poudriere version: 3.2.8-5-gc81843e5 Host OSVERSION: 1300100 Jail OSVERSION: 1300101 Job Id: 12 !!! Jail is newer than host. (Jail: 1300101, Host: 1300100) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/csh UNAME_p=i386 UNAME_m=i386 OSVERSION=1300101 UNAME_v=FreeBSD 13.0-CURRENT 1300101 UNAME_r=13.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.8-5-gc81843e5 MASTERMNT=/usr/local/poudriere/data/.m/head-i386-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=head-i386-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- Added: head/security/openvpn-auth-ldap/files/patch-platform.m4 (contents, props changed) Added: head/security/openvpn-auth-ldap/files/patch-platform.m4 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/openvpn-auth-ldap/files/patch-platform.m4 Sun Jul 26 09:01:59 2020 (r543455) @@ -0,0 +1,11 @@ +--- platform.m4.orig 2018-07-26 20:17:21 UTC ++++ platform.m4 +@@ -97,7 +97,7 @@ AC_DEFUN(OD_CONFIG_PLUGIN, [ + PLUGIN_LD="${CC} -shared" + PLUGIN_LD_FLAGS="" + PLUGIN_SUFFIX=".so" +- LDFLAGS="-export-dynamic" ++ LDFLAGS="-rdynamic" + ;; + esac +