Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

archivers/rar: lib32 is not actually needed on amd64

20 views
Skip to first unread message

Andriy Gapon

unread,
Oct 20, 2008, 10:14:22 AM10/20/08
to

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
_______________________________________________
freebs...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-port...@freebsd.org"

Andriy Gapon

unread,
Nov 24, 2008, 7:56:39 AM11/24/08
to
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?

Gábor Kövesdán

unread,
Nov 24, 2008, 7:59:33 AM11/24/08
to
Andriy Gapon escribió:

> 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?
>
>
I'm sorry, I forgot about your first mail because I was very busy. I'll
take a look soon.

Regards,

--
Gabor Kovesdan

EMAIL: ga...@FreeBSD.org
WWW: http://www.kovesdan.org

_______________________________________________
freebs...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-port...@freebsd.org"

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-...@muc.de

0 new messages