NetBSD Problem Report #56456
From root@starwolf.com Sat Oct 16 08:08:40 2021
Return-Path: <root@starwolf.com>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id D63AD1A923A
for <gnats-bugs@gnats.NetBSD.org>; Sat, 16 Oct 2021 08:08:40 +0000 (UTC)
Message-Id: <20211016080839.2A7BC55B2@eddie.starwolf.com>
Date: Sat, 16 Oct 2021 01:08:39 -0700 (PDT)
From: greywolf@starwolf.com
Reply-To: greywolf@starwolf.com
To: gnats-bugs@NetBSD.org
Subject: build fails to build release with clang or x11
X-Send-Pr-Version: 3.95
>Number: 56456
>Category: port-amd64
>Synopsis: clang and x11 (which uses clang) releases will not build
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-amd64-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Oct 16 08:10:00 +0000 2021
>Last-Modified: Tue Nov 16 19:30:02 +0000 2021
>Originator: Greywolf <greywolf@starwolf.com>
>Release: NetBSD 9.99.88
>Organization:
>Environment:
System: NetBSD eddie.starwolf.com 9.99.88 NetBSD 9.99.88 (EDDIE) #16: Tue Aug 31 19:14:47 PDT 2021 greywolf@eddie.starwolf.com:/sys/arch/amd64/compile/EDDIE amd64
Architecture: x86_64
Machine: amd64
-- full envariables --
BSDSRCDIR=/usr/src
DESTDIR=/build/amd64/build
TOOLDIR=/build/amd64/tools
SHELL=/bin/bash
BUILD_MACHINE=amd64
BUILD_ARCH=x86_64
oCVSROOT=:pserver:greywolf@cvs:/export/repo/cvs
[less relevant below]
LESS=PAt ?pB%pB\%:byte %bB. of ?f%f:stdin. ?e(Done):(More\.\.\.).$esqwrF
type=-d
DCOLOR_PATH=/holt/greywolf/+libdata/+dmap
SSH_AUTH_SOCK=/tmp/ssh-RI6ob6wBHv/agent.23411
IRCNICK=[Wolf]
EDITOR=jove
RELEASEDIR=/build/amd64/release
PWD=/var/named/master
IRCSERVER=irc.starwolf.com
LOGNAME=greywolf
DOMAIN=starwolf.com
MANPATH=/build/amd64/tools/man:/usr/local/man:/usr/share/man
BSDCVS=:pserver:anoncvs@anoncvs.netbsd.org:/cvsroot
x=/build/amd64
CDPATH=:..:../..:/holt/greywolf:/sys:/usr/src:/holt/greywolf/+src
LINES=83
i=2
HOME=/root
OIFS=
EXINIT=so /holt/greywolf/.exrc
COLUMNS=274
BASE_TERM=xterm
IRCNAME=Wraukon the Excellent
MAKEOBJDIR=/build/amd64/obj
PKG_REPO_DIR=/space/repo/pkg/amd64-x86_64/All
SSH_CONNECTION=172.21.12.13 28609 172.21.12.11 2112
RCMD_CMD=ssh
MAKEFLAGS=
TERM=xterm
OTD=/build/amd64/tools
USER=greywolf
GIT_PAGER=cat
MORE=-s
SHLVL=2
CVS_RSH=ssh
IFS=
JOVE_TERM=rxvt
FORMAT=%3lR %3lU user %3lS system
PS3=Pick one of
aname=ary
PS4=+
BSDOBJDIR=/build/amd64/obj
MAILER=pine
XTERM_CONFDIR=/holt/greywolf/+libdata
PATH=/build/amd64/tools/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11/bin:/usr/X11/sbin:/usr/src/tools/bin:/root/bin:/holt/greywolf/+sbin:/root/bashmodules
BLOCKSIZE=1k
MAIL=/var/mail/greywolf
SSH_TTY=/dev/pts/0
SSLROOT=/root/SSL/admin
SVPATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11/bin:/usr/X11/sbin:/usr/src/tools/bin:/root/bin:/holt/greywolf/+sbin
SU_FROM=greywolf
CDROM=/dev/rcd0d
OLDPWD=/var/named
---- /etc/mk.conf ----
#
# mk.conf.
#
# updated 29 Sep 2021 greywolf@starwolf.com
.ifdef BSD_PKG_MK
# only for pkgsrc
LOCALBASE=/usr/local
.include "/etc/mk.conf.pkg"
.else
# for main system build
MKDYNAMICROOT=no
# build LVM tools and libraries
MKLVM=yes
SLOPPY_FLIST=yes
.endif # BSD_PKG_MK
>Description:
build.sh command: ./build.sh -a x86_64 -m amd64 -D /build/amd64/build -O /build/amd64/obj -R /build/amd64/release -T /build/amd64/tools -j18 -x release
This command fails to build a release. Also building a release
with -c clang fails to build. Looks like one or more files which
are supposed to be placed into the build tree are not getting placed there. Relevant part of the failure shown below.
--- Error.d ---
# create libLLVMObject/Error.d
CC=/build/amd64/tools/bin/x86_64--netbsd-c++ /build/amd64/tools/bin/nbmkdep -f Error.d.tmp -- -std=c++14 --sysroot=/build/amd64/build -I. -I/usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../dist/clang/include -I/usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../dist/llvm/include -I/build/amd64/obj/external/apache2/llvm/include -I/usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../config -I/usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../config /usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../dist/llvm/lib/Object/Error.cpp && mv -f Error.d.tmp Error.d
--- FaultMapParser.d ---
# create libLLVMObject/FaultMapParser.d
CC=/build/amd64/tools/bin/x86_64--netbsd-c++ /build/amd64/tools/bin/nbmkdep -f FaultMapParser.d.tmp -- -std=c++14 --sysroot=/build/amd64/build -I. -I/usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../dist/clang/include -I/usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../dist/llvm/include -I/build/amd64/obj/external/apache2/llvm/include -I/usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../config -I/usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../config /usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../dist/llvm/lib/Object/FaultMapParser.cpp && mv -f FaultMapParser.d.tmp FaultMapParser.d
--- IRObjectFile.d ---
# create libLLVMObject/IRObjectFile.d
CC=/build/amd64/tools/bin/x86_64--netbsd-c++ /build/amd64/tools/bin/nbmkdep -f IRObjectFile.d.tmp -- -std=c++14 --sysroot=/build/amd64/build -I. -I/usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../dist/clang/include -I/usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../dist/llvm/include -I/build/amd64/obj/external/apache2/llvm/include -I/usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../config -I/usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../config /usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../dist/llvm/lib/Object/IRObjectFile.cpp && mv -f IRObjectFile.d.tmp IRObjectFile.d
--- dependall-libLLVMipo ---
--- OpenMPOpt.pico ---
/build/amd64/tools/bin/x86_64--netbsd-objcopy -x OpenMPOpt.pico
--- dependall-libLLVMObject ---
--- IRSymtab.d ---
# create libLLVMObject/IRSymtab.d
CC=/build/amd64/tools/bin/x86_64--netbsd-c++ /build/amd64/tools/bin/nbmkdep -f IRSymtab.d.tmp -- -std=c++14 --sysroot=/build/amd64/build -I. -I/usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../dist/clang/include -I/usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../dist/llvm/include -I/build/amd64/obj/external/apache2/llvm/include -I/usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../config -I/usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../config /usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../dist/llvm/lib/Object/IRSymtab.cpp && mv -f IRSymtab.d.tmp IRSymtab.d
--- MachOObjectFile.d ---
# create libLLVMObject/MachOObjectFile.d
CC=/build/amd64/tools/bin/x86_64--netbsd-c++ /build/amd64/tools/bin/nbmkdep -f MachOObjectFile.d.tmp -- -std=c++14 --sysroot=/build/amd64/build -I. -I/usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../dist/clang/include -I/usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../dist/llvm/include -I/build/amd64/obj/external/apache2/llvm/include -I/usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../config -I/usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../config /usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../dist/llvm/lib/Object/MachOObjectFile.cpp && mv -f MachOObjectFile.d.tmp MachOObjectFile.d
--- dependall-libLLVMipo ---
--- StripDeadPrototypes.pico ---
/build/amd64/tools/bin/x86_64--netbsd-objcopy -x StripDeadPrototypes.pico
--- dependall-libLLVMMC ---
--- MCCodeEmitter.pico ---
# compile libLLVMMC/MCCodeEmitter.pico
/build/amd64/tools/bin/x86_64--netbsd-c++ -frandom-seed=3086e98e -O2 -Werror -Wno-error=init-list-lifetime -fPIE -std=c++14 -fno-rtti -fno-exceptions -fno-strict-aliasing -ffunction-sections -fdata-sections --sysroot=/build/amd64/build -I. -I/usr/src/external/apache2/llvm/librt/libLLVMMC/../../lib/../dist/clang/include -I/usr/src/external/apache2/llvm/librt/libLLVMMC/../../lib/../dist/llvm/include -I/build/amd64/obj/external/apache2/llvm/include -I/usr/src/external/apache2/llvm/librt/libLLVMMC/../../lib/../config -I/usr/src/external/apache2/llvm/librt/libLLVMMC/../../lib/../config -c -fPIC /usr/src/external/apache2/llvm/librt/libLLVMMC/../../lib/../dist/llvm/lib/MC/MCCodeEmitter.cpp -o MCCodeEmitter.pico
/build/amd64/tools/bin/x86_64--netbsd-objcopy -x MCCodeEmitter.pico
--- MCCodeView.pico ---
# compile libLLVMMC/MCCodeView.pico
/build/amd64/tools/bin/x86_64--netbsd-c++ -frandom-seed=705011f8 -O2 -Werror -Wno-error=init-list-lifetime -fPIE -std=c++14 -fno-rtti -fno-exceptions -fno-strict-aliasing -ffunction-sections -fdata-sections --sysroot=/build/amd64/build -I. -I/usr/src/external/apache2/llvm/librt/libLLVMMC/../../lib/../dist/clang/include -I/usr/src/external/apache2/llvm/librt/libLLVMMC/../../lib/../dist/llvm/include -I/build/amd64/obj/external/apache2/llvm/include -I/usr/src/external/apache2/llvm/librt/libLLVMMC/../../lib/../config -I/usr/src/external/apache2/llvm/librt/libLLVMMC/../../lib/../config -c -fPIC /usr/src/external/apache2/llvm/librt/libLLVMMC/../../lib/../dist/llvm/lib/MC/MCCodeView.cpp -o MCCodeView.pico
--- dependall-libLLVMObject ---
--- IRSymtab.d ---
/usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../dist/llvm/lib/Object/IRSymtab.cpp:34:10: fatal error: llvm/Support/VCSRevision.h: No such file or directory
34 | #include "llvm/Support/VCSRevision.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
nbmkdep: compile failed.
*** Failed target: IRSymtab.d
*** Failed commands:
${_MKTARGET_CREATE}
${MKDEPCXX} -f ${.TARGET}.tmp ${_MKDEP_FILEFLAGS} -- ${MKDEPFLAGS} ${CXXFLAGS:M-std=*} ${CXXFLAGS:C/-([IDU])[ ]*/-\1/Wg:M-[IDU]*} ${CPPFLAGS:N-Wp,-iremap,*} ${COPTS.${.IMPSRC:T}} ${CPUFLAGS.${.IMPSRC:T}} ${CPPFLAGS.${.IMPSRC:T}} ${.IMPSRC} && ${MV} ${.TARGET}.tmp ${.TARGET}
*** [IRSymtab.d] Error code 1
nbmake[7]: stopped in /usr/src/external/apache2/llvm/librt/libLLVMObject
*** Failed target: dependall-../external/apache2/llvm/librt
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="lib/"; real="/usr/src/lib" ;; *) this="lib/${dir}/"; real="/usr/src/lib/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /build/amd64/tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget ../external/apache2/llvm/librt dependall
*** Error code 6
Stop.
nbmake[5]: stopped in /usr/src/lib
*** Failed target: build_install
*** Failed commands:
${MAKEDIRTARGET} . ${SUBDIR_GROUP.${:U1}:C/^/dependall-/}
${MAKEDIRTARGET} . ${SUBDIR_GROUP.${:U1}:C/^/install-/}
${MAKEDIRTARGET} . ${SUBDIR_GROUP.${:U11}:C/^/dependall-/}
${MAKEDIRTARGET} . ${SUBDIR_GROUP.${:U11}:C/^/install-/}
${MAKEDIRTARGET} . ${SUBDIR_GROUP.${:U111}:C/^/dependall-/}
${MAKEDIRTARGET} . ${SUBDIR_GROUP.${:U111}:C/^/install-/}
${MAKEDIRTARGET} . ${SUBDIR_GROUP.${:U1111}:C/^/dependall-/}
${MAKEDIRTARGET} . ${SUBDIR_GROUP.${:U1111}:C/^/install-/}
${MAKEDIRTARGET} . ${SUBDIR_GROUP.${:U11111}:C/^/dependall-/}
${MAKEDIRTARGET} . ${SUBDIR_GROUP.${:U11111}:C/^/install-/}
${MAKEDIRTARGET} . ${SUBDIR_GROUP.${:U111111}:C/^/dependall-/}
${MAKEDIRTARGET} . ${SUBDIR_GROUP.${:U111111}:C/^/install-/}
${MAKEDIRTARGET} . ${SUBDIR_GROUP.${:U1111111}:C/^/dependall-/}
${MAKEDIRTARGET} . ${SUBDIR_GROUP.${:U1111111}:C/^/install-/}
${MAKEDIRTARGET} . ${SUBDIR_GROUP.${:U11111111}:C/^/dependall-/}
${MAKEDIRTARGET} . ${SUBDIR_GROUP.${:U11111111}:C/^/install-/}
${MAKEDIRTARGET} . ${SUBDIR_GROUP.${:U111111111}:C/^/dependall-/}
${MAKEDIRTARGET} . ${SUBDIR_GROUP.${:U111111111}:C/^/install-/}
*** [build_install] Error code 1
nbmake[4]: stopped in /usr/src/lib
1 error
nbmake[4]: stopped in /usr/src/lib
nbmake[3]: stopped in /usr/src
nbmake[2]: stopped in /usr/src
nbmake[1]: stopped in /usr/src
nbmake: stopped in /usr/src
ERROR: Failed to make release
*** BUILD ABORTED ***
>How-To-Repeat:
Set the following variables; adjust paths as necessary. See also the
environment variables set above, again adjust paths as necessary.
MACHINE=amd64
MACHINE_ARCH=x86_64
MAKEOBJDIR=/build/amd64/obj
DESTDIR=/build/amd64/build
RELEASEDIR=/build/amd64/release
PATH=/build/amd64/tools/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11/bin:/usr/X11/sbin:/usr/src/tools/bin:/root/bin
MANPATH=/build/amd64/tools/man:/usr/local/man:/usr/share/man
BSDSRCDIR=/usr/src
BSDOBJDIR=/build/amd64/obj
BUILDROOT=/build
TOOLDIR=/build/amd64/tools
BUILD_MACHINE=amd64
BUILD_ARCH=x86_64
cd to your source directory.
Run the build.sh command:
./build.sh -a x86_64 -m amd64 -D /build/amd64/build -O /build/amd64/obj -R /build/amd64/release -T /build/amd64/tools -j18 -x release
My failure shows up whether or not whichever of the MACHINE/MACHINE_ARCH or BUILD_MACHINE/BUILD_ARCH or -a or -x
are unnecessarily set (so I have been told) or unset.
I would *really* like to get an X11-inclusive release built.
Apologies for the length of this PR.
>Fix:
Unknown but I would dearly love to know.
>Audit-Trail:
From: Greywolf <greywolf@starwolf.com>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: port-amd64/56456: build fails to build release with clang or x11
Date: Mon, 15 Nov 2021 18:25:07 -0800
On 10/16/2021 1:10, gnats-admin@netbsd.org wrote:
> Thank you very much for your problem report.
> It has the internal identification `port-amd64/56456'.
> The individual assigned to look at your
> report is: port-amd64-maintainer.
>
>> Category: port-amd64
>> Responsible: port-amd64-maintainer
>> Synopsis: clang and x11 (which uses clang) releases will not build
>> Arrival-Date: Sat Oct 16 08:10:00 +0000 2021
Hiyas!
I have found a workaround for this issue!
Problem:
The file:
/usr/src/external/apache2/llvm/dist/llvm/include/llvm/Support/VCSRevision.h
is missing and does not show up on a cvs update. This leads to the command:
===> build.sh command: ./build.sh -a x86_64 -m amd64 -D
/build/amd64/build -O /build/amd64/obj -R /build/amd64/release -T
/build/amd64/tools -j12 -x build
ultimately failing with:
--- IRSymtab.d ---
# create libLLVMObject/IRSymtab.d
CC=/build/amd64/tools/bin/x86_64--netbsd-c++
/build/amd64/tools/bin/nbmkdep -f IRSymtab.d.tmp -- -std=c++14
--sysroot=/build/amd64/build -I.
-I/usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../dist/clang/include
-I/usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../dist/llvm/include
-I/build/amd64/obj/external/apache2/llvm/include
-I/usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../config
-I/usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../config
/usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../dist/llvm/lib/Object/IRSymtab.cpp
&& mv -f IRSymtab.d.tmp IRSymtab.d
/usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../dist/llvm/lib/Object/IRSymtab.cpp:34:10:
fatal error: llvm/Support/VCSRevision.h: No such file or directory
34 | #include "llvm/Support/VCSRevision.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
nbmkdep: compile failed.
Workaround:
# cd /usr/src/external/apache2/llvm/dist/llvm/include/llvm/Support
# ln -sf ../../../../../include/llvm/Support/VCSRevision.h .
Solution:
The solution would be to insure that VCSRevision.sh ends up in the
right place.
You may mark this closed, or you might want to leave it open until this is
actually fixed. Please note that neither a CVS fresh pull nor a CVS
update seem to fix this problem.
Please, also point port-amd64/54569 to this bug and close the former.
Thank you!
--*greywolf;
From: Christos Zoulas <christos@zoulas.com>
To: gnats-bugs@netbsd.org
Cc: port-amd64-maintainer@netbsd.org,
gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org,
greywolf@starwolf.com
Subject: Re: port-amd64/56456: build fails to build release with clang or x11
Date: Tue, 16 Nov 2021 00:15:18 -0500
--Apple-Mail=_A8470F42-B8EC-46BA-B126-4E2DC9953BFC
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=us-ascii
I've seen that before. It is probably caused by the include files being =
installed without objdirs and then using objdirs.
1. Remove all objdirs
2. Run make cleandir
3, Run make includes
4. check that the include file has been installed in the right place.
Best,
christos
--Apple-Mail=_A8470F42-B8EC-46BA-B126-4E2DC9953BFC
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-----
Comment: GPGTools - http://gpgtools.org
iF0EARECAB0WIQS+BJlbqPkO0MDBdsRxESqxbLM7OgUCYZM+ZgAKCRBxESqxbLM7
OpQtAKDerKedcvBe59EtWmZA0TCtyu9fjwCeL80/qGIxLcy13ail3OloukUVXIQ=
=aSaw
-----END PGP SIGNATURE-----
--Apple-Mail=_A8470F42-B8EC-46BA-B126-4E2DC9953BFC--
From: Christos Zoulas <christos@zoulas.com>
To: gnats-bugs@netbsd.org
Cc: port-amd64-maintainer@netbsd.org,
gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org,
greywolf@starwolf.com
Subject: Re: port-amd64/56456: build fails to build release with clang or x11
Date: Tue, 16 Nov 2021 00:33:20 -0500
--Apple-Mail=_9E833534-6682-47D1-90C2-7E5D65C4B7D8
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=us-ascii
I forgot 2b. run make obj
christos
> On Nov 16, 2021, at 12:15 AM, Christos Zoulas <christos@zoulas.com> =
wrote:
>=20
> Signed PGP part
> I've seen that before. It is probably caused by the include files =
being installed without objdirs and then using objdirs.
> 1. Remove all objdirs
> 2. Run make cleandir
> 3, Run make includes
> 4. check that the include file has been installed in the right place.
>=20
> Best,
>=20
> christos
>=20
> <sanitizer.log>
--Apple-Mail=_9E833534-6682-47D1-90C2-7E5D65C4B7D8
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-----
Comment: GPGTools - http://gpgtools.org
iF0EARECAB0WIQS+BJlbqPkO0MDBdsRxESqxbLM7OgUCYZNCoAAKCRBxESqxbLM7
On14AJ9R5OQwnE+BOS3yO1oTHb02SMUnEACeJLON7X3/tH1ZWRtlrUI8vff/PXs=
=EJa6
-----END PGP SIGNATURE-----
--Apple-Mail=_9E833534-6682-47D1-90C2-7E5D65C4B7D8--
From: Joerg Sonnenberger <joerg@bec.de>
To: gnats-bugs@netbsd.org
Cc: port-amd64-maintainer@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org, greywolf@starwolf.com
Subject: Re: port-amd64/56456: build fails to build release with clang or x11
Date: Tue, 16 Nov 2021 15:04:02 +0100
On Tue, Nov 16, 2021 at 02:30:03AM +0000, Greywolf wrote:
> The following reply was made to PR port-amd64/56456; it has been noted by GNATS.
>
> From: Greywolf <greywolf@starwolf.com>
> To: gnats-bugs@netbsd.org
> Cc:
> Subject: Re: port-amd64/56456: build fails to build release with clang or x11
> Date: Mon, 15 Nov 2021 18:25:07 -0800
>
> On 10/16/2021 1:10, gnats-admin@netbsd.org wrote:
> > Thank you very much for your problem report.
> > It has the internal identification `port-amd64/56456'.
> > The individual assigned to look at your
> > report is: port-amd64-maintainer.
> >
> >> Category: port-amd64
> >> Responsible: port-amd64-maintainer
> >> Synopsis: clang and x11 (which uses clang) releases will not build
> >> Arrival-Date: Sat Oct 16 08:10:00 +0000 2021
>
> Hiyas!
>
> I have found a workaround for this issue!
>
> Problem:
> The file:
>
> /usr/src/external/apache2/llvm/dist/llvm/include/llvm/Support/VCSRevision.h
>
> is missing and does not show up on a cvs update. This leads to the command:
Of course it doesn't show up with cvs update. It is not and never was
part of the repository. The file is created dynamically in
llvm/include's objdir. I don't know what you are doing wrong locally as
it works elsewhere. The typical candidates are objdir pollutions.
Joerg
From: Greywolf <greywolf@starwolf.com>
To: gnats-bugs@netbsd.org, port-amd64-maintainer@netbsd.org,
gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Cc:
Subject: Re: port-amd64/56456: build fails to build release with clang or x11
Date: Tue, 16 Nov 2021 11:26:02 -0800
Hi, Joerg, Christos, thank you for your replies!
I figured it was something I wasn't doing correctly, somehow, but I couldn't
seem to get it to resolve even on a clean build :( I'll have to look into why
that is, but yeah, probably my fault somehow.
Please close this bug and port-amd/54569.
On 11/16/2021 6:15, Joerg Sonnenberger wrote:
> The following reply was made to PR port-amd64/56456; it has been noted by GNATS.
>
> From: Joerg Sonnenberger <joerg@bec.de>
> To: gnats-bugs@netbsd.org
> Cc: port-amd64-maintainer@netbsd.org, gnats-admin@netbsd.org,
> netbsd-bugs@netbsd.org, greywolf@starwolf.com
> Subject: Re: port-amd64/56456: build fails to build release with clang or x11
> Date: Tue, 16 Nov 2021 15:04:02 +0100
>
> On Tue, Nov 16, 2021 at 02:30:03AM +0000, Greywolf wrote:
> > The following reply was made to PR port-amd64/56456; it has been noted by GNATS.
> >
> > From: Greywolf <greywolf@starwolf.com>
> > To: gnats-bugs@netbsd.org
> > Cc:
> > Subject: Re: port-amd64/56456: build fails to build release with clang or x11
> > Date: Mon, 15 Nov 2021 18:25:07 -0800
> >
> > On 10/16/2021 1:10, gnats-admin@netbsd.org wrote:
> > > Thank you very much for your problem report.
> > > It has the internal identification `port-amd64/56456'.
> > > The individual assigned to look at your
> > > report is: port-amd64-maintainer.
> > >
> > >> Category: port-amd64
> > >> Responsible: port-amd64-maintainer
> > >> Synopsis: clang and x11 (which uses clang) releases will not build
> > >> Arrival-Date: Sat Oct 16 08:10:00 +0000 2021
> >
> > Hiyas!
> >
> > I have found a workaround for this issue!
> >
> > Problem:
> > The file:
> >
> > /usr/src/external/apache2/llvm/dist/llvm/include/llvm/Support/VCSRevision.h
> >
> > is missing and does not show up on a cvs update. This leads to the command:
>
> Of course it doesn't show up with cvs update. It is not and never was
> part of the repository. The file is created dynamically in
> llvm/include's objdir. I don't know what you are doing wrong locally as
> it works elsewhere. The typical candidates are objdir pollutions.
>
> Joerg
>
>
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.