Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715246 - media-sound/daudio-0.3-r1 : net.c: error: u_int32_t undeclared (first use in this function)
Summary: media-sound/daudio-0.3-r1 : net.c: error: u_int32_t undeclared (first use in ...
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: stdint.h
Keywords:
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-03-29 09:49 UTC by Toralf Förster
Modified: 2021-12-29 07:10 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.66 KB, text/plain)
2020-03-29 09:50 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,18.33 KB, text/plain)
2020-03-29 09:50 UTC, Toralf Förster
Details
environment (environment,88.41 KB, text/plain)
2020-03-29 09:50 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.83 KB, application/x-bzip)
2020-03-29 09:50 UTC, Toralf Förster
Details
media-sound:daudio-0.3-r1:20200328-225638.log (media-sound:daudio-0.3-r1:20200328-225638.log,2.68 KB, text/plain)
2020-03-29 09:50 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,21.24 KB, application/x-bzip)
2020-03-29 09:50 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-03-29 09:49:46 UTC
x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -std=gnu89 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -D_REENTRANT  -o daudioc fakeao.c decode.c net.c main.c ../common/frame.c -lmad -lpthread
net.c: In function netinit:
net.c:72:36: error: u_int32_t undeclared (first use in this function); did you mean uint32_t?
   72 |     net_raddr.sin_addr.s_addr = *((u_int32_t *) host->h_addr);
      |                                    ^~~~~~~~~
      |                                    uint32_t

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

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

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.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) *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat Mar 28 21:40:14 UTC 2020
/var/db/repos/musl	Fri Mar 27 00:25:27 UTC 2020

emerge -qpvO media-sound/daudio
[ebuild  N    ] media-sound/daudio-0.3-r1
Comment 1 Toralf Förster gentoo-dev 2020-03-29 09:50:01 UTC
Created attachment 626668 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-29 09:50:09 UTC
Created attachment 626670 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-29 09:50:12 UTC
Created attachment 626672 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-29 09:50:15 UTC
Created attachment 626674 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-29 09:50:17 UTC
Created attachment 626676 [details]
media-sound:daudio-0.3-r1:20200328-225638.log
Comment 6 Toralf Förster gentoo-dev 2020-03-29 09:50:20 UTC
Created attachment 626678 [details]
temp.tbz2
Comment 7 Michael 'veremitz' Everitt 2020-04-27 00:05:02 UTC
Upstream should consider using portable POSIX-compatible integer types as
defined in
https://pubs.opengroup.org/onlinepubs/009695399/basedefs/stdint.h.html .
Comment 8 Larry the Git Cow gentoo-dev 2021-12-29 07:10:50 UTC
The bug has been closed via the following commit(s):

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

commit f87161dba82594dc47e57805d5b11dfb79b32b9d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-12-29 06:56:48 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-29 07:10:40 +0000

    media-sound/daudio: update EAPI 6 -> 7, fix musl build
    
    Closes: https://bugs.gentoo.org/715246
    Signed-off-by: Sam James <sam@gentoo.org>

 media-sound/daudio/daudio-0.3-r1.ebuild            |  6 +-
 .../daudio/files/daudio-0.3-musl-stdint.patch      | 82 ++++++++++++++++++++++
 2 files changed, 85 insertions(+), 3 deletions(-)