Ubuntu Pastebin

Paste from adconrad at Tue, 15 Mar 2016 21:43:50 +0000

Download as text
  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
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
diff -Nru pkg-create-dbgsym-0.71/debian/changelog pkg-create-dbgsym-0.72/debian/changelog
--- pkg-create-dbgsym-0.71/debian/changelog	2016-03-15 15:07:49.000000000 -0600
+++ pkg-create-dbgsym-0.72/debian/changelog	2016-03-15 15:39:20.000000000 -0600
@@ -1,3 +1,10 @@
+pkg-create-dbgsym (0.72) xenial; urgency=medium
+
+  * Remove all the code to deal with DH_COMPAT=1, as debhelper now fails
+    for any DH_COMPAT less than 4 (and will soon do so for less than 5).
+
+ -- Adam Conrad <adconrad@ubuntu.com>  Tue, 15 Mar 2016 15:20:52 -0600
+
 pkg-create-dbgsym (0.71) xenial; urgency=medium
 
   * Fix race in dpkg-gencontrol by writing to one file list per package.
diff -Nru pkg-create-dbgsym-0.71/dh_gencontrol pkg-create-dbgsym-0.72/dh_gencontrol
--- pkg-create-dbgsym-0.71/dh_gencontrol	2015-06-01 06:59:14.000000000 -0600
+++ pkg-create-dbgsym-0.72/dh_gencontrol	2016-03-15 15:37:30.000000000 -0600
@@ -135,24 +135,6 @@
 dbg "packages to act on: $actpkgs"
 dbg "ignored packages: $ignorepkgs"
 
-# check for debhelper compat level 1
-dhcompat1=1
-if [ -e debian/compat ]; then
-    if [ "`cat debian/compat`" != 1 ]; then
-	unset dhcompat1
-    fi
-fi
-if grep -q '^[[:space:]]*\(export[[:space:]]*\)\?DH_COMPAT[[:space:]]*:\?=[[:space:]]*[2-9]\>' debian/rules; then
-    unset dhcompat1
-elif grep -q '^[[:space:]]*\(export[[:space:]]*\)\?DH_COMPAT[[:space:]]*:\?=[[:space:]]*1\>' debian/rules; then
-    dhcompat1=1
-fi
-
-if [ -n "$dhcompat1" ]; then
-    first_control_pkg="`grep -m 1 ^Package debian/control | cut -f2- -d\ `"
-    dbg "using obsolete debhelper compat mode 1"
-fi
-
 # process all packages
 for p in $actpkgs; do
     if in_list "$p" "$ignorepkgs" ||
@@ -162,8 +144,6 @@
 
     if [ -n "$pkgdirarg" ]; then
 	pkgdir="$pkgdirarg"
-    elif [ -n "$dhcompat1" -a $p = "$first_control_pkg" ]; then
-	pkgdir=debian/tmp
     else
 	pkgdir=debian/$p
     fi
diff -Nru pkg-create-dbgsym-0.71/dh_strip pkg-create-dbgsym-0.72/dh_strip
--- pkg-create-dbgsym-0.71/dh_strip	2015-06-01 04:19:34.000000000 -0600
+++ pkg-create-dbgsym-0.72/dh_strip	2016-03-15 15:37:09.000000000 -0600
@@ -176,24 +176,6 @@
 dbg "packages to act on: $actpkgs"
 dbg "ignored packages: $ignorepkgs"
 
-# check for debhelper compat level 1
-dhcompat1=1
-if [ -e debian/compat ]; then
-    if [ "`cat debian/compat`" != 1 ]; then
-	unset dhcompat1
-    fi
-fi
-if grep -q '^[[:space:]]*\(export[[:space:]]*\)\?DH_COMPAT[[:space:]]*:\?=[[:space:]]*[2-9]\>' debian/rules; then
-    unset dhcompat1
-elif grep -q '^[[:space:]]*\(export[[:space:]]*\)\?DH_COMPAT[[:space:]]*:\?=[[:space:]]*1\>' debian/rules; then
-    dhcompat1=1
-fi
-
-if [ -n "$dhcompat1" ]; then
-    first_control_pkg="`grep -m 1 ^Package debian/control | cut -f2- -d\ `"
-    dbg "using obsolete debhelper compat mode 1"
-fi
-
 # process all packages
 for p in $actpkgs; do
     if in_list "$p" "$ignorepkgs" ||
