Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 717430 - sys-fs/dmraid-1.0.0_rc16-r5 : device/scan.c: error: _PATH_DEV undeclared (first use in this function)
Summary: sys-fs/dmraid-1.0.0_rc16-r5 : device/scan.c: error: _PATH_DEV undeclared (fir...
Status: RESOLVED FIXED
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: missing-musl-includes
  Show dependency tree
 
Reported: 2020-04-14 10:40 UTC by Toralf Förster
Modified: 2021-03-10 01:24 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.30 KB, text/plain)
2020-04-14 10:40 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,478.73 KB, text/plain)
2020-04-14 10:40 UTC, Toralf Förster
Details
environment (environment,103.74 KB, text/plain)
2020-04-14 10:40 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,35.19 KB, application/x-bzip)
2020-04-14 10:40 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.83 KB, application/x-bzip)
2020-04-14 10:40 UTC, Toralf Förster
Details
sys-fs:dmraid-1.0.0_rc16-r5:20200414-080347.log (sys-fs:dmraid-1.0.0_rc16-r5:20200414-080347.log,36.27 KB, text/plain)
2020-04-14 10:40 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 2020-04-14 10:40:31 UTC
x86_64-gentoo-linux-musl-gcc -o device/scan.o -c -I. -I../include -I../lib -include ../include/config.h  -O2 -pipe -march=native -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 device/scan.c
device/scan.c: In function get_size:
device/scan.c:274:37: error: _PATH_DEV undeclared (first use in this function)
  274 |  if (!(dev_path = dbg_malloc(strlen(_PATH_DEV) + strlen(name) + 1)))
      |                                     ^~~~~~~~~
device/scan.c:274:37: 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_hardened-20200328-201618

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] 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.42.0
  [2]   rust-1.42.0 *
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)


timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Tue Apr 14 06:24:30 UTC 2020
/var/db/repos/musl	Sun Apr 12 18:47:42 UTC 2020

emerge -qpvO sys-fs/dmraid
[ebuild  N    ] sys-fs/dmraid-1.0.0_rc16-r5  USE="-intel_led -led -mini -static"
Comment 1 Toralf Förster gentoo-dev 2020-04-14 10:40:34 UTC
Created attachment 632932 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-14 10:40:37 UTC
Created attachment 632934 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-14 10:40:39 UTC
Created attachment 632936 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-14 10:40:42 UTC
Created attachment 632938 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-14 10:40:45 UTC
Created attachment 632940 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-14 10:40:48 UTC
Created attachment 632942 [details]
sys-fs:dmraid-1.0.0_rc16-r5:20200414-080347.log
Comment 7 Larry the Git Cow gentoo-dev 2021-03-10 01:24:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88f1074d0291e321e9765f358b4806dc9a8ad457

commit 88f1074d0291e321e9765f358b4806dc9a8ad457
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-03-10 00:57:00 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-03-10 00:57:00 +0000

    sys-fs/dmraid: add musl patch
    
    Closes: https://bugs.gentoo.org/717430
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-fs/dmraid/dmraid-1.0.0_rc16-r5.ebuild        |  4 ++++
 sys-fs/dmraid/files/dmraid-1.0.0_rc16-musl.patch | 22 ++++++++++++++++++++++
 2 files changed, 26 insertions(+)