Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 715786

Summary: dev-libs/libezV24-0.1.1-r2 : ezV24.c: error: MAXNAMLEN undeclared (first use in this function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: maintainer-needed
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: Missing limits.h?
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 713786    
Attachments: emerge-info.txt
dev-libs:libezV24-0.1.1-r1:20200401-165813.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2

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.