Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 716876 - app-misc/evtest-1.34 : evtest.c: error: PATH_MAX undeclared (first use in this function)
Summary: app-misc/evtest-1.34 : evtest.c: error: PATH_MAX undeclared (first use in thi...
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: PATCH
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-04-10 07:48 UTC by Toralf Förster
Modified: 2020-04-10 10:59 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.21 KB, text/plain)
2020-04-10 07:49 UTC, Toralf Förster
Details
app-misc:evtest-1.34:20200409-215003.log (app-misc:evtest-1.34:20200409-215003.log,4.31 KB, text/plain)
2020-04-10 07:49 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,407.51 KB, text/plain)
2020-04-10 07:49 UTC, Toralf Förster
Details
environment (environment,63.33 KB, text/plain)
2020-04-10 07:49 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,30.73 KB, application/x-bzip)
2020-04-10 07:49 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.49 KB, application/x-bzip)
2020-04-10 07:49 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,18.09 KB, application/x-bzip)
2020-04-10 07:49 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-10 07:48:59 UTC
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I.     -O2 -pipe -march=native -c -o evtest.o evtest.c
evtest.c: In function scan_devices:
evtest.c:886:14: error: PATH_MAX undeclared (first use in this function)
  886 |   char fname[PATH_MAX];
      |              ^~~~~~~~
evtest.c:886:14: 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_hardened-20200328-201618

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

  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-bin-1.42.0
  [2]   rust-1.42.0 *
Available Java Virtual Machines:
  (none found)


timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu Apr  9 20:37:56 UTC 2020
/var/db/repos/musl	Wed Apr  8 18:15:58 UTC 2020

emerge -qpvO app-misc/evtest
[ebuild  N    ] app-misc/evtest-1.34
Comment 1 Toralf Förster gentoo-dev 2020-04-10 07:49:03 UTC
Created attachment 631740 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-10 07:49:06 UTC
Created attachment 631742 [details]
app-misc:evtest-1.34:20200409-215003.log
Comment 3 Toralf Förster gentoo-dev 2020-04-10 07:49:10 UTC
Created attachment 631744 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-04-10 07:49:13 UTC
Created attachment 631746 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-04-10 07:49:17 UTC
Created attachment 631748 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-10 07:49:21 UTC
Created attachment 631750 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-04-10 07:49:24 UTC
Created attachment 631752 [details]
temp.tbz2
Comment 8 Michael 'veremitz' Everitt 2020-04-10 10:56:17 UTC
Likely an occurrence of missing #include <limits.h> .
Comment 9 Sam James archtester gentoo-dev Security 2020-04-10 10:59:42 UTC
(In reply to Michael 'veremitz' Everitt from comment #8)
> Likely an occurrence of missing #include <limits.h> .

Yep!

https://git.alpinelinux.org/aports/tree/community/evtest/fix-ppc64le-musl.patch

No idea why the patch name mentions ppc64...