Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 889429 Details for
Bug 928588
sys-fs/mdadm-4.3 - util.c: error: NAME_MAX undeclared (first use in this function)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sys-fs:mdadm-4.3:20240404-091427.log
sys-fs:mdadm-4.3:20240404-091427.log (text/plain), 6.33 KB, created by
Toralf Förster
on 2024-04-04 16:05:40 UTC
(
hide
)
Description:
sys-fs:mdadm-4.3:20240404-091427.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2024-04-04 16:05:40 UTC
Size:
6.33 KB
patch
obsolete
> * Package: sys-fs/mdadm-4.3:0 > * Repository: gentoo > * Maintainer: base-system@gentoo.org > * USE: abi_x86_64 amd64 elibc_musl kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking mdadm-4.3.tar.xz to /var/tmp/portage/sys-fs/mdadm-4.3/work >>>> Unpacking mdadm_4.3-1.debian.tar.xz to /var/tmp/portage/sys-fs/mdadm-4.3/work >>>> Source unpacked in /var/tmp/portage/sys-fs/mdadm-4.3/work >>>> Preparing source in /var/tmp/portage/sys-fs/mdadm-4.3/work/mdadm-4.3 ... > * Applying mdadm-4.3-in_initrd-collision.patch ... >patching file mdadm.h >Hunk #1 succeeded at 1775 with fuzz 2 (offset 110 lines). >patching file mdmon.c >Hunk #1 succeeded at 358 with fuzz 2 (offset 49 lines). >patching file util.c >Hunk #2 succeeded at 2270 with fuzz 2 (offset 51 lines). > [ ok ] > * Applying mdadm-4.2-mdadm_env.patch ... > [ ok ] > * Applying mdadm-4.3-ldflags.patch ... > [ ok ] > * Applying mdadm-4.3-no-udev.patch ... > [ ok ] > * Applying 0001-fix-manpages.patch ... > [ ok ] > * Applying 0003-host-name-in-default-mailfrom.patch ... > [ ok ] > * Applying 0004-exit-gracefully-when-md-device-not-found.patch ... > [ ok ] > * Applying 0007-no-Werror.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/sys-fs/mdadm-4.3/work/mdadm-4.3 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/sys-fs/mdadm-4.3/work/mdadm-4.3 ... >make -j4 PKG_CONFIG=x86_64-pc-linux-musl-pkg-config CC=x86_64-pc-linux-musl-gcc CWFLAGS=-Wall 'CXFLAGS=-O2 -pipe -march=native -fno-diagnostics-color -DNO_LIBUDEV' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0' UDEVDIR=/usr/lib/udev SYSTEMD_DIR=/lib/systemd/system COROSYNC=-DNO_COROSYNC DLM=-DNO_DLM STRIP= all >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/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -D_LARGEFILE64_SOURCE -DBINDIR=\"/sbin\" -o mdadm.o -c mdadm.c >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/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -D_LARGEFILE64_SOURCE -DBINDIR=\"/sbin\" -o config.o -c config.c >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/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -D_LARGEFILE64_SOURCE -DBINDIR=\"/sbin\" -o policy.o -c policy.c >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/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -D_LARGEFILE64_SOURCE -DBINDIR=\"/sbin\" -o mdstat.o -c mdstat.c >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/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -D_LARGEFILE64_SOURCE -DBINDIR=\"/sbin\" -o ReadMe.o -c ReadMe.c >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/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -D_LARGEFILE64_SOURCE -DBINDIR=\"/sbin\" -o uuid.o -c uuid.c >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/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -D_LARGEFILE64_SOURCE -DBINDIR=\"/sbin\" -o util.o -c util.c >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]; > | ^~~~~~~~ > | MD_NAME_MAX >util.c:1031:29: note: each undeclared identifier is reported only once for each function it appears in >util.c:1031:21: warning: unused variable 'devname' [-Wunused-variable] > 1031 | static char devname[NAME_MAX]; > | ^~~~~~~ >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/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -D_LARGEFILE64_SOURCE -DBINDIR=\"/sbin\" -o maps.o -c maps.c >make: *** [Makefile:211: util.o] Error 1 >make: *** Waiting for unfinished jobs.... > * ERROR: sys-fs/mdadm-4.3::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=sys-fs/mdadm-4.3::gentoo'`, > * the complete build log and the output of `emerge -pqv '=sys-fs/mdadm-4.3::gentoo'`. > * The complete build log is located at '/var/log/portage/sys-fs:mdadm-4.3:20240404-091427.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-fs/mdadm-4.3/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/sys-fs/mdadm-4.3/temp/environment'. > * Working directory: '/var/tmp/portage/sys-fs/mdadm-4.3/work/mdadm-4.3' > * S: '/var/tmp/portage/sys-fs/mdadm-4.3/work/mdadm-4.3' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 928588
:
889424
|
889425
|
889426
|
889427
|
889428
| 889429 |
889430