On Sat, Dec 17, 2011 at 07:25:23PM +0000, Robert Heaton wrote:
> I've updated to SVN r5480, now when I try and build wget, I get this error;
> 
> Autobuilder: Using existing Sources.bz2 (stable/contrib)
> Autobuilder: Directory name not found in Sources.bz2 (testing/main)
> Autobuilder: Trying Binary entry
> 2011-12-17 19:22:45
> URL:http://ftp.uk.debian.org/debian/pool/main/p/p11-kit/p11-kit_0.8.orig.tar.gz
> [528732/528732] -> "p11-kit_0.8.orig.tar.gz" [1]
> 2011-12-17 19:22:45
> URL:http://ftp.uk.debian.org/debian/pool/main/p/p11-kit/ [11754] ->
> "index.html" [1]
> gzip: *.diff.gz: No such file or directory

That's a red herring, I think.

> Hunk #1 FAILED at 35.
> Hunk #2 succeeded at 46 (offset 2 lines).
> 1 out of 2 hunks FAILED -- saving rejects to file tools/p11-kit.c.rej
> Autobuilder: RISC OS patch:
> /home/robheaton/Downloads/gccsdk/autobuilder/libraries/libp11-kit0/modules.c.p
> patching file p11-kit/modules.c
> Hunk #1 FAILED at 253.
> 1 out of 1 hunk FAILED -- saving rejects to file p11-kit/modules.c.rej

These mean that the patches are out of sync with the upstream sources. 
Someone needs to port the patches to the newer upstream code (probably
fairly simple; something has changed which means patch can't detect where to
change the source files).  The patches are *.p files in
autobuilder/libraries/libp11-kit0/

But my build continues... I get as far as it configuring and starting to
build, until:

  CC     hashmap.lo
  CC     modules.lo
modules.c: In function 'dlopen_and_get_function_list':
modules.c:265:19: error: 'RTLD_LOCAL' undeclared (first use in this
function)
modules.c:265:19: note: each undeclared identifier is reported only once for
each function it appears in
make[2]: *** [modules.lo] Error 1
make[2]: Leaving directory
`/store/riscos/gccsdk/autobuilder-tmp/libp11-kit0/p11-kit-0.8/p11-kit'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/store/riscos/gccsdk/autobuilder-tmp/libp11-kit0/p11-kit-0.8'
make: *** [all] Error 2
Package libp11-kit0: ***Failure***
Build for package "libp11-kit0" failed

...which look related to the patches.  At a first glance, it looks like the
modules.c patch is no longer needed, and the p11-kit.c patch needs some
minor tweaks.

Theo

_______________________________________________
GCCSDK mailing list [email protected]
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK

Reply via email to