Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 716762 - app-misc/taskd-1.1.0-r3 : /.../Directory.cpp: error: PATH_MAX was not declared in this scope
Summary: app-misc/taskd-1.1.0-r3 : /.../Directory.cpp: error: PATH_MAX was not declare...
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-09 07:13 UTC by Toralf Förster
Modified: 2022-01-03 20:44 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.10 KB, text/plain)
2020-04-09 07:13 UTC, Toralf Förster
Details
app-misc:taskd-1.1.0-r2:20200408-203923.log (app-misc:taskd-1.1.0-r2:20200408-203923.log,13.94 KB, text/plain)
2020-04-09 07:13 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,386.19 KB, text/plain)
2020-04-09 07:13 UTC, Toralf Förster
Details
environment (environment,136.85 KB, text/plain)
2020-04-09 07:13 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,30.35 KB, application/x-bzip)
2020-04-09 07:13 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.69 KB, application/x-bzip)
2020-04-09 07:14 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,32.02 KB, application/x-bzip)
2020-04-09 07: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-04-09 07:13:36 UTC
cd /var/tmp/portage/app-misc/taskd-1.1.0-r2/work/taskd-1.1.0_build/src && /usr/bin/x86_64-gentoo-linux-musl-g++  -I/var/tmp/portage/app-misc/taskd-1.1.0-r2/work/taskd-1.1.0 -I/var/tmp/portage/app-misc/taskd-1.1.0-r2/work/taskd-1.1.0/src   -DNDEBUG -Wall -Wsign-compare -Wreturn-type -std=c++11 -O2 -pipe -march=native   -o CMakeFiles/taskd_executable.dir/Directory.cpp.o -c /var/tmp/portage/app-misc/taskd-1.1.0-r2/work/taskd-1.1.0/src/Directory.cpp
/var/tmp/portage/app-misc/taskd-1.1.0-r2/work/taskd-1.1.0/src/Directory.cpp: In static member function static std::string Directory::cwd():
/var/tmp/portage/app-misc/taskd-1.1.0-r2/work/taskd-1.1.0/src/Directory.cpp:166:12: error: PATH_MAX was not declared in this scope
  166 |   char buf[PATH_MAX];
      |            ^~~~~~~~
/var/tmp/portage/app-misc/taskd-1.1.0-r2/work/taskd-1.1.0/src/Directory.cpp:167:11: error: buf was not declared in this scope

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

  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-1.42.0 *
Available Java Virtual Machines:
  (none found)


timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed Apr  8 19:37:53 UTC 2020
/var/db/repos/musl	Wed Apr  8 18:15:58 UTC 2020

emerge -qpvO app-misc/taskd
[ebuild  N    ] app-misc/taskd-1.1.0-r2
Comment 1 Toralf Förster gentoo-dev 2020-04-09 07:13:40 UTC
Created attachment 631442 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-09 07:13:43 UTC
Created attachment 631444 [details]
app-misc:taskd-1.1.0-r2:20200408-203923.log
Comment 3 Toralf Förster gentoo-dev 2020-04-09 07:13:47 UTC
Created attachment 631446 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-04-09 07:13:52 UTC
Created attachment 631448 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-04-09 07:13:56 UTC
Created attachment 631450 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-09 07:14:00 UTC
Created attachment 631452 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-04-09 07:14:03 UTC
Created attachment 631454 [details]
temp.tbz2
Comment 8 Michael 'veremitz' Everitt 2020-04-10 01:39:10 UTC
Likely an occurrence of missing #include <limits.h> .
Comment 9 Agostino Sarubbo gentoo-dev 2022-01-03 20:44:22 UTC
tinderbox_musl has reproduced this issue with version 1.1.0-r3 - Updating summary.