Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830108 - sys-fs/inotify-tools-3.21.9.6 - inotifytools.c: error: PATH_MAX undeclared (first use in this function)
Summary: sys-fs/inotify-tools-3.21.9.6 - inotifytools.c: error: PATH_MAX undeclared (f...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL: https://github.com/inotify-tools/inot...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: musl-porting
  Show dependency tree
 
Reported: 2021-12-27 17:06 UTC by Toralf Förster
Modified: 2022-06-24 19:36 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.83 KB, text/plain)
2021-12-27 17:06 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,414.22 KB, text/plain)
2021-12-27 17:06 UTC, Toralf Förster
Details
environment (environment,70.55 KB, text/plain)
2021-12-27 17:06 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,31.08 KB, application/x-bzip)
2021-12-27 17:06 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.96 KB, application/x-bzip)
2021-12-27 17:06 UTC, Toralf Förster
Details
sys-fs:inotify-tools-3.21.9.6:20211227-164309.log (sys-fs:inotify-tools-3.21.9.6:20211227-164309.log,16.02 KB, text/plain)
2021-12-27 17:06 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,22.98 KB, application/x-bzip)
2021-12-27 17:06 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 2021-12-27 17:06:04 UTC
too long lines were shrinked:

libtool: compile:  x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libinotifytools/src/inotifytools -std=c99 -Wall -Wextra -Wshadow -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -pipe -march=native -fno-diagnostics-color -O2 -c inotifytools.c  -fPIC -DPIC -
libtool: compile:  x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libinotifytools/src/inotifytools -std=c99 -Wall -Wextra -Wshadow -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -pipe -march=native -fno-diagnostics-color -O2 -c redblack.c  -fPIC -DPIC -o .l
libtool: compile:  x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libinotifytools/src/inotifytools -std=c99 -Wall -Wextra -Wshadow -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -pipe -march=native -fno-diagnostics-color -O2 -c stats.c  -fPIC -DPIC -o .libs
inotifytools.c: In function 'inotifytools_filename_from_fid':
inotifytools.c:749:30: error: 'PATH_MAX' undeclared (first use in this function)
  749 |         static char filename[PATH_MAX];
      |                              ^~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-j4-20211222-160113

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.1 *
clang version 13.0.0
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.57.0
  [2]   rust-1.57.0 *
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)

php cli:

  HEAD of ::gentoo
commit b3d24ee895dc2b1af1e54e47ae9163c1c7163f0e
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Dec 27 16:22:06 2021 +0000

    2021-12-27 16:22:04 UTC

emerge -qpvO sys-fs/inotify-tools
[ebuild  N    ] sys-fs/inotify-tools-3.21.9.6  USE="-doc"
Comment 1 Toralf Förster gentoo-dev 2021-12-27 17:06:06 UTC
Created attachment 760584 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-27 17:06:08 UTC
Created attachment 760585 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-12-27 17:06:09 UTC
Created attachment 760586 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-12-27 17:06:10 UTC
Created attachment 760587 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-12-27 17:06:11 UTC
Created attachment 760588 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-27 17:06:12 UTC
Created attachment 760589 [details]
sys-fs:inotify-tools-3.21.9.6:20211227-164309.log
Comment 7 Toralf Förster gentoo-dev 2021-12-27 17:06:13 UTC
Created attachment 760590 [details]
temp.tar.bz2
Comment 8 CFuga 2022-06-24 19:35:23 UTC
Please, close this bug. The referred patch was applied upstream, and it's included in versions 3.22.1.0 and 3.22.6.0, both in Gentoo tree. There's no 3.21.x version left in the current tree.

https://github.com/inotify-tools/inotify-tools/commit/19370c62370b29ee44faa3d1c2de68a73e8a5089
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-24 19:36:42 UTC
(In reply to CFuga from comment #8)
> Please, close this bug. The referred patch was applied upstream, and it's
> included in versions 3.22.1.0 and 3.22.6.0, both in Gentoo tree. There's no
> 3.21.x version left in the current tree.
> 
> https://github.com/inotify-tools/inotify-tools/commit/
> 19370c62370b29ee44faa3d1c2de68a73e8a5089

Thanks!