From owner-freebsd-current@freebsd.org Sun Mar 15 01:17:27 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 33B71269DBE for ; Sun, 15 Mar 2020 01:17:27 +0000 (UTC) (envelope-from bogorodskiy@gmail.com) Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48g1kZ6QGHz418D; Sun, 15 Mar 2020 01:17:26 +0000 (UTC) (envelope-from bogorodskiy@gmail.com) Received: by mail-lj1-x241.google.com with SMTP id u12so14730176ljo.2; Sat, 14 Mar 2020 18:17:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=7jGVgUilXfvcWY0FUiNpSom1tJYS8AkJSWVfo3gfihk=; b=S+NWRhXcAGIr4nnNnMjvFfe1/nEuINg7FPT5VgqrUaPWJ0Nt7+aysP+iMcrayXePNX /TZDtwgQOWpJOrpKE7GtzkyG6e4/uTMNYZpBcYpxMjrN4EocqkgFpJ+MFk6NMZuEWIFQ dn4HnLdbLOB2ZebbjI6m7MG1hC/2pzn77JioZBMetWMyTtrCTfOg24jxuIfYW2Gjy7YO 0HfRQgfR06nmqkzbJM51eLs0KrmgpcgoSYY5R19oXD01DWJKrFYVo2UZuS9Co1C0rnME Kl0SXrBdpqICEc/ipBA09wSK+REISF6zBxAmmSY1yGhdSes+f76tmd4TKo9fv5jZux9+ GPaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=7jGVgUilXfvcWY0FUiNpSom1tJYS8AkJSWVfo3gfihk=; b=fzgztn1OK/Ic7Oqn2m9K83t+FI6d4kHUW1CURLD1xcRCf69/bK2zqVG11Ujq+hW+v3 /UW9fouLXPjEh5G4aOKt0pkMoyBJQrVY7/hc/35z1KmfpDARxCf258T/DgvBfxTrrfsz sJejgXN8uGXow8+NvAXdgojkG/dgAWmQzxYNllv97KkWJKife09W+/Ergq6qf1LUyvaC Kjkk87yy+z7cLwkeklK0BUD2eaee2S4kAOlzOTSBLqB8lc5hiJcKamF6RQortYP9fUvg UZNDrTB8tC0zknwFy1AazxffyPZfiWUYxnSZemK6TXNRb+4nmSawgC1gVzQRtpO+CY2n 6k/A== X-Gm-Message-State: ANhLgQ3ksW0OwVK3vysfOf5U5nd49XyUufPMI+gYaBtzHrISBhdJBpyw EpMr1nbJQVofcA2HKppcVPFpKiU1CzU= X-Google-Smtp-Source: ADFU+vtBoOny6sDFhMkHqAIjGPwCMV1P72jLjz1H/ivbQzgOV4Z0DBd1kGSjMFd4P+e6q15oLmNrBQ== X-Received: by 2002:a05:651c:1114:: with SMTP id d20mr12088595ljo.103.1584235043961; Sat, 14 Mar 2020 18:17:23 -0700 (PDT) Received: from kloomba ([31.29.228.135]) by smtp.gmail.com with ESMTPSA id y6sm5343260lfy.38.2020.03.14.18.17.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Mar 2020 18:17:22 -0700 (PDT) Sender: Roman Bogorodskiy Date: Sun, 15 Mar 2020 05:17:18 +0400 From: Roman Bogorodskiy To: Dimitry Andric Cc: waitman@waitman.net, FreeBSD Current Subject: Re: Build failed compiling ittnotify_static.pico Message-ID: <20200315011718.GA1724@kloomba> References: <20200313205706.GD1053@rancor.immure.com> <8740b5f9fef5ce417ea8968543de2992@waitman.net> <14a5e39b65511d7ab4ffe370717d57e5@waitman.net> <20200314162429.GA47907@kloomba> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="rwEMma7ioTxnRzrJ" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 48g1kZ6QGHz418D X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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: Sun, 15 Mar 2020 01:17:27 -0000 --rwEMma7ioTxnRzrJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dimitry Andric wrote: > 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/ittnot= ify/ittnotify_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 i= s actually > >>>> ittnotify_static.cpp > >>>=20 > >>>=20 > >>> This is supposed to handle the rename, for some reason it's not happe= ning 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 dependenci= es > >> 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/lib/libomp/.depend.ittnotify_static.pico, 43: ignoring stale .de= pend for /workspace/poudriere/jails/current/usr/src/contrib/openmp/runtime/= src/thirdparty/ittnotify/ittnotify_static.c > > ... > > make[5]: /usr/obj/workspace/poudriere/jails/current/usr/src/amd64.amd64= /obj-lib32/lib/libomp/.depend.ittnotify_static.pico, 43: ignoring stale .de= pend for /workspace/poudriere/jails/current/usr/src/contrib/openmp/runtime/= src/thirdparty/ittnotify/ittnotify_static.h >=20 > 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). >=20 > Ed Maste tried to fix that up in r358909, but maybe it does not work in > all situations, for example with custom MAKEOBJDIRPREFIX settings? >=20 >=20 > > $ 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/poudrie= re/jails/current/usr/src/amd64.amd64/lib/libomp/.depend.ittnotify_static.pi= co >=20 > What is in the first two lines of that file? $ head -2 /usr/obj/workspace/poudriere/jails/current/usr/src/amd64.amd64/li= b/libomp/.depend.ittnotify_static.pico ittnotify_static.pico: \ /workspace/poudriere/jails/current/usr/src/contrib/llvm-project/openmp/ru= ntime/src/thirdparty/ittnotify/ittnotify_static.cpp \ $ > -Dimitry >=20 Roman Bogorodskiy --rwEMma7ioTxnRzrJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEi6TfKtFPmbY34ABwyW1f/gjCImoFAl5tghsACgkQyW1f/gjC Imo1nAf8CpEZV8Hj2QTeqpUve9kWuLF9Z9jCqHlMM9nqiK7QP65qIHlhh7HJvIOK X06xi5otb+Ht49UkX/Q57fW/BlBPS6Inx7rcYa5TtSvxpq7q1SX2DBCpUrEOYzoh PdXj0Oyy3JQx3N8CFiq18dB0vGB8ksIBSx7Qcn1YfQWxweduUH6GVwUNlshPpMHy vB3+CmoIjSs4rD5CBejruGdxzpphRHv4PbAKbnwctKtJoIARY1LRNUPvMW9LndzA rmY88sBZMzrFzwmIgzPZ/dJPfXyGQbDQoEaz1URT/hk6xhAWBEDv5xAeIYYYtDOB pXzL16t53pJWHzOXlgYD2BrET1LeJQ== =//NH -----END PGP SIGNATURE----- --rwEMma7ioTxnRzrJ--