Re: Need help with build on x86_64 arch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2006-03-16 at 20:26 +0100, Joost Soeterbroek wrote:
> Hi,
> 
> Need help with build on x86_64 arch:
> 
> My package builds correctly on i386 arch with mock, but fails in plague
> on x86_64 arch:
> 
> http://buildsys.fedoraproject.org/logs/fedora-development-extras/6309-clearsilver-0.10.3-1.fc5/
> 
Well, here's the relevant problem in the build.log::

+ make install DESTDIR=/var/tmp/clearsilver-0.10.3-1.fc5-root-mockbuild
[...]
make[1]: Entering directory
`/builddir/build/BUILD/clearsilver-0.10.3/python'
../mkinstalldirs /var/tmp/clearsilver-0.10.3-1.fc5-root-mockbuild/usr/lib/python2.4/site-packages
mkdir /var/tmp/clearsilver-0.10.3-1.fc5-root-mockbuild/usr/lib
mkdir /var/tmp/clearsilver-0.10.3-1.fc5-root-mockbuild/usr/lib/python2.4
mkdir /var/tmp/clearsilver-0.10.3-1.fc5-root-mockbuild/usr/lib/python2.4/site-packages
/usr/bin/install -c neo_cgi.so /var/tmp/clearsilver-0.10.3-1.fc5-root-mockbuild/usr/lib/python2.4/site-packages
make[1]: Leaving directory `/builddir/build/BUILD/clearsilver-0.10.3/python'

make install is using /usr/lib/python2.4 instead of %{_libdir}/python2.4.

The root of the problem is in the configure.in which attempts to determine a lot of information about
python but does it wrong... Especially on multilib systems.  You could fix the configure.in to use
python's builtin understanding of its sitearch/sitelib directories and send the fixes upstream.  An
alternate hack in the spec file that is not suitable for upstream would be to sed the rules.mk file 
to place the proper value for the python paths in this line::

PYTHON_SITE = @PYTHON_SITE@

-Toshio

-- 
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux