Re: py-libzfs build failure on current, zpool_search_import() missing

2023-02-08 Thread Alexander Leidinger
Quoting Ryan Moeller  (from Fri, 3 Feb 2023  
10:48:35 -0500):



The build still fails on -current as of end of Jan with "too few
argument to function call, expected 4, have 3" for zfs_iter_filesystems.

Is a patch for openzfs in -current missing? I haven't seen a commit to
-current in openzfs in the last 2 days.


The openzfs changes aren't that recent, but the py-libzfs port has
been out of date for a while. I'll spin up a new snapshot VM and fix
whatever is still broken.


I can confirm that the 20230207 version of py-libzfs builds (and  
works) on -current. Thanks!


Bye,
Alexander.

--
http://www.Leidinger.net alexan...@leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.orgnetch...@freebsd.org  : PGP 0x8F31830F9F2772BF


pgpMIsS8likHB.pgp
Description: Digitale PGP-Signatur


Re: py-libzfs build failure on current, zpool_search_import() missing

2023-02-02 Thread Alexander Leidinger
Quoting Ryan Moeller  (from Thu, 2 Feb 2023  
10:43:53 -0500):



I've updated the py-libzfs port to fix the build.


The build still fails on -current as of end of Jan with "too few  
argument to function call, expected 4, have 3" for zfs_iter_filesystems.


Is a patch for openzfs in -current missing? I haven't seen a commit to  
-current in openzfs in the last 2 days.


Bye,
Alexander.

--
http://www.Leidinger.net alexan...@leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.orgnetch...@freebsd.org  : PGP 0x8F31830F9F2772BF


pgpXHOYNsPe15.pgp
Description: Digitale PGP-Signatur


Re: py-libzfs build failure on current, zpool_search_import() missing

2023-02-02 Thread Alan Somers
Thanks!  But for the record, what was the actual required change?
Could you like to the PR?

On Thu, Feb 2, 2023 at 8:44 AM Ryan Moeller  wrote:
>
> I've updated the py-libzfs port to fix the build.
>
> --
> Ryan Moeller
> iXsystems, Inc.
> OS Developer
> Email: r...@ixsystems.com



Re: py-libzfs build failure on current, zpool_search_import() missing

2023-02-02 Thread Alexander Leidinger
Quoting Alan Somers  (from Thu, 2 Feb 2023  
06:58:35 -0700):



Unfortunately libzfs doesn't have a stable API, so this kind of
breakage is to be expected.  libzfs_core does, but libzfs_core is
incomplete.  You should report this problem upstream at
https://github.com/truenas/py-libzfs .


I did already.

https://github.com/truenas/py-libzfs/issues/224

There is no libzfs_core.h in /usr/include, can it be that we need to  
install this there?


Bye,
Alexander.

--
http://www.Leidinger.net alexan...@leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.orgnetch...@freebsd.org  : PGP 0x8F31830F9F2772BF


pgpqkRgAqlhhN.pgp
Description: Digitale PGP-Signatur


Re: py-libzfs build failure on current, zpool_search_import() missing

2023-02-02 Thread Alan Somers
Unfortunately libzfs doesn't have a stable API, so this kind of
breakage is to be expected.  libzfs_core does, but libzfs_core is
incomplete.  You should report this problem upstream at
https://github.com/truenas/py-libzfs .

On Thu, Feb 2, 2023 at 2:37 AM Alexander Leidinger
 wrote:
>
> Hi,
>
> the build of py-libzfs fails on -current due to a missing
> zpool_search_import(), and as such iocage can not be build (and the
> old iocage segfaults, so the ABI seems to have changed too). The
> symbol is available in libzutil, but I can not find
> zpool_search_import() in /usr/include.
>
> Anyone with an idea if there is something missing (maybe something to
> be installed into /usr/include), or what needs to be done to py-libzfs?
>
> Bye,
> Alexander.
>
> --
> http://www.Leidinger.net alexan...@leidinger.net: PGP 0x8F31830F9F2772BF
> http://www.FreeBSD.orgnetch...@freebsd.org  : PGP 0x8F31830F9F2772BF



py-libzfs build failure on current, zpool_search_import() missing

2023-02-02 Thread Alexander Leidinger

Hi,

the build of py-libzfs fails on -current due to a missing  
zpool_search_import(), and as such iocage can not be build (and the  
old iocage segfaults, so the ABI seems to have changed too). The  
symbol is available in libzutil, but I can not find  
zpool_search_import() in /usr/include.


Anyone with an idea if there is something missing (maybe something to  
be installed into /usr/include), or what needs to be done to py-libzfs?


Bye,
Alexander.

--
http://www.Leidinger.net alexan...@leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.orgnetch...@freebsd.org  : PGP 0x8F31830F9F2772BF


pgpT2LpLYHf04.pgp
Description: Digitale PGP-Signatur


Re: build failure on -current

2021-12-17 Thread Gary Jennejohn
On Fri, 17 Dec 2021 09:44:20 -0800
Chuck Tuffli  wrote:

> When building current from git, I keep hitting the error below. This
> is with meta-mode, but I've also tried deleting the object directory.
> The system also has a couple of tweaks to src-env.conf that were an
> attempt to avoid building any (most?) of clang. Relevant system
> information:
> 
> $ uname -mrsv
> FreeBSD 14.0-CURRENT FreeBSD 14.0-CURRENT main-22c4ab6cb0 GENERIC  amd64
> $ cat /etc/src-env.conf
> WITH_META_MODE=YES
> WITHOUT_CLANG=YES
> WITHOUT_CLANG_BOOTSTRAP=YES
> $ env MAKEOBJDIRPREFIX=$(realpath ../obj) make buildworld -j$(sysctl -n 
> hw.ncpu)
> 
> --- Core/ModuleList.o ---
> In file included from
> /usr/home/ctuffli/dev/freebsd/src.git/contrib/llvm-project/lldb/source/Core/ModuleList.cpp:34:
> In file included from
> /usr/home/ctuffli/dev/freebsd/src.git/contrib/llvm-project/clang/include/clang/Driver/Driver.h:12:
> In file included from
> /usr/home/ctuffli/dev/freebsd/src.git/contrib/llvm-project/clang/include/clang/Basic/Diagnostic.h:17:
> /usr/home/ctuffli/dev/freebsd/src.git/contrib/llvm-project/clang/include/clang/Basic/DiagnosticIDs.h:71:10:
> fatal error: 'clang/Basic/DiagnosticCommonKinds.inc' file not found
> #include "clang/Basic/DiagnosticCommonKinds.inc"
>  ^~~
> 1 error generated.
> *** [Core/ModuleList.o] Error code 1
> 
> Where did I goof? TIA
> 

Do you need lldb?  If not you could try adding WITHOUT_LLDB to
src-env.conf and see what happens.

-- 
Gary Jennejohn



build failure on -current

2021-12-17 Thread Chuck Tuffli
When building current from git, I keep hitting the error below. This
is with meta-mode, but I've also tried deleting the object directory.
The system also has a couple of tweaks to src-env.conf that were an
attempt to avoid building any (most?) of clang. Relevant system
information:

$ uname -mrsv
FreeBSD 14.0-CURRENT FreeBSD 14.0-CURRENT main-22c4ab6cb0 GENERIC  amd64
$ cat /etc/src-env.conf
WITH_META_MODE=YES
WITHOUT_CLANG=YES
WITHOUT_CLANG_BOOTSTRAP=YES
$ env MAKEOBJDIRPREFIX=$(realpath ../obj) make buildworld -j$(sysctl -n hw.ncpu)

--- Core/ModuleList.o ---
In file included from
/usr/home/ctuffli/dev/freebsd/src.git/contrib/llvm-project/lldb/source/Core/ModuleList.cpp:34:
In file included from
/usr/home/ctuffli/dev/freebsd/src.git/contrib/llvm-project/clang/include/clang/Driver/Driver.h:12:
In file included from
/usr/home/ctuffli/dev/freebsd/src.git/contrib/llvm-project/clang/include/clang/Basic/Diagnostic.h:17:
/usr/home/ctuffli/dev/freebsd/src.git/contrib/llvm-project/clang/include/clang/Basic/DiagnosticIDs.h:71:10:
fatal error: 'clang/Basic/DiagnosticCommonKinds.inc' file not found
#include "clang/Basic/DiagnosticCommonKinds.inc"
 ^~~
1 error generated.
*** [Core/ModuleList.o] Error code 1

Where did I goof? TIA

--chuck



Build failure in -current

2000-12-17 Thread Jordan Hubbard

sh ../../conf/newvers.sh BOOTMFS 
cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  
-nostdinc -I-  -I. -I../.. -I../../dev -I../../../include 
-I../../contrib/dev/acpica/Subsystem/Include  -D_KERNEL -include opt_global.h -elf  
-mpreferred-stack-boundary=2  vers.c
linking BOOTMFS
ffs_inode.o: In function `ffs_truncate':
ffs_inode.o(.text+0x2e5): undefined reference to `softdep_slowdown'
ufs_lookup.o: In function `ufs_dirremove':
ufs_lookup.o(.text+0x1175): undefined reference to `softdep_slowdown'
*** Error code 1


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



RE: Build failure in -current

2000-12-17 Thread Chris Knight

Howdy,

I've been noticing this on my daily builds for the last five days. I've just
tried the attached patch, which works for me.

Regards,
Chris Knight
Systems Administrator
AIMS Independent Computer Professionals
Tel: +61 3 6334 6664  Fax: +61 3 6331 7032  Mob: +61 419 528 795
Web: http://www.aims.com.au



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Jordan Hubbard
 Sent: Monday, 18 December 2000 7:00
 To: [EMAIL PROTECTED]
 Subject: Build failure in -current


 sh ../../conf/newvers.sh BOOTMFS
 cc -c -O -Wall -Wredundant-decls -Wnested-externs
 -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
 -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc
 -I-  -I. -I../.. -I../../dev -I../../../include
 -I../../contrib/dev/acpica/Subsystem/Include  -D_KERNEL
 -include opt_global.h -elf  -mpreferred-stack-boundary=2  vers.c
 linking BOOTMFS
 ffs_inode.o: In function `ffs_truncate':
 ffs_inode.o(.text+0x2e5): undefined reference to `softdep_slowdown'
 ufs_lookup.o: In function `ufs_dirremove':
 ufs_lookup.o(.text+0x1175): undefined reference to `softdep_slowdown'
 *** Error code 1


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


 dokern.sh.diff


Re: Build failure in -current

2000-12-17 Thread Jordan Hubbard

 I've been noticing this on my daily builds for the last five days. I've just
 tried the attached patch, which works for me.

Well, that's a fix, just not the right one. :)  There should be no
"dangling references" to soft updates if SOFTUPDATES is not defined.

- Jordan


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



Re: Build failure in -current

2000-12-17 Thread assar

"Chris Knight" [EMAIL PROTECTED] writes:
 I've been noticing this on my daily builds for the last five days. I've just
 tried the attached patch, which works for me.

But it does only solve the problem for `make release'.  Please upgrade
so that you have sys/ufs/ffs/ffs_softdep_stub.c 1.15 which should
solve the problem in a more general way.

/assar


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



RE: Build failure in -current

2000-12-17 Thread Chris Knight

Howdy,

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Jordan Hubbard
 Sent: Monday, 18 December 2000 10:54
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: Re: Build failure in -current


  I've been noticing this on my daily builds for the last
 five days. I've just
  tried the attached patch, which works for me.

 Well, that's a fix, just not the right one. :)  There should be no
 "dangling references" to soft updates if SOFTUPDATES is not defined.

I realise that. I always use soft updates, so it wasn't a problem for me. It
took less time to add it into the boot floppies than work out what a
non-softupdates softdep_slowdown should return.

 - Jordan

Regards,
Chris Knight
Systems Administrator
AIMS Independent Computer Professionals
Tel: +61 3 6334 6664  Fax: +61 3 6331 7032  Mob: +61 419 528 795
Web: http://www.aims.com.au




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



RE: Build failure in -current

2000-12-17 Thread Chris Knight

Howdy,

You beat me to it. I was just about to send a patch that did exactly the
same thing.

Regards,
Chris Knight
Systems Administrator
AIMS Independent Computer Professionals
Tel: +61 3 6334 6664  Fax: +61 3 6331 7032  Mob: +61 419 528 795
Web: http://www.aims.com.au



 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
 [EMAIL PROTECTED]
 Sent: Monday, 18 December 2000 11:02
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: Re: Build failure in -current


 "Chris Knight" [EMAIL PROTECTED] writes:
  I've been noticing this on my daily builds for the last
 five days. I've just
  tried the attached patch, which works for me.

 But it does only solve the problem for `make release'.  Please upgrade
 so that you have sys/ufs/ffs/ffs_softdep_stub.c 1.15 which should
 solve the problem in a more general way.

 /assar


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





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



build failure w/ current

2000-03-15 Thread Kent Hauser


make world fails:

cvsup from 3/15/00 14:00 GMT or so.



=== sys/boot/i386/libi386
cc -O -pipe -I/usr/src/sys/boot/i386/libi386/../../common 
-I/usr/src/sys/boot/i386/libi386/../btx/lib  -I/usr/src/sys/boot/i386/libi386/../../.. 
-I. -DCOMPORT=0x3f8 -DCOMSPEED=9600 -DTERM_EMU -I/usr/obj/usr/src/i386/usr/include -c 
/usr/src/sys/boot/i386/libi386/aout_freebsd.c -o aout_freebsd.o
cc -O -pipe -I/usr/src/sys/boot/i386/libi386/../../common 
-I/usr/src/sys/boot/i386/libi386/../btx/lib  -I/usr/src/sys/boot/i386/libi386/../../.. 
-I. -DCOMPORT=0x3f8 -DCOMSPEED=9600 -DTERM_EMU -I/usr/obj/usr/src/i386/usr/include -c 
/usr/src/sys/boot/i386/libi386/biosdisk.c -o biosdisk.o
/usr/src/sys/boot/i386/libi386/biosdisk.c: In function `bd_print':
/usr/src/sys/boot/i386/libi386/biosdisk.c:242: syntax error before `,'
/usr/src/sys/boot/i386/libi386/biosdisk.c:289: case label not within a switch statement
/usr/src/sys/boot/i386/libi386/biosdisk.c:293: default label not within a switch 
statement
/usr/src/sys/boot/i386/libi386/biosdisk.c: At top level:
/usr/src/sys/boot/i386/libi386/biosdisk.c:301: syntax error before `}'
/usr/src/sys/boot/i386/libi386/biosdisk.c:103: warning: `bd_printslice' used but never 
defined
/usr/src/sys/boot/i386/libi386/biosdisk.c:106: warning: `bd_strategy' used but never 
defined
/usr/src/sys/boot/i386/libi386/biosdisk.c:108: warning: `bd_open' used but never 
defined
/usr/src/sys/boot/i386/libi386/biosdisk.c:109: warning: `bd_close' used but never 
defined
/usr/src/sys/boot/i386/libi386/biosdisk.c:123: warning: `bd_opendisk' used but never 
defined
/usr/src/sys/boot/i386/libi386/biosdisk.c:124: warning: `bd_closedisk' used but never 
defined
*** Error code 1

Stop in /usr/src/sys/boot/i386/libi386.
*** Error code 1

Stop in /usr/src/sys/boot/i386.
*** Error code 1

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

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

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

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

Stop in /usr/src.


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