Deprecated: Assigning the return value of new by reference is deprecated in /customers/getonthenet.eu/getonthenet.eu/httpd.www/wp-includes/cache.php on line 36

Deprecated: Assigning the return value of new by reference is deprecated in /customers/getonthenet.eu/getonthenet.eu/httpd.www/wp-includes/query.php on line 21

Deprecated: Assigning the return value of new by reference is deprecated in /customers/getonthenet.eu/getonthenet.eu/httpd.www/wp-includes/theme.php on line 540

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /customers/getonthenet.eu/getonthenet.eu/httpd.www/wp-includes/cache.php:36) in /customers/getonthenet.eu/getonthenet.eu/httpd.www/wp-content/plugins/enhanced-wp-contactform/wp-contactform.php on line 264

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /customers/getonthenet.eu/getonthenet.eu/httpd.www/wp-includes/cache.php:36) in /customers/getonthenet.eu/getonthenet.eu/httpd.www/wp-content/plugins/enhanced-wp-contactform/wp-contactform.php on line 264
Getonthenet.eu » Blog Archive » Creating DEB packages on Gentoo.

Creating DEB packages on Gentoo.

This is how I created the Wine-Doors DEB packages on Gentoo.

  1. I recommend emerging “debhelper” since its used by quite a lot of packages, this will pull in dpkg too. If you don’t think you’ll need debhelper, just emerge dpkg.  Emerge fakeroot too if you don’t have it.
  2. If you’re not using debhelper, you can skip this step.  The Gentoo version of man doesn’t support the “–recode” option so in “/usr/bin/dh_installman” change:
    complex_doit "man --recode UTF-8 ./\Q$orig\E > \Q$tmp\E";

    To

    complex_doit "man ./\Q$orig\E > \Q$tmp\E";
  3. dpkg-buildpackage will fail because of a missing file “/var/lib/dpkg/status”, create it.

Now you should be able to create DEB packages with “pkg-buildpackage -d” (the -d disables the dependency checks which is probably what you want since your dpkg database will be empty)

Leave a Reply