Re: [HOWTO?] Splitting one upstream package into several .debs
Sudhakar Chandrasekharan wrote:
> I have not yet uploaded my packages. My packages are available from
> http://www.aunet.org/thaths/hacks/deb/aspell/ Would appreciate if you
> folks took a look and told me if things are OK for an upload.
I have made some progress since that. Lintian used to complain about 6
different warnings and errors. I have now brought this down to 3.
$ lintian -i aspell_0.26.2-1_i386.changes
W: libaspell0: non-dev-pkg-with-shlib-symlink usr/lib/libaspell.so.0.0.0
N: Though this package is not a `-dev' package, it installs a symbolic
N: link referencing the corresponding shared library, where the link name
N: does not include the version number of the shared library.
N: If there is also a `-dev' package for this shared library, this is
N: most likely a bug. If this is a small package which includes the
N: runtime and the development libraries, this is not a bug. In the
N: latter case, please contact firstname.lastname@example.org about this so
N: that this error gets included in the overrides file for Lintian. (With
N: that, Lintian will ignore this bug in the future.)
Is this something that I have to fix? Here is a listing of what is inside
$ dpkg --contents libaspell0_0.26.2-1_i386.deb
usr/lib/libaspell.so.0 -> libaspell.so.0.0.0
usr/lib/libaspell.so -> libaspell.so.0.0.0
How do I fix this? And (sorry to ask a really stupid Q) why is it
libaspell.so.0.0.0 and not libaspell.so.0.26.2 ?
E: libaspell0: no-shlibs-control-file usr/lib/libaspell.so.0.0.0
N: Though the package includes a shared library, the package does not
N: have a shlibs control file. If this is intentional, please contact
N: email@example.com about this so that this error gets included
N: in the overrides file for Lintian. (With that, Lintian will ignore
N: this bug in the future.)
I did place the following shlibs file in debian/.
$ cat debian/shlibs
libaspell0 0.26.2 libaspell0(>=0.26.2-1)
E: libaspell0: postinst-must-call-ldconfig usr/lib/libaspell.so.0.0.0
N: The package installs shared libraries in a directory controlled by
N: `ld.so.' Therefore, the package must call `ldconfig' in its postinst
N: Please check out Packaging Manual, chapter 12 for details.
This last one I know how to fix.
Homer: Now, what do we say when we get to the ticket booth?
Bart and Lisa: We're under six.
Homer: And I'm a college student!
Sudhakar C13n http://people.netscape.com/thaths/ Indentured Slave