From nobody Wed Jun 21 13:08:59 2023 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QmP3D34R9z4gKDt for ; Wed, 21 Jun 2023 13:09:12 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from www121.sakura.ne.jp (www121.sakura.ne.jp [153.125.133.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4QmP3B57BGz3CN1 for ; Wed, 21 Jun 2023 13:09:10 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of junchoon@dec.sakura.ne.jp has no SPF policy when checking 153.125.133.21) smtp.mailfrom=junchoon@dec.sakura.ne.jp; dmarc=none Received: from kalamity.joker.local (123-1-88-210.area1b.commufa.jp [123.1.88.210]) (authenticated bits=0) by www121.sakura.ne.jp (8.16.1/8.16.1/[SAKURA-WEB]/20201212) with ESMTPA id 35LD90ED003269 for ; Wed, 21 Jun 2023 22:09:00 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) Date: Wed, 21 Jun 2023 22:08:59 +0900 From: Tomoaki AOKI To: ports@freebsd.org Subject: Re: x11/nvidia-driver build failed at devel/py-importlib-metadata Message-Id: <20230621220859.9ab5fa201cdfa9ebb03fde95@dec.sakura.ne.jp> In-Reply-To: <202306211137.35LBbuN3064096@kx.truefc.org> References: <202306211137.35LBbuN3064096@kx.truefc.org> Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.2) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-0.79 / 15.00]; AUTH_NA(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-0.19)[-0.194]; MIME_GOOD(-0.10)[text/plain]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:7684, ipnet:153.125.128.0/18, country:JP]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; R_SPF_NA(0.00)[no SPF record]; MLMMJ_DEST(0.00)[ports@freebsd.org]; RCVD_TLS_LAST(0.00)[]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DMARC_NA(0.00)[sakura.ne.jp]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[ports@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4QmP3B57BGz3CN1 X-Spamd-Bar: / X-ThisMailContainsUnwantedMimeParts: N On Wed, 21 Jun 2023 20:37:56 +0900 KIRIYAMA Kazuhiko wrote: > Hi, list > > x11/nvidia-driver build failed at devel/py-importlib-metadata: > > Copying importlib_metadata.egg-info to /var/ports/work/var/ports/msrvkx/devel/py-importlib-metadata/work-py39/stage/usr/local/lib/python3.9/site-packages/importlib_metadata-2.0.0-py3.9.egg-info > running install_scripts > writing list of installed files to '/var/ports/work/var/ports/msrvkx/devel/py-importlib-metadata/work-py39/.PLIST.pymodtmp' > ====> Compressing man pages (compress-man) > ===> Installing for py39-importlib-metadata-2.0.0 > ===> Checking if py39-importlib-metadata is already installed > ===> Registering installation for py39-importlib-metadata-2.0.0 as automatic > Installing py39-importlib-metadata-2.0.0... > ===> py39-markdown-3.3.7 depends on package: py39-importlib-metadata>=4.4 - not found > *** Error code 1 > > Stop. > make[5]: stopped in /var/ports/msrvkx/textproc/py-markdown > *** Error code 1 > > Stop. > make[4]: stopped in /var/ports/msrvkx/textproc/py-sphinx-markdown-tables > *** Error code 1 > > Stop. > make[3]: stopped in /var/ports/msrvkx/devel/llvm15 > *** Error code 1 > > Stop. > make[2]: stopped in /var/ports/msrvkx/graphics/mesa-dri > *** Error code 1 > > Stop. > make[1]: stopped in /var/ports/msrvkx/x11-servers/xorg-server > *** Error code 1 > > Stop. > make: stopped in /usr/ports/x11/nvidia-driver > > Is there any suggetions? > > My build environments are: > > root@msrvkx:~ # uname -a > FreeBSD msrvkx 14.0-CURRENT FreeBSD 14.0-CURRENT #0 n263415-9d6ae1e3c26a-dirty: Sat Jun 17 05:50:51 JST 2023 root@msrvkx:/usr/obj/usr/src/amd64.amd64/sys/XIJ amd64 > root@msrvkx:~ # cat /etc/make.conf > PORTSDIR= /var/ports/msrvkx > INDEXDIR= /var/ports/msrvkx > WRKDIRPREFIX= /var/ports/work > PACKAGES= /var/ports/packages > DISTDIR= /var/ports/distfiles > BATCH= yes > DEFAULT_VERSIONS= perl5=5.36 ruby=3.3 > COMPILER_TYPE= clang > USE_PACKAGE_DEPENDS= yes > DISABLE_VULNERABILITIES=yes > root@msrvkx:~ # df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/vtbd0p2 59G 9.4G 45G 17% / > devfs 1.0K 0B 1.0K 0% /dev > linprocfs 8.0K 0B 8.0K 0% /compat/linux/proc > tmpfs 3.2G 4.0K 3.2G 0% /compat/linux/dev/shm > linsysfs 8.0K 0B 8.0K 0% /compat/linux/sys > devfs 1.0K 0B 1.0K 0% /compat/linux/dev > fdescfs 1.0K 0B 1.0K 0% /compat/linux/dev/fd > vm.tfc:/.dake 11T 1.1T 9.8T 10% /.dake > vm.tfc:/ds/src/freebsd/current/14.0/9d6ae1e3c26a.xij 9.9T 77G 9.8T 1% /usr/src > vm.tfc:/ds/obj/freebsd/current/14.0/9d6ae1e3c26a.xij 10T 407G 9.8T 4% /usr/obj > vm.tfc:/ds/ports/freebsd/d830ac4c7cfd 9.9T 129G 9.8T 1% /usr/ports > vm.tfc:/ds/distfiles 9.9T 63G 9.8T 1% /var/ports/distfiles > vm.tfc:/ds/packages/freebsd/amd64/amd64/14.0C/9d6ae1e3c26a.xij/d830ac4c7cfd 9.9T 128G 9.8T 1% /var/ports/packages > root@msrvkx:~ # > > root@vm:~ # git -C /ds/ports/freebsd/d830ac4c7cfd rev-parse --verify --short HEAD > d830ac4c7cfd > root@vm:~ # > > I tried to change Python version as: > > root@msrvkx:~ # cat /etc/make.conf.bak > PORTSDIR= /var/ports/msrvkx > INDEXDIR= /var/ports/msrvkx > WRKDIRPREFIX= /var/ports/work > PACKAGES= /var/ports/packages > DISTDIR= /var/ports/distfiles > BATCH= yes > DEFAULT_VERSIONS= perl5=5.36 python3=3.8 ruby=2.7 > COMPILER_TYPE= clang > USE_PACKAGE_DEPENDS= yes > DISABLE_VULNERABILITIES=yes > root@msrvkx:~ # > > > But bsd.ports.mk complains: > > /!\ WARNING /!\ > > PYTHON_DEFAULT must be a version present in PYTHON2_DEFAULT or PYTHON3_DEFAULT, > if you want more Python flavors, set BUILD_ALL_PYTHON_FLAVORS in your make.conf > > and could not changed ;-( > > Best regards > --- > Kazuhiko Kiriyama > What about /etc/make.conf? The file you mentioned is /etc/make.conf.bak, and should not at all processed unless you explicitly include it from /etc/make.conf (or manually specify at command line). -- Tomoaki AOKI