robotpkg/pkgtools/pkgin bulk build results
Log for pkgin-0.6.4r2 on Ubuntu-25.04-x86_64: bulk.log (Back)
=> Checking for clear installation
===> Installing bootstrap dependencies for pkgin-0.6.4r2
=> Installing /opt/robotpkg/var/lib/robotpkg/packages/bsd/Ubuntu-25.04-x86_64/All/digest-20080510.tgz
=> Installing /opt/robotpkg/var/lib/robotpkg/packages/bsd/Ubuntu-25.04-x86_64/All/tnftp-20151004~ssl.tgz
===> Checking bootstrap dependencies for pkgin-0.6.4r2
=> Required robotpkg package digest>=20080510: digest-20080510 found
=> Required robotpkg package tnftp>=20091122: tnftp-20151004~ssl found
=> Required system package gnupg>=1: gnupg-2.4.4 found
=> Required system package gzip: gzip-1.13 found
=> Required system package patch>=2.0: patch-2.7.6~posix found
=> Required system package pax and tar archivers: pax found
=> Required system package pkg_install>=20110805.12: pkg_install-20211115.3 found
=> Required system package pkgrepo2deb>=1.9: pkgrepo2deb-1.15 found
===> Done bootstrap-depends for pkgin-0.6.4r2
===> Installing full dependencies for pkgin-0.6.4r2
=> Dependency digest-20080510 already installed
=> Dependency tnftp-20151004~ssl already installed
===> Checking build options for pkgin-0.6.4r2
=> Building with no option.
===> Checking alternatives for pkgin-0.6.4r2
=> Use the GNU C compiler: c-compiler provided by gcc>=3
===> Checking dependencies for pkgin-0.6.4r2
=> Required system package bzip2: bzip2 found
=> Required system package gcc>=3: gcc-14.2.0 found
=> Required system package A BSD-compatible install program: install-sh found
=> Required system package libsqlite3>=3: libsqlite3-3.46.1 found
=> Required system package openssl>=0.9.6: openssl-3.4.1 found
=> Required system package zlib>=1.2.3: zlib-1.3.1 found
===> Done depends for pkgin-0.6.4r2
===> Extracting for pkgin-0.6.4r2
=> SHA1 checksums OK
=> RMD160 checksums OK
=> Extracting libnbcompat in place
=> Extracting libarchive in place
=> Extracting libfetch in place
===> Patching for pkgin-0.6.4r2
=> Applying robotpkg patches for pkgin-0.6.4r2
===> Configuring for pkgin-0.6.4r2
=> Building libnbcompat in place
In function 'SHA1Update',
inlined from 'SHA1Final' at sha1.c:288:2:
sha1.c:260:13: warning: 'SHA1Transform' reading 64 bytes from a region of size 1 [-Wstringop-overread]
260 | SHA1Transform(context->state, &data[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sha1.c:260:13: note: referencing argument 2 of type 'const unsigned char[64]'
sha1.c: In function 'SHA1Final':
sha1.c:151:6: note: in a call to function 'SHA1Transform'
151 | void SHA1Transform(state, buffer)
| ^~~~~~~~~~~~~
=> Building libarchive in place
libarchive/archive_read_support_format_warc.c:594:25: warning: argument 1 of type 'const char *' declared as a pointer [-Warray-parameter=]
594 | _warc_rdver(const char *buf, size_t bsz)
| ~~~~~~~~~~~~^~~
libarchive/archive_read_support_format_warc.c:130:44: note: previously declared as an array 'const char[10]'
130 | static unsigned int _warc_rdver(const char buf[10], size_t bsz);
| ~~~~~~~~~~~^~~~~~~
ar: `u' modifier ignored since `D' is the default (see `U')
ar: `u' modifier ignored since `D' is the default (see `U')
=> Building libfetch in place
=> Adjusting paths
=> Modifying GNU configure scripts to avoid --recheck
=> Disabling fatal errors with C++ preprocessor in GNU configure scripts
===> Building for pkgin-0.6.4r2
fatal: not a git repository (or any parent up to mount point /local/robotpkg/var)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
sed: can't read /home/imil/netbsd-cvs/pkgsrc/wip/pkgin/Makefile: No such file or directory
main.c: In function 'missing_param':
main.c:307:17: warning: format not a string literal and no format arguments [-Wformat-security]
307 | errx(EXIT_FAILURE, foo);
| ^~~~
tools.c: In function 'strreplace':
tools.c:295:25: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=]
295 | strncat(buf, to, tolen);
| ^
tools.c:291:17: note: length computed here
291 | tolen = strlen(to);
| ^~~~~~~~~~
In file included from /usr/include/string.h:548,
from /local/robotpkg/var/tmp/robotpkg/pkgtools/pkgin/work/libnbcompat/nbcompat/string.h:36,
from /local/robotpkg/var/tmp/robotpkg/pkgtools/pkgin/work/libnbcompat/nbcompat.h:62,
from tools.h:40,
from pkgin.h:46,
from actions.c:33:
In function 'strncat',
inlined from 'do_pkg_install' at actions.c:295:5,
inlined from 'pkgin_install' at actions.c:536:8:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:149:10: warning: '__builtin___memcpy_chk' writing 2 bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]
149 | return __builtin___strncat_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
150 | __glibc_objsize (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~
pkgindb.c: In function 'pkg_db_mtime':
pkgindb.c:225:34: warning: '/pkgdb.byfile.db' directive output may be truncated writing 16 bytes into a region of size between 1 and 8192 [-Wformat-truncation=]
225 | snprintf(buf, BUFSIZ, "%s/pkgdb.byfile.db", pkg_dbdir);
| ^~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:970,
from /local/robotpkg/var/tmp/robotpkg/pkgtools/pkgin/work/libfetch/fetch.h:37,
from pkgin.h:43,
from pkgindb.c:34:
In function 'snprintf',
inlined from 'pkg_db_mtime' at pkgindb.c:225:2:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 17 and 8208 bytes into a destination of size 8192
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
fsops.c: In function 'read_repos':
fsops.c:125:23: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
125 | (void)fgets(buf, BUFSIZ, fp);
| ^~~~~~~~~~~~~~~~~~~~~~
external/opattern.c: In function 'pkg_match':
external/opattern.c:280:31: error: implicit declaration of function 'xasprintf'; did you mean 'asprintf'? [-Wimplicit-function-declaration]
280 | pattern_ver = xasprintf("%s-[0-9]*", pattern);
| ^~~~~~~~~
| asprintf
external/opattern.c:280:29: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
280 | pattern_ver = xasprintf("%s-[0-9]*", pattern);
| ^
make: *** [Makefile:115: opattern.o] Error 1
make: *** Waiting for unfinished jobs....
external/pkgdb.c: In function 'pkgdb_refcount_dir':
external/pkgdb.c:303:47: warning: '.refcount' directive output may be truncated writing 9 bytes into a region of size between 1 and 4096 [-Wformat-truncation=]
303 | snprintf(buf, sizeof(buf), "%s.refcount", _pkgdb_getPKGDB_DIR());
| ^~~~~~~~~
In file included from /usr/include/stdio.h:970,
from /local/robotpkg/var/tmp/robotpkg/pkgtools/pkgin/work/libnbcompat/nbcompat/stdio.h:40,
from /local/robotpkg/var/tmp/robotpkg/pkgtools/pkgin/work/libnbcompat/nbcompat.h:61,
from external/pkgdb.c:7:
In function 'snprintf',
inlined from 'pkgdb_refcount_dir' at external/pkgdb.c:303:3:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 10 and 4105 bytes into a destination of size 4096
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
An unexpected error occured. The last 10 log lines are shown below.
| from external/pkgdb.c:7:
| In function 'snprintf',
| inlined from 'pkgdb_refcount_dir' at external/pkgdb.c:303:3:
| /usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 10 and 4105 bytes into a destination of size 4096
| 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| 69 | __glibc_objsize (__s), __fmt,
| | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| 70 | __va_arg_pack ());
| | ~~~~~~~~~~~~~~~~~
For details or bug reports, check the complete log file in:
/local/robotpkg/var/tmp/robotpkg/pkgtools/pkgin/work/build.log
make[3]: *** [/local/robotpkg/var/lib/robotpkg/mk/build/build.mk:204: do-build-make(/local/robotpkg/var/tmp/robotpkg/pkgtools/pkgin/work/pkgin-3859170568fbe4fe21b5660dbaeca8d65ac10f1b)] Error 2
make[2]: *** [/local/robotpkg/var/lib/robotpkg/mk/pkg/package.mk:42: pkg-check-installed] Error 2
=> Marking pkgin-0.6.4r2 as broken
ERROR: make: *** [package] Error 2
===> Deinstalling for pkgin
Removed digest-20080510
Removed tnftp-20151004~ssl