Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Oct 2021 20:49:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 258972] stage Q/A reporting extraneous dependencies
Message-ID:  <bug-258972-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 258972
           Summary: stage Q/A reporting extraneous dependencies
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: truckman@FreeBSD.org
                CC: ports-bugs@FreeBSD.org

As an example, if I build net/nmsg:

=3D=3D=3D=3D> Running Q/A tests (stage-qa)
Error: /usr/local/lib/libnmsg.so.8.0.0 is linked to
/usr/local/lib/libpgm-5.2.so.0 from net/openpgm but it is not declared as a
dependency
Warning: you need LIB_DEPENDS+=3Dlibpgm-5.2.so:net/openpgm
Error: /usr/local/lib/libnmsg.so.8.0.0 is linked to /usr/local/lib/libnorm.=
so.1
from net/norm but it is not declared as a dependency
Warning: you need LIB_DEPENDS+=3Dlibnorm.so:net/norm

but these libraries are not linked to libnmsg.so:

# readelf -d /wrkdirs/usr/ports/net/nmsg/work/stage/usr/local/lib/libnmsg.so

Dynamic section at offset 0x22aa0 contains 31 entries:
  Tag                Type                  Name/Value
 0x0000000000000001 NEEDED               Shared library: [libpcap.so.8]
 0x0000000000000001 NEEDED               Shared library: [libprotobuf-c.so.=
1]
 0x0000000000000001 NEEDED               Shared library: [libzmq.so.5]
 0x0000000000000001 NEEDED               Shared library: [libyajl.so.2]
 0x0000000000000001 NEEDED               Shared library: [libz.so.6]
 0x0000000000000001 NEEDED               Shared library: [libm.so.5]
 0x0000000000000001 NEEDED               Shared library: [libthr.so.3]
 0x0000000000000001 NEEDED               Shared library: [libc.so.7]
 0x000000000000000e SONAME               Library soname: [libnmsg.so.8]

These libraries are linked to libzmq.so.5, which comes from
ZEROMQ_LIB_DEPENDS=3D     libzmq.so:net/libzmq4

This appears to be a new problem since I don't recall seeing it a couple
weeks ago.  I took a brief look at Scripts/qa.sh and I don't see any
suspicious commits in that time period.

I've seen similar in another port in the last week.

If you try this example, I recommend disabling the DOXYGEN option to avoid
bringing in some heavyweight dependencies used to build the documentation.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



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