Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 530740

Summary: app-benchmarks/bootchart2-0.14.7 - /sbin/bootchartd: unexpected EOF looking for matching `"'
Product: Gentoo Linux Reporter: Pryka <pryka.iluvatar>
Component: Current packagesAssignee: Justin Lecher (RETIRED) <jlec>
Status: RESOLVED FIXED    
Severity: normal CC: gef.kornflakes, jlec, pryka.iluvatar
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 526268    
Attachments: bootchard file
EOF

Description Pryka 2014-11-26 10:19:14 UTC
After the update from 24th of this month to bootchart2 0.14.7 after every boot i'm getting kernel panic.

This is the pic of error: 
http://pl.tinypic.com/view.php?pic=2hqt936&s=8

I also attached /sbin/bootchartd mentioned in the error.


PS. After reverting back to version 0.14.5-r1 everything is back to normal.

Reproducible: Always

Steps to Reproduce:
1.Reboot



This is my grub2 boot conf:

linux   /kernel-3.17.4 root=/dev/sda5 ro  rootfstype=ext4 initcall_debug printk.time=y quiet init=/sbin/bootchartd video=uvesafb:1680x1050-32,mtrr:3,ywrap splash=verbose,theme:natural_gentoo console=tty1
Comment 1 Pryka 2014-11-26 10:20:20 UTC
Created attachment 390318 [details]
bootchard file
Comment 2 Pryka 2014-11-26 10:22:46 UTC
PS. Sorry for my English.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-11-26 17:10:35 UTC
Comment on attachment 390318 [details]
bootchard file

Why did you attach that?
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2014-11-26 17:11:09 UTC
(In reply to Pryka from comment #0)
> http://pl.tinypic.com/view.php?pic=2hqt936&s=8

Please attach that file to this bug report.
Comment 5 Pryka 2014-11-27 11:46:58 UTC
(In reply to Jeroen Roovers from comment #3)
> Comment on attachment 390318 [details]
> bootchard file
> 
> Why did you attach that?

Because the EOF and syntax error was reported in line 230 and 234 in this file.
Comment 6 Pryka 2014-11-27 11:48:27 UTC
Created attachment 390392 [details]
EOF
Comment 7 Gef 2014-11-27 21:58:35 UTC
I don't think that bug is related to nonbash (#52628) [1]. Upstream has modified bootchartd.{conf,in} so that the last sed invocation in src_prepare has to be reworked ; the following would work:

--- bootchart2-0.14.7.ebuild	2014-11-24 13:53:34.000000000 +0100
+++ bootchart2-0.14.7-r1.ebuild	2014-11-27 22:27:54.904101628 +0100
@@ -42,7 +42,7 @@
 		-e "/^SYSTEMD_UNIT_DIR/s:=.*:= $(systemd_get_unitdir):g" \
 		-i Makefile || die
 	sed \
-		-e '/^EXIT_PROC/s:^.*$:EXIT_PROC="agetty mgetty mingetty":g' \
+		-e '/^EXIT_PROC/s:^.*$:EXIT_PROC="agetty mgetty mingetty:g' \
 		-i bootchartd.conf bootchartd.in || die
 }

[1]In facts I have reproduced that bug with both bash and dash as /bin/sh.
Comment 8 Justin Lecher (RETIRED) gentoo-dev 2014-11-30 15:33:38 UTC
*bootchart2-0.14.7-r1 (30 Nov 2014)
+
+  30 Nov 2014; Justin Lecher <jlec@gentoo.org> -bootchart2-0.14.7.ebuild,
+  +bootchart2-0.14.7-r1.ebuild:
+  Fix sed, #530740
+