Bug 1943020
| Summary: | nas: FTBFS with binutils-2.36.1: ar: libdeps specified more than once | |||
|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ondrej Dubaj <odubaj> | |
| Component: | nas | Assignee: | Petr Pisar <ppisar> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | rawhide | CC: | ppisar, rdieter | |
| 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: | ||||
| : | 1943274 (view as bug list) | Environment: | ||
| Last Closed: | 2021-03-30 08:42: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: | 1943274 | |||
| Bug Blocks: | ||||
|
Description
Ondrej Dubaj
2021-03-25 12:43:59 UTC
This has nothing to do with Autoconf-2.71. It's already failing in F35 with autoconf-2.69 <https://koschei.fedoraproject.org/build/10043369>. This is triggered with upgrading binutils from 2.35.1-34.fc34 to 2.36.1-7.fc35. This was automatically created bug due to failure with autoconf-2.71. No other investigation was made. *** Bug 1943138 has been marked as a duplicate of this bug. *** The failing command is: $ ar clq libdia.a dispatch.o dixutils.o events.o globals.o main.o resource.o swapreq.o tables.o swaprep.o audispatch.o auswap.o autables.o auevents.o auutil.o auconfig.o auprocess.o nasconf.o lex.o gram.o ar: libdeps specified more than once The reason is that GNU ar repurpossed an "l" option. From binutils NEWS: * The ar tool's previously unused l modifier is now used for specifying dependencies of a static library. The arguments of this option (or --record-libdeps long form option) will be stored verbatim in the __.LIBDEP member of the archive, which the linker may read at link time. The server/dia/Makefile code:
AR = ar clq
[...]
libdia.a: $(OBJS) $(EXTRALIBRARYDEPS)
$(RM) $@
$(AR) $@ $(OBJS)
$(RANLIB) $@
$(_NULLCMD_)
is generated by xmkmf command (via imake) from server/dia/Imakefile:
NormalLibraryTarget(dia,$(OBJS))
and /usr/share/X11/config/Imake.tmpl:
#ifndef SystemV4
#define SystemV4 NO /* SVR4 */
#endif
[...]
#ifndef HasLargeTmp
#define HasLargeTmp NO /* be paranoid */
#endif
[...]
#ifndef ArCmd
#if HasLargeTmp || SystemV4
#define ArCmd ArCmdBase cq
#else
#define ArCmd ArCmdBase clq
#endif
#endif
which belongs to imake-1.0.8-5.fc34.x86_64. This is a clash between imake and binutils-2.36.
Fixed in imake-1.0.8-6.fc35. |