Merge ~paelzer/ubuntu/+source/tgt:merge-1.0.79-2-gcc-10-FTFBS-GROOVY into ubuntu/+source/tgt:debian/sid
- Git
- lp:~paelzer/ubuntu/+source/tgt
- merge-1.0.79-2-gcc-10-FTFBS-GROOVY
- Merge into debian/sid
Status: | Superseded |
---|---|
Proposed branch: | ~paelzer/ubuntu/+source/tgt:merge-1.0.79-2-gcc-10-FTFBS-GROOVY |
Merge into: | ubuntu/+source/tgt:debian/sid |
Diff against target: |
737 lines (+534/-0) (has conflicts) 9 files modified
debian/changelog (+405/-0) debian/control (+18/-0) debian/copyright (+4/-0) debian/patches/0008-Fix-build-with-gcc-10.patch (+46/-0) debian/patches/0009-Replace-__packed-with-__attribute__.patch (+39/-0) debian/patches/series (+5/-0) debian/rules (+9/-0) debian/tests/control (+4/-0) debian/tests/storage (+4/-0) Conflict in debian/changelog Conflict in debian/control Conflict in debian/copyright Conflict in debian/patches/series Conflict in debian/rules Conflict in debian/tests/control Conflict in debian/tests/storage |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Canonical Server | Pending | ||
Canonical Server packageset reviewers | Pending | ||
git-ubuntu developers | Pending | ||
Review via email: mp+391614@code.launchpad.net |
This proposal supersedes a proposal from 2020-09-30.
This proposal has been superseded by a proposal from 2020-09-30.
Commit message
Description of the change
Christian Ehrhardt (paelzer) wrote : Posted in a previous version of this proposal | # |
Christian Ehrhardt (paelzer) wrote : Posted in a previous version of this proposal | # |
s390x FTFBS fix added to the MP
Unmerged commits
- 08811b7... by Christian Ehrhardt
-
changelog: avoid FTFBS due to glibc 2.32 (s390x)
Signed-off-by: Christian Ehrhardt <email address hidden>
- 37282e9... by Christian Ehrhardt
-
d/rules: avoid FTFBS due to glibc 2.32 triggering more gcc-10 errors on tgt build
Signed-off-by: Christian Ehrhardt <email address hidden>
- fb711ca... by Christian Ehrhardt
-
update-maintainer
Signed-off-by: Christian Ehrhardt <email address hidden>
- 54f1f1a... by Christian Ehrhardt
-
changelog: 1:1.0.79-3ubuntu1
Signed-off-by: Christian Ehrhardt <email address hidden>
- f854f68... by Andreas Hasenack
-
merge-changelogs
- e4594f3... by Christian Ehrhardt
-
- Drop glusterfs support, package not in main.
+ debian/control: drop build depends and package
+ debian/rules: disable feature
+ debian/tests/{ control, storage}: remove related tests
+ debian/tgt-glusterfs. install (Deleted) - 413a540... by Apollon Oikonomopoulos <email address hidden>
-
1:1.0.79-3 (patches unapplied)
Imported using git-ubuntu import.
- 18195ed... by Apollon Oikonomopoulos <email address hidden>
-
1:1.0.79-2 (patches unapplied)
Imported using git-ubuntu import.
- ce00767... by Apollon Oikonomopoulos <email address hidden>
-
1:1.0.79-1 (patches unapplied)
Imported using git-ubuntu import.
- e7dbd58... by Apollon Oikonomopoulos <email address hidden>
-
1:1.0.74-1 (patches unapplied)
Imported using git-ubuntu import.
Preview Diff
1 | diff --git a/debian/changelog b/debian/changelog | |||
2 | index 2c433fe..33cd5db 100644 | |||
3 | --- a/debian/changelog | |||
4 | +++ b/debian/changelog | |||
5 | @@ -1,3 +1,40 @@ | |||
6 | 1 | <<<<<<< debian/changelog | ||
7 | 2 | ======= | ||
8 | 3 | tgt (1:1.0.79-3ubuntu1) groovy; urgency=medium | ||
9 | 4 | |||
10 | 5 | * Merge with Debian unstable. Remaining changes: | ||
11 | 6 | - Drop glusterfs support, package not in main. | ||
12 | 7 | + debian/control: drop build depends and package | ||
13 | 8 | + debian/rules: disable feature | ||
14 | 9 | + debian/tests/{control, storage}: remove related tests | ||
15 | 10 | + debian/tgt-glusterfs.install (Deleted) | ||
16 | 11 | * Add changes: | ||
17 | 12 | - d/rules: avoid FTFBS on s390x due to glibc 2.32 triggering more | ||
18 | 13 | gcc-10 errors on tgt build | ||
19 | 14 | |||
20 | 15 | -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Wed, 30 Sep 2020 13:30:55 +0200 | ||
21 | 16 | |||
22 | 17 | tgt (1:1.0.79-3) unstable; urgency=medium | ||
23 | 18 | |||
24 | 19 | * Fix FTBFS with GCC 10 (Closes: #957874) | ||
25 | 20 | * Bump Standards-Version to 4.5.0; no changes needed | ||
26 | 21 | * Bump debhelper-compat to 13; no changes needed | ||
27 | 22 | * d/copyright: bump debian/ years | ||
28 | 23 | |||
29 | 24 | -- Apollon Oikonomopoulos <apoikos@debian.org> Thu, 17 Sep 2020 12:38:22 +0300 | ||
30 | 25 | |||
31 | 26 | tgt (1:1.0.79-2ubuntu1) eoan; urgency=medium | ||
32 | 27 | |||
33 | 28 | * Merge with Debian unstable. Remaining changes: | ||
34 | 29 | - Drop glusterfs support, package not in main. | ||
35 | 30 | + debian/control: drop build depends and package | ||
36 | 31 | + debian/rules: disable feature | ||
37 | 32 | + debian/tests/{control, storage}: remove related tests | ||
38 | 33 | + debian/tgt-glusterfs.install (Deleted) | ||
39 | 34 | |||
40 | 35 | -- Andreas Hasenack <andreas@canonical.com> Wed, 31 Jul 2019 16:25:34 -0300 | ||
41 | 36 | |||
42 | 37 | >>>>>>> debian/changelog | ||
43 | 1 | tgt (1:1.0.79-2) unstable; urgency=medium | 38 | tgt (1:1.0.79-2) unstable; urgency=medium |
44 | 2 | 39 | ||
45 | 3 | * Allow env to override pkg-config. | 40 | * Allow env to override pkg-config. |
46 | @@ -20,6 +57,20 @@ tgt (1:1.0.79-1) unstable; urgency=medium | |||
47 | 20 | 57 | ||
48 | 21 | -- Apollon Oikonomopoulos <apoikos@debian.org> Wed, 17 Jul 2019 13:19:03 -0300 | 58 | -- Apollon Oikonomopoulos <apoikos@debian.org> Wed, 17 Jul 2019 13:19:03 -0300 |
49 | 22 | 59 | ||
50 | 60 | <<<<<<< debian/changelog | ||
51 | 61 | ======= | ||
52 | 62 | tgt (1:1.0.74-1ubuntu1) disco; urgency=medium | ||
53 | 63 | |||
54 | 64 | * Merge with Debian unstable (LP: #1810736). Remaining changes: | ||
55 | 65 | - Drop glusterfs support, package not in main. | ||
56 | 66 | - debian/control: drop build depends and package | ||
57 | 67 | - debian/rules: disable feature | ||
58 | 68 | - debian/tests/{control, storage}: remove related tests | ||
59 | 69 | - debian/tgt-glusterfs.install (Deleted) | ||
60 | 70 | |||
61 | 71 | -- Karl Stenerud <kstenerud@gmail.com> Mon, 07 Jan 2019 13:52:58 +0100 | ||
62 | 72 | |||
63 | 73 | >>>>>>> debian/changelog | ||
64 | 23 | tgt (1:1.0.74-1) unstable; urgency=medium | 74 | tgt (1:1.0.74-1) unstable; urgency=medium |
65 | 24 | 75 | ||
66 | 25 | [ Ondřej Nový ] | 76 | [ Ondřej Nový ] |
67 | @@ -35,6 +86,20 @@ tgt (1:1.0.74-1) unstable; urgency=medium | |||
68 | 35 | 86 | ||
69 | 36 | -- Apollon Oikonomopoulos <apoikos@debian.org> Sat, 08 Dec 2018 22:30:32 +0200 | 87 | -- Apollon Oikonomopoulos <apoikos@debian.org> Sat, 08 Dec 2018 22:30:32 +0200 |
70 | 37 | 88 | ||
71 | 89 | <<<<<<< debian/changelog | ||
72 | 90 | ======= | ||
73 | 91 | tgt (1:1.0.73-1ubuntu1) cosmic; urgency=medium | ||
74 | 92 | |||
75 | 93 | * Merge with Debian unstable. Remaining changes: | ||
76 | 94 | - Drop glusterfs support, package not in main. | ||
77 | 95 | - debian/control: drop build depends and package | ||
78 | 96 | - debian/rules: disable feature | ||
79 | 97 | - debian/tests/{control, storage}: remove related tests | ||
80 | 98 | - debian/tgt-glusterfs.install (Deleted) | ||
81 | 99 | |||
82 | 100 | -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Wed, 30 May 2018 11:45:12 +0200 | ||
83 | 101 | |||
84 | 102 | >>>>>>> debian/changelog | ||
85 | 38 | tgt (1:1.0.73-1) unstable; urgency=medium | 103 | tgt (1:1.0.73-1) unstable; urgency=medium |
86 | 39 | 104 | ||
87 | 40 | * New upstream version 1.0.73 | 105 | * New upstream version 1.0.73 |
88 | @@ -47,12 +112,58 @@ tgt (1:1.0.73-1) unstable; urgency=medium | |||
89 | 47 | 112 | ||
90 | 48 | -- Apollon Oikonomopoulos <apoikos@debian.org> Tue, 06 Mar 2018 00:12:22 +0200 | 113 | -- Apollon Oikonomopoulos <apoikos@debian.org> Tue, 06 Mar 2018 00:12:22 +0200 |
91 | 49 | 114 | ||
92 | 115 | <<<<<<< debian/changelog | ||
93 | 116 | ======= | ||
94 | 117 | tgt (1:1.0.72-1ubuntu1) bionic; urgency=medium | ||
95 | 118 | |||
96 | 119 | * Merge with Debian unstable. Remaining changes: | ||
97 | 120 | - Drop glusterfs support, package not in main. | ||
98 | 121 | - debian/control: drop build depends and package | ||
99 | 122 | - debian/rules: disable feature | ||
100 | 123 | - debian/tests/{control, storage}: remove related tests | ||
101 | 124 | - debian/tgt-glusterfs.install (Deleted) | ||
102 | 125 | * Dropped changes (in new upstream version) | ||
103 | 126 | - Fix FTBFS with gcc7 by backporting upstream patches (LP 1723055) | ||
104 | 127 | |||
105 | 128 | -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Thu, 16 Nov 2017 10:28:25 +0100 | ||
106 | 129 | |||
107 | 130 | >>>>>>> debian/changelog | ||
108 | 50 | tgt (1:1.0.72-1) unstable; urgency=medium | 131 | tgt (1:1.0.72-1) unstable; urgency=medium |
109 | 51 | 132 | ||
110 | 52 | * New upstream version (closes: #853680) | 133 | * New upstream version (closes: #853680) |
111 | 53 | 134 | ||
112 | 54 | -- Apollon Oikonomopoulos <apoikos@debian.org> Wed, 02 Aug 2017 20:12:08 -0400 | 135 | -- Apollon Oikonomopoulos <apoikos@debian.org> Wed, 02 Aug 2017 20:12:08 -0400 |
113 | 55 | 136 | ||
114 | 137 | <<<<<<< debian/changelog | ||
115 | 138 | ======= | ||
116 | 139 | tgt (1:1.0.71-1ubuntu2) artful; urgency=medium | ||
117 | 140 | |||
118 | 141 | * Fix FTBFS with gcc7 by backporting upstream patches (LP: #1723055) | ||
119 | 142 | - d/p/GCC-FTBFS-1-Fix-header-warning-with-GCC-7-for-major.patch | ||
120 | 143 | - d/p/GCC-FTBFS-2-Remove-incorrect-size-specifier-in-spc_lu_init.patch | ||
121 | 144 | - d/p/GCC-FTBFS-3-smc-fix-snprintf-warnings-with-gcc7.patch | ||
122 | 145 | - Those patches are unchanged from upstream and make tgt effectively | ||
123 | 146 | almost 1.0.72, so on that merge they can be dropped. | ||
124 | 147 | |||
125 | 148 | -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Thu, 19 Oct 2017 14:55:37 +0200 | ||
126 | 149 | |||
127 | 150 | tgt (1:1.0.71-1ubuntu1) artful; urgency=medium | ||
128 | 151 | |||
129 | 152 | * Merge with Debian unstable. Remaining changes: | ||
130 | 153 | - Drop glusterfs support, package not in main. | ||
131 | 154 | - debian/control: drop build depends and package | ||
132 | 155 | - debian/rules: disable feature | ||
133 | 156 | - debian/tests/{control, storage}: remove related tests | ||
134 | 157 | - debian/tgt-glusterfs.install (Deleted) | ||
135 | 158 | * Dropped changes (in Debian now): | ||
136 | 159 | - fix tgt being killed when serving many targets (LP 1559088) | ||
137 | 160 | - d/t/localtgt, d/t/control: add dep8 test that sets up targets and luns | ||
138 | 161 | via iscsi using rdwr/aio backends and runs fio read/write/verify | ||
139 | 162 | (LP 1640785) | ||
140 | 163 | |||
141 | 164 | -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Sun, 09 Jul 2017 14:48:45 +0200 | ||
142 | 165 | |||
143 | 166 | >>>>>>> debian/changelog | ||
144 | 56 | tgt (1:1.0.71-1) unstable; urgency=medium | 167 | tgt (1:1.0.71-1) unstable; urgency=medium |
145 | 57 | 168 | ||
146 | 58 | [ Christian Ehrhardt ] | 169 | [ Christian Ehrhardt ] |
147 | @@ -69,6 +180,23 @@ tgt (1:1.0.71-1) unstable; urgency=medium | |||
148 | 69 | 180 | ||
149 | 70 | -- Apollon Oikonomopoulos <apoikos@debian.org> Tue, 04 Jul 2017 22:09:50 +0300 | 181 | -- Apollon Oikonomopoulos <apoikos@debian.org> Tue, 04 Jul 2017 22:09:50 +0300 |
150 | 71 | 182 | ||
151 | 183 | <<<<<<< debian/changelog | ||
152 | 184 | ======= | ||
153 | 185 | tgt (1:1.0.69-1ubuntu1) zesty; urgency=medium | ||
154 | 186 | |||
155 | 187 | * Merge from Debian. Remaining changes: | ||
156 | 188 | - Drop glusterfs support, package not in main. | ||
157 | 189 | - debian/control | ||
158 | 190 | - debian/rules | ||
159 | 191 | - debian/tests/{control, storage} | ||
160 | 192 | - debian/tgt-glusterfs.install (Deleted) | ||
161 | 193 | - fix tgt being killed when serving many targets | ||
162 | 194 | - d/t/localtgt, d/t/control: add dep8 test that sets up targets and luns via | ||
163 | 195 | iscsi using rdwr/aio backends and runs fio read/write/verify | ||
164 | 196 | |||
165 | 197 | -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Wed, 25 Jan 2017 11:25:55 +0100 | ||
166 | 198 | |||
167 | 199 | >>>>>>> debian/changelog | ||
168 | 72 | tgt (1:1.0.69-1) unstable; urgency=medium | 200 | tgt (1:1.0.69-1) unstable; urgency=medium |
169 | 73 | 201 | ||
170 | 74 | * New upstream release: | 202 | * New upstream release: |
171 | @@ -85,6 +213,31 @@ tgt (1:1.0.68-1) unstable; urgency=medium | |||
172 | 85 | 213 | ||
173 | 86 | -- Apollon Oikonomopoulos <apoikos@debian.org> Tue, 01 Nov 2016 01:05:03 +0200 | 214 | -- Apollon Oikonomopoulos <apoikos@debian.org> Tue, 01 Nov 2016 01:05:03 +0200 |
174 | 87 | 215 | ||
175 | 216 | <<<<<<< debian/changelog | ||
176 | 217 | ======= | ||
177 | 218 | tgt (1:1.0.67-1ubuntu1) zesty; urgency=medium | ||
178 | 219 | |||
179 | 220 | * Merge from Debian. Remaining changes: | ||
180 | 221 | - Drop glusterfs support, package not in main. | ||
181 | 222 | - debian/control | ||
182 | 223 | - debian/rules | ||
183 | 224 | - debian/tests/{control, storage} | ||
184 | 225 | - debian/tgt-glusterfs.install (Deleted) | ||
185 | 226 | * Drop changes: | ||
186 | 227 | - debian/patches/util_strtoull_errno.patch by Stas Sergeev (now upstream) | ||
187 | 228 | - Disable AIO backend support. This was done to reduce risk in a previous | ||
188 | 229 | feature freeze; Now that we are before Zesty's feature freeze, we | ||
189 | 230 | can introduce it this cycle. | ||
190 | 231 | - changing file modes of debian/tests/{admin, daemon} (missing in | ||
191 | 232 | changelog, not needed) | ||
192 | 233 | * Add changes: | ||
193 | 234 | - fix tgt being killed when serving many targets (LP: #1559088) | ||
194 | 235 | - d/t/localtgt, d/t/control: add dep8 test that sets up targets and luns via | ||
195 | 236 | iscsi using rdwr/aio backends and runs fio read/write/verify (LP: #1640785) | ||
196 | 237 | |||
197 | 238 | -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Thu, 10 Nov 2016 10:35:15 +0100 | ||
198 | 239 | |||
199 | 240 | >>>>>>> debian/changelog | ||
200 | 88 | tgt (1:1.0.67-1) unstable; urgency=medium | 241 | tgt (1:1.0.67-1) unstable; urgency=medium |
201 | 89 | 242 | ||
202 | 90 | * New upstream release: | 243 | * New upstream release: |
203 | @@ -128,6 +281,32 @@ tgt (1:1.0.64-1) unstable; urgency=medium | |||
204 | 128 | 281 | ||
205 | 129 | -- Apollon Oikonomopoulos <apoikos@debian.org> Tue, 24 May 2016 12:04:40 +0300 | 282 | -- Apollon Oikonomopoulos <apoikos@debian.org> Tue, 24 May 2016 12:04:40 +0300 |
206 | 130 | 283 | ||
207 | 284 | <<<<<<< debian/changelog | ||
208 | 285 | ======= | ||
209 | 286 | tgt (1:1.0.63-1ubuntu2) yakkety; urgency=medium | ||
210 | 287 | |||
211 | 288 | * debian/patches/util_strtoull_errno.patch by Stas Sergeev | ||
212 | 289 | - Fix errno handling for number * parsing (LP: #1547060) | ||
213 | 290 | |||
214 | 291 | -- Ryan Harper <ryan.harper@canonical.com> Thu, 21 Apr 2016 09:13:09 -0500 | ||
215 | 292 | |||
216 | 293 | tgt (1:1.0.63-1ubuntu1) xenial; urgency=medium | ||
217 | 294 | |||
218 | 295 | * Merge from Debian (LP: #1555700). Remaining changes: | ||
219 | 296 | - Drop glusterfs support, package not in main. | ||
220 | 297 | - debian/control | ||
221 | 298 | - debian/rules | ||
222 | 299 | - debian/tests/{admin, control, daemon, storage} | ||
223 | 300 | - debian/tgt-glusterfs.install (Deleted) | ||
224 | 301 | - Disable AIO backend support: untested new feature | ||
225 | 302 | - debian/control | ||
226 | 303 | - debian/tests/storage | ||
227 | 304 | * Dropped changes | ||
228 | 305 | - debian/patches/tgtd_dont_fail_on_eacces.patch: included in new release | ||
229 | 306 | |||
230 | 307 | -- Ryan Harper <ryan.harper@canonical.com> Wed, 09 Mar 2016 16:51:44 -0600 | ||
231 | 308 | |||
232 | 309 | >>>>>>> debian/changelog | ||
233 | 131 | tgt (1:1.0.63-1) unstable; urgency=medium | 310 | tgt (1:1.0.63-1) unstable; urgency=medium |
234 | 132 | 311 | ||
235 | 133 | * New upstream release: | 312 | * New upstream release: |
236 | @@ -144,6 +323,37 @@ tgt (1:1.0.62-2) unstable; urgency=medium | |||
237 | 144 | 323 | ||
238 | 145 | -- Apollon Oikonomopoulos <apoikos@debian.org> Tue, 19 Jan 2016 11:22:35 +0200 | 324 | -- Apollon Oikonomopoulos <apoikos@debian.org> Tue, 19 Jan 2016 11:22:35 +0200 |
239 | 146 | 325 | ||
240 | 326 | <<<<<<< debian/changelog | ||
241 | 327 | ======= | ||
242 | 328 | tgt (1:1.0.62-1ubuntu2) xenial; urgency=medium | ||
243 | 329 | |||
244 | 330 | * debian/patches/tgtd_dont_fail_on_eacces.patch | ||
245 | 331 | tgtd: fix root-under-userns errors when attempting oom_score_adj | ||
246 | 332 | (Closes: LP:#1518440) | ||
247 | 333 | |||
248 | 334 | -- Ryan Harper <ryan.harper@canonical.com> Mon, 01 Feb 2016 02:18:57 -0600 | ||
249 | 335 | |||
250 | 336 | tgt (1:1.0.62-1ubuntu1) xenial; urgency=low | ||
251 | 337 | |||
252 | 338 | * Merge from Debian unstable (LP: #1524982, LP: #1518440). Remaining | ||
253 | 339 | changes: | ||
254 | 340 | - Drop glusterfs support, since it is not in main. | ||
255 | 341 | * debian/upstart: | ||
256 | 342 | - Dropped, we no longer use upstart (except on Touch, where tgt | ||
257 | 343 | isn't used). Isn't worth a delta. | ||
258 | 344 | * debian/watch: | ||
259 | 345 | - Drop merge conflict markers accidentally left in. | ||
260 | 346 | * debian/tests/*: | ||
261 | 347 | - Drop delta with Debian here, they imported our tests and improved | ||
262 | 348 | them a while back. | ||
263 | 349 | * debian/tgt.service: | ||
264 | 350 | - Drop delta here, Debian made the same change. | ||
265 | 351 | * debian/bash-completion: | ||
266 | 352 | - Dropped, Debian has the same thing, just as tgt.bash-completion. | ||
267 | 353 | |||
268 | 354 | -- Michael Terry <mterry@ubuntu.com> Mon, 21 Dec 2015 14:20:23 -0500 | ||
269 | 355 | |||
270 | 356 | >>>>>>> debian/changelog | ||
271 | 147 | tgt (1:1.0.62-1) unstable; urgency=medium | 357 | tgt (1:1.0.62-1) unstable; urgency=medium |
272 | 148 | 358 | ||
273 | 149 | * New upstream version. | 359 | * New upstream version. |
274 | @@ -193,6 +403,29 @@ tgt (1:1.0.58-1) unstable; urgency=medium | |||
275 | 193 | 403 | ||
276 | 194 | -- Apollon Oikonomopoulos <apoikos@debian.org> Tue, 26 May 2015 12:35:44 +0300 | 404 | -- Apollon Oikonomopoulos <apoikos@debian.org> Tue, 26 May 2015 12:35:44 +0300 |
277 | 195 | 405 | ||
278 | 406 | <<<<<<< debian/changelog | ||
279 | 407 | ======= | ||
280 | 408 | tgt (1:1.0.57-1ubuntu2) wily; urgency=medium | ||
281 | 409 | |||
282 | 410 | * debian/tgt.service: remove spaces between key, = and value for WantedBy, | ||
283 | 411 | since it appears to confuse deb-systemd-helper. | ||
284 | 412 | |||
285 | 413 | -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Mon, 06 Jul 2015 21:21:58 -0400 | ||
286 | 414 | |||
287 | 415 | tgt (1:1.0.57-1ubuntu1) wily; urgency=low | ||
288 | 416 | |||
289 | 417 | * Merge from Debian unstable. Remaining changes: | ||
290 | 418 | - Drop glusterfs support, since it is not in main. | ||
291 | 419 | - debian/patches/fix-config-regression.patch: Dropped no longer | ||
292 | 420 | needed. | ||
293 | 421 | - debian/patches/fix_delayed_management_request.patch: Dropped | ||
294 | 422 | no longer needed. | ||
295 | 423 | - debian/patches/fix_leak_of_task_in_scsi_flag.patch: Dropped | ||
296 | 424 | no longer needed. | ||
297 | 425 | |||
298 | 426 | -- Chuck Short <zulcss@ubuntu.com> Thu, 07 May 2015 09:29:12 -0400 | ||
299 | 427 | |||
300 | 428 | >>>>>>> debian/changelog | ||
301 | 196 | tgt (1:1.0.57-1) unstable; urgency=medium | 429 | tgt (1:1.0.57-1) unstable; urgency=medium |
302 | 197 | 430 | ||
303 | 198 | * New upstream version: | 431 | * New upstream version: |
304 | @@ -318,6 +551,81 @@ tgt (1:1.0.46-1) unstable; urgency=medium | |||
305 | 318 | 551 | ||
306 | 319 | -- Apollon Oikonomopoulos <apoikos@debian.org> Mon, 19 May 2014 15:41:46 +0300 | 552 | -- Apollon Oikonomopoulos <apoikos@debian.org> Mon, 19 May 2014 15:41:46 +0300 |
307 | 320 | 553 | ||
308 | 554 | <<<<<<< debian/changelog | ||
309 | 555 | ======= | ||
310 | 556 | tgt (1:1.0.43-0ubuntu4) trusty; urgency=medium | ||
311 | 557 | |||
312 | 558 | * debian/patches/fix_delayed_management_request.patch: Adjust patch to fix | ||
313 | 559 | a FTBFS. | ||
314 | 560 | * debian/patches/fix_leak_of_task_in_scsi_flag.patch: Adjust patch to fix | ||
315 | 561 | a FTBFS. | ||
316 | 562 | |||
317 | 563 | -- Chuck Short <zulcss@ubuntu.com> Fri, 11 Apr 2014 09:14:03 -0400 | ||
318 | 564 | |||
319 | 565 | tgt (1:1.0.43-0ubuntu3) trusty; urgency=medium | ||
320 | 566 | |||
321 | 567 | * Fix tgt connection issues under heavy load (LP: #1305343) | ||
322 | 568 | - debian/patches/fix_delayed_management_request.patch: Fix a crash | ||
323 | 569 | of tgtd which occured when removing a target with the --force option | ||
324 | 570 | (https://github.com/fujita/tgt/commit/e6e8d0fd3b83208278fb7ed765c3665ae7c5ab49) | ||
325 | 571 | - debian/patches/fix_leak_of_task_in_scsi_flag.patch: Clear task_in_scsi flag | ||
326 | 572 | when exiting iscsi_tm_execute() and iser_tm_exec() functions. | ||
327 | 573 | (https://github.com/fujita/tgt/commit/05fc2cb424863fbf2f3c60a8b617308ef1e370c5) | ||
328 | 574 | |||
329 | 575 | -- Chuck Short <zulcss@ubuntu.com> Wed, 09 Apr 2014 19:35:20 -0400 | ||
330 | 576 | |||
331 | 577 | tgt (1:1.0.43-0ubuntu2) trusty; urgency=medium | ||
332 | 578 | |||
333 | 579 | * d/p/fix-config-regression.patch: Cherry picked fix from upstream VCS | ||
334 | 580 | to resolve regression on configuration of control port. | ||
335 | 581 | |||
336 | 582 | -- James Page <james.page@ubuntu.com> Tue, 14 Jan 2014 15:11:35 +0000 | ||
337 | 583 | |||
338 | 584 | tgt (1:1.0.43-0ubuntu1) trusty; urgency=medium | ||
339 | 585 | |||
340 | 586 | * New upstream release. | ||
341 | 587 | |||
342 | 588 | -- James Page <james.page@ubuntu.com> Tue, 14 Jan 2014 12:05:08 +0000 | ||
343 | 589 | |||
344 | 590 | tgt (1:1.0.41-0ubuntu1) trusty; urgency=low | ||
345 | 591 | |||
346 | 592 | * New upstream release: | ||
347 | 593 | - debian/patches/fix-tgt-admin-bashism: Dropped, included upstream. | ||
348 | 594 | * d/control,rules,bash-completion: Enable bash completion support | ||
349 | 595 | for tgt commands. | ||
350 | 596 | |||
351 | 597 | -- James Page <james.page@ubuntu.com> Mon, 11 Nov 2013 15:00:10 +0000 | ||
352 | 598 | |||
353 | 599 | tgt (1:1.0.38-0ubuntu1) saucy; urgency=low | ||
354 | 600 | |||
355 | 601 | * New upstream release: | ||
356 | 602 | - d/p/include-rbd-docs.patch,example-config-use-conf-dot-dee: | ||
357 | 603 | Dropped, included upstream. | ||
358 | 604 | - Refreshed other patches. | ||
359 | 605 | * d/watch: Really update to track github repository for releases. | ||
360 | 606 | |||
361 | 607 | -- James Page <james.page@ubuntu.com> Tue, 06 Aug 2013 17:38:27 +0100 | ||
362 | 608 | |||
363 | 609 | tgt (1:1.0.37-0ubuntu1) saucy; urgency=low | ||
364 | 610 | |||
365 | 611 | * Merge from Debian unstable: | ||
366 | 612 | - d/control: Drop depends on lsb-base; handled by debhelper. | ||
367 | 613 | * d/watch: Updated to track github upstream repository. | ||
368 | 614 | * New upstream release (LP: #1191180): | ||
369 | 615 | - d/control: Add xsltproc and docbook-xsl to BD's. | ||
370 | 616 | - d/p: Refreshed and tidied patches. | ||
371 | 617 | * Enable support for Ceph RBD backend: | ||
372 | 618 | - d/rules: Add CEPH_RBD=1 to options. | ||
373 | 619 | - d/control: Add BD on librbd-dev. | ||
374 | 620 | - d/p/include-rbd-docs.patch: Include README.rbd docs. | ||
375 | 621 | * Switch to debhelper compat level 8: | ||
376 | 622 | - d/rules: Rewrite to use debhelper overrides. | ||
377 | 623 | - d/compat,control: Bump compat level and minimum version | ||
378 | 624 | requirement for debhelper. | ||
379 | 625 | |||
380 | 626 | -- James Page <james.page@ubuntu.com> Tue, 18 Jun 2013 13:08:34 +0100 | ||
381 | 627 | |||
382 | 628 | >>>>>>> debian/changelog | ||
383 | 321 | tgt (1:1.0.17-1.1) unstable; urgency=low | 629 | tgt (1:1.0.17-1.1) unstable; urgency=low |
384 | 322 | 630 | ||
385 | 323 | * Non-maintainer upload. | 631 | * Non-maintainer upload. |
386 | @@ -328,6 +636,39 @@ tgt (1:1.0.17-1.1) unstable; urgency=low | |||
387 | 328 | 636 | ||
388 | 329 | -- Thomas Goirand <zigo@debian.org> Thu, 11 Apr 2013 23:25:08 +0800 | 637 | -- Thomas Goirand <zigo@debian.org> Thu, 11 Apr 2013 23:25:08 +0800 |
389 | 330 | 638 | ||
390 | 639 | <<<<<<< debian/changelog | ||
391 | 640 | ======= | ||
392 | 641 | tgt (1:1.0.17-1ubuntu4) saucy; urgency=low | ||
393 | 642 | |||
394 | 643 | * d/tests: added dep-8-tests | ||
395 | 644 | |||
396 | 645 | -- Yolanda <yolanda.robla@canonical.com> Tue, 21 May 2013 10:41:18 +0200 | ||
397 | 646 | |||
398 | 647 | tgt (1:1.0.17-1ubuntu3) quantal; urgency=low | ||
399 | 648 | |||
400 | 649 | * Rebuild for new armel compiler default of ARMv5t. | ||
401 | 650 | |||
402 | 651 | -- Colin Watson <cjwatson@ubuntu.com> Mon, 08 Oct 2012 23:02:42 +0100 | ||
403 | 652 | |||
404 | 653 | tgt (1:1.0.17-1ubuntu2) precise; urgency=low | ||
405 | 654 | |||
406 | 655 | * change /etc/tgt/tgt.conf to support adding config.d format | ||
407 | 656 | snippets in /etc/tgt/conf.d (LP: #978507) | ||
408 | 657 | * start tgt on installation (LP: #977621) | ||
409 | 658 | * stop tgt on shutdown (LP: #820699) | ||
410 | 659 | |||
411 | 660 | -- Scott Moser <smoser@ubuntu.com> Tue, 10 Apr 2012 23:11:00 -0400 | ||
412 | 661 | |||
413 | 662 | tgt (1:1.0.17-1ubuntu1) oneiric; urgency=low | ||
414 | 663 | |||
415 | 664 | * Merge from debian remaining changes: | ||
416 | 665 | - debian/usptart: Add upstart job. | ||
417 | 666 | - Dropped: | ||
418 | 667 | - debian/patches/CVE-2011-0001.patch: No longer needed, use debian instead. | ||
419 | 668 | |||
420 | 669 | -- Chuck Short <zulcss@ubuntu.com> Mon, 08 Aug 2011 04:45:03 -0400 | ||
421 | 670 | |||
422 | 671 | >>>>>>> debian/changelog | ||
423 | 331 | tgt (1:1.0.17-1) unstable; urgency=low | 672 | tgt (1:1.0.17-1) unstable; urgency=low |
424 | 332 | 673 | ||
425 | 333 | * New upstream release. | 674 | * New upstream release. |
426 | @@ -340,12 +681,76 @@ tgt (1:1.0.4-3) unstable; urgency=high | |||
427 | 340 | 681 | ||
428 | 341 | -- Ben Hutchings <ben@decadent.org.uk> Mon, 21 Mar 2011 03:32:59 +0000 | 682 | -- Ben Hutchings <ben@decadent.org.uk> Mon, 21 Mar 2011 03:32:59 +0000 |
429 | 342 | 683 | ||
430 | 684 | <<<<<<< debian/changelog | ||
431 | 685 | ======= | ||
432 | 686 | tgt (1:1.0.13-0ubuntu3) oneiric; urgency=low | ||
433 | 687 | |||
434 | 688 | * SECURITY UPDATE: denial of service and possible code execution via | ||
435 | 689 | double free in iscsi_rx_handler function | ||
436 | 690 | - debian/patches/CVE-2011-0001.patch: make sure the received data isn't | ||
437 | 691 | larger than INCOMING_BUFSIZE in usr/iscsi/iscsid.c. | ||
438 | 692 | - CVE-2011-0001 | ||
439 | 693 | |||
440 | 694 | -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Tue, 21 Jun 2011 09:01:03 -0400 | ||
441 | 695 | |||
442 | 696 | tgt (1:1.0.13-0ubuntu2) natty; urgency=low | ||
443 | 697 | |||
444 | 698 | * debian/upstart: Add respawn to upstart job. (LP: #715686) | ||
445 | 699 | |||
446 | 700 | -- Chuck Short <zulcss@ubuntu.com> Mon, 14 Feb 2011 10:31:26 -0500 | ||
447 | 701 | |||
448 | 702 | tgt (1:1.0.13-0ubuntu1) natty; urgency=low | ||
449 | 703 | |||
450 | 704 | * New upstream release. | ||
451 | 705 | * debian/patches/make-tgt-setup-lun-executable: Dropped no longer needed. | ||
452 | 706 | |||
453 | 707 | -- Chuck Short <zulcss@ubuntu.com> Tue, 08 Feb 2011 10:31:04 -0500 | ||
454 | 708 | |||
455 | 709 | tgt (1:1.0.4-2ubuntu1) natty; urgency=low | ||
456 | 710 | |||
457 | 711 | * Merge from debian unstable. Remaining changes: | ||
458 | 712 | - debian/upstart: Add upstart job. | ||
459 | 713 | - Dropped: | ||
460 | 714 | + debian/patches/scripts-tgt-admin: Use debian's instead. | ||
461 | 715 | |||
462 | 716 | -- Chuck Short <zulcss@ubuntu.com> Fri, 10 Sep 2010 16:19:59 +0100 | ||
463 | 717 | |||
464 | 718 | >>>>>>> debian/changelog | ||
465 | 343 | tgt (1:1.0.4-2) unstable; urgency=low | 719 | tgt (1:1.0.4-2) unstable; urgency=low |
466 | 344 | 720 | ||
467 | 345 | * Fix bashism in tgt-admin, thanks to Chris Cheney (Closes: #589716) | 721 | * Fix bashism in tgt-admin, thanks to Chris Cheney (Closes: #589716) |
468 | 346 | 722 | ||
469 | 347 | -- Ben Hutchings <ben@decadent.org.uk> Sun, 05 Sep 2010 22:13:52 +0100 | 723 | -- Ben Hutchings <ben@decadent.org.uk> Sun, 05 Sep 2010 22:13:52 +0100 |
470 | 348 | 724 | ||
471 | 725 | <<<<<<< debian/changelog | ||
472 | 726 | ======= | ||
473 | 727 | tgt (1:1.0.4-1ubuntu4) maverick; urgency=low | ||
474 | 728 | |||
475 | 729 | * debian/upstart: Corrected typo with post-start command; Resolving | ||
476 | 730 | "unknown job" error. (LP: #574554) | ||
477 | 731 | |||
478 | 732 | -- Dave Walker (Daviey) <DaveWalker@ubuntu.com> Mon, 09 Aug 2010 23:49:42 +0100 | ||
479 | 733 | |||
480 | 734 | tgt (1:1.0.4-1ubuntu3) maverick; urgency=low | ||
481 | 735 | |||
482 | 736 | * tgtd target will not start unless it's configured with "allow-in-use yes" | ||
483 | 737 | (LP: 605721) | ||
484 | 738 | |||
485 | 739 | -- Chris Cheney <ccheney@ubuntu.com> Tue, 20 Jul 2010 04:29:56 -0500 | ||
486 | 740 | |||
487 | 741 | tgt (1:1.0.4-1ubuntu2) maverick; urgency=low | ||
488 | 742 | |||
489 | 743 | * debian/usptart: Add post-start exec to upstart script. (LP: #574554) | ||
490 | 744 | |||
491 | 745 | -- Chuck Short <zulcss@ubuntu.com> Fri, 16 Jul 2010 10:47:33 -0400 | ||
492 | 746 | |||
493 | 747 | tgt (1:1.0.4-1ubuntu1) maverick; urgency=low | ||
494 | 748 | |||
495 | 749 | * debian/rules, debian/tgt.tgtd.upstart: Add upstart script. (LP: #574554) | ||
496 | 750 | |||
497 | 751 | -- Chuck Short <zulcss@ubuntu.com> Thu, 17 Jun 2010 10:22:39 -0400 | ||
498 | 752 | |||
499 | 753 | >>>>>>> debian/changelog | ||
500 | 349 | tgt (1:1.0.4-1) unstable; urgency=low | 754 | tgt (1:1.0.4-1) unstable; urgency=low |
501 | 350 | 755 | ||
502 | 351 | * New upstream release. | 756 | * New upstream release. |
503 | diff --git a/debian/control b/debian/control | |||
504 | index d56bd26..74a1aa9 100644 | |||
505 | --- a/debian/control | |||
506 | +++ b/debian/control | |||
507 | @@ -1,6 +1,7 @@ | |||
508 | 1 | Source: tgt | 1 | Source: tgt |
509 | 2 | Section: net | 2 | Section: net |
510 | 3 | Priority: optional | 3 | Priority: optional |
511 | 4 | <<<<<<< debian/control | ||
512 | 4 | Maintainer: Apollon Oikonomopoulos <apoikos@debian.org> | 5 | Maintainer: Apollon Oikonomopoulos <apoikos@debian.org> |
513 | 5 | Build-Depends: debhelper (>= 12~), libibverbs-dev, librdmacm-dev (>= 1.0.16), | 6 | Build-Depends: debhelper (>= 12~), libibverbs-dev, librdmacm-dev (>= 1.0.16), |
514 | 6 | xsltproc, docbook-xsl, librbd-dev, libglusterfs-dev, uuid-dev, | 7 | xsltproc, docbook-xsl, librbd-dev, libglusterfs-dev, uuid-dev, |
515 | @@ -8,13 +9,27 @@ Build-Depends: debhelper (>= 12~), libibverbs-dev, librdmacm-dev (>= 1.0.16), | |||
516 | 8 | Vcs-Git: https://salsa.debian.org/debian/tgt.git | 9 | Vcs-Git: https://salsa.debian.org/debian/tgt.git |
517 | 9 | Vcs-Browser: https://salsa.debian.org/debian/tgt | 10 | Vcs-Browser: https://salsa.debian.org/debian/tgt |
518 | 10 | Standards-Version: 4.4.0 | 11 | Standards-Version: 4.4.0 |
519 | 12 | ======= | ||
520 | 13 | Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> | ||
521 | 14 | XSBC-Original-Maintainer: Apollon Oikonomopoulos <apoikos@debian.org> | ||
522 | 15 | Build-Depends: debhelper-compat (= 13), libibverbs-dev, librdmacm-dev (>= 1.0.16), | ||
523 | 16 | xsltproc, docbook-xsl, librbd-dev, uuid-dev, | ||
524 | 17 | bash-completion, libsystemd-dev, libaio-dev, pkg-config | ||
525 | 18 | Vcs-Git: https://salsa.debian.org/debian/tgt.git | ||
526 | 19 | Vcs-Browser: https://salsa.debian.org/debian/tgt | ||
527 | 20 | Standards-Version: 4.5.0 | ||
528 | 21 | >>>>>>> debian/control | ||
529 | 11 | Homepage: http://stgt.sourceforge.net/ | 22 | Homepage: http://stgt.sourceforge.net/ |
530 | 12 | 23 | ||
531 | 13 | Package: tgt | 24 | Package: tgt |
532 | 14 | Architecture: linux-any | 25 | Architecture: linux-any |
533 | 15 | Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base, libconfig-general-perl, sg3-utils | 26 | Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base, libconfig-general-perl, sg3-utils |
534 | 16 | Pre-Depends: ${misc:Pre-Depends} | 27 | Pre-Depends: ${misc:Pre-Depends} |
535 | 28 | <<<<<<< debian/control | ||
536 | 17 | Suggests: tgt-glusterfs, tgt-rbd | 29 | Suggests: tgt-glusterfs, tgt-rbd |
537 | 30 | ======= | ||
538 | 31 | Suggests: tgt-rbd | ||
539 | 32 | >>>>>>> debian/control | ||
540 | 18 | Description: Linux SCSI target user-space daemon and tools | 33 | Description: Linux SCSI target user-space daemon and tools |
541 | 19 | The Linux target framework (tgt) allows a Linux system to provide SCSI | 34 | The Linux target framework (tgt) allows a Linux system to provide SCSI |
542 | 20 | devices (targets) over networked SCSI transports. | 35 | devices (targets) over networked SCSI transports. |
543 | @@ -56,6 +71,7 @@ Description: Linux SCSI target user-space daemon and tools - RBD support | |||
544 | 56 | . | 71 | . |
545 | 57 | This package enables tgt to use Ceph/RADOS block devices (RBD) as backing | 72 | This package enables tgt to use Ceph/RADOS block devices (RBD) as backing |
546 | 58 | store for SCSI Logical Units. | 73 | store for SCSI Logical Units. |
547 | 74 | <<<<<<< debian/control | ||
548 | 59 | 75 | ||
549 | 60 | Package: tgt-glusterfs | 76 | Package: tgt-glusterfs |
550 | 61 | Architecture: linux-any | 77 | Architecture: linux-any |
551 | @@ -79,3 +95,5 @@ Description: Linux SCSI target user-space daemon and tools - GlusterFS support | |||
552 | 79 | . | 95 | . |
553 | 80 | This package enables tgt to use GlusterFS volumes as backing store for SCSI | 96 | This package enables tgt to use GlusterFS volumes as backing store for SCSI |
554 | 81 | Logical Units. | 97 | Logical Units. |
555 | 98 | ======= | ||
556 | 99 | >>>>>>> debian/control | ||
557 | diff --git a/debian/copyright b/debian/copyright | |||
558 | index 8f350de..0a94fd7 100644 | |||
559 | --- a/debian/copyright | |||
560 | +++ b/debian/copyright | |||
561 | @@ -10,7 +10,11 @@ License: GPL-2 | |||
562 | 10 | Files: debian/* | 10 | Files: debian/* |
563 | 11 | Copyright: Copyright © 2007-2011 Frederik Schüler <fs@debian.org> | 11 | Copyright: Copyright © 2007-2011 Frederik Schüler <fs@debian.org> |
564 | 12 | Copyright © 2007-2011 Ben Hutchings <ben@decadent.org.uk> | 12 | Copyright © 2007-2011 Ben Hutchings <ben@decadent.org.uk> |
565 | 13 | <<<<<<< debian/copyright | ||
566 | 13 | Copyright © 2014-2018 Apollon Oikonomopoulos <apoikos@debian.org> | 14 | Copyright © 2014-2018 Apollon Oikonomopoulos <apoikos@debian.org> |
567 | 15 | ======= | ||
568 | 16 | Copyright © 2014-2020 Apollon Oikonomopoulos <apoikos@debian.org> | ||
569 | 17 | >>>>>>> debian/copyright | ||
570 | 14 | License: GPL-2+ | 18 | License: GPL-2+ |
571 | 15 | 19 | ||
572 | 16 | Files: usr/bs_aio.c usr/work.c | 20 | Files: usr/bs_aio.c usr/work.c |
573 | diff --git a/debian/patches/0008-Fix-build-with-gcc-10.patch b/debian/patches/0008-Fix-build-with-gcc-10.patch | |||
574 | 17 | new file mode 100644 | 21 | new file mode 100644 |
575 | index 0000000..5a43776 | |||
576 | --- /dev/null | |||
577 | +++ b/debian/patches/0008-Fix-build-with-gcc-10.patch | |||
578 | @@ -0,0 +1,46 @@ | |||
579 | 1 | From: Apollon Oikonomopoulos <apoikos@debian.org> | ||
580 | 2 | Date: Thu, 17 Sep 2020 12:12:56 +0300 | ||
581 | 3 | Subject: Fix build with gcc-10 | ||
582 | 4 | |||
583 | 5 | iscsi_add_portal sometimes passes a NULL pointer as a %s argument to | ||
584 | 6 | printf. This is considered an error by -Werror=format-overflow and GCC-10 has | ||
585 | 7 | become much smarter in detecting these cases: | ||
586 | 8 | |||
587 | 9 | In file included from iscsi/iscsid.h:29, | ||
588 | 10 | from iscsi/iscsi_tcp.c:35: | ||
589 | 11 | In function 'iscsi_add_portal', | ||
590 | 12 | inlined from 'iscsi_add_portal' at iscsi/iscsi_tcp.c:408:5, | ||
591 | 13 | inlined from 'iscsi_tcp_init' at iscsi/iscsi_tcp.c:449:3: | ||
592 | 14 | ./log.h:90:2: error: '%s' directive argument is null [-Werror=format-overflow=] | ||
593 | 15 | 90 | log_error("%s(%d) " fmt, __FUNCTION__, __LINE__, ##args); \ | ||
594 | 16 | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
595 | 17 | iscsi/iscsi_tcp.c:411:3: note: in expansion of macro 'eprintf' | ||
596 | 18 | 411 | eprintf("failed to create/bind to portal %s:%d\n", addr, port); | ||
597 | 19 | | ^~~~~~~ | ||
598 | 20 | |||
599 | 21 | Fix this by passing the empty string to eprintf() if addr is NULL. | ||
600 | 22 | |||
601 | 23 | Closes: #957874 | ||
602 | 24 | --- | ||
603 | 25 | usr/iscsi/iscsi_tcp.c | 7 ++++++- | ||
604 | 26 | 1 file changed, 6 insertions(+), 1 deletion(-) | ||
605 | 27 | |||
606 | 28 | diff --git a/usr/iscsi/iscsi_tcp.c b/usr/iscsi/iscsi_tcp.c | ||
607 | 29 | index 2bb8356..cb4e23c 100644 | ||
608 | 30 | --- a/usr/iscsi/iscsi_tcp.c | ||
609 | 31 | +++ b/usr/iscsi/iscsi_tcp.c | ||
610 | 32 | @@ -407,8 +407,13 @@ int iscsi_tcp_init_portal(char *addr, int port, int tpgt) | ||
611 | 33 | |||
612 | 34 | int iscsi_add_portal(char *addr, int port, int tpgt) | ||
613 | 35 | { | ||
614 | 36 | + const char *addr_str = ""; | ||
615 | 37 | + | ||
616 | 38 | if (iscsi_tcp_init_portal(addr, port, tpgt)) { | ||
617 | 39 | - eprintf("failed to create/bind to portal %s:%d\n", addr, port); | ||
618 | 40 | + if (addr) { | ||
619 | 41 | + addr_str = addr; | ||
620 | 42 | + } | ||
621 | 43 | + eprintf("failed to create/bind to portal %s:%d\n", addr_str, port); | ||
622 | 44 | return -1; | ||
623 | 45 | } | ||
624 | 46 | |||
625 | diff --git a/debian/patches/0009-Replace-__packed-with-__attribute__.patch b/debian/patches/0009-Replace-__packed-with-__attribute__.patch | |||
626 | 0 | new file mode 100644 | 47 | new file mode 100644 |
627 | index 0000000..caf839c | |||
628 | --- /dev/null | |||
629 | +++ b/debian/patches/0009-Replace-__packed-with-__attribute__.patch | |||
630 | @@ -0,0 +1,39 @@ | |||
631 | 1 | From: Apollon Oikonomopoulos <apoikos@debian.org> | ||
632 | 2 | Date: Thu, 17 Sep 2020 12:45:19 +0300 | ||
633 | 3 | Subject: Replace __packed with __attribute__(...) | ||
634 | 4 | |||
635 | 5 | GCC 10 changed the default from -fcommon to -fno-common. This makes the | ||
636 | 6 | tgt build fail because of multiple definitions of __packed. Change all | ||
637 | 7 | instances of __packed to __attribute__((__packed__)), which is the | ||
638 | 8 | canonical attribute form. | ||
639 | 9 | --- | ||
640 | 10 | usr/iscsi/iscsid.c | 2 +- | ||
641 | 11 | usr/iscsi/iser.c | 2 +- | ||
642 | 12 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
643 | 13 | |||
644 | 14 | diff --git a/usr/iscsi/iscsid.c b/usr/iscsi/iscsid.c | ||
645 | 15 | index a54a46e..476a760 100644 | ||
646 | 16 | --- a/usr/iscsi/iscsid.c | ||
647 | 17 | +++ b/usr/iscsi/iscsid.c | ||
648 | 18 | @@ -1074,7 +1074,7 @@ void iscsi_rsp_set_residual(struct iscsi_cmd_rsp *rsp, struct scsi_cmd *scmd) | ||
649 | 19 | struct iscsi_sense_data { | ||
650 | 20 | uint16_t length; | ||
651 | 21 | uint8_t data[0]; | ||
652 | 22 | -} __packed; | ||
653 | 23 | +} __attribute__((__packed__)); | ||
654 | 24 | |||
655 | 25 | static int iscsi_cmd_rsp_build(struct iscsi_task *task) | ||
656 | 26 | { | ||
657 | 27 | diff --git a/usr/iscsi/iser.c b/usr/iscsi/iser.c | ||
658 | 28 | index c7c43b2..2abb872 100644 | ||
659 | 29 | --- a/usr/iscsi/iser.c | ||
660 | 30 | +++ b/usr/iscsi/iser.c | ||
661 | 31 | @@ -92,7 +92,7 @@ char *iser_portal_addr; | ||
662 | 32 | struct iscsi_sense_data { | ||
663 | 33 | uint16_t length; | ||
664 | 34 | uint8_t data[0]; | ||
665 | 35 | -} __packed; | ||
666 | 36 | +} __attribute__((__packed__)); | ||
667 | 37 | |||
668 | 38 | static size_t buf_pool_sz_mb = DEFAULT_POOL_SIZE_MB; | ||
669 | 39 | static int cq_vector = -1; | ||
670 | diff --git a/debian/patches/series b/debian/patches/series | |||
671 | index d533c5e..484b9cc 100644 | |||
672 | --- a/debian/patches/series | |||
673 | +++ b/debian/patches/series | |||
674 | @@ -5,3 +5,8 @@ | |||
675 | 5 | 0005-fix-aio-detection.patch | 5 | 0005-fix-aio-detection.patch |
676 | 6 | 0006-fix-pie-build | 6 | 0006-fix-pie-build |
677 | 7 | 0007-Fix-compilation-with-glusterfs-6.patch | 7 | 0007-Fix-compilation-with-glusterfs-6.patch |
678 | 8 | <<<<<<< debian/patches/series | ||
679 | 9 | ======= | ||
680 | 10 | 0008-Fix-build-with-gcc-10.patch | ||
681 | 11 | 0009-Replace-__packed-with-__attribute__.patch | ||
682 | 12 | >>>>>>> debian/patches/series | ||
683 | diff --git a/debian/rules b/debian/rules | |||
684 | index 15484a4..8996676 100755 | |||
685 | --- a/debian/rules | |||
686 | +++ b/debian/rules | |||
687 | @@ -1,9 +1,18 @@ | |||
688 | 1 | #!/usr/bin/make -f | 1 | #!/usr/bin/make -f |
689 | 2 | #export DH_VERBOSE=1 | 2 | #export DH_VERBOSE=1 |
690 | 3 | 3 | ||
691 | 4 | <<<<<<< debian/rules | ||
692 | 4 | FEATURES = ISCSI_RDMA=1 CEPH_RBD=1 GLFS_BD=1 SD_NOTIFY=1 | 5 | FEATURES = ISCSI_RDMA=1 CEPH_RBD=1 GLFS_BD=1 SD_NOTIFY=1 |
693 | 5 | 6 | ||
694 | 6 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all | 7 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
695 | 8 | ======= | ||
696 | 9 | FEATURES = ISCSI_RDMA=1 CEPH_RBD=1 SD_NOTIFY=1 | ||
697 | 10 | |||
698 | 11 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all | ||
699 | 12 | # avoid FTFBS due to glibc 2.32 triggering more gcc-10 errors | ||
700 | 13 | # in the usage of its functions by tgt | ||
701 | 14 | export DEB_CFLAGS_MAINT_APPEND = -Wno-maybe-uninitialized -Wno-stringop-truncation | ||
702 | 15 | >>>>>>> debian/rules | ||
703 | 7 | 16 | ||
704 | 8 | %: | 17 | %: |
705 | 9 | dh $@ --with bash-completion | 18 | dh $@ --with bash-completion |
706 | diff --git a/debian/tests/control b/debian/tests/control | |||
707 | index 1e1d3c7..98ea7a5 100644 | |||
708 | --- a/debian/tests/control | |||
709 | +++ b/debian/tests/control | |||
710 | @@ -2,7 +2,11 @@ Tests: daemon admin | |||
711 | 2 | Depends: tgt | 2 | Depends: tgt |
712 | 3 | 3 | ||
713 | 4 | Tests: storage | 4 | Tests: storage |
714 | 5 | <<<<<<< debian/tests/control | ||
715 | 5 | Depends: tgt, tgt-rbd, tgt-glusterfs | 6 | Depends: tgt, tgt-rbd, tgt-glusterfs |
716 | 7 | ======= | ||
717 | 8 | Depends: tgt, tgt-rbd | ||
718 | 9 | >>>>>>> debian/tests/control | ||
719 | 6 | Restrictions: needs-root isolation-container allow-stderr | 10 | Restrictions: needs-root isolation-container allow-stderr |
720 | 7 | 11 | ||
721 | 8 | Tests: localtgt | 12 | Tests: localtgt |
722 | diff --git a/debian/tests/storage b/debian/tests/storage | |||
723 | index 2c24b7a..52f17ed 100755 | |||
724 | --- a/debian/tests/storage | |||
725 | +++ b/debian/tests/storage | |||
726 | @@ -13,7 +13,11 @@ supported_bs=$(tgtadm --mode sys --op show | \ | |||
727 | 13 | }') | 13 | }') |
728 | 14 | ret=0 | 14 | ret=0 |
729 | 15 | 15 | ||
730 | 16 | <<<<<<< debian/tests/storage | ||
731 | 16 | for bs in glfs rbd aio; do | 17 | for bs in glfs rbd aio; do |
732 | 18 | ======= | ||
733 | 19 | for bs in rbd aio; do | ||
734 | 20 | >>>>>>> debian/tests/storage | ||
735 | 17 | if echo "$supported_bs" | grep -q "\b$bs\b"; then | 21 | if echo "$supported_bs" | grep -q "\b$bs\b"; then |
736 | 18 | echo "OK - $bs supported" | 22 | echo "OK - $bs supported" |
737 | 19 | else | 23 | else |
commit 413a540caf9e2f6 2e0974f649a3de0 dbcf76c4e7 1%1.0.79- 3, pkg/debian/sid)
has (tag: pkg/import/
But https:/ /code.launchpad .net/~usd- import- team/ubuntu/ +source/ tgt/+git/ tgt/+ref/ debian/ sid misses that.
Therefore the LP diff is odd, but the actual change is a no-change-rebase that fixes an FTBFS with gcc-10.
PPA: https:/ /launchpad. net/~ci- train-ppa- service/ +archive/ ubuntu/ 4287/+packages
There is actually a s390x FTFBS left that Debian has not fixed yet, I'll look into that after lunch.