Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 362427 - sys-boot/grub-1.99_rc1 - cat syminfo.lst | sort | awk -f ./genmoddep.awk > moddep.lst fails
Summary: sys-boot/grub-1.99_rc1 - cat syminfo.lst | sort | awk -f ./genmoddep.awk > mo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-07 10:56 UTC by Leho Kraav (:macmaN @lkraav)
Modified: 2011-04-07 14:39 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge.txt,5.00 KB, text/plain)
2011-04-07 10:57 UTC, Leho Kraav (:macmaN @lkraav)
Details
build.log (build.log,806.97 KB, text/plain)
2011-04-07 10:57 UTC, Leho Kraav (:macmaN @lkraav)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leho Kraav (:macmaN @lkraav) 2011-04-07 10:56:45 UTC
emerge --info and build.log attached. same error when compiling by hand.

Reproducible: Always
Comment 1 Leho Kraav (:macmaN @lkraav) 2011-04-07 10:57:15 UTC
Created attachment 268833 [details]
emerge --info
Comment 2 Leho Kraav (:macmaN @lkraav) 2011-04-07 10:57:59 UTC
Created attachment 268835 [details]
build.log
Comment 3 Leho Kraav (:macmaN @lkraav) 2011-04-07 14:39:32 UTC
we have solved this on #grub with phcoder. following line fails with my locale (et_EE.utf8):

    cat kernel_syms.input | grep -v '^#' | sed -n \
              -e '/EXPORT_FUNC *([a-zA-Z0-9_]*)/{s/.*EXPORT_FUNC *(\([a-zA-Z0-9_]*\)).*/defined kernel '""'\1/;p;}' \
              -e '/EXPORT_VAR *([a-zA-Z0-9_]*)/{s/.*EXPORT_VAR *(\([a-zA-Z0-9_]*\)).*/defined kernel '""'\1/;p;}' \
              | sort -u >kernel_syms.lst

sed seems to the culprit. upstream said they will be putting whole build process into C locale.

until then, LC_ALL=C emerge =grub-1.99_rc1 = success.