Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 716878 - sys-process/memwatch-0.3.3 : /.../process_info.c: error: PATH_MAX undeclared (first use in this function)
Summary: sys-process/memwatch-0.3.3 : /.../process_info.c: error: PATH_MAX undeclared ...
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-10 07:49 UTC by Toralf Förster
Modified: 2020-04-10 10:56 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.30 KB, text/plain)
2020-04-10 07:49 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,416.78 KB, text/plain)
2020-04-10 07:49 UTC, Toralf Förster
Details
environment (environment,112.97 KB, text/plain)
2020-04-10 07:49 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,30.17 KB, application/x-bzip)
2020-04-10 07:49 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.07 KB, application/x-bzip)
2020-04-10 07:49 UTC, Toralf Förster
Details
sys-process:memwatch-0.3.3:20200409-215118.log (sys-process:memwatch-0.3.3:20200409-215118.log,12.40 KB, text/plain)
2020-04-10 07:49 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,28.15 KB, application/x-bzip)
2020-04-10 07:50 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:49:36 UTC
cd /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3_build/src && /usr/bin/x86_64-gentoo-linux-musl-gcc  -I/var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3/src/.   -DNDEBUG -Wall -Wextra -pedantic   -o CMakeFiles/memwatch.dir/process_info.c.o -c /var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3/src/process_info.c
/var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3/src/process_info.c: In function print_single_process:
/var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3/src/process_info.c:54:15: error: PATH_MAX undeclared (first use in this function)
   54 |     char path[PATH_MAX + 1] = {0};
      |               ^~~~~~~~
/var/tmp/portage/sys-process/memwatch-0.3.3/work/memwatch-0.3.3/src/process_info.c:54:15: 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 *
The following VMs are available for generation-2:
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 sys-process/memwatch
[ebuild  N    ] sys-process/memwatch-0.3.3
Comment 1 Toralf Förster gentoo-dev 2020-04-10 07:49:40 UTC
Created attachment 631754 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-10 07:49:43 UTC
Created attachment 631756 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-10 07:49:47 UTC
Created attachment 631758 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-10 07:49:51 UTC
Created attachment 631760 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-10 07:49:54 UTC
Created attachment 631762 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-10 07:49:58 UTC
Created attachment 631764 [details]
sys-process:memwatch-0.3.3:20200409-215118.log
Comment 7 Toralf Förster gentoo-dev 2020-04-10 07:50:01 UTC
Created attachment 631766 [details]
temp.tbz2
Comment 8 Michael 'veremitz' Everitt 2020-04-10 10:56:02 UTC
Likely an occurrence of missing #include <limits.h> .