Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Nov 2023 23:54:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 274978] emulators/qemu-devel: conflict with sysutils/dtc (libftd, ftd.h)
Message-ID:  <bug-274978-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274978

            Bug ID: 274978
           Summary: emulators/qemu-devel: conflict with sysutils/dtc
                    (libftd, ftd.h)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: jcfyecrayz@liamekaens.com
                CC: bofh@freebsd.org, uboot@FreeBSD.org
                CC: bofh@freebsd.org, uboot@FreeBSD.org

emulators/qemu-devel fails if sysutils/dtc is installed:

=3D=3D=3D>   Registering installation for qemu-devel-8.2.0.20231031 as auto=
matic
Installing qemu-devel-8.2.0.20231031...
pkg-static: qemu-devel-8.2.0.20231031 conflicts with dtc-1.6.0 (installs fi=
les
into the same place).  Problematic file: /usr/local/include/fdt.h


After the recent update to qemu-devel, it appears to be building against a =
copy
of dtc extracted in WRKDIR.

Is it important that qemu-devel use THAT particular version of the upstream
repo (https://git.kernel.org/pub/scm/utils/dtc/dtc.git)?  Or could the
qemu-devel build be convinced to use sysutils/dtc?

If it is considered required or desirable to build against an imported vers=
ion
of libfdt, perhaps qemu-devel should not install that imported version into
PREFIX/{lib,include}.  In that case, maybe don't install libfdt & fdt.h at =
all
- and statically link to libfdt.  Or install libfdt to a private directory =
(and
use rpath during linking) - for instance, install libftd.so to PREFIX/qemu/=
lib.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274978-7788>