--- Begin Message ---
Package: gnat-4.6
Version: 4.6.1-5
Severity: important
Building of spark (2011.0.deb-3) fails on both kfreebsd-i386 and -amd64 with gnat-4.6.
The build fails with the following error:
gnatlink examiner.ali -g -O2 -fdata-sections -ffunction-sections -o spark -Wl,--gc-sections
/usr/lib/gcc/x86_64-kfreebsd-gnu/4.6.1/../../../x86_64-kfreebsd-gnu/libgnarl-4.6.so: undefined reference to `clock_gettime'
/usr/lib/gcc/x86_64-kfreebsd-gnu/4.6.1/../../../x86_64-kfreebsd-gnu/libgnarl-4.6.so: undefined reference to `pthread_mutexattr_setprotocol'
/usr/lib/gcc/x86_64-kfreebsd-gnu/4.6.1/../../../x86_64-kfreebsd-gnu/libgnarl-4.6.so: undefined reference to `pthread_mutexattr_setprioceiling'
The full logs are available here:
https://buildd.debian.org/status/fetch.php?pkg=spark&arch=kfreebsd-amd64&ver=2011.0.deb-3&stamp=1316449085
https://buildd.debian.org/status/fetch.php?pkg=spark&arch=kfreebsd-i386&ver=2011.0.deb-3&stamp=1316449365
I added linker garbage collection flags in spark 2011.0.deb-3, but I do
not think that this is the reason for failing builds, because it works
everywhere else. But spark was never compiled using gnat-4.6 on
kfreebsd before, so I have no idea if it builds without those flags.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=uk_UA.UTF-8, LC_CTYPE=uk_UA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages gnat-4.6 depends on:
ii gcc-4.6 4.6.1-11
ii gnat-4.6-base 4.6.1-5
ii libc6 2.13-21
ii libc6-dev 2.13-21
ii libgcc1 1:4.6.1-11
ii libgmp10 2:5.0.2+dfsg-1
ii libgnat-4.6 4.6.1-5
ii libgnatprj4.6 4.6.1-5
ii libgnatvsn4.6 4.6.1-5
ii libmpc2 0.9-3
ii libmpfr4 3.0.1-6
ii multiarch-support 2.13-21
ii zlib1g 1:1.2.3.4.dfsg-3
gnat-4.6 recommends no packages.
Versions of packages gnat-4.6 suggests:
pn ada-reference-manual <none>
pn gnat-4.6-doc <none>
pn gnat-4.6-sjlj <none>
-- no debconf information
--- End Message ---