Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713310 - media-libs/libsidplayfp-1.8.8 : builders/.../hardsid-emu-unix.cpp: error: uint does not name a type
Summary: media-libs/libsidplayfp-1.8.8 : builders/.../hardsid-emu-unix.cpp: error: uin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on: 792756
Blocks:
  Show dependency tree
 
Reported: 2020-03-18 20:05 UTC by Toralf Förster
Modified: 2021-05-31 06:38 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.33 KB, text/plain)
2020-03-18 20:05 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,99.31 KB, text/plain)
2020-03-18 20:05 UTC, Toralf Förster
Details
environment (environment,66.88 KB, text/plain)
2020-03-18 20:05 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.27 KB, application/x-bzip)
2020-03-18 20:05 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.11 KB, application/x-bzip)
2020-03-18 20:05 UTC, Toralf Förster
Details
media-libs:libsidplayfp-1.8.8:20200318-194427.log (media-libs:libsidplayfp-1.8.8:20200318-194427.log,94.37 KB, text/plain)
2020-03-18 20:05 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,22.13 KB, application/x-bzip)
2020-03-18 20:05 UTC, Toralf Förster
Details
musl_include-types.patch (musl_include-types.patch,342 bytes, patch)
2021-01-06 12:42 UTC, ernsteiswuerfel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-03-18 20:05:29 UTC
libtool: compile:  x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I ./builders/residfp-builder -I ./builders/residfp-builder/residfp -I ./builders/resid-builder -I ./builders/resid-builder/resid -I ./sidplayfp -I ./sidplayfp -DNDEBUG -fvisibility=hidden -fvisibility-inlines-hidden -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -std=c++14 -c builders/hardsid-builder/hardsid-emu-unix.cpp  -fPIC -DPIC -o builders/hardsid-builder/.libs/hardsid-emu-unix.o
builders/hardsid-builder/hardsid-emu-unix.cpp: In member function virtual void HardSID::event():
builders/hardsid-builder/hardsid-emu-unix.cpp:218:55: error: uint does not name a type; did you mean int?
  218 |         ioctl(m_handle, HSID_IOCTL_DELAY, static_cast<uint>(cycles));
      |                                                       ^~~~
      |                                                       int

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

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

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

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 *

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 18 Mar 2020 13:38:27 +0000
emerge -qpvO media-libs/libsidplayfp
[ebuild  N    ] media-libs/libsidplayfp-1.8.8  USE="-static-libs" CPU_FLAGS_X86="mmx"
Comment 1 Toralf Förster gentoo-dev 2020-03-18 20:05:32 UTC
there is still a similar issue at unstable amd64 tinderbox image 17.0_musl-20200316-165821 (see bug 649832)
Comment 2 Toralf Förster gentoo-dev 2020-03-18 20:05:35 UTC
Created attachment 622030 [details]
emerge-info.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-18 20:05:38 UTC
Created attachment 622032 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-18 20:05:41 UTC
Created attachment 622034 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-18 20:05:44 UTC
Created attachment 622036 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-18 20:05:47 UTC
Created attachment 622038 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-18 20:05:50 UTC
Created attachment 622040 [details]
media-libs:libsidplayfp-1.8.8:20200318-194427.log
Comment 8 Toralf Förster gentoo-dev 2020-03-18 20:05:53 UTC
Created attachment 622042 [details]
temp.tbz2
Comment 9 ernsteiswuerfel archtester 2021-01-06 12:42:53 UTC
Created attachment 681535 [details, diff]
musl_include-types.patch

This small patch adds headers from /usr/include/sys/types.h and makes libsidplayfp-1.8.8 build on musl.

Does not break glibc build.
Comment 10 Miroslav Šulc gentoo-dev 2021-05-29 08:29:36 UTC
does this occur to 2.1.2 as well?
Comment 11 Toralf Förster gentoo-dev 2021-05-29 08:44:59 UTC
(In reply to Miroslav Šulc from comment #10)
> does this occur to 2.1.2 as well?

no
Comment 12 Miroslav Šulc gentoo-dev 2021-05-29 08:47:55 UTC
thanks
Comment 13 Larry the Git Cow gentoo-dev 2021-05-31 06:38:53 UTC
The bug has been closed via the following commit(s):

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

commit 7bc4f0a410449f61e18502d67208ee6a47fcdf26
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2021-05-31 06:38:44 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2021-05-31 06:38:44 +0000

    media-libs/libsidplayfp: removed obsolete 1.8.8
    
    Closes: https://bugs.gentoo.org/713310
    Package-Manager: Portage-3.0.19, Repoman-3.0.3
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 media-libs/libsidplayfp/Manifest                  |  1 -
 media-libs/libsidplayfp/libsidplayfp-1.8.8.ebuild | 36 -----------------------
 2 files changed, 37 deletions(-)