<snip> checking for varargs.h... no checking for Python support... no configure: error: Unable to find Python.h in standard locations error: Bad exit status from /var/tmp/rpm-tmp.mQXlg1 (%build) Bad exit status from /var/tmp/rpm-tmp.mQXlg1 (%build) RPM build errors: Child returncode was: 1 EXCEPTION: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/bacula.spec'] Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/mock/trace_decorator.py", line 70, in trace result = func(*args, **kw) File "/usr/lib/python2.4/site-packages/mock/util.py", line 316, in do raise mock.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/bacula.spec'] LEAVE do --> EXCEPTION RAISED Can provide more logs as needed, not sure what would be most helpful. python-devel is BuildRequired.
The only thing that comes to mind is that maybe you are looking for /usr/include/python2.5/Python.h instead of /usr/include/python2.6/Python.h ? If not that, please attach the mock log files.
Created attachment 327003 [details] Patch to fix building with Python 2.6
Ah, looks great. Thanks Ignacio, building now.
That does not appear to have helped: checking for varargs.h... no checking for Python support... no configure: error: Unable to find Python.h in standard locations error: Bad exit status from /var/tmp/rpm-tmp.WDdkJf (%build) Bad exit status from /var/tmp/rpm-tmp.WDdkJf (%build) RPM build errors: Child returncode was: 1 EXCEPTION: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target i386 --nodeps builddir/build/SPECS/bacula.spec'] Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/mock/trace_decorator.py", line 70, in trace result = func(*args, **kw) File "/usr/lib/python2.4/site-packages/mock/util.py", line 316, in do raise mock.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target i386 --nodeps builddir/build/SPECS/bacula.spec'] LEAVE do --> EXCEPTION RAISED Full logs at http://koji.fedoraproject.org/koji/taskinfo?taskID=1000629
That's because there's a typo on line 10 of your version of the patch.
<facepalm>. Good catch. After the day I at at work today, I'm surprised the thing wasn't COBOL. . . Built successfully.