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

Bug 889266

Summary: sys-libs/minizip-ng-3.0.8: /usr/include/bsd/unistd.h:34: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: ago, base-system
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://gitlab.freedesktop.org/libbsd/libbsd/-/issues/15
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
logs.tar.bz2
sys-libs:minizip-ng-3.0.8:20230101-012729.log.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2023-01-01 10:01:21 UTC
   53 | __BEGIN_DECLS
      |              ^
      |              ;
......
   61 | void arc4random_stir(void);
      | ~~~~          
/usr/include/bsd/stdlib.h:64:40: error: unknown type name 'int64_t'
   64 | int dehumanize_number(const char *str, int64_t *size);
      |                                        ^~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-j4-20221229-143533

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-gentoo-linux-musl-12.2.0 *
clang/llvm (if any):
clang version 15.0.6
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.6
Python 3.10.9
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.66.0
  [2]   rust-1.66.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.17_p8 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-11 
  [2]   openjdk-bin-17  system-vm

php cli (if any):
  [1]   php7.4
  [2]   php8.0
  [3]   php8.2 *

  HEAD of ::gentoo
commit 767268e617ed5ce64870a336394e4a79972392ab
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Jan 1 00:17:06 2023 +0000

    2023-01-01 00:17:05 UTC

emerge -qpvO sys-libs/minizip-ng
[ebuild  N    ] sys-libs/minizip-ng-3.0.8  USE="(-compat) -openssl -test -zstd"
Comment 1 Toralf Förster gentoo-dev 2023-01-01 10:01:22 UTC
Created attachment 846348 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-01-01 10:01:24 UTC
Created attachment 846350 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-01-01 10:01:25 UTC
Created attachment 846352 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-01-01 10:01:26 UTC
Created attachment 846354 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-01-01 10:01:27 UTC
Created attachment 846356 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-01-01 10:01:28 UTC
Created attachment 846358 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-01-01 10:01:29 UTC
Created attachment 846360 [details]
sys-libs:minizip-ng-3.0.8:20230101-012729.log.bz2
Comment 8 Toralf Förster gentoo-dev 2023-01-01 10:01:30 UTC
Created attachment 846362 [details]
temp.tar.bz2
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-10-06 19:47:43 UTC
*** Bug 898850 has been marked as a duplicate of this bug. ***
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-10-06 19:48:28 UTC
Still waiting on an upstream reply at https://gitlab.freedesktop.org/libbsd/libbsd/-/issues/15.

The bit mentioned at https://gitlab.freedesktop.org/libbsd/libbsd/-/issues/15#note_1872420 might be it though.
Comment 11 Larry the Git Cow gentoo-dev 2023-10-06 19:58:51 UTC
The bug has been closed via the following commit(s):

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

commit 77feb49d2a880a320412d80de3296e47591ec450
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-10-06 19:56:40 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-10-06 19:58:42 +0000

    sys-libs/minizip-ng: fix musl build + libbsd dep
    
    The missing libbsd dep looks like an oversight from bf1f9945bca502841480115ef59463a20da6e7da.
    
    Closes: https://bugs.gentoo.org/889266
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/minizip-ng-4.0.1-libbsd-overlay.patch    | 16 ++++
 sys-libs/minizip-ng/minizip-ng-4.0.1-r1.ebuild     | 97 ++++++++++++++++++++++
 2 files changed, 113 insertions(+)