Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC
Bug 715466 - app-admin/ulogd-2.0.7-r1 : ulogd.c: error: PATH_MAX undeclared (first use in this function)
Summary: app-admin/ulogd-2.0.7-r1 : ulogd.c: error: PATH_MAX undeclared (first use in ...
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: PATCH
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-03-30 15:04 UTC by Toralf Förster
Modified: 2020-03-31 19:46 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.07 KB, text/plain)
2020-03-30 15:04 UTC, Toralf Förster
Details
app-admin:ulogd-2.0.7-r1:20200330-145527.log (app-admin:ulogd-2.0.7-r1:20200330-145527.log,14.97 KB, text/plain)
2020-03-30 15:05 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,116.86 KB, text/plain)
2020-03-30 15:05 UTC, Toralf Förster
Details
environment (environment,140.80 KB, text/plain)
2020-03-30 15:05 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.56 KB, application/x-bzip)
2020-03-30 15:05 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,9.20 KB, application/x-bzip)
2020-03-30 15:05 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,33.83 KB, application/x-bzip)
2020-03-30 15:05 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-30 15:04:56 UTC
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I..  -I../include -DULOGD_CONFIGFILE=\/etc/ulogd.conf\ -DULOGD_LOGFILE_DEFAULT=\/var/lib/log/ulogd.log\ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -Wextra -Wno-unused-parameter -DULOGD2_LIBDIR=\/usr/lib/ulogd\ -O2 -pipe -march=native -c -o ulogd.o ulogd.c
ulogd.c: In function load_all_plugins:
ulogd.c:735:12: error: PATH_MAX undeclared (first use in this function)
  735 |  char path[PATH_MAX];
      |            ^~~~~~~~
ulogd.c:735:12: 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 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon Mar 30 13:39:06 UTC 2020
/var/db/repos/musl	Fri Mar 27 00:25:27 UTC 2020

emerge -qpvO app-admin/ulogd
[ebuild  N    ] app-admin/ulogd-2.0.7-r1  USE="nfct nflog -dbi -doc -json -mysql -nfacct -pcap -postgres (-selinux) -sqlite -ulog"
Comment 1 Toralf Förster gentoo-dev 2020-03-30 15:04:58 UTC
Created attachment 627434 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-30 15:05:01 UTC
Created attachment 627436 [details]
app-admin:ulogd-2.0.7-r1:20200330-145527.log
Comment 3 Toralf Förster gentoo-dev 2020-03-30 15:05:04 UTC
Created attachment 627438 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-30 15:05:06 UTC
Created attachment 627440 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-30 15:05:09 UTC
Created attachment 627442 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-30 15:05:12 UTC
Created attachment 627444 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-30 15:05:14 UTC
Created attachment 627446 [details]
temp.tbz2
Comment 8 Michael 'veremitz' Everitt 2020-03-30 15:38:54 UTC
I suspect this is a case of a missing #include <limits.h> which is required
explicitly on musl-libc.