Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 286499 - sys-power/iasl wrongly built with Turkish LC_CTYPE
Summary: sys-power/iasl wrongly built with Turkish LC_CTYPE
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-26 09:41 UTC by Harald van Dijk (RETIRED)
Modified: 2009-09-30 01:17 UTC (History)
0 users

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


Attachments
iasl-locale.patch (iasl-locale.patch,199 bytes, patch)
2009-09-26 09:44 UTC, Harald van Dijk (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Harald van Dijk (RETIRED) gentoo-dev 2009-09-26 09:41:11 UTC
When LC_CTYPE is set to tr_TR.UTF-8, iasl compiles and installs fine, but an attempt to use it (during the build of VirtualBox) results in

  iasl    DevicesR3 - {C}/src/VBox/Devices/PC/vbox.dsl
/var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/src/VBox/Devices/PC/vbox.dsl   409:             Package (0x04) {0x0002FFFF, 0x00, LNKB, 0x00,},
Error    4063 -                                                                                                                              Object does not exist ^  (LNKB)
[...]
/var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/src/VBox/Devices/PC/vbox.dsl   742:             Name (_HID, EisaId ("PNP0A03"))
Error    4095 -                                                                                     syntax error, unexpected PARSEOP_NAMESEG ^
/var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/src/VBox/Devices/PC/vbox.dsl   750:                 if (LEqual (LAnd (PICM, UIOA), Zero)) {
Error    4095 -                                                                                                                            syntax error, unexpected '{' ^

/var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/src/VBox/Devices/PC/vbox.dsl   756:                 else {
Error    4095 -                                                                                syntax error, unexpected PARSEOP_ELSE ^

/var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/src/VBox/Devices/PC/vbox.dsl   781:                     Name (_HID, EisaId ("PNP0303"))
Error    4095 -                                                                                             syntax error, unexpected PARSEOP_NAMESEG ^

/var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/src/VBox/Devices/PC/vbox.dsl   798:                     Name (_HID, EisaId ("PNP0200"))
Error    4095 -                                                                                             syntax error, unexpected PARSEOP_NAMESEG ^

/var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/src/VBox/Devices/PC/vbox.dsl   811:                     Name (_HID, EisaId ("PNP0700"))
Error    4095 -                                                                                             syntax error, unexpected PARSEOP_NAMESEG ^
/var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/src/VBox/Devices/PC/vbox.dsl   815:                         Return (UFDC)
Error    4067 -                                                                                             Object is not accessible from this scope ^  (UFDC)

/var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/src/VBox/Devices/PC/vbox.dsl   841:                     Name (_HID, EisaId ("PNP0F03"))
Error    4095 -                                                                                             syntax error, unexpected PARSEOP_NAMESEG ^

/var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/src/VBox/Devices/PC/vbox.dsl   858:                     Name (_HID, EisaId ("PNP0400"))
Error    4095 -                                                                                             syntax error, unexpected PARSEOP_NAMESEG ^

/var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/src/VBox/Devices/PC/vbox.dsl   875:                 Name (_HID, EisaId ("PNP0C0A"))
Error    4095 -                                                                                         syntax error, unexpected PARSEOP_NAMESEG ^

/var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/src/VBox/Devices/PC/vbox.dsl   886:                             Notify (\_SB.PCI0.BAT0, 0x81)
Error    4063 -                                                                                                                              Object does not exist ^  (\_SB.PCI0.BAT0)

/var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/src/VBox/Devices/PC/vbox.dsl  1005:                     return (\_SB.PCI0.BAT0.APSR)
Error    4063 -                                                                                                                           Object does not exist ^  (\_SB.PCI0.BAT0.APSR)

/var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/src/VBox/Devices/PC/vbox.dsl  1014:     }000000,         // _LEN: Range length (calculated dynamically)
Error    4095 -                                                          syntax error, unexpected '}', expecting $end ^

ASL Input:  /var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/src/VBox/Devices/PC/vbox.dsl - 1362 lines, 46790 bytes, 194 keywords
Compilation complete. 133 Errors, 0 Warnings, 0 Remarks, 381 Optimizations
kmk[2]: *** [/var/tmp/portage/app-emulation/virtualbox-ose-3.0.6/work/VirtualBox-3.0.6_OSE/out/linux.x86/release/obj/DevicesR3/vboxaml.hex] Error 255

After rebuilding iasl with LC_CTYPE=C, the virtualbox build gets past this point, even when during virtualbox's build LC_CTYPE isn't reset.
Comment 1 Harald van Dijk (RETIRED) gentoo-dev 2009-09-26 09:44:37 UTC
Created attachment 205280 [details, diff]
iasl-locale.patch

This can _probably_ be fixed with this patch, but I haven't yet tested it. I'll let you know when I have.
Comment 2 Harald van Dijk (RETIRED) gentoo-dev 2009-09-26 10:42:30 UTC
After starting the build of virtualbox again with iasl patched thus, iasl's working without problems.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-09-30 01:17:16 UTC
InCVS.