DevHeads.net

Broken dependencies: FreeSOLID

Hi,

how can i solve this dependencies ?

FreeSOLID has broken dependencies in the F-28 tree:
On x86_64:
FreeSOLID-devel-2.1.1-29.fc28.x86_64 requires pkgconfig(qhull)
On armhfp:
FreeSOLID-devel-2.1.1-29.fc28.armv7hl requires pkgconfig(qhull)
On ppc64le:
FreeSOLID-devel-2.1.1-29.fc28.ppc64le requires pkgconfig(qhull)
On aarch64:
FreeSOLID-devel-2.1.1-29.fc28.aarch64 requires pkgconfig(qhull)
On ppc64:
FreeSOLID-devel-2.1.1-29.fc28.ppc64 requires pkgconfig(qhull)
On s390x:
FreeSOLID-devel-2.1.1-29.fc28.s390x requires pkgconfig(qhull)
On i386:
FreeSOLID-devel-2.1.1-29.fc28.i686 requires pkgconfig(qhull)
Please resolve this as soon as possible.

Comments

Re: Broken dependencies: FreeSOLID

By Christian Dersch at 03/03/2018 - 07:19

Hi,

try qhull-devel instead of pkgconfig(qhull), afaik there was a change in
qhull package some days ago.

Greetings,
Christian

On 03/03/2018 11:16 AM, Martin Gansser wrote:

Re: Broken dependencies: FreeSOLID

By Martin Gansser at 03/03/2018 - 12:30

but there is no pkgconfig(qhull) in the spec file ?
<a href="https://src.fedoraproject.org/rpms/FreeSOLID/blob/master/f/FreeSOLID.spec" title="https://src.fedoraproject.org/rpms/FreeSOLID/blob/master/f/FreeSOLID.spec">https://src.fedoraproject.org/rpms/FreeSOLID/blob/master/f/FreeSOLID.spec</a>

Re: Broken dependencies: FreeSOLID

By Bob Mauchin at 03/03/2018 - 13:25

On samedi 3 mars 2018 17:30:30 CET Martin Gansser wrote:
Didn't you see the reply I made to your other thread?

<a href="https://lists.fedoraproject.org/archives/list/ ... at lists dot fedoraproject.org/" title="https://lists.fedoraproject.org/archives/list/ ... at lists dot fedoraproject.org/">https://lists.fedoraproject.org/archives/list/ ... at lists dot fedoraproject....</a>
message/YIAXJASDD5J6NMJHTON5PK5CRB4FUDQA/

I explained how to get rid of that Requires.

Re: Broken dependencies: FreeSOLID

By Martin Gansser at 03/03/2018 - 14:00

Sorry i ignored your message.

i changed now the line Requires: qhull to Requires: qhull-devel in patch FreeSOLID-2.1.1-pkgconfig.patch:

--- /dev/null
+++ b/FreeSOLID.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: FreeSolid
+Description: 3D collision detection C++ library
+Version: @VERSION@
+Requires: qhull-devel
+Libs: -L${libdir} -lFreeSOLID @QHULL_LIBS@
+Cflags: -I${includedir} -I/usr/include/FreeSOLID

an then it requires the following packges, is this correct ?
$ rpm -q --requires -p FreeSOLID-devel-2.1.1-29.fc27.x86_64.rpm
/bin/sh
/bin/sh
/bin/sh
/usr/bin/pkg-config
FreeSOLID(x86-64) = 2.1.1-29.fc27
libFreeSOLID.so.0()(64bit)
pkgconfig
pkgconfig(qhull-devel)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1

Re: Broken dependencies: FreeSOLID

By Kevin Kofler at 03/03/2018 - 14:57

Martin Gansser wrote:
No. Please just remove the "Requires: qhull" from the .pc file in
FreeSOLID-2.1.1-pkgconfig.patch entirely. There is already "@QHULL_LIBS@" in
"Libs:" that links to the qhull libraries.

You can add a "Requires: qhull-devel" to the RPM specfile (NOT the .pc file)
instead.

You cannot have a Requires on a non-pkgconfig library in the .pc file.

Kevin Kofler

Re: Broken dependencies: FreeSOLID

By Martin Gansser at 03/03/2018 - 18:09

Hi Kevin,
i made the mentioned changes, i hope it's correct.
<a href="https://src.fedoraproject.org/rpms/FreeSOLID/blob/master/f/FreeSOLID.spec" title="https://src.fedoraproject.org/rpms/FreeSOLID/blob/master/f/FreeSOLID.spec">https://src.fedoraproject.org/rpms/FreeSOLID/blob/master/f/FreeSOLID.spec</a>

Re: Broken dependencies: FreeSOLID

By Bob Mauchin at 03/03/2018 - 18:22

On samedi 3 mars 2018 23:09:56 CET Martin Gansser wrote:
Yes it should work now.

Re: Broken dependencies: FreeSOLID

By Ralf Corsepius at 03/03/2018 - 07:32

On 03/03/2018 12:19 PM, Christian Dersch wrote:
No. The change you are referring to happened in April 2016!

Ralf (Fedora qhull packager)

Re: Broken dependencies: FreeSOLID

By Christian Dersch at 03/03/2018 - 07:39

Oh, right, that was just mentioned on list some days ago…

On 03/03/2018 12:32 PM, Ralf Corsepius wrote: