NetBSD-Bugs archive

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

Re: bin/57820: devel/rcs fails on 10.0_RC2 works on 9.3




The same 2023Q4 bootstrap on Darwin and NetBSD 9.3 is working without issue.

Following up after extensive confirmation, devel/rcs fails in 10.0 RC2
(also go and rust block other packages, but I'm not documenting them)
cannot find any reason to believe this is a pkgsrc issue. There is
no useful additional information in the earlier part of this email thread.

The NetBSD hardware is Synology DS1821+ with 64GB ram installed,
and vendor VMM (virtual machine manager) hypervisor has been used
in various configurations, for a few years with NetBSD 9.x, no issue.
In a standard (Linux) hardware profile for 10.0 RC2 evaluation we have
consistently this (obscure) devel/rcs issue and the unusual base make
vs bmake behavior (more later).

To reduce the problem to as few factors as possible, each
os install is plain vanilla, no X11 (initially I did minimal,
with an additional step of adding comp sets). Initially the
LOCALBASE and source were on nfs, but final testing
was exclusively local /dev/sd0. The result was devel/rcs
fail, as below with 10.0 RC2 and no issue with 9.3.
(Additional 2023Q4 9.3 and darwin working packages
also fail in 10.0 RC2, notably with go or rust
dependencies, but quite a few packages work
in 10.0 RC2 without issue.)

Besides the rcs build issue, there was an odd base make
behavior, even with fresh pkgsrc, this source was used to
bootstrap the bmake path and demonstrate the rcs issue.

With bmake and base make on local device, expected behavior.
With pkgsrc copied to nfs, bmake works as expected but base make
continuously loops with the error "cd: can't cd to .."

nb10rc2$ cd /usr/pkg/pkgsrc-release/ && /usr/pkg/pkg-2023Q4-NetBSD_10.0_RC2_amd64/bin/bmake 2>&1 | head -n1
===> x11
nb10rc2$ cd /usr/pkg/pkgsrc-release/ && /usr/bin/make 2>&1 | head -n1
===> x11
nb10rc2$ cd /nfs-pkg/pkgsrc-release-10rc2usr/ && /usr/pkg/pkg-2023Q4-NetBSD_10.0_RC2_amd64/bin/bmake 2>&1 | head -n1
===> x11
nb10rc2$ cd /nfs-pkg/pkgsrc-release-10rc2usr/ && /usr/bin/make 2>&1 | head -n1
cd: can't cd to ..
...

The 10.0 RC2 occasionally has this in dmesg but it is presumed unrelated:
[ 25689.996762] 192.168.50.2:/volume1/nfs-pkg: inaccurate wcc data (ctime) detected, disabling wcc (ctime 1704918235.891831984 1704918235.891831984, mtime 1704918235.891831984 1704918235.891831984)

For a closer look, I tried to build strace, but that build
fails multiple issues, see pkg/57834: sysutils/strace
and a binary package is not available.

The following devel/rcs build and the base make observation
is about all can offer at this time

(fresh stable archive with 2023Q4 update on VM using /dev/sd0)
nb10rc2$ cd /usr/pkg/pkgsrc-release/devel/rcs/ && bmake package
...
Making all in doc
gmake[1]: Entering directory '/usr/pkg/pkgsrc-release/devel/rcs/work/rcs-5.9.4/doc'
cd .. && /usr/pkg/pkg-2023Q4-NetBSD_10.0_RC2_amd64/bin/gmake  am--refresh
gmake[2]: Entering directory '/usr/pkg/pkgsrc-release/devel/rcs/work/rcs-5.9.4'
/bin/sh ./config.status --recheck
gmake[2]: Leaving directory '/usr/pkg/pkgsrc-release/devel/rcs/work/rcs-5.9.4'
Updating ./version.texi
gmake[1]: Leaving directory '/usr/pkg/pkgsrc-release/devel/rcs/work/rcs-5.9.4/doc'
Making all in man
gmake[1]: Entering directory '/usr/pkg/pkgsrc-release/devel/rcs/work/rcs-5.9.4/man'
cd .. && /usr/pkg/pkg-2023Q4-NetBSD_10.0_RC2_amd64/bin/gmake  am--refresh
gmake[2]: Entering directory '/usr/pkg/pkgsrc-release/devel/rcs/work/rcs-5.9.4'
/bin/sh ./config.status --recheck
gmake[2]: Leaving directory '/usr/pkg/pkgsrc-release/devel/rcs/work/rcs-5.9.4'
date: Expected digit in canonical time
date: -r
date: ^
Usage: date [-ajnRu] [-d date] [-r seconds] [+format] [[[[[[CC]yy]mm]dd]HH]MM[.SS]]
       date [-ajnRu] -f input_format new_date [+format]
Created REL
I. -I'.' rcsfreeze.1in | sed '/^\.lf /d' > rcsfreeze.1
sh: I.: not found
test -s rcsfreeze.1
gmake[1]: *** [Makefile:1596: rcsfreeze.1] Error 1
gmake[1]: Leaving directory '/usr/pkg/pkgsrc-release/devel/rcs/work/rcs-5.9.4/man'
gmake: *** [Makefile:1392: all-recursive] Error 1
*** Error code 2

Stop.
bmake[1]: stopped in /usr/pkg/pkgsrc-release/devel/rcs
*** Error code 1

Stop.
bmake: stopped in /usr/pkg/pkgsrc-release/devel/rcs

nb10rc2$ echo $PATH
/usr/pkg/pkg-2023Q4-NetBSD_10.0_RC2_amd64/bin:/usr/pkg/pkg-2023Q4-NetBSD_10.0_RC2_amd64/sbin:/home/geo/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin

nb10rc2$ which -a date
/bin/date

nb10rc2$ cat /proc/cpuinfo /proc/meminfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 23
model           : 17
model name      : AMD Ryzen Embedded V1500B
stepping        : 0
cpu MHz         : 2227.79
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb lm pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 virt_ssbd npt nrip_save sme sev
clflush size    : 64

processor       : 1
vendor_id       : AuthenticAMD
cpu family      : 23
model           : 17
model name      : AMD Ryzen Embedded V1500B
stepping        : 0
cpu MHz         : 2227.79
apicid          : 1
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb lm pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 virt_ssbd npt nrip_save sme sev
clflush size    : 64

        total:    used:    free:  shared: buffers: cached:
Mem:  2053550080 404180992 1649369088        0 276082688 314580992
Swap: 2147479552        0 2147479552
MemTotal:   2005420 kB
MemFree:    1610712 kB
MemShared:        0 kB
Buffers:    1610712 kB
Cached:      307208 kB
SwapTotal:  2097148 kB
SwapFree:   2097148 kB


--
George Georgalis, (415) 894-2710, http://www.galis.org/


Home | Main Index | Thread Index | Old Index