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

Bug 716716

Summary: net-news/snownews-1.6.10 : cookies.c: error: PATH_MAX undeclared (first use in this function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: gentoo, proxy-maint
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

Description Toralf Förster gentoo-dev 2020-04-08 18:19:13 UTC
  117 |      cookievalue = strdup (tmpstr);
      |                  ^
cookies.c:151:20: error: PATH_MAX undeclared (first use in this function)
  151 |    char expirebuf [PATH_MAX];
      |                    ^~~~~~~~
cookies.c:151:20: 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_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
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 16:39:31 UTC 2020
/var/db/repos/musl	Sat Apr  4 03:02:24 UTC 2020

emerge -qpvO net-news/snownews
[ebuild  N    ] net-news/snownews-1.6.10
Comment 1 Toralf Förster gentoo-dev 2020-04-08 18:19:15 UTC
Created attachment 631420 [details]
Comment 2 Toralf Förster gentoo-dev 2020-04-08 18:19:18 UTC
Created attachment 631422 [details]
Comment 3 Toralf Förster gentoo-dev 2020-04-08 18:19:21 UTC
Created attachment 631424 [details]
Comment 4 Toralf Förster gentoo-dev 2020-04-08 18:19:23 UTC
Created attachment 631426 [details]
Comment 5 Toralf Förster gentoo-dev 2020-04-08 18:19:26 UTC
Created attachment 631428 [details]
Comment 6 Toralf Förster gentoo-dev 2020-04-08 18:19:29 UTC
Created attachment 631430 [details]
Comment 7 Michael 'veremitz' Everitt 2020-04-10 01:32:09 UTC
Likely an occurrence of missing #include <limits.h> .