On Thu, May 21, 2009 at 09:32:20AM -0700, Alex Popov wrote:
> On 5/21/2009 08:44, Alex Popov wrote:
>> Can't install lablgtk-1.2.7p6: lib not found Xi.10.1
>> Xi.10.1: partial match in /usr/X11R6/lib: major=10, minor=0 (minor not large
>> enough)
>>
>> Which probably means that my snapshot is out of date:
>> I am running OpenBSD 4.5 (GENERIC) #1749: Sat Feb 28 14:51:18 MST 2009
>>
> I updated to the May 20th snapshot and it unison builds fine. Thanks for
> all your help.
>
> One strange thing that I noticed is that it tries to install both
> flavors (stable and no_x11), and of course the second fails because of
> the conflict with the first. Is this an expected behavior or only main
> flavor is supposed to be installed?
The 'stable' and 'snapshot' variants are different packages. Try
# cd /usr/ports/net/unison/stable
^^^^^^
# make install
(Or .../snapshot, of course.)
This behaviour is expected and useful (e.g. for bulk package builds),
but you'll have to cd to the proper directory if you just want to
install a single port.
Joachim
>
> # make install
> ===> net/unison/stable
> ===> Installing unison-2.27.57p1 from /usr/ports/packages/i386/all/
> unison-2.27.57p1: complete
> ===> net/unison/stable,no_x11
> ===> Installing unison-2.27.57p1-no_x11 from /usr/ports/packages/i386/all/
> Can't install unison-2.27.57p1-no_x11 because of conflicts
> (unison-2.27.57p1)
> /usr/sbin/pkg_add: unison-2.27.57p1-no_x11:Fatal error
> *** Error code 1
>
> Stop in /usr/ports/net/unison/stable (line 1462 of
> /usr/ports/infrastructure/mk/bsd.port.mk).
> ===> Exiting net/unison/stable,no_x11 with an error
> *** Error code 1
>
> Stop in /usr/ports/net/unison (line 129 of
> /usr/ports/infrastructure/mk/bsd.port.subdir.mk).