Bug 2003326
| Summary: | build failures in latest stable 1.44.2 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Community] Virtualization Tools | Reporter: | Toolybird <toolybird> | ||||
| Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | unspecified | CC: | lersek, mhicks, ptoscano | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2021-09-13 07:54:54 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: | |||||||
| Attachments: |
|
||||||
|
Description
Toolybird
2021-09-11 06:05:00 UTC
Right, glibc 2.34 no longer requires -lpthread so this issue is only going to get worse over time (with everything). I upgraded to glibc 2.34 everywhere now. Are you building from the tarball or git? If git, did you "git submodule update"? > Are you building from the tarball or git? Tarball. > I upgraded to glibc 2.34 everywhere now. Are you able to spin up a container with glibc-2.33? I'm afraid my hacks won't cut the mustard. Please try these commits on top of 1.44.2: https://github.com/libguestfs/libguestfs/commit/e26cfa445a1947503a03c55d8d65263530747062 https://github.com/libguestfs/libguestfs/commit/489b14b75e5f30010d8a8c8d3a10ecc52b629563 https://github.com/libguestfs/libguestfs/commit/68a02c2f6c7b4243ecb298c0d9539f0fc51a52ce Created attachment 1822412 [details]
build fix
(sorry for the late response - in a different timezone)
> Please try these commits on top of 1.44.2:
Still not quite there yet..
The first and third patches definitely solve the "-pthread" issues. The second patch seems to be solving a problem I'm not seeing.
To make a successful build I had to apply the attached patch to the common submodule files.
Thanks for the quick response! Cheers.
I guess it's to do with splitting out guestfs-tools from libguestfs. If I uninstall libguestfs then the build failure is reproducible. However we can't apply that patch to the common module since it would break upstream builds, so I suggest carrying that patch downstream. As this is now fixed as far as possible, I'm closing the bug. |