Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928588 - sys-fs/mdadm-4.3 - util.c: error: NAME_MAX undeclared (first use in this function)
Summary: sys-fs/mdadm-4.3 - util.c: error: NAME_MAX undeclared (first use in this func...
Status: CONFIRMED
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:
 
Reported: 2024-04-04 16:05 UTC by Toralf Förster
Modified: 2024-04-04 16:05 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.83 KB, text/plain)
2024-04-04 16:05 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,18.99 KB, text/plain)
2024-04-04 16:05 UTC, Toralf Förster
Details
environment (environment,86.33 KB, text/plain)
2024-04-04 16:05 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,16.76 KB, application/x-xz)
2024-04-04 16:05 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,54.32 KB, text/plain)
2024-04-04 16:05 UTC, Toralf Förster
Details
sys-fs:mdadm-4.3:20240404-091427.log (sys-fs:mdadm-4.3:20240404-091427.log,6.33 KB, text/plain)
2024-04-04 16:05 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,20.07 KB, application/x-xz)
2024-04-04 16:05 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 2024-04-04 16:05:35 UTC
too long lines were shrinked:

x86_64-pc-linux-musl-gcc -Wall -O2 -pipe -march=native -fno-diagnostics-color -DNO_LIBUDEV -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdad
x86_64-pc-linux-musl-gcc -Wall -O2 -pipe -march=native -fno-diagnostics-color -DNO_LIBUDEV -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdad
x86_64-pc-linux-musl-gcc -Wall -O2 -pipe -march=native -fno-diagnostics-color -DNO_LIBUDEV -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdad
x86_64-pc-linux-musl-gcc -Wall -O2 -pipe -march=native -fno-diagnostics-color -DNO_LIBUDEV -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdad
x86_64-pc-linux-musl-gcc -Wall -O2 -pipe -march=native -fno-diagnostics-color -DNO_LIBUDEV -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdad
util.c: In function 'get_md_name':
util.c:1031:29: error: 'NAME_MAX' undeclared (first use in this function); did you mean 'MD_NAME_MAX'?
 1031 |         static char devname[NAME_MAX];
      |                             ^~~~~~~~

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-musl-13 *
clang/llvm (if any):
/usr/lib/llvm/18
18.1.2
Python 3.11.8
Available Rust versions:
  [1]   rust-bin-1.77.1 *
php cli (if any):

  HEAD of ::gentoo
commit 76c1668f45b1f1bb16cf8fa26dde2237a9798d3a
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Apr 4 09:04:01 2024 +0000

    2024-04-04 09:04:01 UTC

emerge -qpvO sys-fs/mdadm
[ebuild  N    ] sys-fs/mdadm-4.3  USE="-corosync -static (-systemd) -udev"
Comment 1 Toralf Förster gentoo-dev 2024-04-04 16:05:35 UTC
Created attachment 889424 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-04-04 16:05:36 UTC
Created attachment 889425 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-04-04 16:05:38 UTC
Created attachment 889426 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-04-04 16:05:38 UTC
Created attachment 889427 [details]
etc.portage.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-04-04 16:05:39 UTC
Created attachment 889428 [details]
qlist-info.txt
Comment 6 Toralf Förster gentoo-dev 2024-04-04 16:05:40 UTC
Created attachment 889429 [details]
sys-fs:mdadm-4.3:20240404-091427.log
Comment 7 Toralf Förster gentoo-dev 2024-04-04 16:05:41 UTC
Created attachment 889430 [details]
temp.tar.xz