Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715248 - app-admin/clog-1.3.0-r1 : /.../FS.cpp: error: PATH_MAX was not declared in this scope
Summary: app-admin/clog-1.3.0-r1 : /.../FS.cpp: error: PATH_MAX was not declared in th...
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-03-29 09:50 UTC by Toralf Förster
Modified: 2021-12-29 19:57 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.66 KB, text/plain)
2020-03-29 09:50 UTC, Toralf Förster
Details
app-admin:clog-1.3.0:20200328-233851.log (app-admin:clog-1.3.0:20200328-233851.log,15.84 KB, text/plain)
2020-03-29 09:50 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,23.00 KB, text/plain)
2020-03-29 09:50 UTC, Toralf Förster
Details
environment (environment,109.81 KB, text/plain)
2020-03-29 09:50 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.87 KB, application/x-bzip)
2020-03-29 09:50 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.10 KB, application/x-bzip)
2020-03-29 09:50 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,27.19 KB, application/x-bzip)
2020-03-29 09: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-03-29 09:50:29 UTC
/var/tmp/portage/app-admin/clog-1.3.0/work/clog-1.3.0/src/libshared/src/FS.cpp: In static member function static std::string Directory::cwd():
/var/tmp/portage/app-admin/clog-1.3.0/work/clog-1.3.0/src/libshared/src/FS.cpp:898:12: error: PATH_MAX was not declared in this scope
  898 |   char buf[PATH_MAX];
      |            ^~~~~~~~
/var/tmp/portage/app-admin/clog-1.3.0/work/clog-1.3.0/src/libshared/src/FS.cpp:899: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-20200328-141627

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.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) *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat Mar 28 22:42:59 UTC 2020
/var/db/repos/musl	Fri Mar 27 00:25:27 UTC 2020

emerge -qpvO app-admin/clog
[ebuild  N    ] app-admin/clog-1.3.0
Comment 1 Toralf Förster gentoo-dev 2020-03-29 09:50:31 UTC
Created attachment 626680 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-29 09:50:34 UTC
Created attachment 626682 [details]
app-admin:clog-1.3.0:20200328-233851.log
Comment 3 Toralf Förster gentoo-dev 2020-03-29 09:50:37 UTC
Created attachment 626684 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-29 09:50:40 UTC
Created attachment 626686 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-29 09:50:43 UTC
Created attachment 626688 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-29 09:50:46 UTC
Created attachment 626690 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-29 09:50:48 UTC
Created attachment 626692 [details]
temp.tbz2
Comment 8 Michael 'veremitz' Everitt 2020-03-29 22:08:18 UTC
I suspect this is a case of a missing #include <limits.h> which is required explicitly on musl-libc.
Comment 9 Agostino Sarubbo gentoo-dev 2021-12-29 19:57:11 UTC
tinderbox_musl has reproduced this issue with version 1.3.0-r1 - Updating summary.