Re: CURRENT: can't build 13-STABLE anymore: cp: [vdso]: No such file or directory *** Error

2022-04-27 Thread FreeBSD User
On Fri, 1 Apr 2022 12:09:21 -0400
Ed Maste  wrote:

> On Fri, 1 Apr 2022 at 12:04, FreeBSD User  wrote:
> >
> > I tried the patch given at the URL above (Phabricator). Patch applied on
> > recent CURRENT and trying to "make installworld" leaves me with this error,
> > see bewlo. What I'm doing weong here?  
> 
> You're not doing anything wrong, I had another bug in the version of
> the patch you tried. I've updated Phabricator again, please try again.
> 

Hello,

sorry for the very late response.
After the commit, everything on CURRENT was all right and worked as expected.
Many thanks for the fast response!

Kind regards,

O. Hartmann



Re: CURRENT: can't build 13-STABLE anymore: cp: [vdso]: No such file or directory *** Error

2022-04-01 Thread Ed Maste
On Fri, 1 Apr 2022 at 12:04, FreeBSD User  wrote:
>
> I tried the patch given at the URL above (Phabricator). Patch applied on 
> recent CURRENT and
> trying to "make installworld" leaves me with this error, see bewlo. What I'm 
> doing weong here?

You're not doing anything wrong, I had another bug in the version of
the patch you tried. I've updated Phabricator again, please try again.



Re: CURRENT: can't build 13-STABLE anymore: cp: [vdso]: No such file or directory *** Error

2022-04-01 Thread FreeBSD User
Am Fri, 1 Apr 2022 10:08:11 -0400
Ed Maste  schrieb:

> On Fri, 1 Apr 2022 at 10:00, Jens Schweikhardt
>  wrote:
> >
> > Hello *,
> > Looks like a semicolon is missing after the "fi".  
> 
> Indeed, and there was a close bracket missing as well. I've put a
> (hopefully) fixed version in review at
> https://reviews.freebsd.org/D34734.
> 

I tried the patch given at the URL above (Phabricator). Patch applied on recent 
CURRENT and
trying to "make installworld" leaves me with this error, see bewlo. What I'm 
doing weong here?

Kind reagrds,

O. Hartmann


[...]
>>> Install check world
--
--- installworld ---
mkdir -p /tmp/install.7P7AV5IW4F
progs=$(for prog in [ awk cap_mkdb cat chflags chmod chown cmp cp  date echo 
egrep find grep
id install   ln make mkdir mtree mv pwd_mkdb  rm sed services_mkdb sh sort 
strip sysctl test
time true uname wc  zic tzsetup  makewhatis; do  if progpath=`env
PATH=/usr/obj/usr/src/amd64.amd64/tmp/bin:/usr/obj/usr/src/amd64.amd64/tmp/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/libexec::/sbin:/bin:/usr/sbin:/usr/bin
which $prog`; then  echo $progpath;  else  echo "Required tool $prog not found 
in PATH
($PATH)." >&2;  exit 1;  fi;  done);  if [ -z "" ] ; then  libs=$(ldd -f "%o 
%p\n" -f "%o
%p\n" $progs 2>/dev/null | sort -u |  while read line; do  $line;  if [ "$1" = 
"[preloaded]"
|| "$1" = "[vdso]" ]; then  continue;  fi;   if [ "$2 $3" != "not found" ]; 
then  echo $2;
else  echo "Required library $1 not found." >&2;  exit 1;  fi;  done);  fi;  cp 
$libs $progs
/tmp/install.7P7AV5IW4F [: missing ] sh: [preloaded]: not found [: missing ] 
sh: [vdso]: not
found [: missing ] sh: libc.so.7: not found [: missing ] sh: 
libcap_fileargs.so.1: not found
[: missing ] sh: libcasper.so.1: not found [: missing ]
sh: libedit.so.8: not found
[: missing ]
sh: libformw.so.6: not found
[: missing ]
sh: libm.so.5: not found
[: missing ]
sh: libmd.so.6: not found
[: missing ]
sh: libncursesw.so.9: not found
[: missing ]
sh: libnv.so.0: not found
[: missing ]
sh: libprivatebsddialog.so.0: not found
[: missing ]
sh: libregex.so.1: not found
[: missing ]
sh: libthr.so.3: not found
[: missing ]
sh: libtinfow.so.9: not found
[: missing ]
sh: libutil.so.9: not found
[: missing ]
sh: libxo.so.0: not found
cp: [vdso]: No such file or directory
*** [installworld] Error code 1

make[1]: stopped in /usr/src


-- 
O. Hartmann



Re: CURRENT: can't build 13-STABLE anymore: cp: [vdso]: No such file or directory *** Error

2022-04-01 Thread Herbert J. Skuhra
On Fri, Apr 01, 2022 at 05:11:41PM +0200, FreeBSD User wrote:
> 
> Hello,
> 
> it is also impossible to installworld - same error. I'm on FreeBSD 
> 14.0-CURRENT #134
> main-n253938-4ef6e56ae80: Thu Mar 24 16:11:07 CET 2022 amd64, sources are up 
> to date as of
> now. 

I think I got this error last time I tried to update a 13.0 jail on main. 

AFAIR it's caused by a shared version library bump on main.

-- 
Herbert



Re: CURRENT: can't build 13-STABLE anymore: cp: [vdso]: No such file or directory *** Error

2022-04-01 Thread FreeBSD User
Am Fri, 1 Apr 2022 16:00:10 +0200 (CEST)
Jens Schweikhardt  schrieb:

> Hello *,
> Looks like a semicolon is missing after the "fi".
> Jens
> 
> - Ursprüngliche Mail -
> Von: "Ed Maste" 
> An: "FreeBSD User" 
> CC: "freebsd-current" 
> Gesendet: Freitag, 1. April 2022 15:50:31
> Betreff: Re: CURRENT: can't build 13-STABLE anymore: cp: [vdso]: No such file 
> or directory
> *** Error
> 
> On Fri, 1 Apr 2022 at 08:54, FreeBSD User  wrote:
> >
> > On 14.0-CURRENT #134 main-n253938-4ef6e56ae80: Thu Mar 24 16:11:07 CET 2022
> > amd64, it is without any problem possible to build most recent 13-STABLE
> > sources as of today (stable/13-n250195-26e8bb3a4e1).
> >
> > On 14.0-CURRENT #18 main-n254160-4fc5a607fdf: Fri Apr  1 08:30:10 CEST 2022
> > amd64 this is not possible anymore  
> 
> Could you give this patch a try?
> 
> diff --git a/Makefile.inc1 b/Makefile.inc1
> index c91034ed42fe..bd58f48a64d2 100644
> --- a/Makefile.inc1
> +++ b/Makefile.inc1
> @@ -1366,6 +1366,9 @@ distributeworld installworld stageworld:
> _installcheck_world .PHONY
> libs=$$(ldd -f "%o %p\n" -f "%o %p\n" $$progs
> 2>/dev/null | sort -u | \  
> while read line; do \
> set -- $$line; \
> +   if [ "$$1" = "[preloaded]"; then \
> +   break; \
> +   fi \
> if [ "$$2 $$3" != "not found" ]; then \
> echo $$2; \
> else \
> 

Hello,

it is also impossible to installworld - same error. I'm on FreeBSD 14.0-CURRENT 
#134
main-n253938-4ef6e56ae80: Thu Mar 24 16:11:07 CET 2022 amd64, sources are up to 
date as of
now. 

It isn't only an issue with crossbuilding another FreeBSD branch.

Kind regards,

O. Hartmann


-- 
O. Hartmann



Re: CURRENT: can't build 13-STABLE anymore: cp: [vdso]: No such file or directory *** Error

2022-04-01 Thread Ed Maste
On Fri, 1 Apr 2022 at 10:00, Jens Schweikhardt
 wrote:
>
> Hello *,
> Looks like a semicolon is missing after the "fi".

Indeed, and there was a close bracket missing as well. I've put a
(hopefully) fixed version in review at
https://reviews.freebsd.org/D34734.



Re: CURRENT: can't build 13-STABLE anymore: cp: [vdso]: No such file or directory *** Error

2022-04-01 Thread Jens Schweikhardt
Hello *,
Looks like a semicolon is missing after the "fi".
Jens

- Ursprüngliche Mail -
Von: "Ed Maste" 
An: "FreeBSD User" 
CC: "freebsd-current" 
Gesendet: Freitag, 1. April 2022 15:50:31
Betreff: Re: CURRENT: can't build 13-STABLE anymore: cp: [vdso]: No such file 
or directory *** Error

On Fri, 1 Apr 2022 at 08:54, FreeBSD User  wrote:
>
> On 14.0-CURRENT #134 main-n253938-4ef6e56ae80: Thu Mar 24 16:11:07 CET 2022
> amd64, it is without any problem possible to build most recent 13-STABLE
> sources as of today (stable/13-n250195-26e8bb3a4e1).
>
> On 14.0-CURRENT #18 main-n254160-4fc5a607fdf: Fri Apr  1 08:30:10 CEST 2022
> amd64 this is not possible anymore

Could you give this patch a try?

diff --git a/Makefile.inc1 b/Makefile.inc1
index c91034ed42fe..bd58f48a64d2 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1366,6 +1366,9 @@ distributeworld installworld stageworld:
_installcheck_world .PHONY
libs=$$(ldd -f "%o %p\n" -f "%o %p\n" $$progs
2>/dev/null | sort -u | \
while read line; do \
set -- $$line; \
+   if [ "$$1" = "[preloaded]"; then \
+   break; \
+   fi \
if [ "$$2 $$3" != "not found" ]; then \
echo $$2; \
else \



Re: CURRENT: can't build 13-STABLE anymore: cp: [vdso]: No such file or directory *** Error

2022-04-01 Thread Ed Maste
On Fri, 1 Apr 2022 at 08:54, FreeBSD User  wrote:
>
> On 14.0-CURRENT #134 main-n253938-4ef6e56ae80: Thu Mar 24 16:11:07 CET 2022
> amd64, it is without any problem possible to build most recent 13-STABLE
> sources as of today (stable/13-n250195-26e8bb3a4e1).
>
> On 14.0-CURRENT #18 main-n254160-4fc5a607fdf: Fri Apr  1 08:30:10 CEST 2022
> amd64 this is not possible anymore

Could you give this patch a try?

diff --git a/Makefile.inc1 b/Makefile.inc1
index c91034ed42fe..bd58f48a64d2 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1366,6 +1366,9 @@ distributeworld installworld stageworld:
_installcheck_world .PHONY
libs=$$(ldd -f "%o %p\n" -f "%o %p\n" $$progs
2>/dev/null | sort -u | \
while read line; do \
set -- $$line; \
+   if [ "$$1" = "[preloaded]"; then \
+   break; \
+   fi \
if [ "$$2 $$3" != "not found" ]; then \
echo $$2; \
else \



CURRENT: can't build 13-STABLE anymore: cp: [vdso]: No such file or directory *** Error

2022-04-01 Thread FreeBSD User
On 14.0-CURRENT #134 main-n253938-4ef6e56ae80: Thu Mar 24 16:11:07 CET 2022
amd64, it is without any problem possible to build most recent 13-STABLE
sources as of today (stable/13-n250195-26e8bb3a4e1).

On 14.0-CURRENT #18 main-n254160-4fc5a607fdf: Fri Apr  1 08:30:10 CEST 2022
amd64 this is not possible anymore, the build process dies with the error shown
below:

[...]
>>> Install check world
--
mkdir -p /tmp/install.l1zhrZWFwP
progs=$(for prog in [ awk cap_mkdb cat chflags chmod chown cmp cp  date echo
egrep find grep id install   ln make mkdir mtree mv pwd_mkdb  rm sed
services_mkdb sh sort strip sysctl test true uname wc  zic tzsetup  makewhatis;
do  if progpath=`env
PATH=/pool/sources/13-STABLE/obj/pool/sources/13-STABLE/src/amd64.amd64/tmp/bin:/pool/sources/13-STABLE/obj/pool/sources/13-STABLE/src/amd64.amd64/tmp/usr/sbin:/pool/sources/13-STABLE/obj/pool/sources/13-STABLE/src/amd64.amd64/tmp/usr/bin:/pool/sources/13-STABLE/obj/pool/sources/13-STABLE/src/amd64.amd64/tmp/legacy/usr/sbin:/pool/sources/13-STABLE/obj/pool/sources/13-STABLE/src/amd64.amd64/tmp/legacy/usr/bin:/pool/sources/13-STABLE/obj/pool/sources/13-STABLE/src/amd64.amd64/tmp/legacy/bin:/pool/sources/13-STABLE/obj/pool/sources/13-STABLE/src/amd64.amd64/tmp/legacy/usr/libexec::/sbin:/bin:/usr/sbin:/usr/bin
which $prog`; then  echo $progpath;  else  echo "Required tool $prog not found
in PATH ($PATH)." >&2;  exit 1;  fi;  done);  if [ -z "" ] ; then  libs=$(ldd
-f "%o %p\n" -f "%o %p\n" $progs 2>/dev/null | sort -u |  while read line; do
set -- $line;  if [ "$2 $3" != "not found" ]; then  echo $2;  else  echo
"Required library $1 not found." >&2;  exit 1;  fi;  done);  fi;  cp $libs
$progs /tmp/install.l1zhrZWFwP cp: [vdso]: No such file or directory *** Error
code 1

Stop.
make[5]: stopped in /pool/sources/13-STABLE/src
*** Error code 1