Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Nov 2008 14:56:39 +0200
From:      Andriy Gapon <avg@icyb.net.ua>
To:        gabor@FreeBSD.org
Cc:        FreeBSD Ports <freebsd-ports@FreeBSD.org>
Subject:   Re: archivers/rar: lib32 is not actually needed on amd64
Message-ID:  <492AA487.1020105@icyb.net.ua>
In-Reply-To: <48FC923E.2080805@icyb.net.ua>
References:  <48FC923E.2080805@icyb.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
on 20/10/2008 17:14 Andriy Gapon said the following:
> I try to install archivers/rar on amd64 system without 32-bit userland
> (NO_LIB32) but with 32-bit support in kernel (COMPAT_IA32) and I get the
> following error:
> 
> ** Port marked as IGNORE: archivers/rar:
>         requires 32-bit libraries installed under /usr/lib32
> 
> On the other hand, if I comment out the following line in port's
> Makefile I get successful installation and properly working rar:
> IA32_BINARY_PORT=	YES
> 
> And also:
> $ file /usr/local/bin/rar
> /usr/local/bin/rar: ELF 32-bit LSB executable, Intel 80386, version 1
> (FreeBSD), statically linked, stripped
> 
> So, being a static executable rar can not require any libraries. It does
> require 32-bit support in kernel, of course.
> 
> So, I think that IA32_BINARY_PORT should be changed to some other check.
> E.g. something like IA32_STATIC_BINARY_PORT that would check only for
> HAVE_COMPAT_IA32_KERN and not for HAVE_COMPAT_IA32_LIBS (speaking in
> terms of bsd.port.mk).
> 
> I am CC-ing freebsd-ports because there can be other similar ports that
> could benefit from the suggested relaxed check.
> 

Anyone?

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?492AA487.1020105>