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

Bug 937239

Summary: sys-fs/lvm2-2.03.22-r5 - [icu-75.1] device/device_id.c: error: implicit declaration of function basename
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: base-system
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: musl/basename
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 926147    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt
sys-fs:lvm2-2.03.22-r5:20240803-124147.log
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-08-03 14:30:36 UTC
too long lines were shrinked:

x86_64-pc-linux-musl-gcc -MT device/bcache-utils.o -MMD -MP -MF device/bcache-utils.d -c -I. -I.. -I../include -include configure.h  -I/usr/include/blkid  -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64    -O2 -pipe -march=native -fno-diagnostics-color -fPIC   device/bcache-utils.c -o device/bcache-utils.o
    [CC] dev-cache.c
x86_64-pc-linux-musl-gcc -MT device/dev-cache.o -MMD -MP -MF device/dev-cache.d -c -I. -I.. -I../include -include configure.h  -I/usr/include/blkid  -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64    -O2 -pipe -march=native -fno-diagnostics-color -fPIC   device/dev-cache.c -o device/dev-cache.o
    [CC] device_id.c
x86_64-pc-linux-musl-gcc -MT device/device_id.o -MMD -MP -MF device/device_id.d -c -I. -I.. -I../include -include configure.h  -I/usr/include/blkid  -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64    -O2 -pipe -march=native -fno-diagnostics-color -fPIC   device/device_id.c -o device/device_id.o
device/device_id.c: In function '_dev_read_sys_serial':
device/device_id.c:574:24: error: implicit declaration of function 'basename'; did you mean 'dm_basename'? [-Wimplicit-function-declaration]
  574 |                 base = basename(devname);
      |                        ^~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_musl-20240803-100502

  UNMASKED:
    Requested by sam
  ~dev-libs/icu-75.1
  ~dev-libs/icu-layoutex-75.1

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-musl-14 *
clang/llvm (if any):
Python 3.12.4
Available Rust versions:
  [1]   rust-bin-1.79.0 *
php cli (if any):

  HEAD of ::gentoo
commit 40d94e003840bba52dcf6fff887f1be21f00508c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Aug 3 11:21:28 2024 +0000

    2024-08-03 11:21:28 UTC

emerge -qpvO sys-fs/lvm2
[ebuild  N    ] sys-fs/lvm2-2.03.22-r5  USE="lvm readline -sanlock (-selinux) -static -static-libs (-systemd) -thin -udev -valgrind"
Comment 1 Toralf Förster gentoo-dev 2024-08-03 14:30:37 UTC
Created attachment 898886 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-08-03 14:30:38 UTC
Created attachment 898887 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-08-03 14:30:39 UTC
Created attachment 898888 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-08-03 14:30:40 UTC
Created attachment 898889 [details]
etc.portage.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-08-03 14:30:41 UTC
Created attachment 898890 [details]
logs.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-08-03 14:30:42 UTC
Created attachment 898891 [details]
qlist-info.txt
Comment 7 Toralf Förster gentoo-dev 2024-08-03 14:30:43 UTC
Created attachment 898892 [details]
sys-fs:lvm2-2.03.22-r5:20240803-124147.log
Comment 8 Toralf Förster gentoo-dev 2024-08-03 14:30:45 UTC
Created attachment 898893 [details]
temp.tar.xz