Opened 16 months ago

Closed 4 months ago

#18565 closed task (fixed)

Upgrade various build-packages

Reported by: waddlesplash Owned by: nobody
Priority: critical Milestone: R1/beta5
Component: Build System Version: R1/beta4
Keywords: Cc:
Blocked By: #17829, #17836, #18537, #18581, #18769, #18876 Blocking:
Platform: All

Description (last modified by pulkomandy)

This should be done before the next release.

  1. libsolv (https://review.haiku-os.org/c/haiku/+/6270)

This will require careful testing, as libsolv is used for dependency solving in Package Kit.

  1. ICU (https://review.haiku-os.org/c/haiku/+/5966/4 and https://github.com/haikuports/haikuports/pull/7665)

ICU 67 is now outdated, but apparently anything newer than 69 results in an unbootable system. That will need to be investigated.

Additionally, there are a number of packages that will need to be rebuilt following an ICU upgrade, so as to avoid requiring two versions of ICU with the base install.

  1. Gutenprint (https://review.haiku-os.org/c/haiku/+/5969 and #17836)

This should be straightforward.

  1. OpenEXR (#18537)

See comments in that ticket: some work at HaikuPorts will be needed before this is done.

Change History (24)

comment:1 by waddlesplash, 16 months ago

Description: modified (diff)

comment:2 by pulkomandy, 16 months ago

Also add ffmpeg to this list: #17829

Probably some more functions we use are going to be deprecated, I'm OK with solving these problems if needed.

comment:3 by pulkomandy, 16 months ago

Regarding ICU: the most likely problem is that ICU ends up calling the standard C library for some locale things. They do not take into account that our C locale support is implemented using ICU. We already patched some things like that in previous versions, and I think they were happy to upstream those patches.

The problem is investigating exactly which function is problematic.

That being said, updating to ICU 67 would already be nice :)

comment:4 by pulkomandy, 11 months ago

Blocked By: 18581 added

comment:5 by pulkomandy, 11 months ago

Blocked By: 18769 added

comment:6 by pulkomandy, 11 months ago

Blocked By: 17829 added

comment:7 by pulkomandy, 11 months ago

Blocked By: 17836 added

comment:8 by kallisti5, 11 months ago

ICU 74 is being tracked here: https://review.haiku-os.org/c/haiku/+/7346

https://dev.haiku-os.org/ticket/18769 tracks the current ICU crash. Pulkomandy found the cause, just need to figure out why it's happening since we should be patching around it.

comment:9 by kallisti5, 11 months ago

We're on ICU 74 as of hrev57575

comment:10 by kallisti5, 9 months ago

ffmpeg6 on all x86 ports as of hrev57669

comment:11 by kallisti5, 9 months ago

gutenprint8 updated to gutenprint9 on all x86 ports as of hrev57671

comment:12 by pulkomandy, 8 months ago

Blocked By: 18876 added

comment:13 by nephele, 7 months ago

Type: bugtask

comment:14 by pulkomandy, 7 months ago

Description: modified (diff)

During the update of OpenSSL, Python also need to be rebuilt. Should we update to Python 3.10 or some later version as well while we're at it? Python 3.10 is the one providing cmd:python3 in Haikuports at the moment, so it would make sense to use that.

comment:15 by pulkomandy, 7 months ago

Blocked By: 18537 added

comment:16 by waddlesplash, 7 months ago

At least for libsolv: I think we should switch to using a vendored version. We already build it from source during the build because we use it as part of the build tools, and it's such a critical component that shipping only a specific version along with the OS seems to make the most sense. It's not a very large C library; we vendor much larger pieces of code as it is, I think.

comment:17 by pulkomandy, 7 months ago

Blocked By: 18339 added

comment:18 by pulkomandy, 7 months ago

There is already discussion of libsolv vendoring in #18339, let's keep that discussion in the appropriate ticket (which I now made a dependency of this one).

comment:19 by jmairboeck, 7 months ago

Perl was moved to GCC13 only now, so when updating build packages for x86_gcc2, it must be updated to perl_x86.

comment:20 by pulkomandy, 4 months ago

libsolv will be done in beta 6.

Anything else left to do here?

comment:21 by waddlesplash, 4 months ago

GCC2 package updates aren't completed, hence why I haven't closed this ticket yet.

comment:22 by waddlesplash, 4 months ago

Sync mostly done in hrev57949+2 but libtiff needs a bit more work.

comment:23 by waddlesplash, 4 months ago

Blocked By: 18339 removed

comment:24 by waddlesplash, 4 months ago

Resolution: fixed
Status: newclosed

Libtiff done in hrev57960.

Note: See TracTickets for help on using tickets.