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 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389
|
$ cd debhello-1.6
$ debuild
dpkg-buildpackage -us -uc -ui -i -i
dpkg-buildpackage: info: source package debhello
dpkg-buildpackage: info: source version 1.6-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
debian/rules clean
dh clean --with autoreconf
dh_clean
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 source format '3.0 (quilt)'
dpkg-source: info: building debhello using existing ./debhello_1.6.orig.tar.g...
dpkg-source: info: building debhello in debhello_1.6-1.debian.tar.xz
dpkg-source: info: building debhello in debhello_1.6-1.dsc
debian/rules binary
dh binary --with autoreconf
dh_update_autotools_config
dh_autoreconf
find ! -ipath "./debian/*" -a ! \( -path '*/.git/*' -o -path '*/.hg/*...
" > debian/autoreconf.before
grep -q ^XDT_ configure.ac
autoreconf -f -i
configure.ac:22: installing 'build-aux/compile'
configure.ac:9: installing 'build-aux/install-sh'
configure.ac:9: installing 'build-aux/missing'
src/Makefile.am: installing 'build-aux/depcomp'
find ! -ipath "./debian/*" -a ! \( -path '*/.git/*' -o -path '*/.hg/*...
" > debian/autoreconf.after
debian/rules override_dh_auto_configure
make[1]: Entering directory '/path/to/debhello-1.6'
dh_auto_configure -- \
--with-math
install -d /path/to/debhello-1.6/debian/.debhelper/generated/_source/...
./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${pr...
Standard customization chores
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
Add --with-math option functionality to ./configure
==== withval := "yes"
==== with_math := "yes"
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
==== Check include: math.h
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
==== Check library: libm
checking for library containing atan... -lm
==== Build with LIBS := "-lm "
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) none
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating man/Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
make[1]: Leaving directory '/path/to/debhello-1.6'
dh_auto_build
make -j12
make[1]: Entering directory '/path/to/debhello-1.6'
make all-recursive
make[2]: Entering directory '/path/to/debhello-1.6'
Making all in src
make[3]: Entering directory '/path/to/debhello-1.6/src'
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile...
gcc -g -O2 -ffile-prefix-map=/path/to/debhello-1.6=. -fstack-protector-stron...
make[3]: Leaving directory '/path/to/debhello-1.6/src'
Making all in man
make[3]: Entering directory '/path/to/debhello-1.6/man'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/path/to/debhello-1.6/man'
make[3]: Entering directory '/path/to/debhello-1.6'
make[3]: Leaving directory '/path/to/debhello-1.6'
make[2]: Leaving directory '/path/to/debhello-1.6'
make[1]: Leaving directory '/path/to/debhello-1.6'
dh_auto_test
make -j12 check VERBOSE=1
make[1]: Entering directory '/path/to/debhello-1.6'
Making check in src
make[2]: Entering directory '/path/to/debhello-1.6/src'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/path/to/debhello-1.6/src'
Making check in man
make[2]: Entering directory '/path/to/debhello-1.6/man'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/path/to/debhello-1.6/man'
make[2]: Entering directory '/path/to/debhello-1.6'
make[2]: Leaving directory '/path/to/debhello-1.6'
make[1]: Leaving directory '/path/to/debhello-1.6'
rm -fr -- /tmp/dh-xdg-rundir-HW5Py6al
create-stamp debian/debhelper-build-stamp
dh_prep
rm -f -- debian/debhello.substvars
rm -fr -- debian/.debhelper/generated/debhello/ debian/debhello/ debi...
dh_auto_install
install -d /path/to/debhello-1.6/debian/debhello
make -j12 install DESTDIR=/path/to/debhello-1.6/debian/debhello AM_UP...
make[1]: Entering directory '/path/to/debhello-1.6'
Making install in src
make[2]: Entering directory '/path/to/debhello-1.6/src'
make[3]: Entering directory '/path/to/debhello-1.6/src'
make[3]: Nothing to be done for 'install-data-am'.
/usr/bin/mkdir -p '/path/to/debhello-1.6/debian/debhello/usr/bin'
/usr/bin/install -c hello '/path/to/debhello-1.6/debian/debhello/usr/bin'
make[3]: Leaving directory '/path/to/debhello-1.6/src'
make[2]: Leaving directory '/path/to/debhello-1.6/src'
Making install in man
make[2]: Entering directory '/path/to/debhello-1.6/man'
make[3]: Entering directory '/path/to/debhello-1.6/man'
make[3]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p '/path/to/debhello-1.6/debian/debhello/usr/share/man/man1'...
/usr/bin/install -c -m 644 hello.1 '/path/to/debhello-1.6/debian/debhello/us...
make[3]: Leaving directory '/path/to/debhello-1.6/man'
make[2]: Leaving directory '/path/to/debhello-1.6/man'
make[2]: Entering directory '/path/to/debhello-1.6'
make[3]: Entering directory '/path/to/debhello-1.6'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/path/to/debhello-1.6'
make[2]: Leaving directory '/path/to/debhello-1.6'
make[1]: Leaving directory '/path/to/debhello-1.6'
dh_installdocs
install -d debian/debhello/usr/share/doc/debhello
install -d debian/.debhelper/generated/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
install -p -m0644 debian/changelog debian/debhello/usr/share/doc/debh...
dh_installman
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_perl
dh_link
dh_strip_nondeterminism
dh_compress
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.6'
dh_fixperms
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 -type f -a -true -a -true -print0 ...
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...
dh_missing
dh_dwz -a
dwz -- debian/debhello/usr/bin/hello
dh_strip -a
install -d debian/.debhelper/debhello/dbgsym-root/usr/lib/debug/.buil...
objcopy --only-keep-debug --compress-debug-sections debian/debhello/u...
chmod 0644 -- debian/.debhelper/debhello/dbgsym-root/usr/lib/debug/.b...
strip --remove-section=.comment --remove-section=.note debian/debhell...
objcopy --add-gnu-debuglink debian/.debhelper/debhello/dbgsym-root/us...
install -d debian/.debhelper/debhello/dbgsym-root/usr/share/doc
ln -s debhello debian/.debhelper/debhello/dbgsym-root/usr/share/doc/d...
dh_makeshlibs -a
rm -f debian/debhello/DEBIAN/shlibs
dh_shlibdeps -a
install -d debian/debhello/DEBIAN
dpkg-shlibdeps -Tdebian/debhello.substvars debian/debhello/usr/bin/he...
dh_installdeb
dh_gencontrol
echo misc:Depends= >> debian/debhello.substvars
echo misc:Pre-Depends= >> debian/debhello.substvars
install -d debian/.debhelper/debhello/dbgsym-root/DEBIAN
dpkg-gencontrol -pdebhello -ldebian/changelog -Tdebian/debhello.subst...
chmod 0644 -- debian/.debhelper/debhello/dbgsym-root/DEBIAN/control
dpkg-gencontrol -pdebhello -ldebian/changelog -Tdebian/debhello.subst...
chmod 0644 -- debian/debhello/DEBIAN/control
dh_md5sums
cd debian/debhello >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^...
chmod 0644 -- debian/debhello/DEBIAN/md5sums
cd debian/.debhelper/debhello/dbgsym-root >/dev/null && xargs -r0 md5...
chmod 0644 -- debian/.debhelper/debhello/dbgsym-root/DEBIAN/md5sums
dh_builddeb
dpkg-deb --root-owner-group --build debian/debhello ..
dpkg-deb --root-owner-group --build debian/.debhelper/debhello/dbgsym...
dpkg-deb: building package 'debhello' in '../debhello_1.6-1_amd64.deb'.
dpkg-deb: building package 'debhello-dbgsym' in '../debhello-dbgsym_1.6-1_amd...
dpkg-genbuildinfo
dpkg-genchanges >../debhello_1.6-1_amd64.changes
dpkg-genchanges: info: including full source code in upload
dpkg-source -i -i --after-build .
dpkg-buildpackage: info: full upload (original source is included)
Now running lintian -i -I --show-overrides debhello_1.6-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:
W: debhello source: useless-autoreconf-build-depends dh-autoreconf
N:
W: useless-autoreconf-build-depends
N:
N: Since compatibility level 10, debhelper enables the autoreconf
N: sequence by default.
N:
N: It is therefore not necessary to specify build-dependencies on
N: dh-autoreconf or autotools-dev and they can be removed.
N:
N: Severity: warning
N:
N: Check: debhelper
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.
|