Can not build dns/unbound and dns/nsd from latest ports with poudriere

Larry Rosenman ler at lerctr.org
Sun May 20 20:27:51 UTC 2018


On Sun, May 20, 2018 at 10:23:05PM +0200, Antoine Brodin wrote:
> On Sun, May 20, 2018 at 9:55 PM, Larry Rosenman <ler at lerctr.org> wrote:
> > On Sun, May 20, 2018 at 10:27:33PM +0300, Lev Serebryakov wrote:
> >> Hello Ports,
> >>
> >>  I have poudriere -CURRENT jail with full fresh ports tree. And build of
> >>  both `dns/unbound' and `dns/nsd' fails with very strange error:
> >>
> >> =======================<phase: build-depends  >============================
> >> ===========================================================================
> >> =======================<phase: lib-depends    >============================
> >> ===>   nsd-4.1.21 depends on shared library: libevent.so - not found
> >> ===>   Installing existing package /packages/All/libevent-2.1.8_1.txz
> >> [12x64-gw-default-job-01] Installing libevent-2.1.8_1...
> >> [12x64-gw-default-job-01] Extracting libevent-2.1.8_1: .......... done
> >> ===>   nsd-4.1.21 depends on shared library: libevent.so - not found
> >> *** Error code 1
> >>
> >>  and
> >>
> >> ===========================================================================
> >> =======================<phase: lib-depends    >============================
> >> ===>   unbound-1.7.1 depends on shared library: libexpat.so - not found
> >> ===>   Installing existing package /packages/All/expat-2.2.5.txz
> >> [12x64-gw-default-job-02] Installing expat-2.2.5...
> >> [12x64-gw-default-job-02] Extracting expat-2.2.5: .......... done
> >> ===>   unbound-1.7.1 depends on shared library: libexpat.so - not found
> >> *** Error code 1
> >>
> >>  Other 30+ ports I need had been built Ok!
> >>
> >>  This jail is very trimmed-of to simulate NanoBSD environment, but both
> >>  libevent-2.1.8_1 and expat-2.2.5 had been built without problems, too.
> >
> > I'm seeing this same behavior for ~300 ports since an upgrade from
> > r333381 to r333924.
> >
> > http://home.lerctr.org:8888/build.html?mastername=live-host-ports&build=2018-05-20_10h16m46s
> >
> > I've pinged bdrewery at FreeBSD.org about it.
> 
> Can you verify that:
> 
> file -b -L --mime-type /usr/local/lib/libevent.so
> or
> file -b -L --mime-type /usr/local/lib/libexpat.so
> returns application/x-sharedlib?
> 
> If not, this may be a regression in libmagic..
> 
borg.lerctr.org /home/ler $ ls /usr/local/poudriere/data/packages/live-host-ports/All/*expat*
/usr/local/poudriere/data/packages/live-host-ports/All/expat-2.2.5.txz
/usr/local/poudriere/data/packages/live-host-ports/All/linux-c7-expat-2.1.0_2.txz
borg.lerctr.org /home/ler $ sudo pkg install -f -r poudriere expat
Updating poudriere repository catalogue...
poudriere repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be REINSTALLED:
	expat-2.2.5 [poudriere]

Number of packages to be reinstalled: 1

Proceed with this action? [y/N]: y
[1/1] Reinstalling expat-2.2.5...
[1/1] Extracting expat-2.2.5: 100%
borg.lerctr.org /home/ler $ ls -l /usr/local/lib/libexpat*
-rw-r--r--  1 root  wheel  345162 May 20 09:55 /usr/local/lib/libexpat.a
lrwxr-xr-x  1 root  wheel      17 May 20 09:55 /usr/local/lib/libexpat.so -> libexpat.so.1.6.7
lrwxr-xr-x  1 root  wheel      17 May 20 09:55 /usr/local/lib/libexpat.so.1 -> libexpat.so.1.6.7
-rwxr-xr-x  1 root  wheel  173824 May 20 09:55 /usr/local/lib/libexpat.so.1.6.7
borg.lerctr.org /home/ler $ file -b -L --mime-type /usr/local/lib/libexpat.so
application/x-pie-executable
borg.lerctr.org /home/ler $
> Antoine

-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640                 E-Mail: ler at lerctr.org
US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 679 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20180520/53fb12f2/attachment.sig>


More information about the freebsd-ports mailing list