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

Bug 712634

Summary: app-forensics/mac-robber-1.02 : mac-robber.c: error: MAXNAMLEN undeclared (first use in this function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: maintainer-needed
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
app-forensics:mac-robber-1.02:20200315-015822.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-15 09:28:34 UTC
x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16  -Wl,-O1 -Wl,--as-needed -o mac-robber mac-robber.c
mac-robber.c: In function do_dir:
mac-robber.c:241:26: error: MAXNAMLEN undeclared (first use in this function)
  241 |     path_len = dir_len + MAXNAMLEN + 2;
      |                          ^~~~~~~~~
mac-robber.c:241:26: 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-20200311-204810

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.2.0 *
 [2] 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-bin-1.41.1
  [2]   rust-1.41.1 *
The following VMs are available for generation-2:

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sun, 15 Mar 2020 00:40:11 +0000
emerge -qpvO app-forensics/mac-robber
[ebuild  N    ] app-forensics/mac-robber-1.02
Comment 1 Toralf Förster gentoo-dev 2020-03-15 09:28:37 UTC
Created attachment 619424 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-15 09:28:40 UTC
Created attachment 619426 [details]
app-forensics:mac-robber-1.02:20200315-015822.log
Comment 3 Toralf Förster gentoo-dev 2020-03-15 09:28:42 UTC
Created attachment 619428 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-15 09:28:46 UTC
Created attachment 619430 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-15 09:28:49 UTC
Created attachment 619432 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-15 09:28:52 UTC
Created attachment 619434 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-16 16:12:29 UTC
The first attempt to tinderbox a musl image failed at all.

I'll mass close therefore all filed bug reports of the last days related to this tinderbox image.

Please feel free to re-open if you think that the bug is real in musl and not fixed by the musl overlay.
Comment 8 Larry the Git Cow gentoo-dev 2023-10-08 18:32:35 UTC
The bug has been closed via the following commit(s):

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

commit 742f324603932505f02f83dc0d5cf3eef8e2759e
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2023-10-08 18:32:25 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2023-10-08 18:32:25 +0000

    app-forensics/mac-robber: update EAPI 6 -> 8
    
    Closes: https://bugs.gentoo.org/712634
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../mac-robber/files/mac-robber-1.02-posix.patch      | 19 +++++++++++++++++++
 ...c-robber-1.02.ebuild => mac-robber-1.02-r1.ebuild} | 18 ++++++++++++------
 2 files changed, 31 insertions(+), 6 deletions(-)