bugGNU GRUB - Bugs: bug #56144, build failure - unknown type name...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #56144: build failure - unknown type name ‘mbstate_t’ - gnulib/argp-fmtstream.c

Submitter:  James Feeney <james>
Submitted:  Tue 16 Apr 2019 07:35:53 PM UTC
Votes: 1
 
Category:  Compilation Severity:  Major
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name:  James Feeney
Open/Closed:  Open Release:  Git master
Release:  Reproducibility:  None
Planned Release:  None

Wed 08 May 2019 02:47:02 AM UTC, comment #2: 

I did a bit of bisecting on Arch Linux with gcc 8.3.0 and found:

git commit 35b909062e7b334eb4af372be3260d0f62d85375 fail to compile as described in this bug

git commit f8f35acb5b05d40e3707a9d2db9ede60023e4cac compiles cleanly

John Kelley <johnk>
Tue 07 May 2019 03:02:10 AM UTC, comment #1: 

Maybe related to commit 35b909062e7b334eb4af372be3260d0f62d85375

John Kelley <johnk>
Tue 16 Apr 2019 07:35:53 PM UTC, original submission:  

Arch Linux
gcc 8.2.1+20181127-1
linux 5.0.7.arch1-1

Making package: grub-git 2.04.rc1.r0.g94d9926a6-1

In file included from ../../../../grub-core/lib/gnulib/argp-fmtstream.c:26:
./wchar.h:708:1: error: unknown type name ‘mbstate_t’
 _GL_FUNCDECL_RPL (mbrtowc, size_t,
 ^~~~~~~~~~~~~~~~
../../../../grub-core/lib/gnulib/argp-fmtstream.c: In function ‘add_width’:
../../../../grub-core/lib/gnulib/argp-fmtstream.c:125:3: error: unknown type name ‘mbstate_t’
   mbstate_t ps;
   ^~~~~~~~~
../../../../grub-core/lib/gnulib/argp-fmtstream.c:155:11: warning: implicit declaration of function ‘wcwidth’; did you mean ‘mbswidth’? [-Wimplicit-function-declaration]
       k = wcwidth (wc);
           ^~~~~~~
           mbswidth

James Feeney <james>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by johnk (Posted a comment)
  • -email is unavailable- added by johnk (Voted in favor of this item)
  • -email is unavailable- added by james (Submitted the item)
  •  

    There is 1 vote so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-05-07 johnk Carbon-Copy- Added johnk

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code