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 - grass: FTBFS in Fedora rawhide
Summary: grass: FTBFS in Fedora rawhide
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: grass
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: markusN
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1551327 F29FTBFS
TreeView+ depends on / blocked
 
Reported: 2018-07-19 21:48 UTC by Mohan Boddu
Modified: 2019-01-09 12:54 UTC (History)
7 users (show)

Fixed In Version: grass-7.4.1-6.fc28
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-07-30 00:01:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (16.85 KB, text/plain)
2018-07-19 21:48 UTC, Mohan Boddu
no flags Details
root.log (32.00 KB, text/plain)
2018-07-19 21:48 UTC, Mohan Boddu
no flags Details
state.log (611 bytes, text/plain)
2018-07-19 21:48 UTC, Mohan Boddu
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.