Bug 464959 - FTBFS PythonCard-0.8.2-1.fc10
FTBFS PythonCard-0.8.2-1.fc10
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: PythonCard (Show other bugs)
rawhide
x86_64 Linux
high Severity high
: ---
: ---
Assigned To: Marek Mahut
Fedora Extras Quality Assurance
http://linux.dell.com/files/fedora/Fi...
:
Depends On:
Blocks: F10FTBFS
  Show dependency treegraph
 
Reported: 2008-10-01 11:42 EDT by FTBFS
Modified: 2008-10-29 08:39 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-10-29 08:39:47 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
root.log (1.10 MB, text/plain)
2008-10-01 11:42 EDT, FTBFS
no flags Details
build.log (189.96 KB, text/plain)
2008-10-01 11:42 EDT, FTBFS
no flags Details
mock.log (1020 bytes, text/plain)
2008-10-01 11:42 EDT, FTBFS
no flags Details

  None (edit)
Description FTBFS 2008-10-01 11:42:31 EDT
PythonCard-0.8.2-1.fc10.src.rpm Failed To Build From Source against the rawhide tree.  See http://fedoraproject.org/wiki/FTBFS for more information.
Comment 1 FTBFS 2008-10-01 11:42:35 EDT
Created attachment 318275 [details]
root.log

root.log for x86_64
Comment 2 FTBFS 2008-10-01 11:42:36 EDT
Created attachment 318276 [details]
build.log

build.log for x86_64
Comment 3 FTBFS 2008-10-01 11:42:37 EDT
Created attachment 318277 [details]
mock.log

mock.log for x86_64
Comment 4 Matt Domsch 2008-10-29 00:57:48 EDT
* Need to use sitelib, not sitearch, for noarch.
* need to nuke build/ dir, not include it in the package.

diff -u -b -B -u -r1.1 PythonCard.spec
--- PythonCard.spec     8 Aug 2008 15:42:33 -0000       1.1
+++ PythonCard.spec     29 Oct 2008 04:56:49 -0000
@@ -1,4 +1,4 @@
-%define python_sitearch %(%{__python} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(1)')
+%define python_sitelib %(%{__python} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(0)')

 Name:          PythonCard
 Version:       0.8.2
@@ -31,10 +31,11 @@
 rm -rf $RPM_BUILD_ROOT
 env CFLAGS="$RPM_OPT_FLAGS" python setup.py install --root=$RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}
-mv $RPM_BUILD_ROOT/%{python_sitearch}/%{name}/samples $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}/
-mv $RPM_BUILD_ROOT/%{python_sitearch}/%{name}/docs $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}/
-mv $RPM_BUILD_ROOT/%{python_sitearch}/%{name}/tools $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}/examples
+mv $RPM_BUILD_ROOT/%{python_sitelib}/%{name}/samples $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}/
+mv $RPM_BUILD_ROOT/%{python_sitelib}/%{name}/docs $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}/
+mv $RPM_BUILD_ROOT/%{python_sitelib}/%{name}/tools $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}/examples
 mv *.txt $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}/
+rm -rf $RPM_BUILD_ROOT/%{python_sitelib}/%{name}/build

 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -43,9 +44,9 @@
 %defattr(-,root,root,-)
 %exclude %{_bindir}/install-pythoncard.*
 %if 0%{?fedora} >= 9
-%{python_sitearch}/*egg-info
+%{python_sitelib}/*egg-info
 %endif
-%{python_sitearch}/%{name}
+%{python_sitelib}/%{name}
 %{_docdir}/%{name}-%{version}

 %changelog
Comment 5 Matt Domsch 2008-10-29 08:39:47 EDT
committed and building in koji.
 http://koji.fedoraproject.org/koji/taskinfo?taskID=910576

Note You need to log in before you can comment on or make changes to this bug.