
Originally Posted by
LaRoza
I wrote up a man page (easier than I thought, but hell of a syntax), it is in 1.0, but I don't know how such things are installed...
By "1.0", do you mean lp:sysres/testing? I'll add the man page to the installer.
I've debianized sysres, but for some reason, it's only installing directories, not files. I'm working on the branch lp:~scott.severance/sysres/packaging. If anyone knows what's wrong, I'd love to hear. I don't think the lintian errors are relevant, and I don't know how to fix them, anyway. (I haven't Googled yet...)
Here's the debuild -S output:
Code:
dpkg-buildpackage -rfakeroot -d -us -uc -S
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions
dpkg-buildpackage: source package sysres
dpkg-buildpackage: source version 0.9
dpkg-buildpackage: source changed by Scott Severance <scott@scottseverance.us>
fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
#-/usr/bin/make clean
dh_clean
dpkg-source -b sysres-0.9
dpkg-source: building sysres in sysres_0.9.tar.gz
dpkg-source: building sysres in sysres_0.9.dsc
dpkg-genchanges -S >../sysres_0.9_source.changes
dpkg-genchanges: including full source code in upload
dpkg-buildpackage: source only upload: Debian-native package
Now running lintian...
E: sysres_0.9_source.changes: bad-distribution-in-changes-file hardy
W: sysres source: dh-make-template-in-source debian/sysres.doc-base.EX
W: sysres source: dh-make-template-in-source debian/manpage.sgml.ex
W: sysres source: dh-make-template-in-source debian/preinst.ex
W: sysres source: dh-make-template-in-source debian/postrm.ex
W: sysres source: dh-make-template-in-source debian/manpage.xml.ex
W: sysres source: dh-make-template-in-source debian/watch.ex
W: sysres source: dh-make-template-in-source debian/postinst.ex
W: sysres source: dh-make-template-in-source debian/menu.ex
W: sysres source: dh-make-template-in-source debian/sysres-default.ex
W: sysres source: dh-make-template-in-source debian/prerm.ex
W: sysres source: dh-make-template-in-source debian/manpage.1.ex
Finished running lintian.
Now signing changes and any dsc files...
signfile sysres_0.9.dsc Scott Severance <scott@********>
signfile sysres_0.9_source.changes Scott Severance <scott@******>
Successfully signed dsc and changes files
Here's the pbuilder output:
Code:
I: using fakeroot in build.
Current time: Sun Sep 14 20:27:52 CDT 2008
pbuilder-time-stamp: 1221442072
Building the build Environment
-> extracting base tarball [/var/cache/pbuilder/base.tgz]
-> creating local configuration
-> copying local configuration
-> mounting /proc filesystem
-> mounting /dev/pts filesystem
-> Mounting /home/scott/bin/install/pbuilder/result
-> policy-rc.d already exists
Obtaining the cached apt archive contents
Installing the build-deps
Executing hook: tmp/hooks/D70results
! Package scribes (filename ./scribes_0.3.2.6-1_all.deb) is repeat;
ignored that one and using data from ./scribes_0.3.2.6-1scott1_all.deb !
! Package php-pear (filename ./php-pear_5.1.2-1ubuntu3.4~scott1_all.deb) is repeat;
ignored that one and using data from ./php-pear_5.1.2-1ubuntu3.4scott1_all.deb !
** Packages in archive but missing from override file: **
audacity curl db4.5-doc db4.5-util debhelper diatheke gnomesword
libcurl3 libcurl3-dbg libcurl3-gnutls libcurl4-gnutls-dev libcurl4-
openssl-dev libdb4.5 libdb4.5++ libdb4.5++-dev libdb4.5-dev
libdb4.5-java libdb4.5-java-dev libdb4.5-tcl libsword-dev libsword6
php-pear po4a scribes specto toppler
Wrote 26 entries to output Packages file.
Ign file: ./ Release.gpg
Ign file: ./ Release
Ign file: ./ Packages
Get:1 http://archive.ubuntu.com gutsy Release.gpg [191B]
Hit http://archive.ubuntu.com gutsy Release
Hit http://archive.ubuntu.com gutsy/main Packages
Hit http://archive.ubuntu.com gutsy/restricted Packages
Hit http://archive.ubuntu.com gutsy/universe Packages
Hit http://archive.ubuntu.com gutsy/multiverse Packages
Fetched 1B in 9s (0B/s)
Reading package lists... Done
-> user script /var/cache/pbuilder/build//16308/tmp/hooks/D70results finished
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
dh-make cvs gettext-doc
Recommended packages:
curl wget lynx libmail-sendmail-perl libcompress-zlib-perl
The following NEW packages will be installed:
debhelper file gettext html2text intltool-debian libmagic1 po-debconf python-support
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 25.2kB/2714kB of archives.
After unpacking 10.8MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com gutsy/main python-support 0.6.4ubuntu1 [25.2kB]
Fetched 25.2kB in 1s (12.8kB/s)
Selecting previously deselected package libmagic1.
(Reading database ... 12297 files and directories currently installed.)
Unpacking libmagic1 (from .../libmagic1_4.21-1_i386.deb) ...
Selecting previously deselected package file.
Unpacking file (from .../archives/file_4.21-1_i386.deb) ...
Selecting previously deselected package python-support.
Unpacking python-support (from .../python-support_0.6.4ubuntu1_all.deb) ...
Selecting previously deselected package html2text.
Unpacking html2text (from .../html2text_1.3.2a-3build1_i386.deb) ...
Selecting previously deselected package gettext.
Unpacking gettext (from .../gettext_0.16.1-2ubuntu3_i386.deb) ...
Selecting previously deselected package intltool-debian.
Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ...
Selecting previously deselected package po-debconf.
Unpacking po-debconf (from .../po-debconf_1.0.9_all.deb) ...
Selecting previously deselected package debhelper.
Unpacking debhelper (from .../debhelper_5.0.51ubuntu3_all.deb) ...
Setting up libmagic1 (4.21-1) ...
Setting up file (4.21-1) ...
Setting up python-support (0.6.4ubuntu1) ...
Setting up html2text (1.3.2a-3build1) ...
Setting up gettext (0.16.1-2ubuntu3) ...
Setting up intltool-debian (0.35.0+20060710.1) ...
Setting up po-debconf (1.0.9) ...
Setting up debhelper (5.0.51ubuntu3) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
fakeroot
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/111kB of archives.
After unpacking 442kB of additional disk space will be used.
Selecting previously deselected package fakeroot.
(Reading database ... 12868 files and directories currently installed.)
Unpacking fakeroot (from .../fakeroot_1.7.1ubuntu1_i386.deb) ...
Setting up fakeroot (1.7.1ubuntu1) ...
Copying back the cached apt archive contents
-> new cache content python-support_0.6.4ubuntu1_all.deb added
Copying source file
-> copying [sysres_0.9.dsc]
-> copying [./sysres_0.9.tar.gz]
Extracting source
gpg: new configuration file `/tmp/buildd/.gnupg/gpg.conf' created
gpg: WARNING: options in `/tmp/buildd/.gnupg/gpg.conf' are not yet active during this run
gpg: Signature made Mon Sep 15 01:26:17 2008 UTC using DSA key ID 515CB2D7
gpg: Can't check signature: public key not found
dpkg-source: extracting sysres in sysres-0.9
dpkg-source: unpacking sysres_0.9.tar.gz
-> Building the package
W: no hooks of type A found -- ignoring
dpkg-buildpackage: source package is sysres
dpkg-buildpackage: source version is 0.9
dpkg-buildpackage: source changed by Scott Severance <scott@scottseverance.us>
dpkg-buildpackage: host architecture i386
dpkg-buildpackage: source version without epoch 0.9
fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
#-/usr/bin/make clean
dh_clean
dpkg-source -b sysres-0.9
dpkg-source: warning: unknown information field 'Homepage' in input data in general section of control info file
dpkg-source: building sysres in sysres_0.9.tar.gz
dpkg-source: building sysres in sysres_0.9.dsc
debian/rules build
#dh_testdir
# Add here commands to configure the package.
#touch configure-stamp
#dh_testdir
# Add here commands to compile the package.
#/usr/bin/make
#docbook-to-man debian/sysres.sgml > sysres.1
#touch build-stamp
fakeroot debian/rules binary
#dh_testdir
# Add here commands to configure the package.
#touch configure-stamp
#dh_testdir
# Add here commands to compile the package.
#/usr/bin/make
#docbook-to-man debian/sysres.sgml > sysres.1
#touch build-stamp
dh_testdir
dh_clean
dh_testroot
dh_installdirs
dh_installdeb
# Add here commands to install the package into debian/sysres.
# /usr/bin/make DESTDIR=/tmp/buildd/sysres-0.9/debian/sysres install
DESTDIR=/tmp/buildd/sysres-0.9/debian//usr ./install.sh /usr
`about' -> `/tmp/buildd/sysres-0.9/debian//usr/share/doc/sysres/about'
`changelog' -> `/tmp/buildd/sysres-0.9/debian//usr/share/doc/sysres/changelog'
`code_standards' -> `/tmp/buildd/sysres-0.9/debian//usr/share/doc/sysres/code_standards'
`COPYING' -> `/tmp/buildd/sysres-0.9/debian//usr/share/doc/sysres/COPYING'
`README' -> `/tmp/buildd/sysres-0.9/debian//usr/share/doc/sysres/README'
`AUTHORS' -> `/tmp/buildd/sysres-0.9/debian//usr/share/doc/sysres/AUTHORS'
`SystemRestore' -> `/tmp/buildd/sysres-0.9/debian//usr/share/sysres/SystemRestore'
`SystemRestore/Interfaces' -> `/tmp/buildd/sysres-0.9/debian//usr/share/sysres/SystemRestore/Interfaces'
`SystemRestore/Interfaces/arguments.py' -> `/tmp/buildd/sysres-0.9/debian//usr/share/sysres/SystemRestore/Interfaces/arguments.py'
`SystemRestore/Interfaces/sysresqt.py' -> `/tmp/buildd/sysres-0.9/debian//usr/share/sysres/SystemRestore/Interfaces/sysresqt.py'
`SystemRestore/Interfaces/__init__.py' -> `/tmp/buildd/sysres-0.9/debian//usr/share/sysres/SystemRestore/Interfaces/__init__.py'
`SystemRestore/Interfaces/images' -> `/tmp/buildd/sysres-0.9/debian//usr/share/sysres/SystemRestore/Interfaces/images'
`SystemRestore/Interfaces/images/properties.png' -> `/tmp/buildd/sysres-0.9/debian//usr/share/sysres/SystemRestore/Interfaces/images/properties.png'
`SystemRestore/Interfaces/images/delete-all.png' -> `/tmp/buildd/sysres-0.9/debian//usr/share/sysres/SystemRestore/Interfaces/images/delete-all.png'
`SystemRestore/Interfaces/images/restore.png' -> `/tmp/buildd/sysres-0.9/debian//usr/share/sysres/SystemRestore/Interfaces/images/restore.png'
`SystemRestore/Interfaces/images/application-exit.png' -> `/tmp/buildd/sysres-0.9/debian//usr/share/sysres/SystemRestore/Interfaces/images/application-exit.png'
`SystemRestore/Interfaces/images/add.png' -> `/tmp/buildd/sysres-0.9/debian//usr/share/sysres/SystemRestore/Interfaces/images/add.png'
`SystemRestore/Interfaces/images/about.png' -> `/tmp/buildd/sysres-0.9/debian//usr/share/sysres/SystemRestore/Interfaces/images/about.png'
`SystemRestore/Interfaces/images/preferences.png' -> `/tmp/buildd/sysres-0.9/debian//usr/share/sysres/SystemRestore/Interfaces/images/preferences.png'
`SystemRestore/Interfaces/qrc_resources.py' -> `/tmp/buildd/sysres-0.9/debian//usr/share/sysres/SystemRestore/Interfaces/qrc_resources.py'
`SystemRestore/Interfaces/sysresgtk.py' -> `/tmp/buildd/sysres-0.9/debian//usr/share/sysres/SystemRestore/Interfaces/sysresgtk.py'
`SystemRestore/Interfaces/cli.py' -> `/tmp/buildd/sysres-0.9/debian//usr/share/sysres/SystemRestore/Interfaces/cli.py'
`SystemRestore/Interfaces/compoundwidgets.py' -> `/tmp/buildd/sysres-0.9/debian//usr/share/sysres/SystemRestore/Interfaces/compoundwidgets.py'
`SystemRestore/__init__.py' -> `/tmp/buildd/sysres-0.9/debian//usr/share/sysres/SystemRestore/__init__.py'
`SystemRestore/Core' -> `/tmp/buildd/sysres-0.9/debian//usr/share/sysres/SystemRestore/Core'
`SystemRestore/Core/__init__.py' -> `/tmp/buildd/sysres-0.9/debian//usr/share/sysres/SystemRestore/Core/__init__.py'
`SystemRestore/Core/system_restore.py' -> `/tmp/buildd/sysres-0.9/debian//usr/share/sysres/SystemRestore/Core/system_restore.py'
`sysres' -> `/tmp/buildd/sysres-0.9/debian//usr/bin/sysres'
`sysres.svg' -> `/tmp/buildd/sysres-0.9/debian//usr/share/pixmaps/sysres.svg'
`sysres.desktop' -> `/tmp/buildd/sysres-0.9/debian//usr/share/applications/sysres.desktop'
Modifying search path...
rm -f /tmp/buildd/sysres-0.9/debian//usr/share/sysres/install_log /tmp/buildd/sysres-0.9/debian//usr/share/sysres/install_created_directories || true
dh_pysupport
dh_compress
dh_fixperms
#dh_clean
dh_gencontrol
dpkg-gencontrol: warning: unknown information field 'C Homepage' in input data in general section of control info file
dpkg-gencontrol: warning: unknown substitution variable ${python:Depends}
dh_md5sums
dh_builddeb
dpkg-deb: building package `sysres' in `../sysres_0.9_all.deb'.
dpkg-genchanges
dpkg-genchanges: including full source code in upload
dpkg-buildpackage: full upload; Debian-native package (full source is included)
W: no hooks of type B found -- ignoring
Copying back the cached apt archive contents
-> unmounting /home/scott/bin/install/pbuilder/result filesystem
-> unmounting dev/pts filesystem
-> unmounting proc filesystem
-> cleaning the build env
-> removing directory /var/cache/pbuilder/build//16308 and its subdirectories
Current time: Sun Sep 14 20:28:33 CDT 2008
pbuilder-time-stamp: 1221442113
NOTE: I'm running Hardy, not Gutsy, but my pbuilder tarball is gutsy, and due to my limited bandwidth, I'm loath to switch it--and it shouldn't matter.
Bookmarks