Package: debhelper
Version: 5.0.61
Severity: normal

symbols files can have #include directives to share common information
between multiple files (for arch-specific symbols files mainly).

However include directives contain path relative to the file that contain
them. These files are expected to be in "debian" in the general case, but
with debhelper the main file is copied in debian/<package>/DEBIAN before
calling dpkg-gensymbols. This means that included files are searched
in debian/<package>/DEBIAN and are not found of course.

I'm sorry, it looks like I gave you bad advice in #443978 with this idea
to copy the file.

Do we have any other working, not too ugly solution? 

One possible solution is to move away symbols files that are catched by
your --ignore option.

If something like that is not acceptable, I suppose that I'll have to
implement a -I option to pass explicitely the reference file to use.
On the other hand, I might want in the future to introduce changes to
the search order too... notably adding a new intermediary step that would
be debian/package.symbols.<kernel> (I have seen cases where the symbols
are the same on linux, but on hurd or kfreebsd they are different).

I imagine it would be best if debhelper doesn't need to be adjusted once
more when I do that.

What do you think?

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages debhelper depends on:
ii  binutils            2.18.1~cvs20071027-1 The GNU assembler, linker and bina
ii  coreutils           5.97-5.4             The GNU core utilities
ii  dpkg-dev            1.14.11              package building tools for Debian
ii  file                4.21-3               Determines file type using "magic"
ii  html2text           1.3.2a-3             An advanced HTML to text converter
ii  perl                5.8.8-12             Larry Wall's Practical Extraction 
ii  po-debconf          1.0.10               manage translated Debconf template

debhelper recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to