Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 916499 - dev-lang/micropython-1.17 - cc1: all warnings being treated as errors
Summary: dev-lang/micropython-1.17 - 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: Patrice Clement
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-10-29 19:29 UTC by Toralf Förster
Modified: 2024-01-20 13:33 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.93 KB, text/plain)
2023-10-29 19:29 UTC, Toralf Förster
Details
dev-lang:micropython-1.17:20231029-185542.log (dev-lang:micropython-1.17:20231029-185542.log,5.73 KB, text/plain)
2023-10-29 19:29 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,118.75 KB, text/plain)
2023-10-29 19:29 UTC, Toralf Förster
Details
environment (environment,58.65 KB, text/plain)
2023-10-29 19:29 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.04 KB, application/x-xz)
2023-10-29 19:29 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,18.32 KB, application/x-xz)
2023-10-29 19:29 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,223.75 KB, text/plain)
2023-10-29 19:29 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 2023-10-29 19:29:21 UTC
      |                  ^~~~~~~~~~~
In file included from ../py/runtime.h:29,
                 from ../py/stackctrl.c:27:
../py/mpstate.h:287:23: note: mp_state_ctx declared here
  287 | extern mp_state_ctx_t mp_state_ctx;
      |                       ^~~~~~~~~~~~
cc1: all warnings being treated as errors
make[1]: *** [../py/mkrules.mk:77: build/py/stackctrl.o] Error 1
make[1]: *** Waiting for unfinished jobs....

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-20231027-061504

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.3
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.3
Python 3.11.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm
  [3]   openjdk-bin-21 

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.3 linux/amd64

  HEAD of ::gentoo
commit 6a9909001b04bb201909759e3561526b24e846d0
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Oct 29 18:31:57 2023 +0000

    2023-10-29 18:31:57 UTC

emerge -qpvO dev-lang/micropython
[ebuild  N    ] dev-lang/micropython-1.17  USE="-test"
Comment 1 Toralf Förster gentoo-dev 2023-10-29 19:29:22 UTC
Created attachment 873673 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-10-29 19:29:23 UTC
Created attachment 873674 [details]
dev-lang:micropython-1.17:20231029-185542.log
Comment 3 Toralf Förster gentoo-dev 2023-10-29 19:29:24 UTC
Created attachment 873675 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-10-29 19:29:26 UTC
Created attachment 873676 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-10-29 19:29:26 UTC
Created attachment 873677 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-10-29 19:29:27 UTC
Created attachment 873678 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-10-29 19:29:29 UTC
Created attachment 873679 [details]
qlist-info.txt
Comment 8 Kristaps Kaupe 2024-01-14 16:02:52 UTC
It's fixed with https://github.com/micropython/micropython/pull/11402, included in MicroPython 1.21+.
Comment 9 Kristaps Kaupe 2024-01-14 16:38:54 UTC
https://github.com/gentoo/gentoo/pull/34801
Comment 10 Larry the Git Cow gentoo-dev 2024-01-20 13:33:45 UTC
The bug has been closed via the following commit(s):

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

commit f28f669cfbdc20cb94f4d32e8441e996ddda8384
Author:     Kristaps Kaupe <kristaps@blogiem.lv>
AuthorDate: 2024-01-14 16:34:25 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-20 13:30:56 +0000

    dev-lang/micropython: Fix building with GCC13
    
    Closes: https://bugs.gentoo.org/916499
    Closes: https://bugs.gentoo.org/895156
    Signed-off-by: Kristaps Kaupe <kristaps@blogiem.lv>
    Closes: https://github.com/gentoo/gentoo/pull/34801
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/micropython-1.17-gcc13-build-fix.patch   | 59 ++++++++++++++++++++++
 dev-lang/micropython/micropython-1.17.ebuild       |  1 +
 2 files changed, 60 insertions(+)