[tlbuild] Build fail on OpenSUSE 11.3 amd64

Peter Breitenlohner peb at mppmu.mpg.de
Tue Mar 20 09:21:53 CET 2012


On Mon, 19 Mar 2012, Martin Schröder wrote:

> 2012/3/19 Peter Breitenlohner <peb at mppmu.mpg.de>:
>> indeed, but why.  My guess is, that your system has a file config.site in
>> /usr/share/ or /etc/ or /usr/etc/ or some such location (or, more unlikely,
>> that CONFIG_SITE is defined in your environment).  Such a file can set site
>> defaults and in doing so append '64' to $libdir.
>
> Indeed; only that machine has $CONFIG_SITE
> ----------------------
>> export|fgrep CONFIG_SITE
> declare -x CONFIG_SITE="/usr/share/site/x86_64-unknown-linux-gnu"
>> rpm -qf /usr/share/site/x86_64-unknown-linux-gnu
> site-config-0.1-7.1.x86_64
>> rpm -qi site-config
> Name        : site-config                  Relocations: (not relocatable)
> Version     : 0.1                               Vendor:
> obs://build.opensuse.org/devel:tools
> Release     : 7.1                           Build Date: Mi 07 Dez 2011
> 10:15:04 CET
> Install Date: Mi 07 Dez 2011 20:17:59 CET      Build Host: build16
> Group       : Development/Tools/Building    Source RPM:
> site-config-0.1-7.1.src.rpm
> Size        : 20624                            License: BSD-3-Clause
> Signature   : DSA/SHA1, Mi 07 Dez 2011 10:15:52 CET, Key ID 868ea2eb32567f38
> Summary     : Site Paths Configuration for autoconf Based configure Scripts
> Description :
> Site configuration for autoconf based configure scripts provides smart
> defaults for paths that are not specified.
> Distribution: devel:tools:building / openSUSE_11.3
> ----------------------
> Is that package buggy?

Hi Martin,

that package is fine.  The file /usr/share/site/x86_64-unknown-linux-gnu is
sourced early in every configure script and probably contains a line
   test "$libdir" = '${exec_prefix}/lib' && libdir='${exec_prefix}/lib64
such that the default value for $libdir is changed (/lib => /lib64).

The TL build system is now (r25708) modified to avoid a lib/lib64 confusion
in the presence of such a 'Site configuration' file.  Can you test this?
this.

Regards
Peter


More information about the tlbuild mailing list