[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: adasockets, LIBVERSIONINFO and SONAMEs

On Fri, 21 Dec 2007 08:34:12 +0000 (GMT)
Phil Brooke <pjb@debian.org> wrote:

> Hi,

Hi Phil - long time no hear!

> In Adasockets, I modified configure.ac to set 
> LIBVERSIONINFO=1:0:0 because of GNAT 4.1's new ABI. 

> I'm working on 1.8.6 from upstream: it now has LIBVERSIONINFO=1:0:0.  But 
> now when I build it, the SONAME is set to libadasockets.0 instead of .1. 
> In, the SONAME is libadasockets.so.1 (as I expect).
> A plain (non-Debian) build of 1.8.6 also ends up with a SONAME of .0. 
> This can be downloaded from
>    http://www.rfc1149.net/download/adasockets/adasockets-1.8.6.tar.gz
> What have I done wrong?  I'm sure it's obvious, but I'm stuck.

I can't build the package because the current package does not use
patches in debian/patches, instead it modifies the upstream directly
and then changes fail to apply:
-- Untarring the new sourcecode archive ../adasockets-1.8.6.tar.gz
1 out of 1 hunk FAILED -- saving rejects to file doc/Makefile.in.rej
1 out of 1 hunk FAILED -- saving rejects to file configure.ac.rej
1 out of 1 hunk FAILED -- saving rejects to file configure.rej
uupdate: the diffs from version did not apply cleanly!
Rejected diffs are in ./doc/Makefile.in.rej

(This comes from downloading the linked .tar.gz, using apt-get source
to get the current Debian source, cd into the debian source, then
uupdate ../adasockets-1.8.6.tar.gz

Besides which, when I try to build the package, it FTBFS:
make[2]: Entering directory
`/opt/debian/src/mentors/adasockets/adasockets-1.8.6/doc' getdefs
--subblock=ret=rettype,retdesc --subblock=exc=excname,excdesc
--template=./adadoc \
	  --input="./sockets.desc" --base-name=sockets
getdefs --subblock=arg=argname,argmode,argtype,argdefault,argdesc
--subblock=ret=rettype,retdesc --subblock=exc=excname,excdesc
--template=./adadoc \
	  --input="./sockets-multicast.desc" \
getdefs --subblock=arg=argname,argmode,argtype,argdefault,argdesc
--subblock=ret=rettype,retdesc --subblock=exc=excname,excdesc
--template=./adadoc \
	  --input="./sockets-naming.desc" --base-name=sockets-naming
/bin/sh /opt/debian/src/mentors/adasockets/adasockets-1.8.6/support/missing
--run makeinfo --force --no-validate -I . \ ./adasockets.texi
./adasockets.texi:338: Unknown command `oarcorp.com>'.
make[2]: *** [adasockets.info] Error 1
make[2]: Leaving directory

(Presumably because of the failure to apply the changes in doc/)

Can you upload your test package source somewhere so that I can use
dget and try a test build?


Neil Williams

Attachment: pgpNOrY90mdU9.pgp
Description: PGP signature

Reply to: