Page MenuHomeFreeBSD

devel/libgnuregex: Fix building after gnulib update
ClosedPublic

Authored by arrowd on Tue, Apr 14, 9:11 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 19, 10:47 AM
Unknown Object (File)
Sun, Apr 19, 4:36 AM
Unknown Object (File)
Sun, Apr 19, 3:49 AM
Unknown Object (File)
Sun, Apr 19, 2:17 AM
Unknown Object (File)
Sun, Apr 19, 1:14 AM
Unknown Object (File)
Sat, Apr 18, 10:21 PM
Unknown Object (File)
Sat, Apr 18, 9:43 PM
Unknown Object (File)
Sat, Apr 18, 8:19 AM

Details

Test Plan

poudriere testport, no runtime testing

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

arrowd created this revision.

thanks, that's nicer than what I was about to do after playing whack-a-mole with this path for a while.

This revision is now accepted and ready to land.Tue, Apr 14, 9:54 AM

Sorry for breaking it in the first place. I have no idea how I missed it when going over gnulib dependents.

Sorry for breaking it in the first place. I have no idea how I missed it when going over gnulib dependents.

No worries!

BTW, isn't bump of PORTVERSION or PORTREVISION needed as of codebase (in gnulib) changes?

Looking into commit history, especially of the first one at svn revision 559542, PORTREVISION seems to be preferrable.

https://svnweb.freebsd.org/ports?view=revision&revision=559542

BTW, isn't bump of PORTVERSION or PORTREVISION needed as of codebase (in gnulib) changes?

Looking into commit history, especially of the first one at svn revision 559542, PORTREVISION seems to be preferrable.

https://svnweb.freebsd.org/ports?view=revision&revision=559542

You don't need a PORTREVISION bump to address build failures, unless the failures weren't across the board (e.g., worked fine on x86 but not arm64) -- there wouldn't be any functional packages, so everyone will naturally try to rebuild it. The PORTVERSION here reflected the shlib version, so it's already not very meaningful (and the ABI won't have changed)- I would be inclined to leave it alone and think about the version independently of this change in particular, since it's a more general problem that we have no idea what version of gnuilb any particular libgnuregex was built against.

BTW, isn't bump of PORTVERSION or PORTREVISION needed as of codebase (in gnulib) changes?

Looking into commit history, especially of the first one at svn revision 559542, PORTREVISION seems to be preferrable.

https://svnweb.freebsd.org/ports?view=revision&revision=559542

You don't need a PORTREVISION bump to address build failures, unless the failures weren't across the board (e.g., worked fine on x86 but not arm64) -- there wouldn't be any functional packages, so everyone will naturally try to rebuild it. The PORTVERSION here reflected the shlib version, so it's already not very meaningful (and the ABI won't have changed)- I would be inclined to leave it alone and think about the version independently of this change in particular, since it's a more general problem that we have no idea what version of gnuilb any particular libgnuregex was built against.

What I meant was that this build breakage is caused by acutal code updates on gnulib that this port copies installed files from to build. So the bump is not for fixing build but for code updates corresponding to 20260127 at commit ports 929d989d32b56f3968371e6cd311ab9e9bd94a0d.

Note that bumps for every gnulib updates are not needed, but in case that files used for this is actually updated regardless build failures happenes or not.

BTW, isn't bump of PORTVERSION or PORTREVISION needed as of codebase (in gnulib) changes?

Looking into commit history, especially of the first one at svn revision 559542, PORTREVISION seems to be preferrable.

https://svnweb.freebsd.org/ports?view=revision&revision=559542

You don't need a PORTREVISION bump to address build failures, unless the failures weren't across the board (e.g., worked fine on x86 but not arm64) -- there wouldn't be any functional packages, so everyone will naturally try to rebuild it. The PORTVERSION here reflected the shlib version, so it's already not very meaningful (and the ABI won't have changed)- I would be inclined to leave it alone and think about the version independently of this change in particular, since it's a more general problem that we have no idea what version of gnuilb any particular libgnuregex was built against.

What I meant was that this build breakage is caused by acutal code updates on gnulib that this port copies installed files from to build. So the bump is not for fixing build but for code updates corresponding to 20260127 at commit ports 929d989d32b56f3968371e6cd311ab9e9bd94a0d.

Note that bumps for every gnulib updates are not needed, but in case that files used for this is actually updated regardless build failures happenes or not.

Yes, in a perfect world libgnuregex would have gotten a PORTREVISION bump when gnulib updated, but the update to gnulib triggers a rebuild anyways and that fails- since the port is actively failing, we don't need a revision bump at this time.