Bug 1283975

Summary: libarchive FTBFS on 32-bit architectures during stage2 bootstrap - undefined reference to `lzma_*'
Product: [Fedora] Fedora Reporter: Jaromír Cápík <jcapik>
Component: libarchiveAssignee: Pavel Raiskup <praiskup>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: ovasik, praiskup
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-23 10:19:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1224209    
Attachments:
Description Flags
libarchive.log
none
libarchive.log none

Description Jaromír Cápík 2015-11-20 12:27:04 UTC
Created attachment 1097159 [details]
libarchive.log

Description of problem:
During the stage2 bootstrap we experience FTBFS on 32-bit architectures.

---
CCLD   bsdtar
./.libs/libarchive.a(archive_write_add_filter_xz.o): In function `drive_compressor':
/stage2/rpmbuild/BUILD/libarchive-3.1.2/libarchive/archive_write_add_filter_xz.c:477: undefined reference to `lzma_code'
/stage2/rpmbuild/BUILD/libarchive-3.1.2/libarchive/archive_write_add_filter_xz.c:477: undefined reference to `lzma_code'
/stage2/rpmbuild/BUILD/libarchive-3.1.2/libarchive/archive_write_add_filter_xz.c:500: undefined reference to `lzma_memusage'
./.libs/libarchive.a(archive_write_add_filter_xz.o): In function `archive_compressor_xz_close':
/stage2/rpmbuild/BUILD/libarchive-3.1.2/libarchive/archive_write_add_filter_xz.c:433: undefined reference to `lzma_end'
./.libs/libarchive.a(archive_write_add_filter_xz.o): In function `archive_compressor_xz_write':
/stage2/rpmbuild/BUILD/libarchive-3.1.2/libarchive/archive_write_add_filter_xz.c:397: undefined reference to `lzma_crc32'
---

The full log is attached.


Version-Release number of selected component (if applicable):
libarchive-3.1.2-11.fc21


How reproducible:
always

Comment 1 Pavel Raiskup 2015-11-20 12:38:38 UTC
Thanks for the report.  Am I able to reproduce 'stage2' somehow?

Comment 2 Pavel Raiskup 2015-11-20 12:42:06 UTC
At least it would be fine to know whether (a) autotools are installed, (b)
what are the configure options, (c) what is inside /usr/share/config.site
file, (d) what are the compiler/linker options (make V=1).

Comment 3 Jaromír Cápík 2015-11-20 14:06:19 UTC
Ahoj Pavle.
I think I've found the reason why this happens. The liblzma is not built correctly in stage1. Please, let me do a complete rebuild with a fix and if that helps, I'll close this report.
Thanks.

Comment 4 Jaromír Cápík 2015-11-23 10:04:57 UTC
Created attachment 1097607 [details]
libarchive.log

Comment 5 Jaromír Cápík 2015-11-23 10:19:58 UTC
The problem seems to be fixed. Closing.