Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 736754 - dev-cpp/gtest-1.10.0_p20200702 fails to compile
Summary: dev-cpp/gtest-1.10.0_p20200702 fails to compile
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Peter Levine
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 735268
  Show dependency tree
 
Reported: 2020-08-11 14:12 UTC by Agostino Sarubbo
Modified: 2020-09-07 19:45 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,15.97 KB, text/plain)
2020-08-11 14:13 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-08-11 14:12:56 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-cpp/gtest-1.10.0_p20200702 fails to compile.
Discovered on: s390 (internal ref: s390_at)
Comment 1 Agostino Sarubbo gentoo-dev 2020-08-11 14:13:03 UTC
Created attachment 654116 [details]
build.log

build log and emerge --info
Comment 2 Peter Levine 2020-08-14 05:01:58 UTC
> {standard input}: Assembler messages:
> {standard input}:2456979: Warning: end of file not at end of a line; newline inserted

From what I've read, this is often indicative of an out-of-memory error.  

The build log shows that you have only about 330 MiB free out of about 2 GiB of RAM.

The build isn't big but debugging symbols can make it blow up.  Just for sanity's sake,  try repoducing the error with CXXFLAGS="-march=z13 -mzarch -m64" (i.e., no -On and no -pipe or any other flags) and FEATURES="-sandbox". Post the build.log again if it still fails.
Comment 3 Peter Levine 2020-08-28 04:06:31 UTC
(In reply to Agostino Sarubbo from comment #0)
> https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/
> 
> Issue: dev-cpp/gtest-1.10.0_p20200702 fails to compile.
> Discovered on: s390 (internal ref: s390_at)

From the build.log:
> {standard input}: Assembler messages:
> {standard input}:2456979: Warning: end of file not at end of a line; newline inserted

From what I've read, this is often indicative of an out-of-memory error.  

The build log shows that you have only about 330 MiB free out of about 2 GiB
of RAM.

The build isn't big but debugging symbols can make it blow up.  Just for
sanity's sake,  try repoducing the error with CXXFLAGS="-march=z13 -mzarch
-m64" (i.e., no -On and no -pipe or any other flags) and
FEATURES="-sandbox". Post the build.log again if it still fails.
Comment 4 Peter Levine 2020-09-07 19:45:39 UTC
I'm tentatively closing this bug.  If reproducible when tested with the suggested flags, feel free to reopen and post the build.log.