File libqcow.changes of Package failed_libqcow

Repair summary for failed_libqcow

Date: 2025-08-29

Root cause (from build log):
- Build failed during "make install" of the Python extension (pyqcow) with libtool error:
  "libtool:   error: error: cannot install 'pyqcow.la' to a directory not ending in /usr/"
- This indicates libtool refused to install a .la file because the configured installation prefix did not match an expected /usr/ path when using DESTDIR.

Minimal fix applied:
- File modified: libqcow.spec
- Change: Added explicit --prefix=/usr to the %configure invocation in the %build section so that libtool computes install paths ending in /usr/ and accepts installation into DESTDIR.

Why this fix:
- libtool checks that install paths match expected system prefixes. Passing --prefix=/usr aligns the package's configure script with the expected layout during RPM packaging.

Files changed:
- temp_workspace/failed_libqcow/libqcow.spec

Next steps:
- Rebuild the package in the OBS environment to verify the fix. If libtool still complains, consider adding --libdir or other configure flags to match target architecture lib directories.

End of report.
openSUSE Build Service is sponsored by