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
|
$ cd /path/to/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
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying 000-prefix-usr.patch
debian/rules clean
dh clean
dh_auto_clean
make -j12 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 -o -name __pycache__ \)...
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 binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
dh_auto_build
make -j12 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/path/to/debhello-0.0'
# CFLAGS=-g -O2 -Werror=implicit-function-declaration
# -ffile-prefix-map=/home/osamu/salsa/debmake-doc/debmake-doc/examples/d
# ebhello-0.0_build-3/dsc/debhello-0.0=. -fstack-protector-strong
# -fstack-clash-protection -Wformat -Werror=format-security
# -fcf-protection -Wall -pedantic
cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declarati...
make[1]: Leaving directory '/path/to/debhello-0.0'
dh_auto_test
rm -fr -- /tmp/dh-xdg-rundir-cG3cHnfz
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 --destdir=debian/debhello/
install -m0755 -d /path/to/debhello-0.0/debian/debhello
make -j12 install DESTDIR=/path/to/debhello-0.0/debian/debhello AM_UP...
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 -m0755 -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
install -m0755 -d debian/debhello/usr/share/doc/debhello
install -p -m0644 debian/.debhelper/generated/debhello/dh_installchan...
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 ! -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 -m0755 -d debian/.debhelper/debhello/dbgsym-root/usr/lib/debu...
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 -m0755 -d debian/.debhelper/debhello/dbgsym-root/usr/share/do...
ln -s debhello debian/.debhelper/debhello/dbgsym-root/usr/share/doc/d...
install -m0755 -d debian/.debhelper/debhello
dh_makeshlibs -a
rm -f debian/debhello/DEBIAN/shlibs
dh_shlibdeps -a
install -m0755 -d debian/debhello/DEBIAN
dpkg-shlibdeps -Tdebian/debhello.substvars debian/debhello/usr/bin/he...
dh_installdeb
install -m0755 -d debian/debhello/DEBIAN
dh_gencontrol
install -m0755 -d debian/debhello/DEBIAN
echo misc:Depends= >> debian/debhello.substvars
echo misc:Pre-Depends= >> debian/debhello.substvars
install -m0755 -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
install -m0755 -d debian/debhello/DEBIAN
cd debian/debhello >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^...
chmod 0644 -- debian/debhello/DEBIAN/md5sums
install -m0755 -d debian/.debhelper/debhello/dbgsym-root/DEBIAN
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/.debhelper/debhello/dbgsym...
dpkg-deb --root-owner-group --build debian/debhello ..
dpkg-deb: building package 'debhello' in '../debhello_0.0-1_amd64.deb'.
dpkg-deb: building package 'debhello-dbgsym' in '../debhello-dbgsym_0.0-1_amd...
dpkg-genbuildinfo -O../debhello_0.0-1_amd64.buildinfo
dpkg-genchanges -O../debhello_0.0-1_amd64.changes
dpkg-genchanges: info: including full source code in upload
dpkg-source -i -i --after-build .
dpkg-source: info: unapplying 000-prefix-usr.patch
dpkg-buildpackage: info: full upload (original source is included)
Now running lintian -i -I --show-overrides debhello_0.0-1_amd64.changes ...
N:
E: debhello source: empty-debian-tests-control [debian/tests/control]
N:
N:
N: The debian/tests/control is empty when any comments are removed.
N:
N: Please refer to
N: https://salsa.debian.org/ci-team/autopkgtest/tree/master/doc/README.pack...
N: for details.
N:
N: Visibility: error
N: Show-Always: no
N: Check: testsuite
N:
N:
W: debhello: no-manual-page [usr/bin/hello]
N:
N: Each binary in /usr/bin, /usr/sbin, /bin, /sbin or /usr/games should hav...
N: a manual page
N:
N: Note that though the man program has the capability to check for several...
N: program names in the NAMES section, each of these programs should have i...
N: own manual page (a symbolic link to the appropriate manual page is
N: sufficient) because other manual page viewers such as xman or tkman don'...
N: support this.
N:
N: If the name of the manual page differs from the binary by case, man may ...
N: able to find it anyway; however, it is still best practice to match the
N: exact capitalization of the executable in the manual page.
N:
N: If the manual pages are provided by another package on which this packag...
N: depends, Lintian may not be able to determine that manual pages are
N: available. In this case, after confirming that all binaries do have manu...
N: pages after this package and its dependencies are installed, please add ...
N: Lintian override.
N:
N: Please refer to Manual pages (Section 12.1) in the Debian Policy Manual
N: for details.
N:
N: Visibility: warning
N: Show-Always: no
N: Check: documentation/manual
N: Renamed from: binary-without-manpage
N:
N:
W: debhello: readme-debian-contains-debmake-template [usr/share/doc/debhello/...
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: Visibility: warning
N: Show-Always: no
N: Check: debian/readme
N:
N:
W: debhello source: timewarp-standards-version (2021-06-27 < 2022-12-17)
N:
N: The source package refers to a Standards-Version that was released after...
N: the date of the most recent debian/changelog entry. Perhaps you forgot t...
N: update the timestamp in debian/changelog before building the package?
N:
N: Visibility: warning
N: Show-Always: no
N: Check: fields/standards-version
N:
N:
I: debhello: hardening-no-bindnow [usr/bin/hello]
N:
N: This package provides an ELF binary that lacks the "bindnow" linker 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: Please refer to https://wiki.debian.org/Hardening for details.
N:
N: Visibility: info
N: Show-Always: no
N: Check: binaries/hardening
N:
N:
I: debhello source: upstream-metadata-missing-bug-tracking [debian/upstream/m...
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: Please refer to https://dep-team.pages.debian.net/deps/dep12/ for detail...
N:
N: Visibility: info
N: Show-Always: no
N: Check: debian/upstream/metadata
N:
N:
I: debhello source: upstream-metadata-missing-repository [debian/upstream/met...
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: Please refer to https://dep-team.pages.debian.net/deps/dep12/ for detail...
N:
N: Visibility: info
N: Show-Always: no
N: Check: debian/upstream/metadata
N:
Finished running lintian.
|