pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/58750: pkgsrc/inputmethod/mozc-server fails to build



>Number:         58750
>Category:       pkg
>Synopsis:       pkgsrc/inputmethod/mozc-server fails to build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 13 14:10:00 +0000 2024
>Originator:     Izumi Tsutsui
>Release:        NetBSD 10.0 + pkgsrc-2024Q3
>Organization:
>Environment:
System: NetBSD optiplex 10.0 NetBSD 10.0 (GENERIC) #0: Thu Mar 28 08:33:33 UTC 2024  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
'make package' in pkgsrc/inputmethod/mozc fails to build:

---
 :

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.12 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 20:30:40.641 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 20:30:40.642 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 20:30:40.643 src/main/cpp/blaze.cc:1701] Debug logging requested, sending all client log statements to stderr
[INFO 20:30:40.644 src/main/cpp/blaze.cc:1579] Acquired the client lock, waited 0 milliseconds
[INFO 20:30:40.654 src/main/cpp/blaze.cc:1777] Trying to connect to server (timeout: 30 secs)...
[INFO 20:30:40.666 src/main/cpp/blaze.cc:1273] Connected (server pid=11402).
[INFO 20:30:40.669 src/main/cpp/blaze.cc:2053] Releasing client lock, let the server manage concurrent requests.
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/temp5531479614989007570/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/temp5531479614989007570/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/temp5531479614989007570/bazel-skylib-1.4.1.tar.gz: Unknown host: downloads-forbidden-except-during-fetch
Loading: 
[INFO 20:30:40.886 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/temp5531479614989007570/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

---

IIRC this also happened on pkgsrc-2024Q2.

>How-To-Repeat:
Just 'make package' in pkgsrc/inputmethod/mozc.
(not sure if bulk build fails or not)

>Fix:
No idea.
To make sure to avoid fetching dist files during builds?

---
Izumi Tsutsui



Home | Main Index | Thread Index | Old Index