Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 395925 - can't build msp430-gdb
Summary: can't build msp430-gdb
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-24 18:58 UTC by David Relson
Modified: 2011-12-24 20:12 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Relson 2011-12-24 18:58:34 UTC
When I try to emerge msp430-gdb, portage reports 

 /usr/msp430/etc/make.profile is not a symlink and will probably prevent most merges

then wants to build
   dev-embedded/msp430-gdb-7.2_p20111205
   sys-libs/readline-6.2_p1
   sys-libs/ncurses-5.9-r1

Contrary to what msp430-emerge says, /usr/msp430/etc/make.profile _is_ a symlink.

Also, the 2 sys-libs packages _are_ installed on my amd64 workstation.

Reproducible: Always

Steps to Reproduce:
1.run "msp430-emerge -auqvt msp430-gdb'
2.
3.
Actual Results:  
### msp430-emerge -aqv msp430-gdb ###

!!! /usr/msp430/etc/make.profile is not a symlink and will probably prevent most merges.

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

[ebuild  N    ] sys-libs/ncurses-5.9-r1 to /usr/msp430/ USE="cxx minimal -ada -debug -doc -gpm -profile -static-libs -trace -unicode" 
[ebuild  N    ] sys-libs/readline-6.2_p1 to /usr/msp430/
[ebuild  N    ] dev-embedded/msp430-gdb-7.2_p20111205 to /usr/msp430/ USE="-expat -multitarget -nls -python -test" 

Would you like to merge these packages? [Yes/No] 
>>> Verifying ebuild manifests
>>> Running pre-merge checks for dev-embedded/msp430-gdb-7.2_p20111205
 * ERROR: dev-embedded/msp430-gdb-7.2_p20111205 failed (pretend phase):
 *   Only cross-compile builds are supported
 * 
 * Call stack:
 *                         ebuild.sh, line  75:  Called pkg_pretend
 *   msp430-gdb-7.2_p20111205.ebuild, line  43:  Called die
 * The specific snippet of code:
 *   	is_cross || die "Only cross-compile builds are supported"
 * 
 * If you need support, post the output of 'emerge --info =dev-embedded/msp430-gdb-7.2_p20111205',
 * the complete build log and the output of 'emerge -pqv =dev-embedded/msp430-gdb-7.2_p20111205'.
 * The complete build log is located at '/usr/msp430/tmp/portage/dev-embedded/msp430-gdb-7.2_p20111205/temp/build.log'.
 * The ebuild environment file is located at '/usr/msp430/tmp/portage/dev-embedded/msp430-gdb-7.2_p20111205/temp/die.env'.
 * S: '/usr/msp430/tmp/portage/dev-embedded/msp430-gdb-7.2_p20111205/work/gdb-7.2'

 * Messages for package dev-embedded/msp430-gdb-7.2_p20111205 merged to /usr/msp430/:

 * ERROR: dev-embedded/msp430-gdb-7.2_p20111205 failed (pretend phase):
 *   Only cross-compile builds are supported
 * 
 * Call stack:
 *                         ebuild.sh, line  75:  Called pkg_pretend
 *   msp430-gdb-7.2_p20111205.ebuild, line  43:  Called die
 * The specific snippet of code:
 *   	is_cross || die "Only cross-compile builds are supported"
 * 
 * If you need support, post the output of 'emerge --info =dev-embedded/msp430-gdb-7.2_p20111205',
 * the complete build log and the output of 'emerge -pqv =dev-embedded/msp430-gdb-7.2_p20111205'.
 * The complete build log is located at '/usr/msp430/tmp/portage/dev-embedded/msp430-gdb-7.2_p20111205/temp/build.log'.
 * The ebuild environment file is located at '/usr/msp430/tmp/portage/dev-embedded/msp430-gdb-7.2_p20111205/temp/die.env'.
 * S: '/usr/msp430/tmp/portage/dev-embedded/msp430-gdb-7.2_p20111205/work/gdb-7.2'

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


Expected Results:  



### /usr/msp430/etc/make.profile _is_ a symlink ###

root@osage ~ # ls -l /usr/msp430/etc
total 4
lrwxrwxrwx 1 root root   30 Dec 21 22:12 make.profile -> /usr/portage/profiles/embedded
drwxr-xr-x 2 root root 4096 Dec 24 13:32 portage

### readline-6.2_p1 _is_ installed ###

root@osage ~ # eix -e readline
[I] sys-libs/readline
     Available versions:  
	(4)	4.3_p5
	(5)	5.2_p14
	(0)	6.1{tbz2} 6.1_p2{tbz2} ~6.2 6.2_p1{tbz2}
     Installed versions:  6.2_p1{tbz2}(08:24:24 AM 09/30/2011)
     Homepage:            http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
     Description:         Another cute console display library

### ncurses-5.9-r1 _is_ installed ###
root@osage ~ # eix -e ncurses
[I] sys-libs/ncurses
     Available versions:  (5) 5.7-r7{tbz2} 5.9{tbz2} (~)5.9-r1{tbz2}
	{ada +cxx debug doc gpm minimal profile static-libs trace unicode}
     Installed versions:  5.9-r1(5){tbz2}(01:47:15 PM 12/24/2011)(cxx gpm unicode -ada -debug -doc -minimal -profile -static-libs -trace)
     Homepage:            http://www.gnu.org/software/ncurses/ http://dickey.his.com/ncurses/
     Description:         console display library
Comment 1 David Relson 2011-12-24 20:12:38 UTC
problem solved by using crossdev.