You are not logged in.

#1 2013-03-15 14:45:25

thinkanish
Member
Registered: 2012-08-12
Posts: 39

Error while building binutils for msp430

[anish@thinkpad binutils-msp430]$ makepkg pkgbuild
==> Making package: binutils-msp430 2.21.1a-2 (Fri Mar 15 20:28:31 UTC 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
  -> Found mspgcc-20120406.tar.bz2
  -> Found binutils-2.21.1a.tar.bz2
  -> Found 001_ld_makefile_patch.patch
==> Validating source files with sha1sums...
    mspgcc-20120406.tar.bz2 ... Passed
    binutils-2.21.1a.tar.bz2 ... Passed
    001_ld_makefile_patch.patch ... Passed
==> Extracting Sources...
  -> Extracting mspgcc-20120406.tar.bz2 with bsdtar
  -> Extracting binutils-2.21.1a.tar.bz2 with bsdtar
==> Removing existing pkg/ directory...
==> Starting build()...
patching file bfd/Makefile.am
patching file bfd/Makefile.in
patching file bfd/archures.c
patching file bfd/bfd-in2.h
patching file bfd/cpu-msp430.c
patching file bfd/elf32-msp430.c
patching file bfd/libbfd.h
patching file bfd/reloc.c
patching file bfd/version.h
patching file gas/config/tc-msp430.c
patching file gas/config/tc-msp430.h
patching file gas/doc/c-msp430.texi
patching file gas/testsuite/gas/msp430/opcode.d
patching file gas/testsuite/gas/msp430/opcode.s
patching file include/elf/msp430.h
patching file include/opcode/msp430.h
patching file ld/Makefile.am
patching file ld/Makefile.in
patching file ld/configure.tgt
patching file ld/emulparams/msp430all.sh
The next patch would create the file ld/emulparams/msp430uni.sh,
which already exists!  Assume -R? [n] y
patching file ld/emulparams/msp430uni.sh
The next patch would create the file ld/emultempl/msp430.em,
which already exists!  Assume -R? [n] patch: tty read failed: Bad file descriptor
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored
patching file ld/scripttempl/elf32msp430.sc
patching file ld/scripttempl/elf32msp430_3.sc
patching file opcodes/msp430-dis.c
==> ERROR: A failure occurred in build().
    Aborting...

This is what I get when i run makepkg for the package "binutils-msp430"
I need this to work on my msp430 microcontroller since I am away from windose.
Thanks.

Last edited by thinkanish (2013-03-15 15:02:02)

Offline

#2 2013-10-02 20:39:06

uberscientist
Member
Registered: 2012-01-27
Posts: 84

Re: Error while building binutils for msp430

Did you find the issue? I'm trying to install binutils and the gcc toolchain on my laptop.  I was able to get it to work (randomly) on my desktop a year ago (http://nakedproof.blogspot.com/2012/09/ … linux.html), but the same steps aren't working anymore.

Offline

Board footer

Powered by FluxBB