From owner-freebsd-ports@FreeBSD.ORG Mon Nov 24 12:56:42 2008 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 311781065672 for ; Mon, 24 Nov 2008 12:56:42 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 45EA18FC17 for ; Mon, 24 Nov 2008 12:56:41 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id OAA07346; Mon, 24 Nov 2008 14:56:39 +0200 (EET) (envelope-from avg@icyb.net.ua) Message-ID: <492AA487.1020105@icyb.net.ua> Date: Mon, 24 Nov 2008 14:56:39 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.17 (X11/20081106) MIME-Version: 1.0 To: gabor@FreeBSD.org References: <48FC923E.2080805@icyb.net.ua> In-Reply-To: <48FC923E.2080805@icyb.net.ua> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: FreeBSD Ports Subject: Re: archivers/rar: lib32 is not actually needed on amd64 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Nov 2008 12:56:42 -0000 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