{"action":"created","issue":{"url":"https://api.github.com/repos/MinnowBoard-org/bugs-and-help/issues/92","repository_url":"https://api.github.com/repos/MinnowBoard-org/bugs-and-help","labels_url":"https://api.github.com/repos/MinnowBoard-org/bugs-and-help/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/MinnowBoard-org/bugs-and-help/issues/92/comments","events_url":"https://api.github.com/repos/MinnowBoard-org/bugs-and-help/issues/92/events","html_url":"https://github.com/MinnowBoard-org/bugs-and-help/issues/92","id":297138611,"number":92,"title":"MinnowBoard UDK2017 build fails","user":{"login":"pietrushnic","id":1071894,"avatar_url":"https://avatars3.githubusercontent.com/u/1071894?v=4","gravatar_id":"","url":"https://api.github.com/users/pietrushnic","html_url":"https://github.com/pietrushnic","followers_url":"https://api.github.com/users/pietrushnic/followers","following_url":"https://api.github.com/users/pietrushnic/following{/other_user}","gists_url":"https://api.github.com/users/pietrushnic/gists{/gist_id}","starred_url":"https://api.github.com/users/pietrushnic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pietrushnic/subscriptions","organizations_url":"https://api.github.com/users/pietrushnic/orgs","repos_url":"https://api.github.com/users/pietrushnic/repos","events_url":"https://api.github.com/users/pietrushnic/events{/privacy}","received_events_url":"https://api.github.com/users/pietrushnic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-14T15:32:37Z","updated_at":"2018-02-14T19:17:46Z","closed_at":null,"author_association":"NONE","body":"I'm following [Release Notes](https://firmware.intel.com/sites/default/files/MinnowBoard_MAX-Rel_0_97-ReleaseNotes.txt) using Linux (Debian sid), but build fails with below error. I have correct `GCC5` toolchain - it looks to me like bug in code, but I assume someone tested that before and it had to work. Any idea what can be wrong ?\r\n\r\n```shell\r\n/home/edk2/edk2-platforms/Vlv2TbltDevicePkg/Library/MultiPlatformLib/PlatformInfoHob.c: In function 'GetPlatformInfoHob':                                                                                                            \r\n/home/edk2/edk2/MdePkg/Include/Base.h:951:75: error: comparison of constant '0' with boolean expression is always false [-Werror=bool-compare]                                                                                        \r\n #define RETURN_ERROR(StatusCode)     (((INTN)(RETURN_STATUS)(StatusCode)) < 0)                                                                                                                                                      \r\n                                                                           ^                                                                                                                                                     \r\n/home/edk2/edk2/MdePkg/Include/Uefi/UefiBaseType.h:165:35: note: in expansion of macro 'RETURN_ERROR'                                                                                                               \r\n #define EFI_ERROR(A)              RETURN_ERROR(A)                                                                                                                                                       \r\n                                   ^~~~~~~~~~~~      \r\n/home/edk2/edk2/MdePkg/Include/Library/DebugLib.h:341:13: note: in expansion of macro 'EFI_ERROR'\r\n         if (EFI_ERROR (StatusParameter)) {                                               \\\r\n             ^~~~~~~~~\r\n/home/edk2/edk2-platforms/Vlv2TbltDevicePkg/Library/MultiPlatformLib/PlatformInfoHob.c:61:3: note: in expansion of macro 'ASSERT_EFI_ERROR'\r\ncc1: all warnings being treated as errors\r\nmake: *** [GNUmakefile:647: /home/edk2/Build/Vlv2TbltDevicePkg/DEBUG_GCC5/IA32/Vlv2TbltDevicePkg/Library/MultiPlatformLib/MultiPlatformLib/OUTPUT/PlatformInfoHob.obj] Error 1\r\n\r\n\r\nbuild.py...\r\n : error 7000: Failed to execute command\r\n        make tbuild [/home/edk2/Build/Vlv2TbltDevicePkg/DEBUG_GCC5/IA32/Vlv2TbltDevicePkg/Library/MultiPlatformLib/MultiPlatformLib]\r\n\r\n\r\nbuild.py...\r\n : error F002: Failed to build module\r\n        /home/edk2/edk2-platforms/Vlv2TbltDevicePkg/Library/MultiPlatformLib/MultiPlatformLib.inf [IA32, GCC5, DEBUG]\r\n\r\n- Failed -\r\nBuild end time: 15:09:48, Feb.14 2018\r\nBuild total time: 00:00:58\r\n\r\n/home/edk2/edk2-platforms/Vlv2TbltDevicePkg/Stitch/IFWIHeader/IFWI_HEADER.bin\r\nSkip Running fce...\r\nSkip Running KeyEnroll...\r\ncp: cannot stat '/home/edk2/Build/Vlv2TbltDevicePkg/DEBUG_GCC5/FV/VLV.fd': No such file or directory\r\ncat: /home/edk2/MNW2MAX_X64_D_0097_01.ROM: No such file or directory\r\nSkip Running BIOS_Signing ...\r\n\r\nBuild location: Build/Vlv2TbltDevicePkg/DEBUG_GCC5\r\nBIOS ROM Created: MNW2MAX_X64_D_0097_01.ROM\r\n```"},"comment":{"url":"https://api.github.com/repos/MinnowBoard-org/bugs-and-help/issues/comments/365715008","html_url":"https://github.com/MinnowBoard-org/bugs-and-help/issues/92#issuecomment-365715008","issue_url":"https://api.github.com/repos/MinnowBoard-org/bugs-and-help/issues/92","id":365715008,"user":{"login":"BrianRichardsonIntel","id":16407900,"avatar_url":"https://avatars0.githubusercontent.com/u/16407900?v=4","gravatar_id":"","url":"https://api.github.com/users/BrianRichardsonIntel","html_url":"https://github.com/BrianRichardsonIntel","followers_url":"https://api.github.com/users/BrianRichardsonIntel/followers","following_url":"https://api.github.com/users/BrianRichardsonIntel/following{/other_user}","gists_url":"https://api.github.com/users/BrianRichardsonIntel/gists{/gist_id}","starred_url":"https://api.github.com/users/BrianRichardsonIntel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrianRichardsonIntel/subscriptions","organizations_url":"https://api.github.com/users/BrianRichardsonIntel/orgs","repos_url":"https://api.github.com/users/BrianRichardsonIntel/repos","events_url":"https://api.github.com/users/BrianRichardsonIntel/events{/privacy}","received_events_url":"https://api.github.com/users/BrianRichardsonIntel/received_events","type":"User","site_admin":false},"created_at":"2018-02-14T19:17:46Z","updated_at":"2018-02-14T19:17:46Z","author_association":"COLLABORATOR","body":"Pitor: Have you attempted to build in Ubuntu 16.04 LTS (versus Debian)? I've successfully built v0.97 without any need to modify the source. I made some shell scripts to automate setup on a 'clean' Ubuntu 16.04 LTS install (setup, fetch, build). You can grab the ZIP file and see if these work on your Debian config.\r\n\r\n[lazy_edk2.zip](https://github.com/MinnowBoard-org/bugs-and-help/files/1725313/lazy_edk2.zip)\r\n\r\nThis might be a tools configuration issue rather than a source issue, especially since you're on an unstable branch of Debian. So the apt packages listed in the release notes might need to be adjusted for Debian jessie/sid. We tend to stick with Ubuntu LTS versions for build verification (stability).\r\n\r\nIf package or build instruction adjustments need to be made for Debian, we can update the TianoCore wiki to reflect these changes."}}
{"actor":{"display_login":"BrianRichardsonIntel"}}