Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 716034 - net-ftp/gftp-2.0.19-r3 : fsplib.h: error: MAXNAMLEN undeclared here (not in a function)
Summary: net-ftp/gftp-2.0.19-r3 : fsplib.h: error: MAXNAMLEN undeclared here (not in a...
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:
Whiteboard: Missing limits.h?
Keywords:
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-04-03 14:53 UTC by Toralf Förster
Modified: 2022-05-09 22:09 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.44 KB, text/plain)
2020-04-03 14:53 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,253.47 KB, text/plain)
2020-04-03 14:54 UTC, Toralf Förster
Details
environment (environment,110.00 KB, text/plain)
2020-04-03 14:54 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,20.86 KB, application/x-bzip)
2020-04-03 14:54 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,13.42 KB, application/x-bzip)
2020-04-03 14:54 UTC, Toralf Förster
Details
net-ftp:gftp-2.0.19-r3:20200403-110841.log (net-ftp:gftp-2.0.19-r3:20200403-110841.log,27.87 KB, text/plain)
2020-04-03 14:54 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,29.35 KB, application/x-bzip)
2020-04-03 14:54 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 14:53:54 UTC
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DFSP_USE_SHAREMEM_AND_SEMOP=1    -O2 -pipe -march=native -c fsplib.c
In file included from fsplib.c:32:
fsplib.h:148:52: error: MAXNAMLEN undeclared here (not in a function)
  148 |       char fill[offsetof (struct dirent, d_name) + MAXNAMLEN + 1];
      |                                                    ^~~~~~~~~
make[3]: *** [Makefile:304: fsplib.o] Error 1

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

  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
/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	Fri Apr  3 09:41:54 UTC 2020
/var/db/repos/musl	Thu Apr  2 19:02:24 UTC 2020

emerge -qpvO net-ftp/gftp
[ebuild  N    ] net-ftp/gftp-2.0.19-r3  USE="ssl -gtk -libressl"
Comment 1 Toralf Förster gentoo-dev 2020-04-03 14:53:58 UTC
Created attachment 629416 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-03 14:54:02 UTC
Created attachment 629418 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-03 14:54:05 UTC
Created attachment 629420 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-03 14:54:09 UTC
Created attachment 629422 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-03 14:54:12 UTC
Created attachment 629424 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-03 14:54:16 UTC
Created attachment 629426 [details]
net-ftp:gftp-2.0.19-r3:20200403-110841.log
Comment 7 Toralf Förster gentoo-dev 2020-04-03 14:54:20 UTC
Created attachment 629428 [details]
temp.tbz2
Comment 8 Michael 'veremitz' Everitt 2020-04-04 18:51:57 UTC
PATH_MAX and NAME_MAX are both POSIX standard macros available in
limits.h, so use them instead of MAXPATHLEN and MAXNAMLEN.
Comment 9 Larry the Git Cow gentoo-dev 2022-05-09 22:09:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d44581b8b23949a88fb2ef5ec4f24657293d18ff

commit d44581b8b23949a88fb2ef5ec4f24657293d18ff
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2022-05-09 21:38:01 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2022-05-09 22:08:35 +0000

    net-ftp/gftp: Version bump to 2.9.1b
    
    Closes: https://bugs.gentoo.org/716034
    Closes: https://bugs.gentoo.org/724934
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 net-ftp/gftp/Manifest           |  1 +
 net-ftp/gftp/gftp-2.9.1b.ebuild | 38 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+)