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

Re: Help to package the jimtcl



On Tue, Mar 22, 2022 at 06:31:27PM +0800, Bo YU wrote:
> > > > > vimer@debian:~/git/jimtcl$ sudo dpkg-gensymbols -pjimtcl0.79 > symbols.diff
> > > > > dpkg-gensymbols: warning: new libraries appeared in the symbols file: libjim.so.0.81
> > > > > dpkg-gensymbols: warning: some libraries disappeared in the symbols file: libjim.so.0.79
> > > > If the SONAME was changed, the old symbols file should be dropped and a
> > > > new one generated from scratch.
> > > > Also you don't need sudo here.
> > > I am sure the libjimtcl SONAME from 0.79 change to 0.81. And the old symbols
> > > file should be removed also.
> > > 
> > > But how to generate one new file from scratch?
> > dpkg-gensymbols
> > 
> > > [0]: https://salsa.debian.org/vimerbf-guest/jimtcl/-/commit/f9e050fd1bc71192c3e37d04a8e830dc826fdc71#21078f6fededf24bfff78a1c7b9faa8297d896b7
> > It doesn't make sense to specify versions older than the first version
> > with this soname.
> My work is reproduced as below:
> 
> sudo dpkg-deb -x libjim0.81_0.81+dfsg0-1_amd64.deb /tmp/jimctl
You don't need sudo here either.

> sudo dpkg-gensymbols -v0.81 -plibjim -P/tmp/jimctl/ -Olibjim.symbols # sudo :-(
> 
> Then, drop the version string from libjim.symbols and old libjim0.79.symbols:
> 
> cat libjim.symbols | awk '{print $1}' > libjim0.81.txt
> cat libjim0.79.symbols | awk '{print $1}' > libjim0.79.txt
> 
> diff libjim0.81.txt  libjim0.79.txt
> 
> And the last result is +13 and -5 symbols entiries applied for libjim0.81.symbols,
> that is moved from libjim0.79.symbols by manual.
> 
> Is that OK?
I think so?
Note that you don't really need to compare the symbols with the older
ones.

-- 
WBR, wRAR

Attachment: signature.asc
Description: PGP signature


Reply to: