Bug 280116 - Unable to build iocage on 14.1-RELEASE from ports
Summary: Unable to build iocage on 14.1-RELEASE from ports
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Ryan Moeller
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-03 22:26 UTC by Chris
Modified: 2024-07-05 08:55 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (freqlabs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris 2024-07-03 22:26:34 UTC
I encountered the following error after upgrading to 14.1-RELEASE from 13.2-RELEASE and trying to build iocage with portmaster;

/usr/src/sys/contrib/openzfs/include/libzfs.h:729:55: note: passing argument to parameter here
  729 | _LIBZFS_H int zfs_destroy_snaps(zfs_handle_t *, char *, boolean_t);
      |                                                       ^
11 warnings and 1 error generated.
error: command '/usr/bin/cc' failed with exit code 1
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/py-libzfs

===>>> make build failed for devel/py-libzfs@py311
===>>> Aborting update

===>>> Update for devel/py-libzfs@py311 failed
===>>> Aborting update



Updating source does not fix the error. Updating ports does not fix the error. I had a new system with a clean 14.0-RELEASE which I decided to upgrade to 14.1-RELEASE as well and tried to build from ports and with portmaster the iocage port, which results with the same error. I can't find any recent reference to any similar error.

How can I proceed? Where do I look?
Comment 1 Michael Osipov freebsd_committer freebsd_triage 2024-07-04 13:42:30 UTC
Doesn't look like a iocage issue, no?
Comment 2 Chris 2024-07-04 18:20:27 UTC
(In reply to Michael Osipov from comment #1)

No it doesn't look like it but it occurs when trying to build iocage on 14.1-RELEASE.

Build kernel and buildworld have no issues. 

It occurs on 2 different systems. One with 128G of RAM and a Xeon silver CPU and the other on an i7 with 16G RAM.

On both systems the port build works with 13.3-RELEASE and 14.0-RELEASE.
Comment 3 rainer 2024-07-05 08:55:41 UTC
I have created a separate PR for this:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280136