@@ -203,8 +185,6 @@
 
     if [ -n "$pkgdirarg" ]; then
 	pkgdir="$pkgdirarg"
-    elif [ -n "$dhcompat1" -a $p = "$first_control_pkg" ]; then
-	pkgdir=debian/tmp
     else
 	pkgdir=debian/$p
     fi
diff -Nru pkg-create-dbgsym-0.71/tests/dhtest.compat1/crash2.c pkg-create-dbgsym-0.72/tests/dhtest.compat1/crash2.c
--- pkg-create-dbgsym-0.71/tests/dhtest.compat1/crash2.c	2015-06-01 04:19:34.000000000 -0600
+++ pkg-create-dbgsym-0.72/tests/dhtest.compat1/crash2.c	1969-12-31 17:00:00.000000000 -0700
@@ -1,39 +0,0 @@
-/* crash.c - demo program for libcrashreport
-
-   (c) 2004 Martin Pitt <martin@piware.de>
-
-   This file is public domain.
-*/
-
-#include <stdio.h>
-#include <math.h>
-#include <signal.h>
-
-double h()
-{
-    double a = 1./0;
-    if (isinf(a))
-	raise(SIGFPE);
-    return a;
-}
-
-int g( int x, int y )
-{
-    
-    return x+y+(int) h();
-}
-
-int f( int x )
-{
-    return g( x, 42 );
-}
-
-int
-main()
-{
-    int x;
-
-    x = f(1);
-    printf( "x = %i, terminating normally now.\n", x );
-    return 0;
-}
diff -Nru pkg-create-dbgsym-0.71/tests/dhtest.compat1/crash.c pkg-create-dbgsym-0.72/tests/dhtest.compat1/crash.c
--- pkg-create-dbgsym-0.71/tests/dhtest.compat1/crash.c	2015-06-01 04:19:34.000000000 -0600
+++ pkg-create-dbgsym-0.72/tests/dhtest.compat1/crash.c	1969-12-31 17:00:00.000000000 -0700
@@ -1,34 +0,0 @@
-/* crash.c - demo program for libcrashreport
-
-   (c) 2004 Martin Pitt <martin@piware.de>
-
-   This file is public domain.
-*/
-
-#include <stdio.h>
-
-void h(char* p) {
-    p[1] = 'a';
-}
-
-int g( int x, int y )
-{
-    char* s = NULL;
-    h(s);
-    return x+y;
-}
-
-int f( int x )
-{
-    return g( x, 42 );
-}
-
-int
-main()
-{
-    int x;
-
-    x = f(1);
-    printf( "x = %i, terminating normally now.\n", x );
-    return 0;
-}
diff -Nru pkg-create-dbgsym-0.71/tests/dhtest.compat1/debian/changelog pkg-create-dbgsym-0.72/tests/dhtest.compat1/debian/changelog
--- pkg-create-dbgsym-0.71/tests/dhtest.compat1/debian/changelog	2015-06-01 04:19:34.000000000 -0600
+++ pkg-create-dbgsym-0.72/tests/dhtest.compat1/debian/changelog	1969-12-31 17:00:00.000000000 -0700
@@ -1,5 +0,0 @@
-dhtest.compat1 (2:3.4) foo; urgency=low
-
-  * Initial release.
-
- -- Martin Pitt <martin.pitt@ubuntu.com>  Fri, 16 Jun 2006 10:49:56 +0200
diff -Nru pkg-create-dbgsym-0.71/tests/dhtest.compat1/debian/control pkg-create-dbgsym-0.72/tests/dhtest.compat1/debian/control
--- pkg-create-dbgsym-0.71/tests/dhtest.compat1/debian/control	2015-06-01 04:19:34.000000000 -0600
+++ pkg-create-dbgsym-0.72/tests/dhtest.compat1/debian/control	1969-12-31 17:00:00.000000000 -0700
@@ -1,25 +0,0 @@
-Source: dhtest.compat1
-Section: utils
-Priority: extra
-Maintainer: Martin Pitt <martin.pitt@ubuntu.com>
-Build-Depends: debhelper (>= 4.1.0)
-Standards-Version: 3.7.2
-
-Package: dhtest1
-Architecture: any
-Depends: ${shlibs:Depends}
-Description: crash with a SIGSEGV
- Test package
-
-Package: dhtest2
-Architecture: any
-Depends: ${shlibs:Depends}
-Description: crash with a SIGFPE
- Test package
-
-Package: dhtestall
-Architecture: all
-Depends: ${shlibs:Depends}
-Description: dummy arch-all package
- Test package
-
diff -Nru pkg-create-dbgsym-0.71/tests/dhtest.compat1/debian/copyright pkg-create-dbgsym-0.72/tests/dhtest.compat1/debian/copyright
--- pkg-create-dbgsym-0.71/tests/dhtest.compat1/debian/copyright	2015-06-01 04:19:34.000000000 -0600
+++ pkg-create-dbgsym-0.72/tests/dhtest.compat1/debian/copyright	1969-12-31 17:00:00.000000000 -0700
@@ -1 +0,0 @@
-foo
diff -Nru pkg-create-dbgsym-0.71/tests/dhtest.compat1/debian/rules pkg-create-dbgsym-0.72/tests/dhtest.compat1/debian/rules
--- pkg-create-dbgsym-0.71/tests/dhtest.compat1/debian/rules	2015-06-01 04:19:34.000000000 -0600
+++ pkg-create-dbgsym-0.72/tests/dhtest.compat1/debian/rules	1969-12-31 17:00:00.000000000 -0700
@@ -1,75 +0,0 @@
-#!/usr/bin/make -f
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# This has to be exported to make some magic below work.
-export DH_OPTIONS
-
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
-
-#Architecture 
-build: build-arch build-indep
-
-build-arch: build-arch-stamp
-build-arch-stamp:
-	$(MAKE)
-	touch build-arch-stamp
-
-build-indep:
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-arch-stamp build-indep-stamp
-	-$(MAKE) clean
-	dh_clean 
-
-install: install-indep install-arch
-install-indep:
-	dh_testdir
-	dh_testroot
-	dh_clean -k -i 
-	dh_installdirs -i
-
-install-arch:
-	dh_testdir
-	dh_testroot
-	dh_clean -k -s 
-	dh_installdirs -s
-	install -D -m 755 crash debian/tmp/usr/bin/crash
-	install -D -m 755 crash2 debian/dhtest2/usr/bin/crash2
-
-# Must not depend on anything. This is to be called by
-# binary-arch/binary-indep
-# in another 'make' thread.
-binary-common:
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs 
-	dh_installdocs
-	dh_strip
-	dh_compress 
-	dh_fixperms
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-# Build architecture independant packages using the common target.
-binary-indep: build-indep install-indep
-	$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
-
-# Build architecture dependant packages using the common target.
-binary-arch: build-arch install-arch
-	$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
-
-binary: binary-arch binary-indep
-.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch 
diff -Nru pkg-create-dbgsym-0.71/tests/dhtest.compat1/Makefile pkg-create-dbgsym-0.72/tests/dhtest.compat1/Makefile
--- pkg-create-dbgsym-0.71/tests/dhtest.compat1/Makefile	2015-06-01 04:19:34.000000000 -0600
+++ pkg-create-dbgsym-0.72/tests/dhtest.compat1/Makefile	1969-12-31 17:00:00.000000000 -0700
@@ -1,18 +0,0 @@
-CFLAGS= -g -Wall -W -O0
-
-LIBNAME=crashrep
-
-all: crash crash2
-
-crash: crash.o
-	$(CC) $^ -o $@
-
-crash2: crash2.o
-	$(CC) $^ -o $@
-
-clean:
-	rm -f *.o crash crash2
-
-install: all
-	install -d $(DESTDIR)/usr/bin
-	install crash crash2 $(DESTDIR)/usr/bin
diff -Nru pkg-create-dbgsym-0.71/tests/dhtest.compat1override/crash2.c pkg-create-dbgsym-0.72/tests/dhtest.compat1override/crash2.c
--- pkg-create-dbgsym-0.71/tests/dhtest.compat1override/crash2.c	2015-06-01 04:19:34.000000000 -0600
+++ pkg-create-dbgsym-0.72/tests/dhtest.compat1override/crash2.c	1969-12-31 17:00:00.000000000 -0700
@@ -1,39 +0,0 @@
-/* crash.c - demo program for libcrashreport
-
-   (c) 2004 Martin Pitt <martin@piware.de>
-
-   This file is public domain.
-*/
-
-#include <stdio.h>
-#include <math.h>
-#include <signal.h>
-
-double h()
-{
-    double a = 1./0;
-    if (isinf(a))
-	raise(SIGFPE);
-    return a;
-}
-
-int g( int x, int y )
-{
-    
-    return x+y+(int) h();
-}
-
-int f( int x )
-{
-    return g( x, 42 );
-}
-
-int
-main()
-{
-    int x;
-
-    x = f(1);
-    printf( "x = %i, terminating normally now.\n", x );
-    return 0;
-}
diff -Nru pkg-create-dbgsym-0.71/tests/dhtest.compat1override/crash.c pkg-create-dbgsym-0.72/tests/dhtest.compat1override/crash.c
--- pkg-create-dbgsym-0.71/tests/dhtest.compat1override/crash.c	2015-06-01 04:19:34.000000000 -0600
+++ pkg-create-dbgsym-0.72/tests/dhtest.compat1override/crash.c	1969-12-31 17:00:00.000000000 -0700
@@ -1,34 +0,0 @@
-/* crash.c - demo program for libcrashreport
-
-   (c) 2004 Martin Pitt <martin@piware.de>
-
-   This file is public domain.
-*/
-
-#include <stdio.h>
-
-void h(char* p) {
-    p[1] = 'a';
-}
-
-int g( int x, int y )
-{
-    char* s = NULL;
-    h(s);
-    return x+y;
-}
-
-int f( int x )
-{
-    return g( x, 42 );
-}
-
-int
-main()
-{
-    int x;
-
-    x = f(1);
-    printf( "x = %i, terminating normally now.\n", x );
-    return 0;
-}
diff -Nru pkg-create-dbgsym-0.71/tests/dhtest.compat1override/debian/changelog pkg-create-dbgsym-0.72/tests/dhtest.compat1override/debian/changelog
--- pkg-create-dbgsym-0.71/tests/dhtest.compat1override/debian/changelog	2015-06-01 04:19:34.000000000 -0600
+++ pkg-create-dbgsym-0.72/tests/dhtest.compat1override/debian/changelog	1969-12-31 17:00:00.000000000 -0700
@@ -1,5 +0,0 @@
-dhtest.compat1override (2:3.4) foo; urgency=low
-
-  * Initial release.
-
- -- Martin Pitt <martin.pitt@ubuntu.com>  Fri, 16 Jun 2006 10:49:56 +0200
diff -Nru pkg-create-dbgsym-0.71/tests/dhtest.compat1override/debian/compat pkg-create-dbgsym-0.72/tests/dhtest.compat1override/debian/compat
--- pkg-create-dbgsym-0.71/tests/dhtest.compat1override/debian/compat	2015-06-01 04:19:34.000000000 -0600
+++ pkg-create-dbgsym-0.72/tests/dhtest.compat1override/debian/compat	1969-12-31 17:00:00.000000000 -0700
@@ -1 +0,0 @@
-4
diff -Nru pkg-create-dbgsym-0.71/tests/dhtest.compat1override/debian/control pkg-create-dbgsym-0.72/tests/dhtest.compat1override/debian/control
--- pkg-create-dbgsym-0.71/tests/dhtest.compat1override/debian/control	2015-06-01 04:19:34.000000000 -0600
+++ pkg-create-dbgsym-0.72/tests/dhtest.compat1override/debian/control	1969-12-31 17:00:00.000000000 -0700
@@ -1,25 +0,0 @@
-Source: dhtest.compat1override
-Section: utils
-Priority: extra
-Maintainer: Martin Pitt <martin.pitt@ubuntu.com>
-Build-Depends: debhelper (>= 4.1.0)
-Standards-Version: 3.7.2
-
-Package: dhtest1
-Architecture: any
-Depends: ${shlibs:Depends}
-Description: crash with a SIGSEGV
- Test package
-
-Package: dhtest2
-Architecture: any
-Depends: ${shlibs:Depends}
-Description: crash with a SIGFPE
- Test package
-
-Package: dhtestall
-Architecture: all
-Depends: ${shlibs:Depends}
-Description: dummy arch-all package
- Test package
-
diff -Nru pkg-create-dbgsym-0.71/tests/dhtest.compat1override/debian/copyright pkg-create-dbgsym-0.72/tests/dhtest.compat1override/debian/copyright
--- pkg-create-dbgsym-0.71/tests/dhtest.compat1override/debian/copyright	2015-06-01 04:19:34.000000000 -0600
+++ pkg-create-dbgsym-0.72/tests/dhtest.compat1override/debian/copyright	1969-12-31 17:00:00.000000000 -0700
@@ -1 +0,0 @@
-foo
diff -Nru pkg-create-dbgsym-0.71/tests/dhtest.compat1override/debian/rules pkg-create-dbgsym-0.72/tests/dhtest.compat1override/debian/rules
--- pkg-create-dbgsym-0.71/tests/dhtest.compat1override/debian/rules	2015-06-01 04:19:34.000000000 -0600
+++ pkg-create-dbgsym-0.72/tests/dhtest.compat1override/debian/rules	1969-12-31 17:00:00.000000000 -0700
@@ -1,77 +0,0 @@
-#!/usr/bin/make -f
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# This has to be exported to make some magic below work.
-export DH_OPTIONS
-
-export DH_COMPAT=1
-
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
-
-#Architecture 
-build: build-arch build-indep
-
-build-arch: build-arch-stamp
-build-arch-stamp:
-	$(MAKE)
-	touch build-arch-stamp
-
-build-indep:
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-arch-stamp build-indep-stamp
-	-$(MAKE) clean
-	dh_clean 
-
-install: install-indep install-arch
-install-indep:
-	dh_testdir
-	dh_testroot
-	dh_clean -k -i 
-	dh_installdirs -i
-
-install-arch:
-	dh_testdir
-	dh_testroot
-	dh_clean -k -s 
-	dh_installdirs -s
-	install -D -m 755 crash debian/tmp/usr/bin/crash
-	install -D -m 755 crash2 debian/dhtest2/usr/bin/crash2
-
-# Must not depend on anything. This is to be called by
-# binary-arch/binary-indep
-# in another 'make' thread.
-binary-common:
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs 
-	dh_installdocs
-	dh_strip
-	dh_compress 
-	dh_fixperms
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-# Build architecture independant packages using the common target.
-binary-indep: build-indep install-indep
-	$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
-
-# Build architecture dependant packages using the common target.
-binary-arch: build-arch install-arch
-	$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
-
-binary: binary-arch binary-indep
-.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch 
diff -Nru pkg-create-dbgsym-0.71/tests/dhtest.compat1override/Makefile pkg-create-dbgsym-0.72/tests/dhtest.compat1override/Makefile
--- pkg-create-dbgsym-0.71/tests/dhtest.compat1override/Makefile	2015-06-01 04:19:34.000000000 -0600
+++ pkg-create-dbgsym-0.72/tests/dhtest.compat1override/Makefile	1969-12-31 17:00:00.000000000 -0700
@@ -1,18 +0,0 @@
-CFLAGS= -g -Wall -W -O0
-
-LIBNAME=crashrep
-
-all: crash crash2
-
-crash: crash.o
-	$(CC) $^ -o $@
-
-crash2: crash2.o
-	$(CC) $^ -o $@
-
-clean:
-	rm -f *.o crash crash2
-
-install: all
-	install -d $(DESTDIR)/usr/bin
-	install crash crash2 $(DESTDIR)/usr/bin
diff -Nru pkg-create-dbgsym-0.71/tests/dhtest.compatenvvar/crash2.c pkg-create-dbgsym-0.72/tests/dhtest.compatenvvar/crash2.c
--- pkg-create-dbgsym-0.71/tests/dhtest.compatenvvar/crash2.c	2015-06-01 04:19:34.000000000 -0600
+++ pkg-create-dbgsym-0.72/tests/dhtest.compatenvvar/crash2.c	1969-12-31 17:00:00.000000000 -0700
@@ -1,39 +0,0 @@
-/* crash.c - demo program for libcrashreport
-
-   (c) 2004 Martin Pitt <martin@piware.de>
-
-   This file is public domain.
-*/
-
-#include <stdio.h>
-#include <math.h>
-#include <signal.h>
-
-double h()
-{
-    double a = 1./0;
-    if (isinf(a))
-	raise(SIGFPE);
-    return a;
-}
-
-int g( int x, int y )
-{
-    
-    return x+y+(int) h();
-}
-
-int f( int x )
-{
-    return g( x, 42 );
-}
-
-int
-main()
-{
-    int x;
-
-    x = f(1);
-    printf( "x = %i, terminating normally now.\n", x );
-    return 0;
-}
diff -Nru pkg-create-dbgsym-0.71/tests/dhtest.compatenvvar/crash.c pkg-create-dbgsym-0.72/tests/dhtest.compatenvvar/crash.c
--- pkg-create-dbgsym-0.71/tests/dhtest.compatenvvar/crash.c	2015-06-01 04:19:34.000000000 -0600
+++ pkg-create-dbgsym-0.72/tests/dhtest.compatenvvar/crash.c	1969-12-31 17:00:00.000000000 -0700
@@ -1,34 +0,0 @@
-/* crash.c - demo program for libcrashreport
-
-   (c) 2004 Martin Pitt <martin@piware.de>
-
-   This file is public domain.
-*/
-
-#include <stdio.h>
-
-void h(char* p) {
-    p[1] = 'a';
-}
-
-int g( int x, int y )
-{
-    char* s = NULL;
-    h(s);
-    return x+y;
-}
-
-int f( int x )
-{
-    return g( x, 42 );
-}
-
-int
-main()
-{
-    int x;
-
-    x = f(1);
-    printf( "x = %i, terminating normally now.\n", x );
-    return 0;
-}
diff -Nru pkg-create-dbgsym-0.71/tests/dhtest.compatenvvar/debian/changelog pkg-create-dbgsym-0.72/tests/dhtest.compatenvvar/debian/changelog
--- pkg-create-dbgsym-0.71/tests/dhtest.compatenvvar/debian/changelog	2015-06-01 04:19:34.000000000 -0600
+++ pkg-create-dbgsym-0.72/tests/dhtest.compatenvvar/debian/changelog	1969-12-31 17:00:00.000000000 -0700
@@ -1,5 +0,0 @@
-dhtest.compatenvvar (1:2.3-1) foo; urgency=low
-
-  * Initial release.
-
- -- Martin Pitt <martin.pitt@ubuntu.com>  Fri, 16 Jun 2006 10:49:56 +0200
diff -Nru pkg-create-dbgsym-0.71/tests/dhtest.compatenvvar/debian/control pkg-create-dbgsym-0.72/tests/dhtest.compatenvvar/debian/control
--- pkg-create-dbgsym-0.71/tests/dhtest.compatenvvar/debian/control	2015-06-01 04:19:34.000000000 -0600
+++ pkg-create-dbgsym-0.72/tests/dhtest.compatenvvar/debian/control	1969-12-31 17:00:00.000000000 -0700
@@ -1,13 +0,0 @@
-Source: dhtest.compatenvvar
-Section: utils
-Priority: extra
-Maintainer: Martin Pitt <martin.pitt@ubuntu.com>
-Build-Depends: debhelper (>= 4.1.0)
-Standards-Version: 3.7.2
-
-Package: dhtest1
-Architecture: any
-Depends: ${shlibs:Depends}
-Description: crash with a SIGSEGV
- Test package
-
diff -Nru pkg-create-dbgsym-0.71/tests/dhtest.compatenvvar/debian/copyright pkg-create-dbgsym-0.72/tests/dhtest.compatenvvar/debian/copyright
--- pkg-create-dbgsym-0.71/tests/dhtest.compatenvvar/debian/copyright	2015-06-01 04:19:34.000000000 -0600
+++ pkg-create-dbgsym-0.72/tests/dhtest.compatenvvar/debian/copyright	1969-12-31 17:00:00.000000000 -0700
@@ -1 +0,0 @@
-foo
diff -Nru pkg-create-dbgsym-0.71/tests/dhtest.compatenvvar/debian/rules pkg-create-dbgsym-0.72/tests/dhtest.compatenvvar/debian/rules
--- pkg-create-dbgsym-0.71/tests/dhtest.compatenvvar/debian/rules	2015-06-01 04:19:34.000000000 -0600
+++ pkg-create-dbgsym-0.72/tests/dhtest.compatenvvar/debian/rules	1969-12-31 17:00:00.000000000 -0700
@@ -1,64 +0,0 @@
-#!/usr/bin/make -f
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-export DH_COMPAT=3
-
-# This has to be exported to make some magic below work.
-export DH_OPTIONS
-
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
-
-#Architecture 
-build: build-arch build-indep
-
-build-arch: build-arch-stamp
-build-arch-stamp:
-	$(MAKE)
-	touch build-arch-stamp
-
-build-indep:
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-arch-stamp build-indep-stamp
-	-$(MAKE) clean
-	dh_clean 
-
-install: install-arch
-
-install-arch:
-	dh_testdir
-	dh_testroot
-	dh_clean -k -s 
-	dh_installdirs -s
-	$(MAKE) install DESTDIR=$(CURDIR)/debian/dhtest1
-
-	# install hardlink
-	ln debian/dhtest1/usr/bin/crash debian/dhtest1/usr/bin/crashl
-
-# Build architecture dependant packages using the common target.
-binary-arch: build-arch install-arch
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs 
-	dh_installdocs
-	dh_strip
-	dh_compress 
-	dh_fixperms
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-arch binary-indep
-.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch 
diff -Nru pkg-create-dbgsym-0.71/tests/dhtest.compatenvvar/Makefile pkg-create-dbgsym-0.72/tests/dhtest.compatenvvar/Makefile
--- pkg-create-dbgsym-0.71/tests/dhtest.compatenvvar/Makefile	2015-06-01 04:19:34.000000000 -0600
+++ pkg-create-dbgsym-0.72/tests/dhtest.compatenvvar/Makefile	1969-12-31 17:00:00.000000000 -0700
@@ -1,18 +0,0 @@
-CFLAGS= -g -Wall -W -O0
-
-LIBNAME=crashrep
-
-all: crash crash2
-
-crash: crash.o
-	$(CC) $^ -o $@
-
-crash2: crash2.o
-	$(CC) $^ -o $@
-
-clean:
-	rm -f *.o crash crash2
-
-install: all
-	install -d $(DESTDIR)/usr/bin
-	install crash crash2 $(DESTDIR)/usr/bin
diff -Nru pkg-create-dbgsym-0.71/tests/run pkg-create-dbgsym-0.72/tests/run
--- pkg-create-dbgsym-0.71/tests/run	2015-10-23 02:47:58.000000000 -0600
+++ pkg-create-dbgsym-0.72/tests/run	2016-03-15 15:35:07.000000000 -0600
@@ -1,6 +1,6 @@
 #!/bin/sh -e
 
