Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715786 - dev-libs/libezV24-0.1.1-r2 : ezV24.c: error: MAXNAMLEN undeclared (first use in this function)
Summary: dev-libs/libezV24-0.1.1-r2 : ezV24.c: error: MAXNAMLEN undeclared (first use ...
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-01 17:20 UTC by Toralf Förster
Modified: 2022-08-11 07:13 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.64 KB, text/plain)
2020-04-01 17:20 UTC, Toralf Förster
Details
dev-libs:libezV24-0.1.1-r1:20200401-165813.log (dev-libs:libezV24-0.1.1-r1:20200401-165813.log,2.47 KB, text/plain)
2020-04-01 17:20 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,217.88 KB, text/plain)
2020-04-01 17:20 UTC, Toralf Förster
Details
environment (environment,50.74 KB, text/plain)
2020-04-01 17:20 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,23.92 KB, application/x-bzip)
2020-04-01 17:20 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,13.49 KB, application/x-bzip)
2020-04-01 17:20 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-01 17:20:38 UTC
x86_64-gentoo-linux-musl-gcc -fPIC -O2 -pipe -march=native -Wall -DFINAL -I. -c ezV24.c -o ezV24.lo
ezV24.c: In function createLockFile:
ezV24.c:906:19: error: MAXNAMLEN undeclared (first use in this function)
  906 |     char LockFile[MAXNAMLEN+1];
      |                   ^~~~~~~~~
ezV24.c:906:19: 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 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed Apr  1 15:37:37 UTC 2020
/var/db/repos/musl	Fri Mar 27 00:25:27 UTC 2020

emerge -qpvO dev-libs/libezV24
[ebuild  N    ] dev-libs/libezV24-0.1.1-r1
Comment 1 Toralf Förster gentoo-dev 2020-04-01 17:20:41 UTC
Created attachment 628528 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-01 17:20:43 UTC
Created attachment 628530 [details]
dev-libs:libezV24-0.1.1-r1:20200401-165813.log
Comment 3 Toralf Förster gentoo-dev 2020-04-01 17:20:46 UTC
Created attachment 628532 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-04-01 17:20:49 UTC
Created attachment 628534 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-04-01 17:20:51 UTC
Created attachment 628536 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-01 17:20:54 UTC
Created attachment 628538 [details]
temp.tbz2
Comment 7 Michael 'veremitz' Everitt 2020-04-01 17:40:50 UTC
PATH_MAX and NAME_MAX are both POSIX standard macros available in
limits.h, so use them instead of MAXPATHLEN and MAXNAMLEN.
Comment 8 Agostino Sarubbo gentoo-dev 2022-08-11 07:13:36 UTC
tinderbox_musl has reproduced this issue with version 0.1.1-r2 - Updating summary.