Opened 5 years ago

Closed 2 years ago

#10893 closed task (fixed)

Need an automated way to build HaikuPorts packages

Reported by: pulkomandy Owned by: pulkomandy
Priority: critical Milestone: R1/beta1
Component: - General Version: R1/Development
Keywords: Cc:
Blocked By: Blocking: #13104
Has a Patch: no Platform: All

Description

We currently don't have any way to check the haikuports repo for consistency.

Here are some known problems:

  • Some packages can't be built with the current version of gcc4 (ffmpeg, flac)
  • Some packages require libpcre 8.21, other require 8.33. It's not possible to install both.

For the alpha, we need a clean set of packages that can be rebuilt in one go to populate the repository. We need to create an emty repo, and import recipes from haikuports, first adding packages needed for a bootstrap build, then growing the repo with careful checking that everything is allright.

Tools to automate the testing process when a new recipe is uploaded (a buildbot) would be nice to have.

Failing this, alpha5 would be released with a repo from which not all packages can be installed, and even worse, not all packages can be rebuilt to an identical state. This would make bugfixing and maintenance quite difficult.

Change History (10)

comment:1 Changed 5 years ago by pulkomandy

Type: bugtask

comment:2 Changed 5 years ago by pulkomandy

Milestone: R1/alpha5R1/beta1

comment:3 Changed 4 years ago by scottmc

Are there still conflicts with libpcre? The big one I knew about was Paladin, but I believe that one now works with the 8.33 as of a few weeks ago.

comment:4 Changed 4 years ago by pulkomandy

These particular known issues are probably solved, but the ticket is more about a more reliable way to avoid these problems (automated rebuild of the repo from haikuports sources). Work is in progress at http://haikungfu.net.

comment:5 Changed 4 years ago by waddlesplash

Summary: Haikuports repository is inconsistentNeed an automated way to build HaikuPorts packages

comment:6 Changed 4 years ago by pulkomandy

Owner: changed from zooey to waddlesplash
Status: newassigned

comment:7 Changed 3 years ago by waddlesplash

Owner: changed from waddlesplash to mmlr

comment:8 Changed 3 years ago by pulkomandy

Owner: changed from mmlr to pulkomandy

comment:9 Changed 2 years ago by diver

Blocking: 13104 added

comment:10 Changed 2 years ago by pulkomandy

Resolution: fixed
Status: assignedclosed

This is now in place at vmpkg.haiku-os.org. The system is not working perfectly, but it is good enough for the beta1 release. We can improve on it in the future.

Note: See TracTickets for help on using tickets.