Summary: | sys-apps/mawk segfaults when building grub-2 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Justin Lecher (RETIRED) <jlec> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | floppym, junghans |
Priority: | Normal | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://savannah.gnu.org/bugs/?37558 | ||
See Also: | http://code.google.com/p/original-mawk/issues/detail?id=17 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 418473 | ||
Attachments: |
grub-9999:20120629-165950.log.xz
build.log |
Description
Justin Lecher (RETIRED)
2012-06-29 17:01:47 UTC
Created attachment 316629 [details]
grub-9999:20120629-165950.log.xz
build.log
Please make sure the buildsystem calls gawk directly if needed and doesn't rely on the symlink to be correct Seems strange that mawk would segfault. yes, ignoring segfaults by forcing gawk isn't the right fix here. the awk code looks fairly straight forward and not gawk specific. So with gawk it works fine. (In reply to comment #5) so you've confirmed gawk is not buggy, but mawk is :) what version of mawk are you using exactly ? mawk-1.3.4_p20120627 was added to the tree yesterday. if that crashes, you probably want to take the issue to the mawk mailing lists. So latest version of mawk is the only one which makes it segf. Reported upstream. Reported and fixed hardcoded awk in grub: <http://savannah.gnu.org/bugs/?37558> So building of grub will work as long as gawk is installed and even if mawk is eselected. (In reply to comment #9) > Reported and fixed hardcoded awk in grub: > <http://savannah.gnu.org/bugs/?37558> > > So building of grub will work as long as gawk is installed and even if mawk > is eselected. Fix got merged upstream, so grub will use gawk instead of awk. Bug in mawk is reported, but will not harm us anymore. Still valid with grub-2.00-r1 v syminfo.lst.new syminfo.lst cat syminfo.lst | sort | awk -f /var/tmp/portage/sys-boot/grub-2.00-r1/work/grub-2.00/grub-core/genmoddep.awk > moddep.lst || (rm -f moddep.lst; exit 1) /bin/sh: line 1: 27257 Done cat syminfo.lst 27258 Broken pipe | sort 27259 Segmentation fault (core dumped) | awk -f /var/tmp/portage/sys-boot/grub-2.00-r1/work/grub-2.00/grub-core/genmoddep.awk > moddep.lst make[3]: *** [moddep.lst] Error 1 make[3]: Leaving directory `/var/tmp/portage/sys-boot/grub-2.00-r1/work/build-pc/grub-core' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/sys-boot/grub-2.00-r1/work/build-pc/grub-core' Created attachment 326834 [details]
build.log
Fixed in 2.00-r1 as well. |