Bug 914788 (mingw-libtool)
| Summary: | Review Request: mingw-libtool - The GNU Portable Library Tool for MinGW | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Marc-Andre Lureau <marcandre.lureau> |
| Component: | Package Review | Assignee: | Nobody's working on this, feel free to take it <nobody> |
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | erik-fedora, fedora-mingw, package-review, valtri |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-03-19 23:57:11 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: | |||
| Bug Blocks: | 201449, 914790 | ||
|
Description
Marc-Andre Lureau
2013-02-22 18:57:55 UTC
The current mingw-libltdl only package doesn't provide the libtool script. However, some packages not using autotools, such as qemu, require it for the cross-compilation to work, for example calling i686-w64-mingw32-libtool I suggest Fedora MinGW provide mingw32-libtool/mingw64-libtool along the ltdl library. The current mingw-libltdl source package should be deprecated then. What's so special about this package that the regular native libtool package doesn't have? The only thing I can think of is the target-prefixed libtool script (i686-w64-mingw32-libtool). If this is the only thing and mingw-qemu really requires it then we can better add a wrapper script to the mingw-filesystem package (for which we already have the infrastructure in place) (In reply to Erik van Pienbroek from comment #2) > What's so special about this package that the regular native libtool package > doesn't have? The only thing I can think of is the target-prefixed libtool > script (i686-w64-mingw32-libtool). If this is the only thing and mingw-qemu > really requires it then we can better add a wrapper script to the > mingw-filesystem package (for which we already have the infrastructure in > place) the generated libtool script is specific to each target. A lot of variables/flags are different. A link wouldn't work afaict. I can confirm, even the mingw32 and mingw64 libtool scripts are very different (program-prefix, gcc internal paths, and other differences...).
Some comments:
1) There is a trick in the native libtool: to require specific version of gcc. The similar way could be used here for mingw32-gcc/mingw64-gcc:
%global gcc_version 4.8.1
# /usr/bin/libtool includes paths within gcc's versioned directories
# Libtool must be rebuilt whenever a new upstream gcc is built
Requires: gcc = %{gcc_version}
2) It could be useful to add mingw32-gcc-c++ (and mingw64-gcc-c++) build dependency, otherwise the CXX part is strange (using native g++).
This review is probably stalled and can be closed within week according to https://fedoraproject.org/wiki/Policy_for_stalled_package_reviews . I no longer need it, now that libcacard has been moved to a separate package. Feel free to reopen whoever want it. |