{"action":"created","issue":{"url":"https://api.github.com/repos/gentoo/musl/issues/34","repository_url":"https://api.github.com/repos/gentoo/musl","labels_url":"https://api.github.com/repos/gentoo/musl/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/gentoo/musl/issues/34/comments","events_url":"https://api.github.com/repos/gentoo/musl/issues/34/events","html_url":"https://github.com/gentoo/musl/issues/34","id":215230337,"number":34,"title":"sys-boot/efibootmgr fails to build","user":{"login":"Keepco","id":8766773,"avatar_url":"https://avatars3.githubusercontent.com/u/8766773?v=3","gravatar_id":"","url":"https://api.github.com/users/Keepco","html_url":"https://github.com/Keepco","followers_url":"https://api.github.com/users/Keepco/followers","following_url":"https://api.github.com/users/Keepco/following{/other_user}","gists_url":"https://api.github.com/users/Keepco/gists{/gist_id}","starred_url":"https://api.github.com/users/Keepco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Keepco/subscriptions","organizations_url":"https://api.github.com/users/Keepco/orgs","repos_url":"https://api.github.com/users/Keepco/repos","events_url":"https://api.github.com/users/Keepco/events{/privacy}","received_events_url":"https://api.github.com/users/Keepco/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-03-18T23:56:03Z","updated_at":"2017-03-29T17:09:49Z","closed_at":null,"body":"Hello,\r\nbuilding efibootmgr fails:\r\n```\r\nIn file included from /usr/include/stdlib.h:19:0,\r\n                 from unparse_path.c:26:\r\n/usr/include/bits/alltypes.h:18:13: error: conflicting types for ‘wchar_t’\r\n typedef int wchar_t;\r\n             ^\r\nIn file included from unparse_path.c:24:0:\r\n/usr/lib/gcc/x86_64-gentoo-linux-musl/4.9.4/include/stddef.h:324:24: note: previous declaration of ‘wchar_t’ was here\r\n typedef __WCHAR_TYPE__ wchar_t;\r\n```\r\n\r\nHowever, removing `-fshort-wchar` from Make.defaults fixes it (basically the same thing as https://cgit.gentoo.org/proj/musl.git/tree/sys-libs/efivar/files/0.21-musl.patch?id=72d39834f513ed0ec6d4c3030f8bce402e71d236)"},"comment":{"url":"https://api.github.com/repos/gentoo/musl/issues/comments/290157456","html_url":"https://github.com/gentoo/musl/issues/34#issuecomment-290157456","issue_url":"https://api.github.com/repos/gentoo/musl/issues/34","id":290157456,"user":{"login":"lluixhi","id":3643824,"avatar_url":"https://avatars1.githubusercontent.com/u/3643824?v=3","gravatar_id":"","url":"https://api.github.com/users/lluixhi","html_url":"https://github.com/lluixhi","followers_url":"https://api.github.com/users/lluixhi/followers","following_url":"https://api.github.com/users/lluixhi/following{/other_user}","gists_url":"https://api.github.com/users/lluixhi/gists{/gist_id}","starred_url":"https://api.github.com/users/lluixhi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lluixhi/subscriptions","organizations_url":"https://api.github.com/users/lluixhi/orgs","repos_url":"https://api.github.com/users/lluixhi/repos","events_url":"https://api.github.com/users/lluixhi/events{/privacy}","received_events_url":"https://api.github.com/users/lluixhi/received_events","type":"User","site_admin":false},"created_at":"2017-03-29T17:09:49Z","updated_at":"2017-03-29T17:09:49Z","body":"Interesting -- in GCC 6.3.0, in `stddef.h` are the lines:\r\n```\r\n#ifndef __WCHAR_TYPE__\r\n#define __WCHAR_TYPE__ int\r\n#endif\r\n#ifndef __cplusplus\r\ntypedef __WCHAR_TYPE__ wchar_t;\r\n#endif\r\n```\r\nSo the definitions match up -- what is the type definition in 4.9.4?\r\n\r\nIf it's the same, I think 6.3.0 probably just got a bit more lenient with typedefs and is looking a bit further into the past before deciding there's a conflict."}}
{"actor":{"display_login":"lluixhi"}}