Empty lines are quite useful as (visual) delimiters between sections in
symbols files, for example when libfoo0 contains libfoo-bar.so.0 and
libfoo-baz.so.0. Consider them like comments: ignore them. This gets us
rid of such warnings (which by the way are missing line numbers):
| dpkg-gensymbols: warning: Failed to parse a line in debian/libfoo0.symbols:
| dpkg-gensymbols: warning: Failed to parse a line in debian/libfoo0.symbols:
---
scripts/Dpkg/Shlibs/SymbolFile.pm | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Not sure whether you'll like that. Docs might need an update, ditto for
tests, which I didn't run (sorry).
--
To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1308000189-10686-1-git-send-email-kibi@debian.org">http://lists.debian.org/1308000189-10686-1-git-send-email-kibi@debian.org
06-25-2011, 08:23 AM
Raphael Hertzog
dpkg-gensymbols: Cope with empty lines.
Hi,
On Mon, 13 Jun 2011, Cyril Brulebois wrote:
> Empty lines are quite useful as (visual) delimiters between sections in
> symbols files, for example when libfoo0 contains libfoo-bar.so.0 and
> libfoo-baz.so.0. Consider them like comments: ignore them. This gets us
Thanks for the patch, merged in my tree, will push soon.
Cheers,
--
Raphaël Hertzog ◈ Debian Developer
Follow my Debian News â–¶ http://RaphaelHertzog.com (English)
▶ http://RaphaelHertzog.fr (Français)
--
To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110625082359.GA13308@rivendell.home.ouaza.com">h ttp://lists.debian.org/20110625082359.GA13308@rivendell.home.ouaza.com