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

Bug 716762

Summary: app-misc/taskd-1.1.0-r3 : /.../Directory.cpp: error: PATH_MAX was not declared in this scope
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: mschiff
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
app-misc:taskd-1.1.0-r2:20200408-203923.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

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.