Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712622 - app-misc/mmv-1.01b_p18-r1 : mmv.c: error: MAXNAMLEN undeclared (first use in this function)
Summary: app-misc/mmv-1.01b_p18-r1 : mmv.c: error: MAXNAMLEN undeclared (first use in ...
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:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-15 09:26 UTC by Toralf Förster
Modified: 2020-04-01 08:38 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.42 KB, text/plain)
2020-03-15 09:26 UTC, Toralf Förster
Details
app-misc:mmv-1.01b_p18-r1:20200315-001043.log (app-misc:mmv-1.01b_p18-r1:20200315-001043.log,2.57 KB, text/plain)
2020-03-15 09:26 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,96.26 KB, text/plain)
2020-03-15 09:26 UTC, Toralf Förster
Details
environment (environment,88.40 KB, text/plain)
2020-03-15 09:26 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.93 KB, application/x-bzip)
2020-03-15 09:26 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,21.48 KB, application/x-bzip)
2020-03-15 09:26 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-15 09:26:05 UTC
x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -c -o mmv.o mmv.c
mmv.c: In function badname:
mmv.c:1437:15: error: MAXNAMLEN undeclared (first use in this function); did you mean MAXPATLEN?
 1437 |   strlen(s) > MAXNAMLEN
      |               ^~~~~~~~~
      |               MAXPATLEN

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

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

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.2.0 *
 [2] 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-bin-1.41.1
  [2]   rust-1.41.1 *
The following VMs are available for generation-2:

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sat, 14 Mar 2020 23:50:12 +0000
emerge -qpvO app-misc/mmv
[ebuild  N    ] app-misc/mmv-1.01b_p18-r1
Comment 1 Toralf Förster gentoo-dev 2020-03-15 09:26:12 UTC
Created attachment 619348 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-15 09:26:15 UTC
Created attachment 619350 [details]
app-misc:mmv-1.01b_p18-r1:20200315-001043.log
Comment 3 Toralf Förster gentoo-dev 2020-03-15 09:26:18 UTC
Created attachment 619352 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-15 09:26:21 UTC
Created attachment 619354 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-15 09:26:24 UTC
Created attachment 619356 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-15 09:26:27 UTC
Created attachment 619358 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-16 16:12:38 UTC
The first attempt to tinderbox a musl image failed at all.

I'll mass close therefore all filed bug reports of the last days related to this tinderbox image.

Please feel free to re-open if you think that the bug is real in musl and not fixed by the musl overlay.
Comment 8 Michael 'veremitz' Everitt 2020-04-01 08:38:59 UTC
I'm actually carrying a patch for this myself, and contacted upstream. I'll put that higher on my ToDo list to fix.