Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 478502 - sys-devel/crossdev - command line parsing problem in short vs. long version arguments
Summary: sys-devel/crossdev - command line parsing problem in short vs. long version a...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: Normal minor (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-28 20:12 UTC by Mike Johnson
Modified: 2013-08-21 16:00 UTC (History)
0 users

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


Attachments
emerge --info (emerge.info,5.29 KB, text/plain)
2013-07-28 20:15 UTC, Mike Johnson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Johnson 2013-07-28 20:12:08 UTC
The following line repeatedly spews forth the help screen without executing:
crossdev -t armv5tel-softfloat-linux-gnueabi -b "2.22-r1" -g "4.6.3" -k "3.4-r2" -l "2.15-r4"
Yet this line executes correctly:
crossdev -t armv5tel-softfloat-linux-gnueabi --binutils "2.22-r1" --gcc "4.6.3" --kernel "3.4-r2" --libc "2.15-r4"
The "bad" line works if all are deleted but the -b:
crossdev -t armv5tel-softfloat-linux-gnueabi -b "2.22-r1"
But of course, doesn't give the desired results.  Aborted immediately, so don't know what it would have compiled.

Reproducible: Always

Steps to Reproduce:
1. type # crossdev -t armv5tel-softfloat-linux-gnueabi -b "2.22-r1" -g "4.6.3" -k "3.4-r2" -l "2.15-r4"
2. Watch screen output
3. rinse, repeat
Actual Results:  
Nothing

Expected Results:  
After goofing off elsewhere for an hour, to come back and find cross-compiler toolchain in /usr

Initially I put the tuple at the end of the statement.  Then crossdev created bizarre files in package.mask, package.env, etc., called 2.22-r1 and containing things like cross-2.22-r1/binutils-2.22-r1,cross-2.22-r1/gcc-2.22-r1, etc.
Chromium and Pidgin were running besides lxterminal used for crossdev.
Comment 1 Mike Johnson 2013-07-28 20:15:05 UTC
Created attachment 354444 [details]
emerge --info
Comment 2 SpanKY gentoo-dev 2013-08-15 17:06:58 UTC
the option is --b (as the --help shows), not -b
Comment 3 Mike Johnson 2013-08-21 15:11:32 UTC
I apologize, my error
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2013-08-21 16:00:14 UTC
No need to re-open the bug