Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 716010 - media-sound/mt-daapd-0.2.4.2 : mp3-scanner.c: error: MAXNAMLEN undeclared (first use in this function)
Summary: media-sound/mt-daapd-0.2.4.2 : mp3-scanner.c: error: MAXNAMLEN undeclared (fi...
Status: CONFIRMED
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: Missing limits.h?
Keywords:
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-04-03 11:01 UTC by Toralf Förster
Modified: 2020-04-04 18:51 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.97 KB, text/plain)
2020-04-03 11:01 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,283.28 KB, text/plain)
2020-04-03 11:01 UTC, Toralf Förster
Details
environment (environment,64.06 KB, text/plain)
2020-04-03 11:01 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,24.91 KB, application/x-bzip)
2020-04-03 11:01 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,17.93 KB, application/x-bzip)
2020-04-03 11:02 UTC, Toralf Förster
Details
media-sound:mt-daapd-0.2.4.2:20200403-101815.log (media-sound:mt-daapd-0.2.4.2:20200403-101815.log,12.76 KB, text/plain)
2020-04-03 11:02 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,19.78 KB, application/x-bzip)
2020-04-03 11:02 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-03 11:01:45 UTC
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I..   -g -D_REENTRANT -DWITH_AVAHI -DHOST=x86_64-gentoo-linux-musl -DNOT_HAVE_SA_LEN  -O2 -pipe -march=native -c -o mp3-scanner.o mp3-scanner.c
mp3-scanner.c: In function scan_path:
mp3-scanner.c:381:37: error: MAXNAMLEN undeclared (first use in this function)
  381 |     char de[sizeof(struct dirent) + MAXNAMLEN + 1]; /* overcommit for solaris */
      |                                     ^~~~~~~~~
mp3-scanner.c:381:37: note: each undeclared identifier is reported only once for each function it appears in

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

  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 *
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 *
The following VMs are available for generation-2:

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Fri Apr  3 09:41:54 UTC 2020
/var/db/repos/musl	Thu Apr  2 19:02:24 UTC 2020

emerge -qpvO media-sound/mt-daapd
[ebuild  N    ] media-sound/mt-daapd-0.2.4.2  USE="-vorbis"
Comment 1 Toralf Förster gentoo-dev 2020-04-03 11:01:48 UTC
Created attachment 629358 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-03 11:01:51 UTC
Created attachment 629360 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-03 11:01:55 UTC
Created attachment 629362 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-03 11:01:58 UTC
Created attachment 629364 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-03 11:02:01 UTC
Created attachment 629366 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-03 11:02:03 UTC
Created attachment 629368 [details]
media-sound:mt-daapd-0.2.4.2:20200403-101815.log
Comment 7 Toralf Förster gentoo-dev 2020-04-03 11:02:06 UTC
Created attachment 629370 [details]
temp.tbz2
Comment 8 Michael 'veremitz' Everitt 2020-04-04 18:51:45 UTC
PATH_MAX and NAME_MAX are both POSIX standard macros available in
limits.h, so use them instead of MAXPATHLEN and MAXNAMLEN.