daily CVS update output
Updating src tree: P src/distrib/amd64/installimage/Makefile P src/doc/3RDPARTY P src/external/cddl/osnet/usr.sbin/dtrace/Makefile P src/external/mpl/bind/dist/lib/isc/unix/include/isc/stdatomic.h P src/external/mpl/bind/include/isc/stdatomic.h P src/share/mk/bsd.hostprog.mk P src/sys/dev/nvmm/nvmm.c P src/sys/dev/nvmm/nvmm.h P src/sys/dev/nvmm/nvmm_internal.h P src/sys/dev/nvmm/x86/nvmm_x86.h P src/sys/dev/nvmm/x86/nvmm_x86_svm.c P src/sys/dev/nvmm/x86/nvmm_x86_vmx.c P src/sys/lib/libsa/tftp.c P src/sys/uvm/uvm_pglist.c P src/tests/usr.bin/xlint/lint1/d_pr_22119.c U src/tests/usr.bin/xlint/lint1/d_pr_22119.exp P src/tests/usr.bin/xlint/lint1/msg_099.c U src/tests/usr.bin/xlint/lint1/msg_099.exp P src/tests/usr.bin/xlint/lint1/msg_247.c P src/tests/usr.bin/xlint/lint1/msg_247.exp P src/usr.bin/indent/Makefile P src/usr.bin/indent/README P src/usr.bin/indent/indent.c P src/usr.bin/xlint/common/tyname.c P src/usr.bin/xlint/lint1/cgram.y P src/usr.bin/xlint/lint1/decl.c P src/usr.bin/xlint/lint1/err.c P src/usr.bin/xlint/lint1/externs1.h P src/usr.bin/xlint/lint1/func.c P src/usr.bin/xlint/lint1/init.c P src/usr.bin/xlint/lint1/lex.c P src/usr.bin/xlint/lint1/lint1.h P src/usr.bin/xlint/lint1/main1.c P src/usr.bin/xlint/lint1/mem1.c P src/usr.bin/xlint/lint1/tree.c P src/usr.bin/xlint/lint2/chk.c P src/usr.bin/xlint/lint2/emit2.c P src/usr.bin/xlint/lint2/hash.c P src/usr.bin/xlint/lint2/main2.c P src/usr.bin/xlint/lint2/read.c P src/usr.bin/xlint/xlint/xlint.c Updating xsrc tree: Killing core files: Updating tar files: src/top-level: collecting... replacing... done src/bin: collecting... replacing... done src/common: collecting... replacing... done src/compat: collecting... replacing... done src/crypto: collecting... replacing... done src/dist: collecting... replacing... done src/distrib: collecting... replacing... done src/doc: collecting... replacing... done src/etc: collecting... replacing... done src/external: collecting... replacing... done src/extsrc: collecting... replacing... done src/games: collecting... replacing... done src/gnu: collecting...pax: Unable to access src/gnu (No such file or directory) pax: WARNING! These file names were not selected: src/gnu done src/include: collecting... replacing... done src/lib: collecting... replacing... done src/libexec: collecting... replacing... done src/regress: collecting... replacing... done src/rescue: collecting... replacing... done src/sbin: collecting... replacing... done src/share: collecting... replacing... done src/sys: collecting... replacing... done src/tests: collecting... replacing... done src/tools: collecting... replacing... done src/usr.bin: collecting... replacing... done src/usr.sbin: collecting... replacing... done src/config: collecting... replacing... done src: collecting... replacing... done xsrc/top-level: collecting... replacing... done xsrc/external: collecting... replacing... done xsrc/local: collecting... replacing... done xsrc: collecting... replacing... done Updating release-8 src tree (netbsd-8): Updating release-8 xsrc tree (netbsd-8): Updating release-8 tar files: src/top-level: collecting... replacing... done src/bin: collecting... replacing... done src/common: collecting... replacing... done src/compat: collecting... replacing... done src/crypto: collecting... replacing... done src/dist: collecting... replacing... done src/distrib: collecting... replacing... done src/doc: collecting... replacing... done src/etc: collecting... replacing... done src/external: collecting... replacing... done src/extsrc: collecting... replacing... done src/games: collecting... replacing... done src/gnu: collecting...pax: Unable to access src/gnu (No such file or directory) pax: WARNING! These file names were not selected: src/gnu done src/include: collecting... replacing... done src/lib: collecting... replacing... done src/libexec: collecting... replacing... done src/regress: collecting... replacing... done src/rescue: collecting... replacing... done src/sbin: collecting... replacing... done src/share: collecting... replacing... done src/sys: collecting... replacing... done src/tests: collecting... replacing... done src/tools: collecting... replacing... done src/usr.bin: collecting... replacing... done src/usr.sbin: collecting... replacing... done src/config: collecting... replacing... done src/x11: collecting...pax: Unable to access src/x11 (No such file or directory) pax: WARNING! These file names were not selected: src/x11 done src: collecting... replacing... done xsrc/top-level: collecting... replacing... done xsrc/external: collecting... replacing... done xsrc/local: collecting... replacing... done xsrc/xfree: collecting...pax: Unable to access xsrc/xfree (No such file or directory) pax: WARNING! These file names were not selected: xsrc/xfree done xsrc: collecting... replacing... done Updating release-9 src tree (netbsd-9): Updating release-9 xsrc tree (netbsd-9): Updating release-9 tar files: src/top-level:
Re: -current tar(1) breakage
On Fri, 26 Mar 2021 14:41:56 -0400, Christos Zoulas wrote: > Can you install the debug sets? Will do - have to build them first, though. Cheerio, Hauke -- Hauke Fath Linnéweg 7 64342 Seeheim-Jugenheim Germany
Re: -current tar(1) breakage
On Mar 26, 6:52pm, ha...@espresso.rhein-neckar.de (Hauke Fath) wrote: -- Subject: Re: -current tar(1) breakage | On Fri, 26 Mar 2021 16:28:38 - (UTC), Christos Zoulas wrote: | > What does the core file show? | | Reading symbols from /usr/bin/tar... | (No debugging symbols found in /usr/bin/tar) | [New process 29527] | Core was generated by `tar'. | Program terminated with signal SIGSEGV, Segmentation fault. | #0 0x74e0e8667866 in iconv () from /lib/libc.so.12 | (gdb) bt | #0 0x74e0e8667866 in iconv () from /lib/libc.so.12 | #1 0x74e0ea683834 in ?? () from /usr/lib/libarchive.so.4 | #2 0x74e0ea6844ba in archive_strncat_l () from=20 | /usr/lib/libarchive.so.4 | #3 0x74e0ea6847d9 in archive_mstring_get_mbs_l () from=20 | /usr/lib/libarchive.so.4 | #4 0x74e0ea61f051 in ?? () from /usr/lib/libarchive.so.4 | #5 0x74e0ea61f5da in ?? () from /usr/lib/libarchive.so.4 | #6 0x74e0ea66a1da in ?? () from /usr/lib/libarchive.so.4 | #7 0x000155a08ac2 in write_entry () | #8 0x000155a08cac in write_hierarchy () | #9 0x000155a0907e in write_archive () | #10 0x000155a098a4 in tar_mode_c () | #11 0x000155a0ba4d in main () | (gdb) Can you install the debug sets? | Also, from a 'ktrace -di': | | [...] | 29527 29527 tar CALL __acl_get_fd(7,4,0x74e0ea5dc000) | 29527 29527 tar RET __acl_get_fd -1 errno 45 Operation not=20 | supported | 29527 29527 tar CALL =20 | mmap(0,0x5000,PROT_READ|PROT_WRITE,0x1002,0= | x,0,0) | 29527 29527 tar RET mmap 128509353488384/0x74e0ea5d7000 | 29527 29527 tar CALL munmap(0x74e0ea5d7000,0x5000) | 29527 29527 tar RET munmap 0 | 29527 29527 tar CALL =20 | mmap(0,0x6000,PROT_READ|PROT_WRITE,0xd001002= | ,0x,0,0) | 29527 29527 tar RET mmap 128509353484288/0x74e0ea5d6000 | 29527 29527 tar CALL munmap(0x74e0ea5db000,0x1000) | 29527 29527 tar RET munmap 0 | 29527 29527 tar CALL __acl_get_fd(7,2,0x74e0ea5d6000) | 29527 29527 tar RET __acl_get_fd -1 errno 45 Operation not=20 | supported | 29527 29527 tar CALL extattr_list_fd(7,1,0,0) | 29527 29527 tar RET extattr_list_fd -1 errno 45 Operation not=20 | supported | 29527 29527 tar CALL close(7) | 29527 29527 tar RET close 0 | 29527 29527 tar CALL fchdir(3) | 29527 29527 tar RET fchdir 0 | 29527 29527 tar PSIG SIGSEGV SIG_DFL: code=3DSEGV_MAPERR,=20 | addr=3D0x68, trap=3D6) | 29527 29527 tar NAMI "tar.core" I was hoping that this would show the filename but it does not. Thanks, christos
Re: -current tar(1) breakage
On Fri, 26 Mar 2021 18:56:09 +0100, Martin Husemann wrote: > On Fri, Mar 26, 2021 at 06:52:04PM +0100, Hauke Fath wrote: >> Program terminated with signal SIGSEGV, Segmentation fault. >> #0 0x74e0e8667866 in iconv () from /lib/libc.so.12 >> (gdb) bt >> #0 0x74e0e8667866 in iconv () from /lib/libc.so.12 > > What are your locale settings? None set - this is a pretty plain -current amd64 installation with about a dozen packages installed, adapted for netboot. Cheerio, Hauke -- Hauke Fath Linnéweg 7 64342 Seeheim-Jugenheim Germany
Re: -current tar(1) breakage
On Fri, 26 Mar 2021 18:52:04 +0100, Hauke Fath wrote: > Also, from a 'ktrace -di': FTR, This is from a plain 'ktrace -di /usr/bin/tar -cf - . > /dev/null' on an nfs volume. Works with GNU tar(1). Cheerio, Hauke -- Hauke Fath Linnéweg 7 64342 Seeheim-Jugenheim Germany
Re: -current tar(1) breakage
On Fri, Mar 26, 2021 at 06:52:04PM +0100, Hauke Fath wrote: > Program terminated with signal SIGSEGV, Segmentation fault. > #0 0x74e0e8667866 in iconv () from /lib/libc.so.12 > (gdb) bt > #0 0x74e0e8667866 in iconv () from /lib/libc.so.12 What are your locale settings? Martin
Re: -current tar(1) breakage
On Fri, 26 Mar 2021 15:34:21 +, Robert Swindells wrote: > The package builds fine for me on -current, what is unusual about your > build host ? It is net-booted. As soon as I put WRKOBJDIR on a local disk, I am fine. Cheerio, Hauke -- Hauke Fath Linnéweg 7 64342 Seeheim-Jugenheim Germany
Re: -current tar(1) breakage
On Fri, 26 Mar 2021 16:28:38 - (UTC), Christos Zoulas wrote: > What does the core file show? Reading symbols from /usr/bin/tar... (No debugging symbols found in /usr/bin/tar) [New process 29527] Core was generated by `tar'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x74e0e8667866 in iconv () from /lib/libc.so.12 (gdb) bt #0 0x74e0e8667866 in iconv () from /lib/libc.so.12 #1 0x74e0ea683834 in ?? () from /usr/lib/libarchive.so.4 #2 0x74e0ea6844ba in archive_strncat_l () from /usr/lib/libarchive.so.4 #3 0x74e0ea6847d9 in archive_mstring_get_mbs_l () from /usr/lib/libarchive.so.4 #4 0x74e0ea61f051 in ?? () from /usr/lib/libarchive.so.4 #5 0x74e0ea61f5da in ?? () from /usr/lib/libarchive.so.4 #6 0x74e0ea66a1da in ?? () from /usr/lib/libarchive.so.4 #7 0x000155a08ac2 in write_entry () #8 0x000155a08cac in write_hierarchy () #9 0x000155a0907e in write_archive () #10 0x000155a098a4 in tar_mode_c () #11 0x000155a0ba4d in main () (gdb) Also, from a 'ktrace -di': [...] 29527 29527 tar CALL __acl_get_fd(7,4,0x74e0ea5dc000) 29527 29527 tar RET __acl_get_fd -1 errno 45 Operation not supported 29527 29527 tar CALL mmap(0,0x5000,PROT_READ|PROT_WRITE,0x1002,0x,0,0) 29527 29527 tar RET mmap 128509353488384/0x74e0ea5d7000 29527 29527 tar CALL munmap(0x74e0ea5d7000,0x5000) 29527 29527 tar RET munmap 0 29527 29527 tar CALL mmap(0,0x6000,PROT_READ|PROT_WRITE,0xd001002,0x,0,0) 29527 29527 tar RET mmap 128509353484288/0x74e0ea5d6000 29527 29527 tar CALL munmap(0x74e0ea5db000,0x1000) 29527 29527 tar RET munmap 0 29527 29527 tar CALL __acl_get_fd(7,2,0x74e0ea5d6000) 29527 29527 tar RET __acl_get_fd -1 errno 45 Operation not supported 29527 29527 tar CALL extattr_list_fd(7,1,0,0) 29527 29527 tar RET extattr_list_fd -1 errno 45 Operation not supported 29527 29527 tar CALL close(7) 29527 29527 tar RET close 0 29527 29527 tar CALL fchdir(3) 29527 29527 tar RET fchdir 0 29527 29527 tar PSIG SIGSEGV SIG_DFL: code=SEGV_MAPERR, addr=0x68, trap=6) 29527 29527 tar NAMI "tar.core" -- Hauke Fath Linnéweg 7 64342 Seeheim-Jugenheim Germany
Re: -current tar(1) breakage
On Fri, 26 Mar 2021 16:03:53 +0100, Thomas Klausner wrote: > On Fri, Mar 26, 2021 at 03:16:13PM +0100, Hauke Fath wrote: >> building editors/xemacs-nox11 on a -current machine (net-booted, if it >> matters) fails with > > Just as a data point, this packages fine for me on 9.99.81/amd64 (with > a local file system). Confirmed. So it's tar(1) on NFS... Cheerio, Hauke -- Hauke Fath Linnéweg 7 64342 Seeheim-Jugenheim Germany
Re: -current tar(1) breakage
Hauke Fath wrote: >On Fri, 26 Mar 2021 14:38:08 +, Robert Swindells wrote: >>> The workaround was to symlink /usr/pkg/bin/gtar to .tools/bin/tar. Is >>> there any pkgsrc magic for making gtar pose as tar(1), or am I on my >>> own? >> >> You can put a line in the pkgsrc Makefile of: >> >> EXTRACT_USING= gtar > >I've seen (and used) EXTRACT_USING. But does this just cover extracts >by the pkgsrc framework, or also any invocations of tar by the >package's build system? Don't know. The package builds fine for me on -current, what is unusual about your build host ?
Re: -current tar(1) breakage
On Fri, 26 Mar 2021 14:38:08 +, Robert Swindells wrote: >> The workaround was to symlink /usr/pkg/bin/gtar to .tools/bin/tar. Is >> there any pkgsrc magic for making gtar pose as tar(1), or am I on my >> own? > > You can put a line in the pkgsrc Makefile of: > > EXTRACT_USING= gtar I've seen (and used) EXTRACT_USING. But does this just cover extracts by the pkgsrc framework, or also any invocations of tar by the package's build system? Cheerio, Hauke -- Hauke Fath Linnéweg 7 64342 Seeheim-Jugenheim Germany
Re: -current tar(1) breakage
On Fri, Mar 26, 2021 at 03:16:13PM +0100, Hauke Fath wrote: > building editors/xemacs-nox11 on a -current machine (net-booted, if it > matters) fails with Just as a data point, this packages fine for me on 9.99.81/amd64 (with a local file system). Thomas
Re: -current tar(1) breakage
Hauke Fath wrote: >building editors/xemacs-nox11 on a -current machine (net-booted, if it >matters) fails with [snip] >The workaround was to symlink /usr/pkg/bin/gtar to .tools/bin/tar. Is >there any pkgsrc magic for making gtar pose as tar(1), or am I on my >own? You can put a line in the pkgsrc Makefile of: EXTRACT_USING= gtar or: EXTRACT_USING= bsdtar I think the 'bsdtar' option will build it from pkgsrc not use tar(1) from the base OS.
-current tar(1) breakage
Hi, building editors/xemacs-nox11 on a -current machine (net-booted, if it matters) fails with [...] Copying /var/obj/pkgsrc/editors/xemacs-nox11/work/xemacs-21.4.24/etc... ./TUTORIAL.ko: Truncated tar archive tar: Error exit delayed from previous errors. [1] Segmentation fault (core dumped) (cd ${dir} && tar -cf - .) | Done(1) (cd ${dest} && umask 022 && tar -xf -) Copying /var/obj/pkgsrc/editors/xemacs-nox11/work/xemacs-21.4.24/lisp... ./syntax.el: Truncated tar archive tar: Error exit delayed from previous errors. [1] Segmentation fault (core dumped) (cd ${dir} && tar -cf - .) | Done(1) (cd ${dest} && umask 022 && tar -xf -) This works on netbsd-9. What has changed in the -current tar? The workaround was to symlink /usr/pkg/bin/gtar to .tools/bin/tar. Is there any pkgsrc magic for making gtar pose as tar(1), or am I on my own? Cheerio, Hauke -- Hauke Fath Linnéweg 7 64342 Seeheim-Jugenheim Germany