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
|
$ cd debhello-0.0
$ debuild
dpkg-buildpackage -us -uc -ui -i -i
dpkg-buildpackage: info: source package debhello
dpkg-buildpackage: info: source version 0.0-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
fakeroot debian/rules clean
dh clean
dh_auto_clean
install -d /path/to/debhello-0.0/debian/.debhelper/generated/_source/...
make -j4 distclean
make[1]: Entering directory '/path/to/debhello-0.0'
rm -f src/hello
make[1]: Leaving directory '/path/to/debhello-0.0'
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_0.0.orig.tar.g...
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: building debhello in debhello_0.0-1.debian.tar.xz
dpkg-source: info: building debhello in debhello_0.0-1.dsc
debian/rules build
dh build
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
install -d /path/to/debhello-0.0/debian/.debhelper/generated/_source/...
dh_auto_build
make -j4 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/path/to/debhello-0.0'
# CFLAGS=-g -O2
# -fdebug-prefix-map=/home/osamu/pub/salsa/debmake/debmake-doc/debhello-
# 0.0-pkg4/test/debhello-0.0=. -fstack-protector-strong -Wformat
# -Werror=format-security -Wall -pedantic
cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/path/to/debhell...
make[1]: Leaving directory '/path/to/debhello-0.0'
dh_auto_test
rm -fr -- /tmp/dh-xdg-rundir-B7R5FALa
create-stamp debian/debhelper-build-stamp
fakeroot debian/rules binary
dh binary
dh_testroot
dh_prep
rm -f -- debian/debhello.substvars
rm -fr -- debian/.debhelper/generated/debhello/ debian/debhello/ debi...
dh_auto_install
install -d /path/to/debhello-0.0/debian/debhello
make -j4 install DESTDIR=/path/to/debhello-0.0/debian/debhello AM_UPD...
make[1]: Entering directory '/path/to/debhello-0.0'
install -D src/hello \
/path/to/debhello-0.0/debian/debhello/usr/bin/hello
make[1]: Leaving directory '/path/to/debhello-0.0'
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_perl
dh_link
dh_strip_nondeterminism
dh_compress
cd debian/debhello
chmod a-x usr/share/doc/debhello/changelog.Debian
gzip -9nf usr/share/doc/debhello/changelog.Debian
cd '/path/to/debhello-0.0'
dh_fixperms
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 -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...
chown 0:0 -- debian/.debhelper/debhello/dbgsym-root/usr/lib/debug/.bu...
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
chown 0:0 -- debian/.debhelper/debhello/dbgsym-root/DEBIAN/control
dpkg-gencontrol -pdebhello -ldebian/changelog -Tdebian/debhello.subst...
chmod 0644 -- debian/debhello/DEBIAN/control
chown 0:0 -- debian/debhello/DEBIAN/control
dh_md5sums
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
cd debian/.debhelper/debhello/dbgsym-root >/dev/null && xargs -r0 md5...
chmod 0644 -- debian/.debhelper/debhello/dbgsym-root/DEBIAN/md5sums
chown 0:0 -- debian/.debhelper/debhello/dbgsym-root/DEBIAN/md5sums
dh_builddeb
dpkg-deb --build debian/debhello ..
dpkg-deb --build debian/.debhelper/debhello/dbgsym-root ..
dpkg-deb: building package 'debhello-dbgsym' in '../debhello-dbgsym_0.0-1_amd...
dpkg-deb: building package 'debhello' in '../debhello_0.0-1_amd64.deb'.
dpkg-genbuildinfo
dpkg-genchanges >../debhello_0.0-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_0.0-1_amd64.changes ...
W: debhello source: timewarp-standards-version (2015-01-11 < 2018-12-23)
N:
N: The source package refers to a Standards-Version that was released afte...
N: the date of the most recent debian/changelog entry. Perhaps you forgot
N: to update the timestamp in debian/changelog before building the package...
N:
N: Severity: normal, Certainty: certain
N:
N: Check: standards-version, Type: source
N:
I: debhello source: testsuite-autopkgtest-missing
N:
N: This package does not declare a test suite.
N:
N: Having a test suite aids with automated quality assurance of the archiv...
N: outside of your package. For example, if your package has a test suite
N: it is possible to re-run that test suite when any of your package's
N: dependencies have a new version and check whether that update causes
N: problems for your package.
N:
N: In addition, since May 2018 these tests now influence migration from
N: unstable to testing:
N:
N: https://lists.debian.org/debian-devel-announce/2018/05/msg00001.html
N:
N: Please add a debian/tests/control file to your package to declare a
N: testsuite, but please make sure to only add autopkgtests if they provid...
N: meaningful coverage of your package.
N:
N: Refer to https://ci.debian.net/doc/ for details.
N:
N: Severity: wishlist, Certainty: certain
N:
N: Check: testsuite, Type: source
N:
I: debhello: hardening-no-bindnow usr/bin/hello
N:
N: This package provides an ELF binary that lacks the "bindnow" linker
N: flag.
N:
N: This is needed (together with "relro") to make the "Global Offset Table...
N: (GOT) fully read-only. The bindnow feature trades startup time for
N: improved security. Please consider enabling this feature or consider
N: overriding the tag (possibly with a comment about why).
N:
N: If you use dpkg-buildflags, you may have to add hardening=+bindnow or
N: hardening=+all to DEB_BUILD_MAINT_OPTIONS.
N:
N: The relevant compiler flags are set in LDFLAGS.
N:
N: Refer to https://wiki.debian.org/Hardening for details.
N:
N: Severity: wishlist, Certainty: certain
N:
N: Check: binaries, Type: binary, udeb
N:
W: debhello: 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 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: normal, Certainty: certain
N:
N: Check: debian-readme, Type: binary
N:
W: debhello: binary-without-manpage usr/bin/hello
N:
N: Each binary in /usr/bin, /usr/sbin, /bin, /sbin or /usr/games should
N: have a manual page
N:
N: Note that though the man program has the capability to check for severa...
N: program names in the NAMES section, each of these programs should have
N: its own manual page (a symbolic link to the appropriate manual page is
N: sufficient) because other manual page viewers such as xman or tkman
N: don't support this.
N:
N: If the name of the man page differs from the binary by case, man may be...
N: able to find it anyway; however, it is still best practice to make the
N: case of the man page match the case of the binary.
N:
N: If the man pages are provided by another package on which this package
N: depends, Lintian may not be able to determine that man pages are
N: available. In this case, after confirming that all binaries do have man...
N: pages after this package and its dependencies are installed, please add...
N: a Lintian override.
N:
N: Refer to Debian Policy Manual section 12.1 (Manual pages) for details.
N:
N: Severity: normal, Certainty: possible
N:
N: Check: manpages, Type: binary
N:
Finished running lintian.
|