Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713686 - app-misc/evemu-2.7.0 : find_event_devices.c: error: PATH_MAX undeclared (first use in this function)
Summary: app-misc/evemu-2.7.0 : find_event_devices.c: error: PATH_MAX undeclared (firs...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard: Missing limits.h?
Keywords: PMASKED
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-03-20 20:14 UTC by Toralf Förster
Modified: 2020-09-02 08:15 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.60 KB, text/plain)
2020-03-20 20:14 UTC, Toralf Förster
Details
app-misc:evemu-2.7.0:20200320-200348.log (app-misc:evemu-2.7.0:20200320-200348.log,12.14 KB, text/plain)
2020-03-20 20:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,209.68 KB, text/plain)
2020-03-20 20:14 UTC, Toralf Förster
Details
environment (environment,86.29 KB, text/plain)
2020-03-20 20:14 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.38 KB, application/x-bzip)
2020-03-20 20:14 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.02 KB, application/x-bzip)
2020-03-20 20:14 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,21.75 KB, application/x-bzip)
2020-03-20 20:14 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-20 20:14:30 UTC
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I..  -I../src/  -Wall -Wextra -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o find_event_devices.o find_event_devices.c
find_event_devices.c: In function find_event_devices:
find_event_devices.c:60:14: error: PATH_MAX undeclared (first use in this function)
   60 |   char fname[PATH_MAX];
      |              ^~~~~~~~
find_event_devices.c:60: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-20200316-165821

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

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.41.1 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Fri Mar 20 18:09:00 UTC 2020
/var/db/repos/musl	Wed Mar 18 03:21:45 UTC 2020

emerge -qpvO app-misc/evemu
[ebuild  N    ] app-misc/evemu-2.7.0  USE="-python -static-libs" PYTHON_SINGLE_TARGET="python3_6 -python2_7"
Comment 1 Toralf Förster gentoo-dev 2020-03-20 20:14:32 UTC
Created attachment 623428 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-20 20:14:35 UTC
Created attachment 623430 [details]
app-misc:evemu-2.7.0:20200320-200348.log
Comment 3 Toralf Förster gentoo-dev 2020-03-20 20:14:38 UTC
Created attachment 623432 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-20 20:14:40 UTC
Created attachment 623434 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-20 20:14:43 UTC
Created attachment 623436 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-20 20:14:46 UTC
Created attachment 623438 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-20 20:14:48 UTC
Created attachment 623440 [details]
temp.tbz2
Comment 8 Michael 'veremitz' Everitt 2020-03-21 02:08:10 UTC
I suspect this is a case of a missing #include <limits.h> which is required explicitly on musl-libc.
Comment 9 Larry the Git Cow gentoo-dev 2020-08-02 20:22:00 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=801a5f2ed7b1117635ae918d619ba8ef16c77411

commit 801a5f2ed7b1117635ae918d619ba8ef16c77411
Author:     Aaron Bauman <bman@gentoo.org>
AuthorDate: 2020-08-02 20:20:24 +0000
Commit:     Aaron Bauman <bman@gentoo.org>
CommitDate: 2020-08-02 20:20:57 +0000

    package.mask: last-rite app-misc/evemu
    
    Bug: https://bugs.gentoo.org/713686
    Bug: https://bugs.gentoo.org/722334
    Signed-off-by: Aaron Bauman <bman@gentoo.org>

 profiles/package.mask | 5 +++++
 1 file changed, 5 insertions(+)
Comment 10 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-09-02 08:15:08 UTC
package removed.