Re: Trying to build Current

2021-04-16 Thread Willem Jan Withagen via freebsd-current

On 15-4-2021 14:20, Emmanuel Vadot wrote:

On Thu, 15 Apr 2021 10:51:39 +0200
Willem Jan Withagen via freebsd-current 
wrote:


Hi,

I actually went completely back to the basic setup with directories
/usr/src and /usr/obj
But even then I do not manage to buildworld.
The process keeps bumping into missing bsm/audit.

First case was when it tried to build the 64bit libc.
I copied the bsm directory into
      /usr/obj/usr/src/amd64.amd64/tmp/usr/include/sys/

Which allowed it to continue.
But then a bit further on it halts again in 32bit libc.
Whcih I could fix the same way.

--- fts.o ---
In file included from /usr/src/lib/libc/gen/fts.c:40:
In file included from
/usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/include/sys/mount.h:38:
/usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/include/sys/ucred.h:42:10:
fatal error: 'bsm/audit.h' file not found
#include 
   ^

Even defining HISTORICAL_MAKE_WORLD did not help, but then I'm not doing
'make world'

So why is this include file missing?



  Try with
https://cgit.freebsd.org/src/commit/?id=f41efc453ab5563cde214cb19273d87e6e4aa2d4
applied.
  You probably have WITHOUT_AUDIT=yes in src.conf


That seems to do the trick.

Thanx,
--WjW


___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Trying to build Current

2021-04-15 Thread Kevin Oberman
On Thu, Apr 15, 2021 at 4:19 AM Willem Jan Withagen via freebsd-current <
freebsd-current@freebsd.org> wrote:

> On 15-4-2021 12:44, Yuri Pankov wrote:
> > Willem Jan Withagen via freebsd-current wrote:
> >> On 15-4-2021 11:47, Gary Jennejohn wrote:
> >>> On Thu, 15 Apr 2021 10:51:39 +0200
> >>> Willem Jan Withagen via freebsd-current 
> >>> wrote:
> >>>
>  Hi,
> 
>  I actually went completely back to the basic setup with directories
>  /usr/src and /usr/obj
>  But even then I do not manage to buildworld.
>  The process keeps bumping into missing bsm/audit.
> 
>  First case was when it tried to build the 64bit libc.
>  I copied the bsm directory into
> __ /usr/obj/usr/src/amd64.amd64/tmp/usr/include/sys/
> 
>  Which allowed it to continue.
>  But then a bit further on it halts again in 32bit libc.
>  Whcih I could fix the same way.
> 
>  --- fts.o ---
>  In file included from /usr/src/lib/libc/gen/fts.c:40:
>  In file included from
>  /usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/include/sys/mount.h:38:
> 
> /usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/include/sys/ucred.h:42:10:
> 
>  fatal error: 'bsm/audit.h' file not found
>  #include 
>  ^
> 
>  Even defining HISTORICAL_MAKE_WORLD did not help, but then I'm not
> doing
>  'make world'
> 
>  So why is this include file missing?
> 
> >>> Try running make includes first. This step is missing because you are
> NOT
> >>> doing a buildworld.
> >>>
> >> Well actual the commands were:
> >>
> >> rm -rf /usr/src /usr/obj
> >> mkdir -p /usr/src /usr/obj
> >> cd /usr/src
> >> git clone https://git.freebsd.org/src.git .
> >> make -j16 buildworld
> >>
> >> But I'll give it a shot anyways.
> > Anything in /etc/make.conf and /etc/src.conf?
> I had the same idea,  but only after I asked the question
> There was quite a lot of old cruft there
> Removed it all, and I'm trying fresh again.
> But Clang building, even with ccache takes quite some time.
>
> --WjW
> --WjW
>
You can greatly reduce buildworld time by adding
"WITHOUT_LLVM_TARGET_ALL=YES" to /etc/src.conf. This will not build all of
the back-ends for other platforms. Of course, it means that you can't
cross-compile for them, but I would assume that installing the full llvm11
port would take care of this, so I don't understand why building them is
default. This may be shortened to "I don't understand", of course.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkober...@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Trying to build Current

2021-04-15 Thread Yuri Pankov
Willem Jan Withagen via freebsd-current wrote:
> On 15-4-2021 11:47, Gary Jennejohn wrote:
>> On Thu, 15 Apr 2021 10:51:39 +0200
>> Willem Jan Withagen via freebsd-current 
>> wrote:
>>
>>> Hi,
>>>
>>> I actually went completely back to the basic setup with directories
>>> /usr/src and /usr/obj
>>> But even then I do not manage to buildworld.
>>> The process keeps bumping into missing bsm/audit.
>>>
>>> First case was when it tried to build the 64bit libc.
>>> I copied the bsm directory into
>>>   __ /usr/obj/usr/src/amd64.amd64/tmp/usr/include/sys/
>>>
>>> Which allowed it to continue.
>>> But then a bit further on it halts again in 32bit libc.
>>> Whcih I could fix the same way.
>>>
>>> --- fts.o ---
>>> In file included from /usr/src/lib/libc/gen/fts.c:40:
>>> In file included from
>>> /usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/include/sys/mount.h:38:
>>> /usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/include/sys/ucred.h:42:10:
>>>
>>> fatal error: 'bsm/audit.h' file not found
>>> #include 
>>>    ^
>>>
>>> Even defining HISTORICAL_MAKE_WORLD did not help, but then I'm not doing
>>> 'make world'
>>>
>>> So why is this include file missing?
>>>
>> Try running make includes first. This step is missing because you are NOT
>> doing a buildworld.
>>
> Well actual the commands were:
> 
> rm -rf /usr/src /usr/obj
> mkdir -p /usr/src /usr/obj
> cd /usr/src
> git clone https://git.freebsd.org/src.git .
> make -j16 buildworld
> 
> But I'll give it a shot anyways.

Anything in /etc/make.conf and /etc/src.conf?
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Trying to build Current

2021-04-15 Thread Willem Jan Withagen via freebsd-current

On 15-4-2021 14:20, Emmanuel Vadot wrote:

On Thu, 15 Apr 2021 10:51:39 +0200
Willem Jan Withagen via freebsd-current 
wrote:


Hi,

I actually went completely back to the basic setup with directories
/usr/src and /usr/obj
But even then I do not manage to buildworld.
The process keeps bumping into missing bsm/audit.

First case was when it tried to build the 64bit libc.
I copied the bsm directory into
      /usr/obj/usr/src/amd64.amd64/tmp/usr/include/sys/

Which allowed it to continue.
But then a bit further on it halts again in 32bit libc.
Whcih I could fix the same way.

--- fts.o ---
In file included from /usr/src/lib/libc/gen/fts.c:40:
In file included from
/usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/include/sys/mount.h:38:
/usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/include/sys/ucred.h:42:10:
fatal error: 'bsm/audit.h' file not found
#include 
   ^

Even defining HISTORICAL_MAKE_WORLD did not help, but then I'm not doing
'make world'

So why is this include file missing?



  Try with
https://cgit.freebsd.org/src/commit/?id=f41efc453ab5563cde214cb19273d87e6e4aa2d4
applied.
  You probably have WITHOUT_AUDIT=yes in src.conf



I'm pretty sure that was one of the settings in src.conf.

