Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715910 - games-util/grfcodec-6.0.6_p20210310 : src/sanity_defines.h: error: invalid array assignment
Summary: games-util/grfcodec-6.0.6_p20210310 : src/sanity_defines.h: error: invalid ar...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: musl-porting
  Show dependency tree
 
Reported: 2020-04-02 15:07 UTC by Toralf Förster
Modified: 2022-12-19 07:06 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.27 KB, text/plain)
2020-04-02 15:07 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,226.21 KB, text/plain)
2020-04-02 15:07 UTC, Toralf Förster
Details
environment (environment,46.60 KB, text/plain)
2020-04-02 15:07 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.44 KB, application/x-bzip)
2020-04-02 15:08 UTC, Toralf Förster
Details
games-util:grfcodec-6.0.6:20200402-134839.log (games-util:grfcodec-6.0.6:20200402-134839.log,19.35 KB, text/plain)
2020-04-02 15:08 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,14.13 KB, application/x-bzip)
2020-04-02 15:08 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 2020-04-02 15:07:49 UTC
In file included from src/IDs.cpp:34:
src/sanity_defines.h: In member function const __va_list_tag (& apWrapper::operator=(const __va_list_tag (&)[1]))[1]:
src/sanity_defines.h:87:17: error: invalid array assignment
   87 |      return _ap=ap;
      |                 ^~
src/sanity_defines.h: At global scope:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-20200328-201618

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.42.0 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu Apr  2 12:10:55 UTC 2020
/var/db/repos/musl	Fri Mar 27 00:25:27 UTC 2020

emerge -qpvO games-util/grfcodec
[ebuild  N    ] games-util/grfcodec-6.0.6
Comment 1 Toralf Förster gentoo-dev 2020-04-02 15:07:52 UTC
Created attachment 629024 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-02 15:07:55 UTC
Created attachment 629026 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-02 15:07:58 UTC
Created attachment 629028 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-02 15:08:00 UTC
Created attachment 629030 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-02 15:08:03 UTC
Created attachment 629032 [details]
games-util:grfcodec-6.0.6:20200402-134839.log
Comment 6 Toralf Förster gentoo-dev 2020-04-02 15:08:07 UTC
Created attachment 629034 [details]
temp.tbz2
Comment 7 Agostino Sarubbo gentoo-dev 2022-09-06 11:41:46 UTC
tinderbox_musl has reproduced this issue with version 6.0.6_p20210310 - Updating summary.
Comment 8 Larry the Git Cow gentoo-dev 2022-10-08 14:58:50 UTC
The bug has been referenced in the following commit(s):

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

commit 810cbfa3961719466326528a442a8d114e1f6fd6
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2022-10-08 14:58:38 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2022-10-08 14:58:38 +0000

    games-util/grfcodec: update EAPI 7 -> 8
    
    Bug: https://bugs.gentoo.org/715910
    Bug: https://bugs.gentoo.org/859310
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../0001-Remove-brittle-apWrapper-code.patch       | 144 +++++++++++++++++++++
 .../6.0.6_p20210310/0002-Fix-ODR-violations.patch  |  63 +++++++++
 .../grfcodec/grfcodec-6.0.6_p20210310-r1.ebuild    |  40 ++++++
 3 files changed, 247 insertions(+)
Comment 9 Ionen Wolkens gentoo-dev 2022-12-19 07:06:23 UTC
Untested but believe this was meant to be closed by comment #8 which includes a patch about this.