Here's the actual error:

libtool: compile:  i686-linux-gnu-gcc 
-I/«PKGBUILDDIR»/build-lib/i686-linux-gnu/newlib/targ-include 
-I/«PKGBUILDDIR»/newlib/libc/include -DPACKAGE_NAME=\"newlib\" 
-DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"1
.18.0\" "-DPACKAGE_STRING=\"newlib 1.18.0\"" -DPACKAGE_BUGREPORT=\"\" 
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTY
PES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
-DLT_OBJDIR=\".libs/\" -I. 
-I../../../../../../../newlib/libc/sys/linux/linuxthreads 
-I../../../../../../../newlib/libc/sys/linux/linuxthreads/../includ
e -I../../../../../../../newlib/libc/sys/linux/linuxthreads/machine/i386 
-I../../../../../../../newlib/libc/sys/linux/linuxthreads/machine/generic -Wall 
-D_I386MACH_ALLOW_HW_INTERRUPTS -DHAVE_FCNTL -DHAVE_GETOPT -
fPIC -D_I386MACH_NEED_SOTYPE_FUNCTION -DMISSING_SYSCALL_NAMES -fno-builtin 
-I../../../../../../../newlib/libc/sys/linux/linuxthreads/.. 
-D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -g -O2 -fno-stack-pro
tector -U_FORTIFY_SOURCE -c 
../../../../../../../newlib/libc/sys/linux/linuxthreads/signals.c  -fPIC -DPIC 
-o .libs/signals.o
In file included from 
../../../../../../../newlib/libc/sys/linux/linuxthreads/internals.h:30:0,
                 from 
../../../../../../../newlib/libc/sys/linux/linuxthreads/signals.c:20:
../../../../../../../newlib/libc/sys/linux/linuxthreads/bits/libc-tsd.h:30:47: 
warning: '__nothrow__' attribute ignored [-Wattributes]
../../../../../../../newlib/libc/sys/linux/linuxthreads/bits/libc-tsd.h:32:12: 
warning: '__nothrow__' attribute ignored [-Wattributes]
In file included from 
../../../../../../../newlib/libc/sys/linux/linuxthreads/signals.c:22:0:
/usr/include/ucontext.h: In function 'getcontext':
/usr/include/ucontext.h:32:43: error: expected declaration specifiers before 
'__THROWNL'
/usr/include/ucontext.h:35:51: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '__THROWNL'
/usr/include/ucontext.h:40:42: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '__THROWNL'
/usr/include/ucontext.h:48:13: error: storage class specified for parameter 
'makecontext'
../../../../../../../newlib/libc/sys/linux/linuxthreads/signals.c:26:1: error: 
expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
../../../../../../../newlib/libc/sys/linux/linuxthreads/signals.c:54:1: error: 
expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
../../../../../../../newlib/libc/sys/linux/linuxthreads/signals.c:72:16: error: 
storage class specified for parameter 'arch_sighandler_t'
../../../../../../../newlib/libc/sys/linux/linuxthreads/signals.c:75:3: error: 
expected specifier-qualifier-list before 'arch_sighandler_t'
../../../../../../../newlib/libc/sys/linux/linuxthreads/signals.c:77:3: error: 
storage class specified for parameter 'sighandler'
../../../../../../../newlib/libc/sys/linux/linuxthreads/signals.c:77:1: error: 
parameter 'sighandler' is initialized
../../../../../../../newlib/libc/sys/linux/linuxthreads/signals.c:77:1: error: 
array index in non-array initializer
../../../../../../../newlib/libc/sys/linux/linuxthreads/signals.c:77:1: error: 
(near initialization for 'sighandler')
../../../../../../../newlib/libc/sys/linux/linuxthreads/signals.c:77:1: 
warning: braces around scalar initializer [enabled by default]
../../../../../../../newlib/libc/sys/linux/linuxthreads/signals.c:77:1: 
warning: (near initialization for 'sighandler') [enabled by default]
../../../../../../../newlib/libc/sys/linux/linuxthreads/signals.c:77:1: 
warning: passing argument 1 of 'arch_sighandler_t' makes integer from pointer 
without a cast [enabled by default]
../../../../../../../newlib/libc/sys/linux/linuxthreads/signals.c:77:1: note: 
expected 'int' but argument is of type 'void (*)(int)'
../../../../../../../newlib/libc/sys/linux/linuxthreads/signals.c:77:1: error: 
too few arguments to function 'arch_sighandler_t'
../../../../../../../newlib/libc/sys/linux/linuxthreads/signals.c:81:1: error: 
expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
../../../../../../../newlib/libc/sys/linux/linuxthreads/signals.c:105:1: error: 
expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
../../../../../../../newlib/libc/sys/linux/linuxthreads/signals.c:130:1: error: 
expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
../../../../../../../newlib/libc/sys/linux/linuxthreads/signals.c:173:1: error: 
'__sigaction' undeclared (first use in this function)
../../../../../../../newlib/libc/sys/linux/linuxthreads/signals.c:173:1: note: 
each undeclared identifier is reported only once for each function it appears in
../../../../../../../newlib/libc/sys/linux/linuxthreads/signals.c:173:1: error: 
storage class specified for parameter 'sigaction'
../../../../../../../newlib/libc/sys/linux/linuxthreads/signals.c:173:1: 
warning: 'alias' attribute ignored [-Wattributes]
../../../../../../../newlib/libc/sys/linux/linuxthreads/signals.c:176:46: 
error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
../../../../../../../newlib/libc/sys/linux/linuxthreads/signals.c:180:1: error: 
expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
../../../../../../../newlib/libc/sys/linux/linuxthreads/signals.c:235:1: error: 
expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/usr/include/ucontext.h:32:12: error: old-style parameter declarations in 
prototyped function definition
../../../../../../../newlib/libc/sys/linux/linuxthreads/signals.c:243:1: error: 
expected '{' at end of input
../../../../../../../newlib/libc/sys/linux/linuxthreads/signals.c:243:1: 
warning: control reaches end of non-void function [-Wreturn-type]
make[9]: *** [signals.lo] Error 1

** Changed in: newlib (Ubuntu Precise)
     Assignee: Canonical Foundations Team (canonical-foundations) => Colin 
Watson (cjwatson)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/935533

Title:
  newlib version 1.18.0-6.1ubuntu1 FTBFS on i386 in precise

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to