But the fan in the powersupply of my builder has crashed, and leaving my 
office smelling of melted plastic. ;(


So I first need to find a replacement PSU.

--WjW


___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Trying to build Current

2021-04-15 Thread Emmanuel Vadot
On Thu, 15 Apr 2021 10:51:39 +0200
Willem Jan Withagen via freebsd-current 
wrote:

> Hi,
> 
> I actually went completely back to the basic setup with directories 
> /usr/src and /usr/obj
> But even then I do not manage to buildworld.
> The process keeps bumping into missing bsm/audit.
> 
> First case was when it tried to build the 64bit libc.
> I copied the bsm directory into
>      /usr/obj/usr/src/amd64.amd64/tmp/usr/include/sys/
> 
> Which allowed it to continue.
> But then a bit further on it halts again in 32bit libc.
> Whcih I could fix the same way.
> 
> --- fts.o ---
> In file included from /usr/src/lib/libc/gen/fts.c:40:
> In file included from 
> /usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/include/sys/mount.h:38:
> /usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/include/sys/ucred.h:42:10: 
> fatal error: 'bsm/audit.h' file not found
> #include 
>   ^
> 
> Even defining HISTORICAL_MAKE_WORLD did not help, but then I'm not doing 
> 'make world'
> 
> So why is this include file missing?
> 
> --WjW
> 
> ___
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

 Try with
https://cgit.freebsd.org/src/commit/?id=f41efc453ab5563cde214cb19273d87e6e4aa2d4
applied.
 You probably have WITHOUT_AUDIT=yes in src.conf

-- 
Emmanuel Vadot  
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Trying to build Current

2021-04-15 Thread Willem Jan Withagen via freebsd-current

On 15-4-2021 12:44, Yuri Pankov wrote:

Willem Jan Withagen via freebsd-current wrote:

On 15-4-2021 11:47, Gary Jennejohn wrote:

On Thu, 15 Apr 2021 10:51:39 +0200
Willem Jan Withagen via freebsd-current 
wrote:


Hi,

I actually went completely back to the basic setup with directories
/usr/src and /usr/obj
But even then I do not manage to buildworld.
The process keeps bumping into missing bsm/audit.

First case was when it tried to build the 64bit libc.
I copied the bsm directory into
   __ /usr/obj/usr/src/amd64.amd64/tmp/usr/include/sys/

Which allowed it to continue.
But then a bit further on it halts again in 32bit libc.
Whcih I could fix the same way.

--- fts.o ---
In file included from /usr/src/lib/libc/gen/fts.c:40:
In file included from
/usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/include/sys/mount.h:38:
/usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/include/sys/ucred.h:42:10:

fatal error: 'bsm/audit.h' file not found
#include 
    ^

Even defining HISTORICAL_MAKE_WORLD did not help, but then I'm not doing
'make world'

So why is this include file missing?


Try running make includes first. This step is missing because you are NOT
doing a buildworld.


Well actual the commands were:

rm -rf /usr/src /usr/obj
mkdir -p /usr/src /usr/obj
cd /usr/src
git clone https://git.freebsd.org/src.git .
make -j16 buildworld

But I'll give it a shot anyways.

Anything in /etc/make.conf and /etc/src.conf?

I had the same idea,  but only after I asked the question
There was quite a lot of old cruft there
Removed it all, and I'm trying fresh again.
But Clang building, even with ccache takes quite some time.

--WjW
--WjW
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Trying to build Current

2021-04-15 Thread Willem Jan Withagen via freebsd-current

On 15-4-2021 11:47, Gary Jennejohn wrote:

On Thu, 15 Apr 2021 10:51:39 +0200
Willem Jan Withagen via freebsd-current  wrote:


Hi,

I actually went completely back to the basic setup with directories
/usr/src and /usr/obj
But even then I do not manage to buildworld.
The process keeps bumping into missing bsm/audit.

First case was when it tried to build the 64bit libc.
I copied the bsm directory into
  __ /usr/obj/usr/src/amd64.amd64/tmp/usr/include/sys/

Which allowed it to continue.
But then a bit further on it halts again in 32bit libc.
Whcih I could fix the same way.

--- fts.o ---
In file included from /usr/src/lib/libc/gen/fts.c:40:
In file included from
/usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/include/sys/mount.h:38:
/usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/include/sys/ucred.h:42:10:
fatal error: 'bsm/audit.h' file not found
#include 
   ^

Even defining HISTORICAL_MAKE_WORLD did not help, but then I'm not doing
'make world'

So why is this include file missing?


Try running make includes first. This step is missing because you are NOT
doing a buildworld.


Well actual the commands were:

rm -rf /usr/src /usr/obj
mkdir -p /usr/src /usr/obj
cd /usr/src
git clone https://git.freebsd.org/src.git .
make -j16 buildworld

But I'll give it a shot anyways.

--WjW
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Trying to build Current

2021-04-15 Thread Gary Jennejohn
On Thu, 15 Apr 2021 10:51:39 +0200
Willem Jan Withagen via freebsd-current  wrote:

> Hi,
> 
> I actually went completely back to the basic setup with directories 
> /usr/src and /usr/obj
> But even then I do not manage to buildworld.
> The process keeps bumping into missing bsm/audit.
> 
> First case was when it tried to build the 64bit libc.
> I copied the bsm directory into
>  __ /usr/obj/usr/src/amd64.amd64/tmp/usr/include/sys/
> 
> Which allowed it to continue.
> But then a bit further on it halts again in 32bit libc.
> Whcih I could fix the same way.
> 
> --- fts.o ---
> In file included from /usr/src/lib/libc/gen/fts.c:40:
> In file included from 
> /usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/include/sys/mount.h:38:
> /usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/include/sys/ucred.h:42:10: 
> fatal error: 'bsm/audit.h' file not found
> #include 
>   ^
> 
> Even defining HISTORICAL_MAKE_WORLD did not help, but then I'm not doing 
> 'make world'
> 
> So why is this include file missing?
> 

Try running make includes first. This step is missing because you are NOT
doing a buildworld.

-- 
Gary Jennejohn
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Trying to build Current

2021-04-15 Thread Willem Jan Withagen via freebsd-current

Hi,

I actually went completely back to the basic setup with directories 
/usr/src and /usr/obj

But even then I do not manage to buildworld.
The process keeps bumping into missing bsm/audit.

First case was when it tried to build the 64bit libc.
I copied the bsm directory into
    /usr/obj/usr/src/amd64.amd64/tmp/usr/include/sys/

Which allowed it to continue.
But then a bit further on it halts again in 32bit libc.
Whcih I could fix the same way.

--- fts.o ---
In file included from /usr/src/lib/libc/gen/fts.c:40:
In file included from 
/usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/include/sys/mount.h:38:
/usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/include/sys/ucred.h:42:10: 
fatal error: 'bsm/audit.h' file not found

#include 
 ^

Even defining HISTORICAL_MAKE_WORLD did not help, but then I'm not doing 
'make world'


So why is this include file missing?

--WjW

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Trying to build CURRENT

2001-12-20 Thread Ruslan Ermilov

On Wed, Dec 19, 2001 at 09:12:18PM -0600, Joe Halpin wrote:
 I'm getting the following error when running 'make buildworld'
 
 perl
 
-I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/des/asm:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/perlasm
 /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bf/asm/bf-586.pl
 elf 386  bf-586.cmt
 /usr/libexec/ld-elf.so.1: Shared object libperl.so.3 not found
 *** Error code 1
 
 Stop in /usr/src/secure/lib/libcrypto.
 *** Error code 1
 
 Stop in /usr/src/secure/lib.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 
 I'm running 4.4-RELEASE right now, and trying to go to -CURRENT. I did a
 cvsup to get the source, and ran make buildworld
 
 I just updated the source tree tonight. Should I wait to try again, or
 am I doing something wrong?
 
 I've got the complete make output in a file if that would help.
 
Your host environment is screwed, you lost /usr/lib/libperl.so.3.
Watch ``ldd /usr/bin/perl'' output.


Cheers,
-- 
Ruslan Ermilov  Oracle Developer/DBA,
[EMAIL PROTECTED]   Sunbay Software AG,
[EMAIL PROTECTED]  FreeBSD committer,
+380.652.512.251Simferopol, Ukraine

http://www.FreeBSD.org  The Power To Serve
http://www.oracle.com   Enabling The Information Age

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Trying to build CURRENT

2001-12-20 Thread Joe Halpin

Ruslan Ermilov wrote:
 
 On Wed, Dec 19, 2001 at 09:12:18PM -0600, Joe Halpin wrote:
  I'm getting the following error when running 'make buildworld'
 
  perl
  
-I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/des/asm:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/perlasm
  /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bf/asm/bf-586.pl
  elf 386  bf-586.cmt
  /usr/libexec/ld-elf.so.1: Shared object libperl.so.3 not found
  *** Error code 1
 
  Stop in /usr/src/secure/lib/libcrypto.
  *** Error code 1
 
  Stop in /usr/src/secure/lib.
  *** Error code 1
 
  Stop in /usr/src.
  *** Error code 1
 
  Stop in /usr/src.
  *** Error code 1
 
  Stop in /usr/src.
 
  I'm running 4.4-RELEASE right now, and trying to go to -CURRENT. I did a
  cvsup to get the source, and ran make buildworld
 
  I just updated the source tree tonight. Should I wait to try again, or
  am I doing something wrong?
 
  I've got the complete make output in a file if that would help.
 
 Your host environment is screwed, you lost /usr/lib/libperl.so.3.
 Watch ``ldd /usr/bin/perl'' output.

Yep. See my response to Mike. I got going again by manually copying it
from the build directory.

Thanks

Joe

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Trying to build CURRENT

2001-12-19 Thread Joe Halpin

I'm getting the following error when running 'make buildworld'

perl
-I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/des/asm:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/perlasm
/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bf/asm/bf-586.pl
elf 386  bf-586.cmt
/usr/libexec/ld-elf.so.1: Shared object libperl.so.3 not found
*** Error code 1

Stop in /usr/src/secure/lib/libcrypto.
*** Error code 1

Stop in /usr/src/secure/lib.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

I'm running 4.4-RELEASE right now, and trying to go to -CURRENT. I did a
cvsup to get the source, and ran make buildworld

I just updated the source tree tonight. Should I wait to try again, or
am I doing something wrong?

I've got the complete make output in a file if that would help.

Thanks

Joe

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message