Bug 276787 - devel/libvirt: fails to build (poudriere)
Summary: devel/libvirt: fails to build (poudriere)
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Roman Bogorodskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-02 22:40 UTC by Dan Langille
Modified: 2024-02-07 16:33 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (novel)


Attachments
patch works (2.36 KB, text/plain)
2024-02-02 22:40 UTC, Dan Langille
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Langille freebsd_committer freebsd_triage 2024-02-02 22:40:57 UTC
Created attachment 248143 [details]
patch works

I have reproducible build failures on FreeBSD 14.0 with freshly updated ports trees on amd64.

full log: https://services.unixathome.org/poudriere/data/140amd64-default-deleteme3/2024-02-01_17h09m25s/logs/errors/libvirt-10.0.0.log

In part:

In file included from ../src/remote/remote_daemon.c:38:
In file included from ../src/remote/remote_daemon.h:28:
src/remote/lxc_protocol.h:13:5: error: unknown type name 'remote_nonnull_domain'
    remote_nonnull_domain dom;
    ^

Based on https://www.mail-archive.com/devel@lists.libvirt.org/msg01496.html "the build failure is non-deterministic".

I tried the patch in the above URL. It worked for me and is attached.
I tried MAKE_JOBS_UNSAFE=yes 

I don't know why this isn't showing up under fallout.
Comment 1 Dan Langille freebsd_committer freebsd_triage 2024-02-02 22:42:09 UTC
Sorry, this PR got submitted before my MAKE_JOBS_UNSAFE=yes finished. I'll comment again whenn I have those results.
Comment 2 Dan Langille freebsd_committer freebsd_triage 2024-02-02 22:44:00 UTC
The build with

ALLOW_MAKE_JOBS=no
MAKE_JOBS_UNSAFE=yes

Succeeds

https://services.unixathome.org/poudriere/build.html?mastername=140amd64-dvl&build=2024-02-02_22h31m11s
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-02-07 16:33:20 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bd305ba05fa0c1b89823adfd47e359be610aefb0

commit bd305ba05fa0c1b89823adfd47e359be610aefb0
Author:     Roman Bogorodskiy <novel@FreeBSD.org>
AuthorDate: 2024-02-05 09:10:35 +0000
Commit:     Roman Bogorodskiy <novel@FreeBSD.org>
CommitDate: 2024-02-07 16:32:20 +0000

    devel/libvirt: fix build with make jobs

    Add a fix from the upstream repository for build with make jobs.

    PR:             276787
    Reported by:    dvl

 devel/libvirt/Makefile | 3 +++
 devel/libvirt/distinfo | 4 +++-
 2 files changed, 6 insertions(+), 1 deletion(-)