Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jun 2010 18:15:13 +0200
From:      Christoph Weber-Fahr <cwf-ml@arcor.de>
To:        Christian Weisgerber <naddy@mips.inka.de>
Cc:        freebsd-ports-bugs@FreeBSD.org, freebsd-gnats-submit@FreeBSD.org
Subject:   Re: ports/148096: packages linux_base-* can not be built from ports on	amd64
Message-ID:  <4C24D611.1050402@arcor.de>
In-Reply-To: <201006242056.o5OKuLWv086851@lorvorc.mips.inka.de>
References:  <201006242056.o5OKuLWv086851@lorvorc.mips.inka.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

On 24.06.2010 22:56, Christian Weisgerber wrote:
> This should not happen.  crc32_x86.S should only be built on i386,
> not on amd64.
>
> What does the configure test
>   checking if assembler optimizations should be used...
> report as result?

I still maintain this bug is probably not with your port, and therefore
it should be reassgned to the real culprit :-)

Case in point:

When I try to make clean all from /usr/ports/archivers/xz then everything
works fine:

===>  Patching for xz-4.999.9_1
===>  Applying FreeBSD patches for xz-4.999.9_1
===>  Configuring for xz-4.999.9_1

XZ Utils 4.999.9beta

System type:
checking build system type... x86_64-portbld-freebsd7.3
checking host system type... x86_64-portbld-freebsd7.3

Configure options:
checking if debugging code should be compiled... no
checking which encoders to build... lzma1 lzma2 delta x86 powerpc ia64 arm
armthumb sparc
checking which decoders to build... lzma1 lzma2 delta x86 powerpc ia64 arm
armthumb sparc
checking which match finders to build... hc3 hc4 bt2 bt3 bt4
checking which integrity checks to build... crc32 crc64 sha256
checking if assembler optimizations should be used... x86_64
checking if unaligned memory access should be used... yes
checking if small size is preferred over speed... no
checking if threading support is wanted... yes
checking how programs should be linked against liblzma... dynamically
[...]
Making all in scripts
Making all in po
Making all in tests


But when the xz build is called from the linux_base-f9 build it looks different:

[...]
===>   libtool-2.2.6b depends on file: /usr/local/bin/xz - not found
===>    Verifying install for /usr/local/bin/xz in /usr/ports/archivers/xz
===>  Vulnerability check disabled, database not found
===>  License check disabled, port has not defined LICENSE
===>  Extracting for xz-4.999.9_1
=> MD5 Checksum OK for xz-4.999.9beta.tar.gz.
=> SHA256 Checksum OK for xz-4.999.9beta.tar.gz.
===>  Patching for xz-4.999.9_1
===>  Applying FreeBSD patches for xz-4.999.9_1
===>  Configuring for xz-4.999.9_1

XZ Utils 4.999.9beta

System type:
checking build system type... i386-portbld-freebsd7.3
checking host system type... i386-portbld-freebsd7.3

Configure options:
checking if debugging code should be compiled... no
checking which encoders to build... lzma1 lzma2 delta x86 powerpc ia64 arm
armthumb sparc
checking which decoders to build... lzma1 lzma2 delta x86 powerpc ia64 arm
armthumb sparc
checking which match finders to build... hc3 hc4 bt2 bt3 bt4
checking which integrity checks to build... crc32 crc64 sha256
checking if assembler optimizations should be used... x86
checking if unaligned memory access should be used... yes
checking if small size is preferred over speed... no
checking if threading support is wanted... yes
checking how programs should be linked against liblzma... dynamically
[...]

So ... somemthing is broken here - either the ports system itself or the way
the linux_base-* ports use it.

As for your question, the configure test reacts differently:

when called from /usr/ports/archivers/xz

	checking if assembler optimizations should be used... x86_64

when called from /usr/ports/emulators/linux_base-f9

	checking if assembler optimizations should be used... x86

Regards

Cristoph Weber-Fahr



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C24D611.1050402>