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
|
$ cd debhello-1.5
$ debuild
dpkg-buildpackage -us -uc -ui -i -i
dpkg-buildpackage: info: source package debhello
dpkg-buildpackage: info: source version 1.5-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
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.5.orig.tar.g...
dpkg-source: info: building debhello in debhello_1.5-1.debian.tar.xz
dpkg-source: info: building debhello in debhello_1.5-1.dsc
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
debian/rules override_dh_auto_configure
make[1]: Entering directory '/path/to/debhello-1.5'
dh_auto_configure -- \
--with-math \
--author="Osamu Aoki"
install -d /path/to/debhello-1.5/debian/.debhelper/generated/_source/...
./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${pr...
W: Unknown argument: --build=x86_64-linux-gnu
W: Unknown argument: --includedir=${prefix}/include
W: Unknown argument: --mandir=${prefix}/share/man
W: Unknown argument: --infodir=${prefix}/share/info
W: Unknown argument: --sysconfdir=/etc
W: Unknown argument: --localstatedir=/var
W: Unknown argument: --disable-option-checking
W: Unknown argument: --disable-silent-rules
W: Unknown argument: --libdir=${prefix}/lib/x86_64-linux-gnu
W: Unknown argument: --runstatedir=/run
W: Unknown argument: --disable-maintainer-mode
W: Unknown argument: --disable-dependency-tracking
make[1]: Leaving directory '/path/to/debhello-1.5'
dh_auto_build
make -j12
make[1]: Entering directory '/path/to/debhello-1.5'
cc \
-Wdate-time -D_FORTIFY_SOURCE=2 \
-g -O2 -ffile-prefix-map=/path/to/debhello-1.5=. -fstack-protector-st...
-Wl,-z,relro -Wl,-z,now -Wl,--as-needed \
-o src/hello src/hello.c \
-lm
make[1]: Leaving directory '/path/to/debhello-1.5'
dh_auto_test
rm -fr -- /tmp/dh-xdg-rundir-lobRh1KW
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.5/debian/debhello
make -j12 install DESTDIR=/path/to/debhello-1.5/debian/debhello AM_UP...
make[1]: Entering directory '/path/to/debhello-1.5'
install -D src/hello \
/path/to/debhello-1.5/debian/debhello/usr/bin/hello
install -m 644 -D data/hello.desktop \
/path/to/debhello-1.5/debian/debhello/usr/share/applications/hello.de...
install -m 644 -D data/hello.png \
/path/to/debhello-1.5/debian/debhello/usr/share/pixmaps/hello.png
install -m 644 -D man/hello.1 \
/path/to/debhello-1.5/debian/debhello/usr/share/man/man1/hello.1
make[1]: Leaving directory '/path/to/debhello-1.5'
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
Using 1624755901 as canonical time
Normalizing debian/debhello/usr/share/pixmaps/hello.png using File::S...
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.5'
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 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...
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.5-1_amd64.deb'.
dpkg-deb: building package 'debhello-dbgsym' in '../debhello-dbgsym_1.5-1_amd...
dpkg-genbuildinfo
dpkg-genchanges >../debhello_1.5-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.5-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.
|