From owner-freebsd-current@freebsd.org Sat Mar 14 17:14:19 2020 Return-Path: Delivered-To: freebsd-current@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 037F525F389 for ; Sat, 14 Mar 2020 17:14:19 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48fq164y95z4fNc; Sat, 14 Mar 2020 17:14:18 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 6CF4D1F672; Sat, 14 Mar 2020 17:14:18 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:470:7a58::8491:7c47:a5ce:39ed] (unknown [IPv6:2001:470:7a58:0:8491:7c47:a5ce:39ed]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 2812E2D4EA; Sat, 14 Mar 2020 18:14:17 +0100 (CET) From: Dimitry Andric Message-Id: Content-Type: multipart/signed; boundary="Apple-Mail=_CC300B32-F14F-44F1-88FB-C65412C7024E"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Build failed compiling ittnotify_static.pico Date: Sat, 14 Mar 2020 18:14:08 +0100 In-Reply-To: <20200314162429.GA47907@kloomba> Cc: waitman@waitman.net, FreeBSD Current To: Roman Bogorodskiy References: <20200313205706.GD1053@rancor.immure.com> <8740b5f9fef5ce417ea8968543de2992@waitman.net> <14a5e39b65511d7ab4ffe370717d57e5@waitman.net> <20200314162429.GA47907@kloomba> X-Mailer: Apple Mail (2.3445.104.11) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Mar 2020 17:14:19 -0000 --Apple-Mail=_CC300B32-F14F-44F1-88FB-C65412C7024E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 14 Mar 2020, at 17:24, Roman Bogorodskiy wrote: >=20 > Dimitry Andric wrote: >> On 13 Mar 2020, at 23:58, Waitman Gobble wrote: >>>=20 >>> On 2020-03-13 17:49, Waitman Gobble wrote: >>>> On 2020-03-13 16:57, Bob Willcox wrote: >> ... >>>>> cc: error: no such file or directory: >>>>> = '/usr/src/contrib/llvm-project/openmp/runtime/src/thirdparty/ittnotify/itt= notify_static.c' >>>>> cc: error: no input files >>>>> *** [ittnotify_static.pico] Error code 1 >>>>> Anyone else seeing this? Any suggestions for a fix? >>>>> Thanks, >>>>> Bob >>>> I've been getting the same thing since yesterday. I think the file = is actually >>>> ittnotify_static.cpp >>>=20 >>>=20 >>> This is supposed to handle the rename, for some reason it's not = happening on my machine. >>>=20 >>> Makefile.inc1 >>>=20 >>> # 20200310 r358851 rename of openmp's ittnotify_static.c to .cpp >>> .for f in ittnotify_static >>> @if [ -e "${OBJTOP}/lib/libomp/.depend.${f}.pico" ] && \ >>> egrep -qw '${f}\.c' = ${OBJTOP}/lib/libomp/.depend.${f}.pico; then \ >>> echo "Removing stale dependencies for ${f}"; \ >>> rm -f ${OBJTOP}/lib/libomp/.depend.${f}.* \ >>> ${OBJTOP}/obj-lib32/lib/libomp/.depend.${f}.* \ >>> = ${LIBCOMPAT:D${LIBCOMPAT_OBJTOP}/lib/libomp/.depend.${f}.*}; \ >>> fi >>> .endfor >>=20 >> Hm, so during your buildworld, does it show "Removing stale = dependencies >> for ittnotify_static" or not? And is the .depend file there? Can = you >> check /usr/obj for the file .depend.ittnotify_static.pico, and list = its >> permissions? >>=20 >> -Dimitry >>=20 >=20 > I have the same issue updating one of my poudriere jails. > I don't see "Removing stale dependencies ..." messages. >=20 > I see a couple of ittnotify_static related messages: >=20 > make[5]: = /usr/obj/workspace/poudriere/jails/current/usr/src/amd64.amd64/obj-lib32/l= ib/libomp/.depend.ittnotify_static.pico, 43: ignoring stale .depend for = /workspace/poudriere/jails/current/usr/src/contrib/openmp/runtime/src/thir= dparty/ittnotify/ittnotify_static.c > ... > make[5]: = /usr/obj/workspace/poudriere/jails/current/usr/src/amd64.amd64/obj-lib32/l= ib/libomp/.depend.ittnotify_static.pico, 43: ignoring stale .depend for = /workspace/poudriere/jails/current/usr/src/contrib/openmp/runtime/src/thir= dparty/ittnotify/ittnotify_static.h These are for the 32-bit stage. The initial fix I committed in r358907 worked for the main buildword stage, but apparently not for the 32-bit stage, which stores its object files in a slightly different directory (e.g. the obj-lib32 subpath). Ed Maste tried to fix that up in r358909, but maybe it does not work in all situations, for example with custom MAKEOBJDIRPREFIX settings? > $ ls -al = /usr/obj/workspace/poudriere/jails/current/usr/src/amd64.amd64/lib/libomp/= .depend.ittnotify_static.pico > -rw-r--r-- 1 root wheel 6565 Mar 14 19:30 = /usr/obj/workspace/poudriere/jails/current/usr/src/amd64.amd64/lib/libomp/= .depend.ittnotify_static.pico What is in the first two lines of that file? -Dimitry --Apple-Mail=_CC300B32-F14F-44F1-88FB-C65412C7024E Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCXm0Q4AAKCRCwXqMKLiCW o8W6AKCWCH2f6qOjD7hS9JpVxHECOcftEACgh+f3fzX9kuxTx0J14Di6trsPbjE= =T5gb -----END PGP SIGNATURE----- --Apple-Mail=_CC300B32-F14F-44F1-88FB-C65412C7024E--