Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 May 2018 22:23:05 +0200
From:      Antoine Brodin <antoine@freebsd.org>
To:        Larry Rosenman <ler@lerctr.org>
Cc:        Lev Serebryakov <lev@freebsd.org>, ports@freebsd.org
Subject:   Re: Can not build dns/unbound and dns/nsd from latest ports with poudriere
Message-ID:  <CAALwa8kck6Tkf3aSXZ=UNF9F5%2BAvE7RzwUDQFLCM60CmTZOh%2BA@mail.gmail.com>
In-Reply-To: <20180520195547.txwaljbp6ryi5ia7@ler-imac.local>
References:  <399603664.20180520222733@serebryakov.spb.ru> <20180520195547.txwaljbp6ryi5ia7@ler-imac.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, May 20, 2018 at 9:55 PM, Larry Rosenman <ler@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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAALwa8kck6Tkf3aSXZ=UNF9F5%2BAvE7RzwUDQFLCM60CmTZOh%2BA>