Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 716784 - sys-fs/nilfs-utils-2.2.2 : rmcp.c: error: MAX_INPUT undeclared (first use in this function)
Summary: sys-fs/nilfs-utils-2.2.2 : rmcp.c: error: MAX_INPUT undeclared (first use in ...
Status: IN_PROGRESS
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-09 08:53 UTC by Toralf Förster
Modified: 2020-04-10 01:47 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.42 KB, text/plain)
2020-04-09 08:53 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,406.94 KB, text/plain)
2020-04-09 08:53 UTC, Toralf Förster
Details
environment (environment,67.28 KB, text/plain)
2020-04-09 08:53 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,29.99 KB, application/x-bzip)
2020-04-09 08:53 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,11.16 KB, application/x-bzip)
2020-04-09 08:53 UTC, Toralf Förster
Details
sys-fs:nilfs-utils-2.2.2:20200409-071522.log (sys-fs:nilfs-utils-2.2.2:20200409-071522.log,26.00 KB, text/plain)
2020-04-09 08:54 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,20.43 KB, application/x-bzip)
2020-04-09 08:54 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-09 08:53:43 UTC
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I..  -I../include  -Wall -O2 -pipe -march=native -c rmcp.c
rmcp.c: In function rmcp_confirm:
rmcp.c:87:11: error: MAX_INPUT undeclared (first use in this function)
   87 |  char ans[MAX_INPUT];
      |           ^~~~~~~~~
rmcp.c:87:11: 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-20200328-141627

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

  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-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	Thu Apr  9 06:08:08 UTC 2020
/var/db/repos/musl	Wed Apr  8 18:15:58 UTC 2020

emerge -qpvO sys-fs/nilfs-utils
[ebuild  N    ] sys-fs/nilfs-utils-2.2.2  USE="-static-libs"
Comment 1 Toralf Förster gentoo-dev 2020-04-09 08:53:46 UTC
Created attachment 631556 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-09 08:53:49 UTC
Created attachment 631558 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-09 08:53:52 UTC
Created attachment 631560 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-09 08:53:55 UTC
Created attachment 631562 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-09 08:53:58 UTC
Created attachment 631564 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-09 08:54:01 UTC
Created attachment 631566 [details]
sys-fs:nilfs-utils-2.2.2:20200409-071522.log
Comment 7 Toralf Förster gentoo-dev 2020-04-09 08:54:04 UTC
Created attachment 631568 [details]
temp.tbz2
Comment 8 Michael 'veremitz' Everitt 2020-04-10 01:47:37 UTC
This specific failure is fixed in https://github.com/nilfs-dev/nilfs-utils/commit/115fe4b976858c487cf83065f513d8626089579a .

Musl support also requires a #include <fcntl.h> as in https://github.com/nilfs-dev/nilfs-utils/commit/cbc316f9416df6788f320d752d6407399682cc05 .

Both fixed in nilfs-utils-2.2.8 upstream release. Please bump.