Solved ports-mgmt/poudriere bulk build ignored upgradeable ports (net-mgmt/ng_ipacct)

Hi All

I found ports-mgmt/poudriere bulk build ignore upgradeable ports before.
Remove and reinstall ports fixed.

But now this problem is happening again.
This case: net-mgmt/ng_ipacct, it dependence on by net/mpd5 and contain in pkglist file.
I checked net-mgmt/ng_ipacct, no IGNORE tag found.

Procedure:
  1. Update /usr/ports
  2. Ports tree
    # poudriere ports -l
    PORTSTREE METHOD TIMESTAMP PATH
    basePortsTree - /usr/ports
  3. Make sure it need upgrade
    # pkg version -vL=
    ng_ipacct-20210316.1500068_2 < needs updating (port has 20210316.1501000_2)
  4. ports-mgmt/poudriere pkgclean whith debug output -vv
    # poudriere pkgclean -Ay -p basePortsTree -j epopenXcom -vv -f /usr/local/etc/poudriere.d/*.pkglist and logging to ng_fail.log start from line 2.
  5. ports-mgmt/poudriere bulk build whith debug output -vv
    # poudriere bulk -p basePortsTree -j epopenXcom -vv -f /usr/local/etc/poudriere.d/*.pkglist and logging to to ng_fail.log start from line 11400.
In log, ports-mgmt/poudriere saw net-mgmt/ng_ipacct but won't to build.
I assume I misconfig but no idea to do next.

Could help to debug possibly?
Thanks a lot.
 
I'm pretty sure the version of the poudriere jail is the issue here.

Code:
[00:04:07] Debug: Unqueueing ng_ipacct-20210316.1500068_2
Notice the kernel version that's tacked on here? That says it's 15.0. And it already had that package built, so it's not going to rebuild.
 
Oh, I think I see what's wrong. Your host OS is 15.1, your poudriere jail probably is 15.0. What does poudriere jail -l show?
# poudriere jail -l
JAILNAME VERSION ARCH METHOD TIMESTAMP PATH
epopenXcom 15.0-RELEASE amd64 http 2025-12-24 10:28:07 /usr/local/poudriere/jails/epopenXcom

Yes, my jail is 15.0
When study for ports-mgmt/poudriere, I assume that base system minor version updates won’t affect the ABI and avoid rebuild all of ports, so jail only get updated with base system major version update. 🤔

Is suggestion jail update when minor version updates?

Thanks you
 
I assume that base system minor version updates won’t affect the ABI
For userland, yes. For kernel modules, no. More often than not kernel modules built for 15.0 will crash and burn when loaded on a 15.1 kernel. Which is why there's now a FreeBSD-ports-kmods repository.

Is suggestion jail update when minor version updates?
I simply create a new jail and a whole new repository. But I use those repositories on other systems too, not all of them are upgraded at the same time so I still have a need for 15.0 packages while I work my way through upgrading each system.
 
I'm pretty sure the version of the poudriere jail is the issue here.

Code:
[00:04:07] Debug: Unqueueing ng_ipacct-20210316.1500068_2
Notice the kernel version that's tacked on here? That says it's 15.0. And it already had that package built, so it's not going to rebuild.
Ouch! you are correct, I didn't notice it! 😅
Look like jail update even minor version updates😆
I will update jail to try again.

Previous, kind of problem occurred with other ports(without kernel version like this case) in 15.0-RELEASE base system, therefore I have never notice it.🫠

Thanks you very much👍
 
Back
Top