Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 387263 - sys-devel/crossdev-20111011: unexpected EOF while looking for matching `"'
Summary: sys-devel/crossdev-20111011: unexpected EOF while looking for matching `"'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-16 01:35 UTC by Cody Schafer
Modified: 2011-10-18 17:38 UTC (History)
1 user (show)

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


Attachments
/var/log/portage/cross-avr-binutils.log (cross-avr-binutils.log,4.25 KB, text/plain)
2011-10-16 01:36 UTC, Cody Schafer
Details
/var/log/portage/cross-avr-info.log (cross-avr-info.log,16.75 KB, text/plain)
2011-10-16 01:36 UTC, Cody Schafer
Details
terminal_output (x,2.34 KB, text/plain)
2011-10-16 01:37 UTC, Cody Schafer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cody Schafer 2011-10-16 01:35:48 UTC
When `sudo crossdev -s4 -t avr` is run, crossdev spits out numerous errors such as
    /usr/bin/crossdev: command substitution: line 693: unexpected EOF while looking for matching `"'

and then

 * Portage patch requested, but failed to apply!
 * Please file a bug report to add a proper patch.
 * ERROR: cross-avr/binutils-2.21.1-r1 failed (unpack phase):
 *   Portage patch requested, but failed to apply!

in the log after it fails.



Reproducible: Always

Steps to Reproduce:
1. Install crossdev-20111011
2. run `crossdev -t avr` (or possibly any target)

Actual Results:  
Numerous errors printed. "binutils failed :(". Crossdev exits without success.

Expected Results:  
My new shiny toolchain is installed.
Comment 1 Cody Schafer 2011-10-16 01:36:26 UTC
Created attachment 289917 [details]
/var/log/portage/cross-avr-binutils.log
Comment 2 Cody Schafer 2011-10-16 01:36:51 UTC
Created attachment 289919 [details]
/var/log/portage/cross-avr-info.log
Comment 3 Cody Schafer 2011-10-16 01:37:44 UTC
Created attachment 289921 [details]
terminal_output
Comment 4 Sergey Ilinykh 2011-10-17 10:29:51 UTC
bracket is missed on 693 line after $(printf '%b' "${env}"
Comment 5 SpanKY gentoo-dev 2011-10-17 16:21:47 UTC
i had fixed this locally already, but i guess it didn't make it into the release

-       $(printf '%b' "${env}")
+       $(printf '%b' "${env}"
Comment 6 SpanKY gentoo-dev 2011-10-18 17:38:32 UTC
fixed in sys-devel/crossdev-20111018