From owner-freebsd-pkg@freebsd.org Sun Feb 4 02:07:44 2018 Return-Path: Delivered-To: freebsd-pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0F2CBEDDF48 for ; Sun, 4 Feb 2018 02:07:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8010386F1C for ; Sun, 4 Feb 2018 02:07:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 3FBB4EDDF44; Sun, 4 Feb 2018 02:07:43 +0000 (UTC) Delivered-To: pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1B20AEDDF43 for ; Sun, 4 Feb 2018 02:07:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8F6B186F0B for ; Sun, 4 Feb 2018 02:07:42 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 9F11D16B18 for ; Sun, 4 Feb 2018 02:07:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w1427ft9066205 for ; Sun, 4 Feb 2018 02:07:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1427fnj066204 for pkg@FreeBSD.org; Sun, 4 Feb 2018 02:07:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 224217] [patch] Fix cross build of base/ ports Date: Sun, 04 Feb 2018 02:07:40 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Feb 2018 02:07:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224217 --- Comment #17 from Mark Millard --- (In reply to Mark Millard from comment #16) Looks like I should have noted that I already had a perl in place: checking for perl... /usr/local/bin/perl This might go along with devel/bison and devel/gmake as possibly required --but possibly not automatically built if missing. I should have shown that hostname and urlget also got the pthread_create notice: --- hostname --- /wrkdirs/usr/ports/devel/gettext-tools/work/gettext-0.19.8.1/gettext-tools/= intl/.libs/libintl.so: undefined reference to `pthread_create' collect2: error: ld returned 1 exit status *** [hostname] Error code 1 make[11]: stopped in /wrkdirs/usr/ports/devel/gettext-tools/work/gettext-0.19.8.1/gettext-tools/= src --- urlget --- /wrkdirs/usr/ports/devel/gettext-tools/work/gettext-0.19.8.1/gettext-tools/= intl/.libs/libintl.so: undefined reference to `pthread_create' collect2: error: ld returned 1 exit status *** [urlget] Error code 1 make[11]: stopped in /wrkdirs/usr/ports/devel/gettext-tools/work/gettext-0.19.8.1/gettext-tools/= src One odd thing that I saw in the output was: (note the "Unable to load interpreter" and the long command text but still getting a yes) checking whether the C++ compiler (/usr/local/bin/powerpc64-unknown-freebsd12.0-g++ -O2 -pipe --sysroot=3D/usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils -isy= stem /usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils/usr/include -DLIBICONV_PLUG -g -fstack-protector -fno-strict-aliasing=20 --sysroot=3D/usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils -isy= stem /usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils/usr/include -isy= stem /usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils/usr/include/c++/= v1 -nostdinc++ -DLIBICONV_PLUG=20 --sysroot=3D/usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils -fstack-protector) works... Unable to load interpreter yes But its later "checking" that referenced /usr/local/bin/powerpc64-unknown-freebsd12.0-g++ seemed to go okay. Note: /wrkdirs is from my /etc/make.conf having: WRKDIRPREFIX?=3D/wrkdirs --=20 You are receiving this mail because: You are on the CC list for the bug.=