Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 714222

Summary: app-crypt/asekey-3.7 : Ase.h: error: unknown type name ushort
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: maintainer-needed
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/32791
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 713786    
Attachments: emerge-info.txt
app-crypt:asekey-3.7:20200324-151315.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-24 16:01:04 UTC
x86_64-gentoo-linux-musl-gcc -o libASEKey.so usb.c atr.c DriverIO.c CommandTypes.c ReaderCommands.c T1Protocol.c MemoryCards.c InitCardParams.c ifdhandler.c -fPIC -D_REENTRANT -DIFDHANDLERv2 -Wall -I. -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -I/usr/include/PCSC -Wl,-O1 -Wl,--as-needed -lpcsclite -lusb -shared
In file included from usb.c:14:
Ase.h:274:61: error: unknown type name ushort; did you mean short?
  274 |                                char cmdType, uchar command, ushort address, uchar len,
      |                                                             ^~~~~~
      |                                                             short

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200316-165821

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

  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.41.1 *
  [2]   rust-bin-1.42.0

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Tue Mar 24 14:11:34 UTC 2020
/var/db/repos/musl	Sun Mar 22 15:02:57 UTC 2020

emerge -qpvO app-crypt/asekey
[ebuild  N    ] app-crypt/asekey-3.7
Comment 1 Toralf Förster gentoo-dev 2020-03-24 16:01:06 UTC
Created attachment 625242 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-24 16:01:09 UTC
Created attachment 625244 [details]
app-crypt:asekey-3.7:20200324-151315.log
Comment 3 Toralf Förster gentoo-dev 2020-03-24 16:01:12 UTC
Created attachment 625246 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-24 16:01:15 UTC
Created attachment 625248 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-24 16:01:17 UTC
Created attachment 625250 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-24 16:01:20 UTC
Created attachment 625252 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2023-09-24 22:07:57 UTC
The bug has been closed via the following commit(s):

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

commit cb6d3c717a87fabae248dab4a06416e20a5a7d26
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2023-09-15 05:45:19 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-09-24 22:07:29 +0000

    app-crypt/asekey: update EAPI 7 -> 8
    
    Closes: https://bugs.gentoo.org/714222
    Closes: https://bugs.gentoo.org/745291
    Closes: https://bugs.gentoo.org/854237
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/32791
    Signed-off-by: Sam James <sam@gentoo.org>

 app-crypt/asekey/asekey-3.7-r1.ebuild              | 44 ++++++++++++++++++++++
 ...sekey-3.7-dont-call-toolchain-cc-directly.patch | 13 +++++++
 .../asekey/files/asekey-3.7-musl-ushort.patch      | 14 +++++++
 3 files changed, 71 insertions(+)