Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 840152 - dev-lang/mercury-20.06.1 - cc1: all warnings being treated as errors
Summary: dev-lang/mercury-20.06.1 - cc1: all warnings being treated as errors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Keri Harris
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: werror gcc-12
  Show dependency tree
 
Reported: 2022-04-22 12:26 UTC by Toralf Förster
Modified: 2022-05-14 14:54 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.77 KB, text/plain)
2022-04-22 12:26 UTC, Toralf Förster
Details
dev-lang:mercury-20.06.1:20220422-041036.log (dev-lang:mercury-20.06.1:20220422-041036.log,75.02 KB, text/plain)
2022-04-22 12:26 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,32.34 KB, text/plain)
2022-04-22 12:26 UTC, Toralf Förster
Details
environment (environment,155.85 KB, text/plain)
2022-04-22 12:26 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,8.23 KB, application/x-bzip)
2022-04-22 12:26 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,11.92 KB, application/x-bzip)
2022-04-22 12:26 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,47.83 KB, application/x-bzip)
2022-04-22 12:26 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-04-22 12:26:07 UTC
../runtime/mercury_types.h:128:29: note: while referencing elements’
  128 |     MR_Word                 elements[MR_VARIABLE_SIZED];
      |                             ^~~~~~~~
../scripts/mgnuc --grade hlc.gc.pregen       --  -pipe -march=native -fno-diagnostics-color -O2    -c bool.c -o bool.o
cc1: all warnings being treated as errors
gmake[2]: *** [/var/tmp/portage/dev-lang/mercury-20.06.1/temp/mmake.D3AACE:49124: array.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j4-20220421-185427

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.0.1 *
clang/llvm (if any):
/usr/lib/llvm/14
14.0.1
Python 3.9.12
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.60.0 *
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit e3dd37cf233a21f7d8dcf106acbdc6a9e5e37d9f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Apr 22 03:04:19 2022 +0000

    2022-04-22 03:04:19 UTC

emerge -qpvO dev-lang/mercury
[ebuild  N    ] dev-lang/mercury-20.06.1  USE="readline -debug -doc -emacs -erlang -examples -java -mono -profile -threads -trail"
Comment 1 Toralf Förster gentoo-dev 2022-04-22 12:26:08 UTC
Created attachment 773051 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-22 12:26:10 UTC
Created attachment 773054 [details]
dev-lang:mercury-20.06.1:20220422-041036.log
Comment 3 Toralf Förster gentoo-dev 2022-04-22 12:26:11 UTC
Created attachment 773057 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-04-22 12:26:13 UTC
Created attachment 773060 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-04-22 12:26:14 UTC
Created attachment 773063 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-22 12:26:15 UTC
Created attachment 773066 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-04-22 12:26:17 UTC
Created attachment 773069 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-05-14 14:54:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdf90b4e32f83ff9db172053ee9c981931382d21

commit fdf90b4e32f83ff9db172053ee9c981931382d21
Author:     Keri Harris <keri@gentoo.org>
AuthorDate: 2022-05-14 14:53:06 +0000
Commit:     Keri Harris <keri@gentoo.org>
CommitDate: 2022-05-14 14:53:38 +0000

    dev-lang/mercury: disable MCC halt-at-warn during bootstrap
    
    Closes: https://bugs.gentoo.org/840152
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Keri Harris <keri@gentoo.org>

 dev-lang/mercury/mercury-20.06.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)