From owner-freebsd-ports-bugs@freebsd.org Mon Dec 26 00:42:33 2016 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 D7681C8ED8E for ; Mon, 26 Dec 2016 00:42:33 +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 BC5ABAD5 for ; Mon, 26 Dec 2016 00:42:33 +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 uBQ0gXCm090556 for ; Mon, 26 Dec 2016 00:42:33 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 215561] ports-mgmt/poudriere-devel: -r428604: -m src= gets "sh: cc: not found" Date: Mon, 26 Dec 2016 00:42:33 +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: markmi@dsl-only.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bdrewery@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: 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-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Dec 2016 00:42:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215561 Bug ID: 215561 Summary: ports-mgmt/poudriere-devel: -r428604: -m src=3D gets "sh: cc: not found" Product: Ports & Packages Version: Latest Hardware: powerpc OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: bdrewery@FreeBSD.org Reporter: markmi@dsl-only.net Flags: maintainer-feedback?(bdrewery@FreeBSD.org) Assignee: bdrewery@FreeBSD.org [I doubt that this is powerpc64 specific but that is the context I'm working in. A devel/powerpc64-gcc based on gcc 5.3.0 built the world and kernel that is in use, libc++ based. It is possible that I'm mixing more than one issue together below. I extracted some material from logged sh -x output.] Despite: # cc --version FreeBSD clang version 3.9.0 (tags/RELEASE_390/final 280324) (based on LLVM 3.9.0) Target: powerpc64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin The following (the odd form of the command is from trying to explore the failure of a more normal command): # sh -x `which poudriere` -x jail -c -m src=3D/usr/src -J 4 -v head@309656 = -j 12C_powerpc64 gets during installworld: sh: cc: not found make[2]: "/usr/src/share/mk/bsd.compiler.mk" line 145: Unable to determine compiler type for CC=3Dcc -isystem /usr/obj/powerpc64vtsc_clang_altbinutils_world/powerpc.powerpc64/usr/src/tm= p/usr/include -L/usr/obj/powerpc64vtsc_clang_altbinutils_world/powerpc.powerpc64/usr/src/= tmp/usr/lib -B/usr/obj/powerpc64vtsc_clang_altbinutils_world/powerpc.powerpc64/usr/src/= tmp/usr/lib --sysroot=3D/usr/obj/powerpc64vtsc_clang_altbinutils_world/powerpc.powerpc6= 4/usr/src/tmp -B/usr/obj/powerpc64vtsc_clang_altbinutils_world/powerpc.powerpc64/usr/src/= tmp/usr/bin. Consider setting COMPILER_TYPE. *** Error code 1 But even if COMPILER_TYPE was defined the jail is using: + jset 12C_powerpc64 mnt /usr/local/poudriere/jails/12C_powerpc64 which has no cc available inside it at the time. Nor would the: + cpdup -i0 -X /tmp/cpignore.cGd2WOOW /usr/src /usr/local/poudriere/jails/12C_powerpc64/usr/src populate it with such. So the eventual: + export 'TARGET=3Dpowerpc' + export 'TARGET_ARCH=3Dpowerpc64' + export 'WITH_FAST_DEPEND=3Dyes' + installworld which in turn does: + make -C /usr/src installworld 'DESTDIR=3D/usr/local/poudriere/jails/12C_powerpc64' 'DB_FROM_SRC=3D1' has no cc to put to use --and no prior src.conf or make.conf handling that can contribute anything to the installworld. [src.conf is only handled in build_and_install_world().] In other words: as far as I can tell -m src=3D for the ports-mgmt/poudriere-devel based jail -c when mixed with the modern system build environment is broken: it needs but does not have cc available as at least one blocking issue. (I've not tried a work around to see what might be next for problems for -m src=3D use.) Context: # uname -apKU FreeBSD FBSDG5L 12.0-CURRENT FreeBSD 12.0-CURRENT #2 r309656M: Tue Dec 6 21:15:55 PST 2016=20=20=20=20 markmi@FreeBSDx64:/usr/obj/powerpc64vtsc_xtoolchain_kernel/powerpc.powerpc6= 4/usr/src/sys/GENERIC64vtsc-NODBG powerpc powerpc64 1200017 1200017 # svnlite info /usr/ports/ | grep "Re[plv]" Relative URL: ^/head Repository Root: https://svn0.us-west.freebsd.org/ports Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5 Revision: 428604 Last Changed Rev: 428604 + file=3D/usr/local/etc/poudriere.d/12C_powerpc64-poudriere.conf + [ -r /usr/local/etc/poudriere.d/12C_powerpc64-poudriere.conf ] + . /usr/local/etc/poudriere.d/12C_powerpc64-poudriere.conf + NO_ZFS=3Dyes + FREEBSD_HOST=3Dftp://ftp.freebsd.org + RESOLV_CONF=3D/etc/resolv.conf + BASEFS=3D/usr/local/poudriere + USE_PORTLINT=3Dno + USE_TMPFS=3Dyes + DISTFILES_CACHE=3D/usr/ports/distfiles + SVN_HOST=3Dsvn.FreeBSD.org + CHECK_CHANGED_OPTIONS=3Dverbose + CHECK_CHANGED_DEPS=3Dyes + SAVE_WRKDIR=3Dyes + BUILDER_HOSTNAME=3DFBSDG5L + PRESERVE_TIMESTAMP=3Dyes + export 'MAKEOBJDIRPREFIX=3D/usr/obj/powerpc64vtsc_clang_altbinutils_world/powerpc.= powerpc64' (The usage of MAKEOBJDIRPREFIX=3D in such a place was not clear from the documentation but with my multiple variations for builds from the same source I name them more explicitly.) --=20 You are receiving this mail because: You are the assignee for the bug.=