Debian Bug report logs - #480729
buildd.emdebian.org: ncurses cannot be updated, new version fails to cross build

Package: buildd.emdebian.org; Maintainer for buildd.emdebian.org is Debian Embedded Team <debian-embedded@lists.debian.org>;

Reported by: Neil Williams <codehelp@debian.org>

Date: Sun, 11 May 2008 19:30:02 UTC

Severity: normal

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, <debian-devel@lists.debian.org>:
Bug#480729; Package general. Full text and rfc822 format available.

Acknowledgement sent to Neil Williams <codehelp@debian.org>:
New Bug report received and forwarded. Copy sent to <debian-devel@lists.debian.org>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Neil Williams <codehelp@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: buildd.emdebian.org: ncurses cannot be updated, new version fails to cross build
Date: Sun, 11 May 2008 20:21:19 +0100
Package: general
Severity: normal

$ emsource --status ncurses
Checking the apt-cross cache is up to date for arm.
W: Unable to locate package lib64ncurses5
W: Unable to locate package lib64ncurses5-dev
W: Unable to locate package lib32ncurses5
W: Unable to locate package lib32ncurses5-dev
W: Unable to locate package lib32ncursesw5
W: Unable to locate package lib32ncursesw5-dev
Checking status of ncurses in /opt/emdebian/trunk/n/ncurses/trunk/
3 emdebian patch files
0 debian patch files

Checking emdebuild status in /opt/emdebian/trunk/n/ncurses/trunk/
build log:
	ncurses (5.6+20080503) FAILED to cross build for arm.
/opt/emdebian/trunk/n/ncurses/trunk/ncurses_5.6+20080503-1em1_arm.build
Checking for error logs in /opt/emdebian/trunk/n/ncurses/trunk/
Checking bug status
No open cross-building bugs for ncurses
ncurses FAILED to build.

$ tail /opt/emdebian/trunk/n/ncurses/trunk/ncurses_5.6+20080503-1em1_arm.build
gcc -o make_hash -DHAVE_CONFIG_H -I../ncurses
-I/opt/emdebian/trunk/n/ncurses/trunk/ncurses-5.6+20080503/ncurses
-I/opt/emdebian/trunk/n/ncurses/trunk/ncurses-5.6+20080503/ncurses/../include
-I../include   -DMAIN_PROGRAM
/opt/emdebian/trunk/n/ncurses/trunk/ncurses-5.6+20080503/ncurses/tinfo/comp_hash.c  
In file included from
/opt/emdebian/trunk/n/ncurses/trunk/ncurses-5.6+20080503/ncurses/tinfo/comp_hash.c:42:
/opt/emdebian/trunk/n/ncurses/trunk/ncurses-5.6+20080503/ncurses/curses.priv.h:1406:
warning: parameter names (without types) in function declaration
/opt/emdebian/trunk/n/ncurses/trunk/ncurses-5.6+20080503/ncurses/curses.priv.h:1407:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'_nc_to_widechar'
make[2]: *** [make_hash] Error 1
make[2]: Leaving directory
`/opt/emdebian/trunk/n/ncurses/trunk/ncurses-5.6+20080503/obj-wide/ncurses'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/opt/emdebian/trunk/n/ncurses/trunk/ncurses-5.6+20080503/obj-wide'
make: *** [build-wide] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2

This may seem an obvious error - using gcc - but even calling
arm-linux-gnu-gcc in this directory causes a failure and I've been
unable to convince ncurses to use arm-linux-gnu-gcc in this directory,
despite setting --host and --build as normal. Even make
CC=arm-linux-gnu-gcc -C $dir is ignored.

Filing the bug as a placeholder for buildd.emdebian.org so that we have
an online record of why ncurses is old in Emdebian.


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash




Bug reassigned from package `general' to `buildd.emdebian.org'. Request was from Neil Williams <codehelp@debian.org> to control@bugs.debian.org. (Wed, 03 Sep 2008 06:30:13 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Embedded Team <debian-embedded@lists.debian.org>:
Bug#480729; Package buildd.emdebian.org. (Sun, 09 May 2010 22:24:10 GMT) Full text and rfc822 format available.

Acknowledgement sent to Hector Oron <hector.oron@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Embedded Team <debian-embedded@lists.debian.org>. (Sun, 09 May 2010 22:24:10 GMT) Full text and rfc822 format available.

Message #12 received at 480729@bugs.debian.org (full text, mbox):

From: Hector Oron <hector.oron@gmail.com>
To: 480729@bugs.debian.org
Subject: buildd.emdebian.org: ncurses still fails to cross compile
Date: Mon, 10 May 2010 00:19:53 +0200
Hello,

Trying to reproduce this bug I got to:

zumbi@eefk2m5:/org/TMP/ncurses-5.7+20100313$ dpkg-buildpackage -aarmel
-us -uc -rfakeroot
[...]
arm-linux-gnueabi-ranlib ../lib/libncurses++.a
/usr/bin/g++ -I../c++ -I../include -I/org/TMP/ncurses-5.7+20100313/c++
-DHAVE_CONFIG_H  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64  -DNDEBUG -I.
-I../include -I/org/TMP/ncurses-5.7+20100313/c++/../include -g -O2
-fPIC -c /org/TMP/ncurses-5.7+20100313/c++/demo.cc -o ../obj_s/demo.o
/usr/bin/g++  -o demo ../obj_s/demo.o -L../lib -lncurses++ -L../lib
-lform -lmenu -lpanel -lncurses    -lutil
-Wl,-rpath,/org/TMP/ncurses-5.7+20100313/obj/lib  -I../c++
-I../include -I/org/TMP/ncurses-5.7+20100313/c++ -DHAVE_CONFIG_H
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64  -DNDEBUG -I. -I../include
-I/org/TMP/ncurses-5.7+20100313/c++/../include -g -O2  -fPIC
../lib/libncurses++.a: could not read symbols: Archive has no index;
run ranlib to add one
collect2: ld returned 1 exit status
make[2]: *** [demo] Error 1
make[2]: Leaving directory `/org/TMP/ncurses-5.7+20100313/obj/c++'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/org/TMP/ncurses-5.7+20100313/obj'
make: *** [build-normal] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Kind regards,
-- 
 Héctor Orón

"Our Sun unleashes tremendous flares expelling hot gas into the Solar
System, which one day will disconnect us."




Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Apr 18 11:41:03 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.