Bug 1799680

Summary: neovim: FTBFS in Fedora rawhide/f32
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: neovimAssignee: Andreas Schneider <asn>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: aron, asn, gchamoul, igor.raits, michel
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: 2020-02-17 19:18:55 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: 1750908    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2020-02-06 18:44:12 UTC
neovim failed to build from source in Fedora rawhide/f32

https://koji.fedoraproject.org/koji/taskinfo?taskID=41319255


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Please fix neovim at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
neovim will be orphaned. Before branching of Fedora 33,
neovim will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://fedoraproject.org/wiki/Fails_to_build_from_source

Comment 1 Fedora Release Engineering 2020-02-06 18:44:15 UTC
Created attachment 1659775 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2020-02-06 18:44:17 UTC
Created attachment 1659776 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2020-02-06 18:44:19 UTC
Created attachment 1659777 [details]
state.log

Comment 4 Aron Griffis 2020-02-06 19:05:31 UTC
Andreas: I noticed this earlier today, but I don't know what to do about it. My builds of git master in copr are broken the same way: https://copr.fedorainfracloud.org/coprs/agriffis/neovim-nightly/build/1223588/

It seems to be related to a toolchain upgrade in Rawhide. My guess is that other packages are seeing similar issues, and that gradually there will be a general approach to resolve the duplicate symbols, but that's just a guess.

Comment 5 Andreas Schneider 2020-02-10 09:43:37 UTC
Either it is a toolchain bug or a bug with lua.

Comment 6 Ben Cotton 2020-02-11 16:34:26 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle.
Changing version to 32.

Comment 7 Fedora Release Engineering 2020-02-16 04:26:25 UTC
Dear Maintainer,

your package has not been built successfully in 32. Action is required from you.

If you can fix your package to build, perform a build in koji, and either create
an update in bodhi, or close this bug without creating an update, if updating is
not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to
acknowledge this. Following the latest policy for such packages [2], your package
will be orphaned if this bug remains in NEW state more than 8 weeks.

A week before the mass branching of Fedora 33 according to the schedule [3],
any packages not successfully rebuilt at least on Fedora 31 will be
retired regardless of the status of this bug.

[1] https://fedoraproject.org/wiki/Updates_Policy
[2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
[3] https://fedoraproject.org/wiki/Releases/33/Schedule

Comment 8 Andreas Schneider 2020-02-17 15:48:58 UTC
The issue is that gcc10 builds with -fno-common by default now. So the same global variable can be created twice. Also some enum declarations are wrong. I already fixed the issue. scratch-build is running.

Comment 9 Andreas Schneider 2020-02-17 17:25:52 UTC
Oh my god, there code is quite horrible. There are tons of global variable definitions in header files.

https://github.com/neovim/neovim/pull/11890