-TESTSOURCES="dhtest dhtest.doublestrip dhtest.samename dhtest.substvars dhtest.whitespace dhtest.nostrip dhtest.noargs dhtest.archspecific dhtest.tmpdirarg dhtest.compat1 dhtest.compat1override dhtest.compatenvvar dhtest.dbg dhtest.dbg.buildid dhtest.dbg2 dhtest.dbg3 dhtest.pydbg dhtest.dbg.empty dhtest.versionoverride dhtest.customdbgsym dh7test dh7test.disabledbinary cdbstest manualtest"
+TESTSOURCES="dhtest dhtest.doublestrip dhtest.samename dhtest.substvars dhtest.whitespace dhtest.nostrip dhtest.noargs dhtest.archspecific dhtest.tmpdirarg dhtest.dbg dhtest.dbg.buildid dhtest.dbg2 dhtest.dbg3 dhtest.pydbg dhtest.dbg.empty dhtest.versionoverride dhtest.customdbgsym dh7test dh7test.disabledbinary cdbstest manualtest"
 
 print_result() {
     if [ -n "$fail" ]; then
@@ -79,8 +79,6 @@
     check_command "env -u NO_PKG_MANGLE PATH=$ROOTDIR:$PATH PKG_IGNORE_CURRENTLY_BUILDING=1 fakeroot dpkg-buildpackage -us -uc -b" "Building source package $s"
     # clean it
     check_command "fakeroot debian/rules clean" "Cleaning source package $s"
-    # debhelper compat 1 leaves debhelper.log behind, work around
-    rm -f debian/debhelper.log
     SRCVERSION=`dpkg-parsechangelog -SVersion`
     cd ..
     # check for leftovers
Download as text