NetBSD Problem Report #58404

From tsutsui@ceres.dti.ne.jp  Sat Jul  6 13:30:19 2024
Return-Path: <tsutsui@ceres.dti.ne.jp>
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)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
	 client-signature RSA-PSS (2048 bits) client-digest SHA256)
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 927FD1A923E
	for <gnats-bugs@gnats.NetBSD.org>; Sat,  6 Jul 2024 13:30:19 +0000 (UTC)
Message-Id: <202407061330.466DUDZ4017530@ceres.dti.ne.jp>
Date: Sat, 6 Jul 2024 22:30:13 +0900 (JST)
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
Reply-To: tsutsui@ceres.dti.ne.jp
To: gnats-bugs@NetBSD.org
Cc: tsutsui@ceres.dti.ne.jp
Subject: pkgsrc-2024Q2 inputmethod/mozc-server build fails on NetBSD/amd64 10.0
X-Send-Pr-Version: 3.95

>Number:         58404
>Category:       pkg
>Synopsis:       pkgsrc-2024Q2 inputmethod/mozc-server build fails on NetBSD/amd64 10.0
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 06 13:35:00 +0000 2024
>Originator:     Izumi Tsutsui
>Release:        NetBSD 10.0
>Organization:

>Environment:
System: NetBSD optiplex 10.0 NetBSD 10.0 (GENERIC) #0: Thu Mar 28 08:33:33 UTC 2024  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
pkgsrc/inputmethod/mozc-server build on NetBSD/amd64 fails:
---
 :

===> Building for mozc-server-2.29.5268.102nb2
cd /s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_64/mozc-2.29.5268.102/src && /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr PYTHON=/usr/pkg/bin/python3.11 CC=gcc CFLAGS=-O2\ -I/usr/pkg/include\ -I/usr/include CPPFLAGS=-I/usr/pkg/include\ -I/usr/include CXX=c++ CXXFLAGS=-O2\ -I/usr/pkg/include\ -I/usr/include COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-Wl,-zrelro\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/lib\ -Wl,-R/usr/lib LINKER_RPATH_FLAG=-R PATH=/s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_64/.cwrapper/bin:/s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_64/.buildlink/bin:/s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_64/.gcc/bin:/s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_64/.tools/bin:/usr/pkg/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/!
 bin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= ftp_proxy=downloads-forbidden-except-during-fetch http_proxy=downloads-forbidden-except-during-fetch https_proxy=downloads-forbidden-except-during-fetch no_proxy= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_64/.home CWRAPPERS_CONFIG_DIR=/s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_64/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 644 BSD_INSTALL=/usr!
 /bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\!
  root\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ root\ -g\ wheel\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 775 INSTALL_INFO= MAKEINFO=/s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_64/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_64/.tools/bin/itstool GDBUS_CODEGEN=/s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_64/.tools/bin/gdbus-codegen PKG_CONFIG=/s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_64/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_6!
 4/.buildlink/lib/pkgconfig:/s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_64/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_64/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_64/.cwrapper/config  /usr/pkg/bin/bazel  --output_user_root=/s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_64/bazel  --client_debug  build  server:mozc_server  --host_action_env=CWRAPPERS_CONFIG_DIR=/s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_64/.cwrapper/config  --action_env=CWRAPPERS_CONFIG_DIR=/s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_64/.cwrapper/config  --host_action_env=PATH=/s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_64/.cwrapper/bin:/s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_64/.buildlink/bin:/s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_64/.gcc/bin:/s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_64/.tools/bin:/usr/pk!
 g/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin!
 :/usr/X11!
 R7/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin  --action_env=PATH=/s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_64/.cwrapper/bin:/s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_64/.buildlink/bin:/s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_64/.gcc/bin:/s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_64/.tools/bin:/usr/pkg/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin  --sandbox_debug  --verbose_failures  --subcommands  --config oss_linux --compilation_mode opt
