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

Antoine Brodin antoine at freebsd.org
Sun May 20 20:23:08 UTC 2018


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..

Antoine


More information about the freebsd-ports mailing list