1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325
|
$ cd debhello-1.8
$ debuild
dpkg-buildpackage -us -uc -ui -i -i
dpkg-buildpackage: info: source package debhello
dpkg-buildpackage: info: source version 1.8-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Osamu Aoki <osamu@debian.org>
dpkg-source -i -i --before-build .
dpkg-buildpackage: info: host architecture amd64
dpkg-source: info: using options from debhello-1.8/debian/source/options: --i...
fakeroot debian/rules clean
dh clean --with python3 --buildsystem=pybuild
dh_auto_clean -O--buildsystem=pybuild
install -d /path/to/debhello-1.8/debian/.debhelper/generated/_source/...
pybuild --clean -i python{version} -p 3.9
I: pybuild base:232: python3.9 setup.py clean
running clean
removing '/path/to/debhello-1.8/.pybuild/cpython3_3.9/build' (and everything ...
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.9' does not exist -- can't clean it
rm -rf .pybuild/
find . -name \*.pyc -exec rm {} \;
dh_autoreconf_clean -O--buildsystem=pybuild
dh_clean -O--buildsystem=pybuild
rm -f debian/debhelper-build-stamp
rm -rf debian/.debhelper/
rm -f -- debian/debhello.substvars debian/files
rm -fr -- debian/debhello/ debian/tmp/
find . \( \( \
\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -pat...
\( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE ...
-o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
-o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
-o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
\) -exec rm -f {} + \) -o \
\( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \...
dpkg-source -i -i -b .
dpkg-source: info: using options from debhello-1.8/debian/source/options: --i...
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building debhello using existing ./debhello_1.8.orig.tar.g...
dpkg-source: info: adding debian/hello.png to debian/source/include-binaries
dpkg-source: info: building debhello in debhello_1.8-1.debian.tar.xz
dpkg-source: info: building debhello in debhello_1.8-1.dsc
debian/rules build
dh build --with python3 --buildsystem=pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
install -d /path/to/debhello-1.8/debian/.debhelper/generated/_source/...
pybuild --configure -i python{version} -p 3.9
I: pybuild base:232: python3.9 setup.py config
running config
dh_auto_build -O--buildsystem=pybuild
pybuild --build -i python{version} -p 3.9
I: pybuild base:232: /usr/bin/python3 setup.py build
running build
running build_py
creating /path/to/debhello-1.8/.pybuild/cpython3_3.9/build/hello_py
copying hello_py/__init__.py -> /path/to/debhello-1.8/.pybuild/cpython3_3.9/b...
running build_scripts
creating build
creating build/scripts-3.9
copying and adjusting scripts/hello -> build/scripts-3.9
changing mode of build/scripts-3.9/hello from 644 to 755
dh_auto_test -O--buildsystem=pybuild
pybuild --test -i python{version} -p 3.9
I: pybuild base:232: cd /path/to/debhello-1.8/.pybuild/cpython3_3.9/build; py...
----------------------------------------------------------------------
Ran 0 tests in 0.000s
OK
rm -fr -- /tmp/dh-xdg-rundir-mtuj1u8Y
create-stamp debian/debhelper-build-stamp
fakeroot debian/rules binary
dh binary --with python3 --buildsystem=pybuild
dh_testroot -O--buildsystem=pybuild
dh_prep -O--buildsystem=pybuild
rm -f -- debian/debhello.substvars
rm -fr -- debian/.debhelper/generated/debhello/ debian/debhello/ debi...
dh_auto_install -O--buildsystem=pybuild
install -d /path/to/debhello-1.8/debian/debhello
pybuild --install -i python{version} -p 3.9 --dest-dir /path/to/debhe...
I: pybuild base:232: /usr/bin/python3 setup.py install --root /path/to/debhel...
running install
running build
running build_py
running build_scripts
running install_lib
creating /path/to/debhello-1.8/debian/debhello/usr
creating /path/to/debhello-1.8/debian/debhello/usr/lib
creating /path/to/debhello-1.8/debian/debhello/usr/lib/python3.9
creating /path/to/debhello-1.8/debian/debhello/usr/lib/python3.9/dist-package...
creating /path/to/debhello-1.8/debian/debhello/usr/lib/python3.9/dist-package...
copying /path/to/debhello-1.8/.pybuild/cpython3_3.9/build/hello_py/__init__.p...
creating /path/to/debhello-1.8/debian/debhello/usr/lib/python3.9/dist-package...
copying /path/to/debhello-1.8/.pybuild/cpython3_3.9/build/hello_py/__pycache_...
byte-compiling /path/to/debhello-1.8/debian/debhello/usr/lib/python3.9/dist-p...
running install_scripts
creating /path/to/debhello-1.8/debian/debhello/usr/bin
copying build/scripts-3.9/hello -> /path/to/debhello-1.8/debian/debhello/usr/...
changing mode of /path/to/debhello-1.8/debian/debhello/usr/bin/hello to 755
running install_egg_info
Writing /path/to/debhello-1.8/debian/debhello/usr/lib/python3.9/dist-packages...
dh_install -O--buildsystem=pybuild
install -d debian/debhello/usr/share/applications
cp --reflink=auto -a ./debian/hello.desktop debian/debhello/usr/share...
install -d debian/debhello/usr/share/man/man1
cp --reflink=auto -a ./debian/hello.1 debian/debhello/usr/share/man/m...
install -d debian/debhello/usr/share/pixmaps
cp --reflink=auto -a ./debian/hello.png debian/debhello/usr/share/pix...
install -d debian/.debhelper/generated/debhello
dh_installdocs -O--buildsystem=pybuild
install -d debian/debhello/usr/share/doc/debhello
install -p -m0644 debian/README.Debian debian/debhello/usr/share/doc/...
install -p -m0644 debian/copyright debian/debhello/usr/share/doc/debh...
dh_installchangelogs -O--buildsystem=pybuild
install -p -m0644 debian/changelog debian/debhello/usr/share/doc/debh...
dh_installman -O--buildsystem=pybuild
install -p -m0644 ./debian/hello.1 debian/debhello/usr/share/man/man1...
man-recode --to-code UTF-8 --suffix .dh-new debian/debhello/usr/share...
mv debian/debhello/usr/share/man/man1/hello.1.dh-new debian/debhello/...
chmod 0644 -- debian/debhello/usr/share/man/man1/hello.1
dh_python3 -O--buildsystem=pybuild
D: dh_python3 dh_python3:161: version: 4.20201102+nmu1
D: dh_python3 dh_python3:162: argv: ['/usr/bin/dh_python3', '-O--buildsystem=...
D: dh_python3 dh_python3:163: options: {'guess_deps': True, 'skip_private': F...
D: dh_python3 dh_python3:164: args: []
D: dh_python3 dh_python3:165: supported Python versions: 3.9 (default=3.9)
D: dh_python3 debhelper:152: source=debhello, binary packages=['debhello']
D: dh_python3 dh_python3:183: processing package debhello...
D: dh_python3 fs:49: moving files from debian/debhello/usr/lib/python3.9/dist...
D: dh_python3 fs:260: package debhello details = {'requires.txt': set(), 'egg...
D: dh_python3 depends:117: generating dependencies for package debhello
D: dh_python3 depends:275: D={'python3:any'}; R=[]; S=[]; E=[], B=[]; RT=[]
dh_installsystemduser -O--buildsystem=pybuild
dh_perl -O--buildsystem=pybuild
dh_link -O--buildsystem=pybuild
dh_strip_nondeterminism -O--buildsystem=pybuild
Using 1624756081 as canonical time
Normalizing debian/debhello/usr/share/pixmaps/hello.png using File::S...
dh_compress -O--buildsystem=pybuild
cd debian/debhello
chmod a-x usr/share/doc/debhello/changelog.Debian usr/share/man/man1/...
gzip -9nf usr/share/doc/debhello/changelog.Debian usr/share/man/man1/...
cd '/path/to/debhello-1.8'
dh_fixperms -O--buildsystem=pybuild
find debian/debhello -true -print0 2>/dev/null | xargs -0r chown --no...
find debian/debhello ! -type l -a -true -a -true -print0 2>/dev/null ...
find debian/debhello/usr/share/doc -type f -a -true -a ! -regex 'debi...
find debian/debhello/usr/share/doc -type d -a -true -a -true -print0 ...
find debian/debhello/usr/share/man debian/debhello/usr/share/applicat...
find debian/debhello -type f \( -name '*.so.*' -o -name '*.so' -o -na...
find debian/debhello/usr/bin -type f -a -true -a -true -print0 2>/dev...
find debian/debhello/usr/lib -type f -name '*.ali' -a -true -a -true ...
dh_missing -O--buildsystem=pybuild
dh_installdeb -O--buildsystem=pybuild
install -d debian/debhello/DEBIAN
printf '#!/bin/sh\nset -e\n' > debian/debhello/DEBIAN/postinst
cat debian/debhello.postinst.debhelper >> debian/debhello/DEBIAN/post...
chmod 0755 -- debian/debhello/DEBIAN/postinst
chown 0:0 -- debian/debhello/DEBIAN/postinst
printf '#!/bin/sh\nset -e\n' > debian/debhello/DEBIAN/prerm
cat debian/debhello.prerm.debhelper >> debian/debhello/DEBIAN/prerm
chmod 0755 -- debian/debhello/DEBIAN/prerm
chown 0:0 -- debian/debhello/DEBIAN/prerm
dh_gencontrol -O--buildsystem=pybuild
echo misc:Depends= >> debian/debhello.substvars
echo misc:Pre-Depends= >> debian/debhello.substvars
dpkg-gencontrol -pdebhello -ldebian/changelog -Tdebian/debhello.subst...
chmod 0644 -- debian/debhello/DEBIAN/control
chown 0:0 -- debian/debhello/DEBIAN/control
dh_md5sums -O--buildsystem=pybuild
cd debian/debhello >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^...
chmod 0644 -- debian/debhello/DEBIAN/md5sums
chown 0:0 -- debian/debhello/DEBIAN/md5sums
dh_builddeb -O--buildsystem=pybuild
dpkg-deb --build debian/debhello ..
dpkg-deb: building package 'debhello' in '../debhello_1.8-1_all.deb'.
dpkg-genbuildinfo
dpkg-genchanges >../debhello_1.8-1_amd64.changes
dpkg-genchanges: info: including full source code in upload
dpkg-source -i -i --after-build .
dpkg-source: info: using options from debhello-1.8/debian/source/options: --i...
dpkg-buildpackage: info: full upload (original source is included)
Now running lintian -i -I --show-overrides debhello_1.8-1_amd64.changes ...
E: debhello source: empty-debian-tests-control
N:
E: empty-debian-tests-control
N:
N:
N: The debian/tests/control is empty when any comments are removed.
N:
N: Refer to
N: https://salsa.debian.org/ci-team/autopkgtest/tree/master/doc/README.pack...
N: for details.
N:
N: Severity: error
N:
N: Check: testsuite
N:
E: debhello source: unknown-file-in-debian-source control
N:
E: unknown-file-in-debian-source
N:
N: The source package contains a file in debian/source/ that Lintian
N: doesn't know about. Currently the following files are recognized:
N:
N: - format
N: - include-binaries
N: - lintian-overrides
N: - options
N: - patch-header
N:
N: This tag is emitted in case you mistyped the name of one of the above
N: files.
N:
N: Severity: error
N:
N: Check: debian/source-dir
N:
W: debhello: copyright-has-url-from-dh_make-boilerplate
N:
W: copyright-has-url-from-dh_make-boilerplate
N:
N: There is "url://example.com" in your copyright file. This was most
N: likely a remnant from the dh_make template.
N:
N: Make sure you include the real location where you obtained the
N: upstream sources (if any).
N:
N: Refer to Debian Policy Manual section 12.5 (Copyright information) for
N: details.
N:
N: Severity: warning
N:
N: Check: debian/copyright
N:
W: debhello: readme-debian-contains-debmake-template
N:
W: readme-debian-contains-debmake-template
N:
N: The README.Debian file installed by this package contains one of the
N: template phrases from the README.Debian provided by deb-make or
N: dh_make:
N:
N: Comments regarding the package
N: So far nothing to say
N: <possible notes regarding this package - if none, delete this file>
N: Automatically generated by debmake
N:
N: If there is real information in the file, please delete any generic
N: template phrases. If there is nothing to say in the file, it is best
N: removed.
N:
N: Severity: warning
N:
N: Check: debian/readme
N:
W: debhello source: syntax-error-in-dep5-copyright debian/copyright: Continua...
N:
W: syntax-error-in-dep5-copyright
N:
N: The machine-readable copyright file didn't pass Debian control file
N: syntax check.
N:
N: This issue may hide other issues as Lintian skips some checks on the
N: file in this case.
N:
N: Refer to
N: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ for
N: details.
N:
N: Severity: warning
N:
N: Check: debian/copyright/dep5
N:
I: debhello source: older-debian-watch-file-standard 3
N:
I: older-debian-watch-file-standard
N:
N: The version= line in the debian/watch file in this package declares an
N: older version. Please upgrade when you have a chance.
N:
N: Refer to the uscan(1) manual page for details.
N:
N: Severity: info
N:
N: Check: debian/watch/standard
N:
I: debhello source: upstream-metadata-missing-bug-tracking
N:
I: upstream-metadata-missing-bug-tracking
N:
N: The DEP 12 metadata file does not specify any upstream bug tracking
N: information (ie. the Bug-Database or Bug-Submit fields are missing).
N:
N: The upstream metadata can be found in the source package in the file
N: debian/upstream/metadata.
N:
N: Refer to https://dep-team.pages.debian.net/deps/dep12/ for details.
N:
N: Severity: info
N:
N: Check: debian/upstream/metadata
N:
I: debhello source: upstream-metadata-missing-repository
N:
I: upstream-metadata-missing-repository
N:
N: The DEP 12 metadata file does not specify the location of upstream's
N: version control repository (ie. the Repository and Repository-Browse
N: fields are missing).
N:
N: The upstream metadata can be found in the source package in the file
N: debian/upstream/metadata.
N:
N: Refer to https://dep-team.pages.debian.net/deps/dep12/ for details.
N:
N: Severity: info
N:
N: Check: debian/upstream/metadata
N:
Finished running lintian.
|