[INFO 22:24:54.384 src/main/cpp/option_processor.cc:407] Looking for the following rc files: /etc/bazel.bazelrc,/s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_64/mozc-2.29.5268.102/src/.bazelrc,/s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_64/.home/.bazelrc
[INFO 22:24:54.384 src/main/cpp/rc_file.cc:56] Parsing the RcFile /s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_64/mozc-2.29.5268.102/src/.bazelrc
[INFO 22:24:54.389 src/main/cpp/blaze.cc:1701] Debug logging requested, sending all client log statements to stderr
[INFO 22:24:54.413 src/main/cpp/blaze.cc:1579] Acquired the client lock, waited 0 milliseconds
[USER 22:24:54.430 src/main/cpp/archive_utils.cc:123] Extracting Bazel installation...
[USER 22:24:55.809 src/main/cpp/blaze.cc:889] Starting local Bazel server and connecting to it...
[INFO 22:24:58.351 src/main/cpp/blaze.cc:1777] Trying to connect to server (timeout: 30 secs)...
[INFO 22:24:58.553 src/main/cpp/blaze.cc:1273] Connected (server pid=11830).
[INFO 22:24:58.566 src/main/cpp/blaze.cc:2053] Releasing client lock, let the server manage concurrent requests.
Loading: 
Loading: 
INFO: Repository bazel_skylib instantiated at:
  /s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_64/mozc-2.29.5268.102/src/WORKSPACE.bazel:15:13: in <toplevel>
Repository rule http_archive defined at:
  /s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_64/bazel/485d96645a394d6d19dc65fc50af8368/external/bazel_tools/tools/build_defs/repo/http.bzl:372:31: in <toplevel>
WARNING: Download from https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.4.1/bazel-skylib-1.4.1.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException Unknown host: downloads-forbidden-except-during-fetch
WARNING: Download from https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.1/bazel-skylib-1.4.1.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException Unknown host: downloads-forbidden-except-during-fetch
ERROR: An error occurred during the fetch of repository 'bazel_skylib':
   Traceback (most recent call last):
	File "/s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_64/bazel/485d96645a394d6d19dc65fc50af8368/external/bazel_tools/tools/build_defs/repo/http.bzl", line 132, column 45, in _http_archive_impl
		download_info = ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error downloading [https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.4.1/bazel-skylib-1.4.1.tar.gz, https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.1/bazel-skylib-1.4.1.tar.gz] to /s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_64/bazel/485d96645a394d6d19dc65fc50af8368/external/bazel_skylib/temp1428890912276970048/bazel-skylib-1.4.1.tar.gz: Unknown host: downloads-forbidden-except-during-fetch
ERROR: /s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_64/mozc-2.29.5268.102/src/WORKSPACE.bazel:15:13: fetching http_archive rule //external:bazel_skylib: Traceback (most recent call last):
	File "/s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_64/bazel/485d96645a394d6d19dc65fc50af8368/external/bazel_tools/tools/build_defs/repo/http.bzl", line 132, column 45, in _http_archive_impl
		download_info = ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error downloading [https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.4.1/bazel-skylib-1.4.1.tar.gz, https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.1/bazel-skylib-1.4.1.tar.gz] to /s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_64/bazel/485d96645a394d6d19dc65fc50af8368/external/bazel_skylib/temp1428890912276970048/bazel-skylib-1.4.1.tar.gz: Unknown host: downloads-forbidden-except-during-fetch
ERROR: Error computing the main repository mapping: no such package '@bazel_skylib//': java.io.IOException: Error downloading [https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.4.1/bazel-skylib-1.4.1.tar.gz, https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.1/bazel-skylib-1.4.1.tar.gz] to /s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_64/bazel/485d96645a394d6d19dc65fc50af8368/external/bazel_skylib/temp1428890912276970048/bazel-skylib-1.4.1.tar.gz: Unknown host: downloads-forbidden-except-during-fetch
[INFO 22:25:01.242 src/main/cpp/blaze.cc:2178] failure_detail: message: "no such package \'@bazel_skylib//\': java.io.IOException: Error downloading [https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.4.1/bazel-skylib-1.4.1.tar.gz, https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.1/bazel-skylib-1.4.1.tar.gz] to /s/obj.x86_64/pkgsrc/inputmethod/mozc-server/work.x86_64/bazel/485d96645a394d6d19dc65fc50af8368/external/bazel_skylib/temp1428890912276970048/bazel-skylib-1.4.1.tar.gz: Unknown host: downloads-forbidden-except-during-fetch"
package_loading {
  code: PACKAGE_MISSING
}

*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/inputmethod/mozc-server
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/inputmethod/mozc-server

---

>How-To-Repeat:
"make package" on pkgsrc-2024Q2 + NetBSD/amd64 10.0.

>Fix:
No idea.
Fix (missing files in) pkgsrc/devel/bazel?

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.