From owner-freebsd-ports@FreeBSD.ORG Mon Oct 20 14:14:28 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 3A6591065675 for ; Mon, 20 Oct 2008 14:14:28 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from falcon.cybervisiontech.com (falcon.cybervisiontech.com [217.20.163.9]) by mx1.freebsd.org (Postfix) with ESMTP id 230D58FC25 for ; Mon, 20 Oct 2008 14:14:27 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (localhost [127.0.0.1]) by falcon.cybervisiontech.com (Postfix) with ESMTP id 103D3744180; Mon, 20 Oct 2008 17:14:25 +0300 (EEST) X-Virus-Scanned: Debian amavisd-new at falcon.cybervisiontech.com Received: from falcon.cybervisiontech.com ([127.0.0.1]) by localhost (falcon.cybervisiontech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sVSZiylsZOmx; Mon, 20 Oct 2008 17:14:24 +0300 (EEST) Received: from [10.2.1.87] (gateway.cybervisiontech.com.ua [91.198.50.114]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by falcon.cybervisiontech.com (Postfix) with ESMTP id 16DFA744172; Mon, 20 Oct 2008 17:14:24 +0300 (EEST) Message-ID: <48FC923E.2080805@icyb.net.ua> Date: Mon, 20 Oct 2008 17:14:22 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.17 (X11/20080929) MIME-Version: 1.0 To: gabor@FreeBSD.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: FreeBSD Ports Subject: 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, 20 Oct 2008 14:14:28 -0000 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. -- Andriy Gapon