Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 721934 - app-crypt/pesign-113 : common.h: error: array subscript 1 is outside array bounds of union <anonymous>[1] [-Werror=array-bounds]
Summary: app-crypt/pesign-113 : common.h: error: array subscript 1 is outside array bo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-10
  Show dependency tree
 
Reported: 2020-05-09 17:25 UTC by Toralf Förster
Modified: 2021-03-11 18:27 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.08 KB, text/plain)
2020-05-09 17:26 UTC, Toralf Förster
Details
app-crypt:pesign-113:20200509-171148.log (app-crypt:pesign-113:20200509-171148.log,24.63 KB, text/plain)
2020-05-09 17:26 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,242.04 KB, text/plain)
2020-05-09 17:26 UTC, Toralf Förster
Details
environment (environment,77.49 KB, text/plain)
2020-05-09 17:26 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,16.23 KB, application/x-bzip)
2020-05-09 17:26 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,20.42 KB, application/x-bzip)
2020-05-09 17:26 UTC, Toralf Förster
Details
emerge --info (jcl.aciman) (pesign.info,18.91 KB, text/plain)
2020-11-15 10:09 UTC, Jean-Claude Aciman
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-05-09 17:25:59 UTC
                 from pe_begin.c:30:
pe_begin.c: In function read_file.constprop:
common.h:107:26: error: array subscript 1 is outside array bounds of union <anonymous>[1] [-Werror=array-bounds]
  107 |   switch (le16_to_cpu(peo->magic)) {
endian.h:30:25: note: in definition of macro le16_to_cpu
   30 | #define le16_to_cpu(x) (x)

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-abi32+64-20200503-182741

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.1.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
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.6
  [2]   python3.8 (fallback)
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
  [5]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.43.1 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.252_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat 09 May 2020 04:35:34 PM UTC

emerge -qpvO app-crypt/pesign
[ebuild  N    ] app-crypt/pesign-113  USE="-libressl"
Comment 1 Toralf Förster gentoo-dev 2020-05-09 17:26:02 UTC
Created attachment 637172 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-05-09 17:26:05 UTC
Created attachment 637174 [details]
app-crypt:pesign-113:20200509-171148.log
Comment 3 Toralf Förster gentoo-dev 2020-05-09 17:26:08 UTC
Created attachment 637176 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-05-09 17:26:11 UTC
Created attachment 637178 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-05-09 17:26:13 UTC
Created attachment 637180 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-05-09 17:26:16 UTC
Created attachment 637182 [details]
temp.tbz2
Comment 7 Jean-Claude Aciman 2020-11-15 10:06:54 UTC
I got exactly the same problem, but in a normal kernel environment.

emerge --info is in attachment.

I would like to know how to sove this problem please.
Comment 8 Jean-Claude Aciman 2020-11-15 10:09:40 UTC
Created attachment 671512 [details]
emerge --info (jcl.aciman)
Comment 9 Agostino Sarubbo gentoo-dev 2021-01-17 21:06:43 UTC
Dear treecleaner@:

I'm still able to reproduce this issue right now.

Since it has not been fixed for a long time, I'd suggest to evaluate if it is the case to remove this package from the tree. Thanks
Comment 10 Larry the Git Cow gentoo-dev 2021-03-11 18:27:17 UTC
The bug has been closed via the following commit(s):

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

commit 61124b721f9dfd990b1f58fc31fec2f3c4eadff4
Author:     David Michael <fedora.dm0@gmail.com>
AuthorDate: 2021-03-11 17:49:45 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2021-03-11 18:26:42 +0000

    app-crypt/pesign: EAPI 7, fix GCC 10, drop libressl
    
    Closes: https://bugs.gentoo.org/721934
    Closes: https://bugs.gentoo.org/775503
    Package-Manager: Portage-3.0.13, Repoman-3.0.2
    Signed-off-by: David Michael <fedora.dm0@gmail.com>
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 .../pesign/files/pesign-113-enum-conversion.patch  | 46 ++++++++++++++++++++++
 app-crypt/pesign/pesign-113.ebuild                 | 26 +++++++-----
 2 files changed, 62 insertions(+), 10 deletions(-)