puppylinux-woof-CE / woof-CE

woof - the Puppy builder
GNU General Public License v2.0
382 stars 273 forks source link

Ubuntu is moving system binaries from bin to usr/bin #4244

Closed peabee closed 2 months ago

peabee commented 4 months ago

Starting with 24.04 Presumably because 24.04 is heading to being a usrmerge distro..... So far affected: bash udev

With the changes the bash & udev package/templates are no longer correct

dimkr commented 4 months ago

Also grep, sed and many other packages (inherited directly from Debian):

grep (3.11-4) unstable; urgency=low
[...]
  * Move files to /usr for DEP17 (Closes: #1059755)
[...]
sed (4.9-2) unstable; urgency=medium
[...]
  * Patch from Helmut Grohne to move sed to /usr/bin.  closes: #1059821.
[...]

(these two changes can break autoconf in a non-usrmerge sytsem and cause build failures in some packages)

The only practical solution is to build with USR_SYMLINKS=yes and finally align with Ubuntu: the old layout worked although Ubuntu went usrmerge-only only because Debian supported non-usrmerge until 12, but Ubuntu is slowly receiving the post-12 packages that assume usrmerge.

peabee commented 4 months ago

I would think that 99% of grep and sed uses would be path agnostic. However searching for bin/grep in woof-code does show a couple of uses of "grep with path attached" although its not clear why. e.g. /woof-code/packages-templates/geany_FIXUPHACK There are no occurrences of bin/sed. All the petbuilds currently build OK. I suspect that this may be the finish of the UPup32 series.....

dimkr commented 4 months ago

I would think that 99% of grep and sed uses would be path agnostic.

739cb62 was needed because this assumption is wrong. Some build systems assume /bin/grep, etc'. You'll see this once you start building more things from source instead of relying on .pet packages built in some older Puppy.