Bug 514187
| Summary: | compiled mingw files include the sys-root path | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Paolo Bonzini <pbonzini> |
| Component: | redhat-rpm-config | Assignee: | Jon Masters <jonathan> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | berrange, erik-fedora, fedora-mingw, fedora, jonathan, lfarkas, marcandre.lureau, pmatilai, rjones |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 513826 | Environment: | |
| Last Closed: | 2009-09-09 14:13:16 UTC | Type: | --- |
| 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: | 513826 | ||
| Bug Blocks: | |||
|
Description
Paolo Bonzini
2009-07-28 08:39:28 UTC
It turns out that a lot of binaries in mingw32 include the sys-root path. This is bad, as it is comparable to including the rpm-build-root in a binary RPM: ./mingw/bin/gettextize:prefix="/usr/i686-pc-mingw32/sys-root/mingw" ./mingw/bin/gettextize:gettext_dir="/usr/i686-pc-mingw32/sys-root/mingw/share/gettext" ./mingw/bin/gettextize: exec_prefix="/usr/i686-pc-mingw32/sys-root/mingw" ./mingw/bin/gettextize: bindir="/usr/i686-pc-mingw32/sys-root/mingw/bin" Binary file ./mingw/bin/libtermcap-0.dll matches Binary file ./mingw/bin/msgexec.exe matches Binary file ./mingw/bin/libgmodule-2.0-0.dll matches Binary file ./mingw/bin/tndbm.exe matches Binary file ./mingw/bin/libgettextsrc-0-17.dll matches Binary file ./mingw/bin/conv2gdbm.exe matches This however is a huge can of worms since it includes dependency_libs in libtool libraries: ./mingw/lib/libpng.la:dependency_libs=' /usr/i686-pc-mingw32/sys-root/mingw/lib/libz.la' and as far as I know libtool does not support sysrooting. Jon: Please don't apply this patch - read the comments in bug 513826 first, and the discussion on the fedora-mingw mailing list. Of course this patch is not meant to be applied. "The remaining part is to change the packages to do a change similar to what the
patch does to %{_mingw32_makeinstall}" and "This however is a huge can of worms" should be clear enough.
Please discuss packaging problems on the list. Closing as NOTABUG. |