Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1604262

Summary: grass: FTBFS in Fedora rawhide
Product: [Fedora] Fedora Reporter: Mohan Boddu <mboddu>
Component: grassAssignee: markusN <neteler>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: cz172638, davejohansen, devrim, neteler, oliver, pertusus, volker27
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: grass-7.4.1-6.fc28 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-30 00:01:21 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: 1551327, 1602938    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Mohan Boddu 2018-07-19 21:48:22 UTC
grass failed to build from source in Fedora rawhide

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Please fix grass 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,
grass will be orphaned. Before branching of Fedora 30,
grass 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 Mohan Boddu 2018-07-19 21:48:30 UTC
Created attachment 1462668 [details]
build.log

Comment 2 Mohan Boddu 2018-07-19 21:48:35 UTC
Created attachment 1462669 [details]
root.log

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

Comment 3 Mohan Boddu 2018-07-19 21:48:40 UTC
Created attachment 1462670 [details]
state.log

Comment 4 markusN 2018-07-19 22:06:18 UTC
Nothing was changed in GRASS GIS related to gcc but:

checking whether to use C++... yes
checking for c++... no
checking for g++... no
checking for gcc... gcc
checking whether the C++ compiler (gcc -std=c++98 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro   -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--export-dynamic) works... no
configure: error: installation or configuration problem: C++ compiler cannot create executables.

I have no clue why this error?

Comment 5 markusN 2018-07-29 17:43:03 UTC
(In reply to markusN from comment #4)
> Nothing was changed in GRASS GIS related to gcc but:
> 
> checking whether to use C++... yes
> checking for c++... no
> checking for g++... no
> checking for gcc... gcc
> checking whether the C++ compiler (gcc -std=c++98 -O2 -g -pipe -Wall
> -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions
> -fstack-protector-strong -grecord-gcc-switches
> -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
> -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13
> -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro  
> -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld
> -Wl,--export-dynamic) works... no
> configure: error: installation or configuration problem: C++ compiler cannot
> create executables.
> 
> I have no clue why this error?

ok, Change: Remove GCC from BuildRoot
For more details, see: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot explains it. Working on a SPEC update...

Comment 6 Igor Raits 2018-07-30 00:01:21 UTC
There has been at least one successfull build after mass rebuild.

grass-7.4.1-6.fc29: https://koji.fedoraproject.org/koji/buildinfo?buildID=1131610

Comment 7 Fedora Update System 2018-07-30 07:10:04 UTC
grass-7.4.1-6.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-2f84e108d2

Comment 8 Fedora Update System 2018-07-30 19:38:45 UTC
grass-7.4.1-6.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-2f84e108d2

Comment 9 Fedora Update System 2018-08-14 21:07:30 UTC
grass-7.4.1-6.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.