Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715876 - app-admin/xtail-2.1-r1 : miscfuncs.c: error: MAXNAMLEN undeclared (first use in this function)
Summary: app-admin/xtail-2.1-r1 : miscfuncs.c: error: MAXNAMLEN undeclared (first use ...
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:
Keywords:
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-04-02 07:28 UTC by Toralf Förster
Modified: 2022-09-26 12:10 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.69 KB, text/plain)
2020-04-02 07:29 UTC, Toralf Förster
Details
app-admin:xtail-2.1-r1:20200402-052852.log (app-admin:xtail-2.1-r1:20200402-052852.log,5.43 KB, text/plain)
2020-04-02 07:29 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,240.69 KB, text/plain)
2020-04-02 07:29 UTC, Toralf Förster
Details
environment (environment,46.51 KB, text/plain)
2020-04-02 07:29 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,24.31 KB, application/x-bzip)
2020-04-02 07:29 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,1.81 KB, application/x-bzip)
2020-04-02 07:29 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,13.25 KB, application/x-bzip)
2020-04-02 07:29 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-02 07:28:57 UTC
x86_64-gentoo-linux-musl-gcc -Wall -O2 -pipe -march=native -DHAVE_CONFIG_H -I.    -c -o miscfuncs.o miscfuncs.c
miscfuncs.c: In function scan_directory:
miscfuncs.c:68:26: error: MAXNAMLEN undeclared (first use in this function); did you mean NAMLEN?
   68 |     static char pathname[MAXNAMLEN];
      |                          ^~~~~~~~~
      |                          NAMLEN

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

  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 03:37:36 UTC 2020
/var/db/repos/musl	Fri Mar 27 00:25:27 UTC 2020

emerge -qpvO app-admin/xtail
[ebuild  N    ] app-admin/xtail-2.1-r1
Comment 1 Toralf Förster gentoo-dev 2020-04-02 07:29:01 UTC
Created attachment 628904 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-02 07:29:04 UTC
Created attachment 628906 [details]
app-admin:xtail-2.1-r1:20200402-052852.log
Comment 3 Toralf Förster gentoo-dev 2020-04-02 07:29:07 UTC
Created attachment 628908 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-04-02 07:29:15 UTC
Created attachment 628910 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-04-02 07:29:21 UTC
Created attachment 628912 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-02 07:29:25 UTC
Created attachment 628914 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-04-02 07:29:28 UTC
Created attachment 628916 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2022-09-26 12:10:53 UTC
The bug has been closed via the following commit(s):

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

commit 31173bcda1b5da8c889c911c378071968ff9bf05
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-09-26 03:08:47 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-09-26 03:08:47 +0000

    app-admin/xtail: add 2.1_p8 (Debian + fix musl + fix Clang 16)
    
    Closes: https://bugs.gentoo.org/715876
    Closes: https://bugs.gentoo.org/870673
    Signed-off-by: Sam James <sam@gentoo.org>

 app-admin/xtail/Manifest                           |  1 +
 .../xtail/files/xtail-2.1_p8-fix-limits-musl.patch | 28 ++++++++++++
 .../xtail/files/xtail-2.1_p8-fix-prototype.patch   | 20 +++++++++
 .../files/xtail-2.1_p8-rename-configure.patch      | 23 ++++++++++
 app-admin/xtail/xtail-2.1_p8.ebuild                | 50 ++++++++++++++++++++++
 5 files changed, 122 insertions(+)