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

One source, two binary packages



     I am preparing my first package, and am building it by hand to
get a clearer understanding of the package building process.  It will
have two binary packages, dictd and dict, both of which come from the
dictd source.

     I have reached the point where the first, and larger, package
produces a .deb, but debian/rules calls an error when dpkg-gencontrol
is called for the second package.  The error message is:
     dpkg-gencontrol: error: source package has two conflicting values
     - dictd and dict

     I have two directory trees under debian - debian/tmp and
debian/tmp-dict, and debian/rules builds debian/tmp, then runs
dpkg-shlibdeps, dpkg-gencontrol, and dpkg --build on it.  Then it
repeats the process with debian/tmp-dict, which is where the error
occurs.

     debian/control starts with "Source: dictd", and has two binary
package sections headed "Package: dictd" and "Package: dict".
dpkg-gencontrol is invoked with -pdictd -Pdebian/tmp for the first
package and -pdict -Pdebian/tmp-dict for the second package.

     I have searched the packaging manual, and I think I am in
compliance with the procedures stipulated for source packages that
make two binary packages. 

     What should I do now?

Bob
-- 
   _
  |_)  _  |_       Robert D. Hilliard    <hilliard@flinet.com>
  |_) (_) |_)      Palm City, FL  USA    PGP Key ID: A8E40EB9


--
To UNSUBSCRIBE, email to debian-mentors-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: