closing this rather old issue. sorry for not addressing this earlier.
Please could you recheck with the recent 14.04 LTS or 14.10 releases and
reopen the issue if the problem persists?

** Changed in: gdb (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gdb in Ubuntu.
https://bugs.launchpad.net/bugs/693478

Title:
  xdeb -a armel --apt-source gdb: configure: error: cannot run C
  compiled programs.

Status in “gdb” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: gdb

  How to reproduce the problem:
  Follow the instructions here: https://wiki.linaro.org/UsingXdeb
  grep compiles fine

  add also maverick updates for gdb to overcome
  https://bugs.launchpad.net/binutils-linaro/+bug/598389

  /etc/apt/sources.list should look like this:

  deb [arch=armel] http://ports.ubuntu.com/ maverick main universe
  deb-src http://archive.ubuntu.com/ubuntu maverick main universe
  deb http://archive.ubuntu.com/ubuntu maverick main universe
  deb-src http://archive.ubuntu.com/ubuntu maverick-updates main universe
  deb http://archive.ubuntu.com/ubuntu maverick-updates main universe
  deb [arch=armel] http://ports.ubuntu.com/ maverick-updates main universe

  sudo apt-get update
  sudo apt-get upgrade

  
  xdeb -a armel --apt-source linaro-gdb

  ....

  checking build system type... arm-unknown-linux-gnueabi
  checking host system type... arm-unknown-linux-gnueabi
  checking target system type... arm-unknown-linux-gnueabi
  checking for a BSD-compatible install... /usr/bin/install -p
  checking whether ln works... yes
  checking whether ln -s works... yes
  checking for a sed that does not truncate output... /bin/sed
  checking for gawk... no
  checking for mawk... mawk
  checking for arm-linux-gnueabi-gcc... arm-linux-gnueabi-gcc
  checking for C compiler default output file name... a.out
  checking whether the C compiler works... configure: error: in 
`/home/build/gdb/build/objdir':
  configure: error: cannot run C compiled programs.
  If you meant to cross compile, use `--host'.
  See `config.log' for more details.
  make: *** [debian/stamp-autotools] Error 1
  dpkg-buildpackage: error: debian/rules build gave error exit status 2
  debuild: fatal error at line 1337:
  dpkg-buildpackage -rfakeroot -d -us -uc -aarmel -b -tc failed
  Traceback (most recent call last):
    File "/usr/bin/xdeb", line 851, in <module>
      main()
    File "/usr/bin/xdeb", line 843, in main
      build(options, src, all_srcs[src])
    File "/usr/bin/xdeb", line 597, in build
      spawn(buildpackage, cwd=srcdir)
    File "/usr/lib/xdeb/utils.py", line 29, in spawn
      raise SubprocessException, ret
  utils.SubprocessException: 29

  Not made for cross compilation?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/693478/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to