Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715988 - media-gfx/jpegtoavi-1.5 : jpegtoavi.c: error: PATH_MAX undeclared (first use in this function)
Summary: media-gfx/jpegtoavi-1.5 : jpegtoavi.c: error: PATH_MAX undeclared (first use ...
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-03 07:26 UTC by Toralf Förster
Modified: 2020-04-04 18:49 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.76 KB, text/plain)
2020-04-03 07:26 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,267.74 KB, text/plain)
2020-04-03 07:26 UTC, Toralf Förster
Details
environment (environment,46.24 KB, text/plain)
2020-04-03 07:26 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,24.75 KB, application/x-bzip)
2020-04-03 07:26 UTC, Toralf Förster
Details
media-gfx:jpegtoavi-1.5:20200402-234457.log (media-gfx:jpegtoavi-1.5:20200402-234457.log,2.14 KB, text/plain)
2020-04-03 07:26 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,12.31 KB, application/x-bzip)
2020-04-03 07:26 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-03 07:26:31 UTC
x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -Wall -ansi  -DLINUX -D__UNIX__ -DVERSION_MIN=5 -DVERSION_MAJ=1 -DVERBOSE=0 -c jpegtoavi.c -o jpegtoavi.o
jpegtoavi.c: In function get_file_list_stdin:
jpegtoavi.c:109:11: error: PATH_MAX undeclared (first use in this function)
  109 |   char fn[PATH_MAX];
      |           ^~~~~~~~
jpegtoavi.c:109:11: 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	Thu Apr  2 22:37:37 UTC 2020
/var/db/repos/musl	Thu Apr  2 19:02:24 UTC 2020

emerge -qpvO media-gfx/jpegtoavi
[ebuild  N    ] media-gfx/jpegtoavi-1.5
Comment 1 Toralf Förster gentoo-dev 2020-04-03 07:26:34 UTC
Created attachment 629274 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-03 07:26:37 UTC
Created attachment 629276 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-03 07:26:40 UTC
Created attachment 629278 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-03 07:26:43 UTC
Created attachment 629280 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-03 07:26:46 UTC
Created attachment 629282 [details]
media-gfx:jpegtoavi-1.5:20200402-234457.log
Comment 6 Toralf Förster gentoo-dev 2020-04-03 07:26:50 UTC
Created attachment 629284 [details]
temp.tbz2
Comment 7 Michael 'veremitz' Everitt 2020-04-04 18:49:12 UTC
I suspect this is a case of a missing #include <limits.h> which is required
explicitly on musl-libc.