Re: [edk2] another build failure

Subject: Re: [edk2] another build failure

From: "Carsey, Jaben" <jaben.carsey@intel.com>

To: "Gabriel L. Somlo" <gsomlo@gmail.com>, "edk2-devel@lists.sourceforge.net" <edk2-devel@lists.sourceforge.net>

Date: 2014-08-26 00:41:09

There is a patch already outstanding on the mailing list that fixes this invalid character.

Thanks!
-Jaben

-----Original Message-----
From: Gabriel L. Somlo [mailto:gsomlo@gmail.com] 
Sent: Monday, August 25, 2014 9:10 AM
To: edk2-devel@lists.sourceforge.net
Cc: Carsey, Jaben
Subject: another build failure

Hi,

Apparently, commit f056e4c18047e9a0157a915175d07afbd8b8c581 causes
the build process to fail. I use Fedora 20 with the following command
line:

	build -a X64 -t GCC48 -p OvmfPkg/OvmfPkgX64.dsc

The commit details are:

commit f056e4c18047e9a0157a915175d07afbd8b8c581
Author: Jaben Carsey 
Date:   Fri Aug 22 17:02:11 2014 +0000

    ShellPkg: Update 'pci' command for updated class codes
    
    This updated the strings to be compliant with PCI CODE AND
    ID ASSIGNMENT SPECIFICATION 1.5.

    git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15885 6f19259b-4bc3-4df7-8a09-765794883524

And the error I get is shown below:

"/usr/bin/gcc" -g -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-array-bounds -ffunction-sections -fdata-sections -c -include AutoGen.h -DSTRING_ARRAY_NAME=UefiShellDebug1CommandsLibStrings -m64 -fno-stack-protector "-DEFIAPI=__attribute__((ms_abi))" -DNO_BUILTIN_VA_FUNCS -mno-red-zone -Wno-address -mcmodel=large -Wno-address -Wno-unused-but-set-variable -mno-mmx -mno-sse -o /home/somlo/KVM-OSX/SCRATCH/edk2/Build/OvmfX64/DEBUG_GCC48/X64/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib/OUTPUT/./Pci.obj -I/home/somlo/KVM-OSX/SCRATCH/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit -I/home/somlo/KVM-OSX/SCRATCH/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit -I/home/somlo/KVM-OSX/SCRATCH/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView -I/home/somlo/KVM-OSX/SCRATCH/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib -I/home/somlo/KVM-OSX/SCRATCH/edk2/Build/OvmfX64/DEBUG_GCC48/X64/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib/DEBUG -I/home/somlo/KVM-OSX/SCRATCH/edk2/MdePkg -I/home/somlo/KVM-OSX/SCRATCH/edk2/MdePkg/Include -I/home/somlo/KVM-OSX/SCRATCH/edk2/MdePkg/Include/X64 -I/home/somlo/KVM-OSX/SCRATCH/edk2/ShellPkg -I/home/somlo/KVM-OSX/SCRATCH/edk2/ShellPkg/Include -I/home/somlo/KVM-OSX/SCRATCH/edk2/MdeModulePkg -I/home/somlo/KVM-OSX/SCRATCH/edk2/MdeModulePkg/Include /home/somlo/KVM-OSX/SCRATCH/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c
/home/somlo/KVM-OSX/SCRATCH/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c:806:5: error: converting to execution character set: Invalid or incomplete multibyte or wide character
     L"Ethernet (802.11a  5 GHz)",
     ^
/home/somlo/KVM-OSX/SCRATCH/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c:811:5: error: converting to execution character set: Invalid or incomplete multibyte or wide character
     L"Ethernet (802.11b  2.4 GHz)",
     ^
make: *** [/home/somlo/KVM-OSX/SCRATCH/edk2/Build/OvmfX64/DEBUG_GCC48/X64/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib/OUTPUT/Pci.obj] Error 1


build.py...
 : error 7000: Failed to execute command
        make tbuild [/home/somlo/KVM-OSX/SCRATCH/edk2/Build/OvmfX64/DEBUG_GCC48/X64/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib]


build.py...
 : error F002: Failed to build module
        /home/somlo/KVM-OSX/SCRATCH/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf [X64, GCC48, DEBUG]

- Failed -


Thanks much,
--Gabriel
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel