Package: devscripts
Version: 2.19.3
Severity: grave

Running `dpkg-buildpackage` in a devscripts git checkout does weird
things to $HOME. I don't think it's deleting any files (or else I
would have opened this as critical), but this needs some attention.

The first symptom is that there's temporary files in $HOME after
building/trying to build:

drwxrwxr-x 6 cbe cbe 4096 Mär 19 11:44 foo-0.0/
-rw-rw-r-- 1 cbe cbe  301 Mär 19 11:44 foo-0.0.tar.gz
-rw-rw-r-- 1 cbe cbe  833 Mär 19 11:44 foo-0.0.tar.gz.asc
drwxrwxr-x 6 cbe cbe 4096 Mär 19 11:44 foo-1.0/
-rw-rw-r-- 1 cbe cbe  301 Mär 19 11:44 foo-1.0.tar.gz
-rw-rw-r-- 1 cbe cbe  833 Mär 19 11:44 foo-1.0.tar.gz.asc
drwxrwxr-x 6 cbe cbe 4096 Mär 19 11:44 foo-2.0/
-rw-rw-r-- 1 cbe cbe  301 Mär 19 11:44 foo-2.0.tar.gz
-rw-rw-r-- 1 cbe cbe  833 Mär 19 11:44 foo-2.0.tar.gz.asc

One build attempt showed a lot of this on the console at which point I
hit ^C:

find: 
‘./.wine/dosdevices/z:/sys/class/thermal/thermal_zone2/device/driver/LNXTHERM:01/thermal_zone/cdev7/device/physical_node/node0/cpu7/firmware_node/subsystem/devices/device:2d/device:30/physical_node/device/driver/2-1.2/2-1.2:1.2/subsystem/devices/2-1/port/firmware_node/device:23/physical_node/device/2-1.1:1.0/0003:413C:2003.0001/driver/0003:1050:0407.000C/subsystem/devices/0003:413C:3012.0004/input/input2/mouse0/subsystem/input9/device/device/subsystem/devices/0000:00:1f.2/ata2/ata_port/ata2/subsystem/ata1/device/host0/target0:0:0/0:0:0:0/block/sda/bdi/subsystem/7:0/subsystem’:
 Zu viele Ebenen aus symbolischen Links
find: 
‘./.wine/dosdevices/z:/sys/class/thermal/thermal_zone2/device/driver/LNXTHERM:01/thermal_zone/cdev7/device/physical_node/node0/cpu7/firmware_node/subsystem/devices/device:2d/device:30/physical_node/device/driver/2-1.2/2-1.2:1.2/subsystem/devices/2-1/port/firmware_node/device:23/physical_node/device/2-1.1:1.0/0003:413C:2003.0001/driver/0003:1050:0407.000C/subsystem/devices/0003:413C:3012.0004/input/input2/mouse0/subsystem/input9/device/device/subsystem/devices/0000:00:1f.2/ata2/ata_port/ata2/subsystem/ata1/device/host0/target0:0:0/0:0:0:0/block/sda/bdi/subsystem/253:6/subsystem’:
 Zu viele Ebenen aus symbolischen Links

I think the problem is around the uscan test:

127.0.0.1 - - [19/Mar/2019 11:54:41] code 404, message File not found
127.0.0.1 - - [19/Mar/2019 11:54:41] "HEAD /foo-1.tgz.sign HTTP/1.1" 404 -

testGitHead
mktemp: konnte das Verzeichnis nicht mittels Schablone 
„/home/cbe/tmp/tmp.CPAf1zk7Db/tmp.XXXXXXXXXX“ erstellen: Datei oder Verzeichnis 
nicht gefunden
mkdir: das Verzeichnis „/foo“ kann nicht angelegt werden: Keine Berechtigung
mkdir: das Verzeichnis „/foo“ kann nicht angelegt werden: Keine Berechtigung
mkdir: das Verzeichnis „/repo“ kann nicht angelegt werden: Keine Berechtigung
./test_uscan_git: 36: cd: can't cd to /repo
Bestehendes Git-Repository in /home/cbe/debian/devscripts/devscripts/test/.git/ 
neuinitialisiert
Auf Branch master
Unversionierte Dateien:
        Makefile
        bashisms/
[...]
        test_uscan_online
        uscan/

nichts zum Commit vorgemerkt, aber es gibt unversionierte Dateien
[master 158990d] Releasing 1.0
 2 files changed, 3 insertions(+)
fatal: Tag 'v1.0' existiert bereits
[master a406494] Releasing 2.0
 2 files changed, 3 insertions(+)
fatal: Tag 'v2.0' existiert bereits
./test_uscan_git: 73: eval: cannot create /foo/debian/watch: Directory 
nonexistent
./test_uscan_git: 79: eval: cannot create /foo/debian/changelog: Directory 
nonexistent
./test_uscan_git: 86: eval: cannot create /foo/debian/source/format: Directory 
nonexistent
cp: reguläre Datei '/foo/debian/upstream/signing-key.asc' kann nicht angelegt 
werden: Datei oder Verzeichnis nicht gefunden
./test_uscan_git: 103: eval: cannot create /foo/debian/watch: Directory 
nonexistent
./test_uscan_git: 120: cd: can't cd to /foo
testExcludeXZ

testRepackZip_XZ
ok 147
ok 148


[...]

testSuffix

Ran 2 tests.

FAILED (failures=1)
make[3]: *** [Makefile:24: test_debrepro.test] Fehler 1
make[3]: *** Es wird auf noch nicht beendete Prozesse gewartet....
gpgv: Signatur vom Di 19 Mär 2019 11:54:42 CET
gpgv:                mittels RSA-Schlüssel 
CF218F0E7EABF584B7E20402C77E2D6872543FAF
gpgv: Korrekte Signatur von "uscan test key (no secret) <n...@debian.org>"
127.0.0.1 - - [19/Mar/2019 11:54:43] "GET / HTTP/1.1" 200 -
uscan: Newest version of foo on remote site is 1, local version is 0+dfsg1
 (mangled local version is 0)
uscan:    => Newer package available from
      http://localhost:46747/foo-1.tar.gz
127.0.0.1 - - [19/Mar/2019 11:54:43] "GET /foo-1.tar.gz HTTP/1.1" 200 -
127.0.0.1 - - [19/Mar/2019 11:54:43] code 404, message File not found
127.0.0.1 - - [19/Mar/2019 11:54:43] "HEAD /foo-1.tar.gz.asc HTTP/1.1" 404 -
127.0.0.1 - - [19/Mar/2019 11:54:43] code 404, message File not found
127.0.0.1 - - [19/Mar/2019 11:54:43] "HEAD /foo-1.tar.gz.gpg HTTP/1.1" 404 -
127.0.0.1 - - [19/Mar/2019 11:54:43] code 404, message File not found
127.0.0.1 - - [19/Mar/2019 11:54:43] "HEAD /foo-1.tar.gz.pgp HTTP/1.1" 404 -
127.0.0.1 - - [19/Mar/2019 11:54:43] code 404, message File not found
127.0.0.1 - - [19/Mar/2019 11:54:43] "HEAD /foo-1.tar.gz.sig HTTP/1.1" 404 -

127.0.0.1 - - [19/Mar/2019 11:54:43] code 404, message File not found
127.0.0.1 - - [19/Mar/2019 11:54:43] "HEAD /foo-1.tar.gz.sign HTTP/1.1" 404 -
testGitUpstream
mktemp: konnte das Verzeichnis nicht mittels Schablone 
„/tmp/tmp.WYuPkK7dpO/tmp.XXXXXXXXXX“ erstellen: Datei oder Verzeichnis nicht 
gefunden
mkdir: das Verzeichnis „/foo“ kann nicht angelegt werden: Keine Berechtigung
mkdir: das Verzeichnis „/foo“ kann nicht angelegt werden: Keine Berechtigung
mkdir: das Verzeichnis „/repo“ kann nicht angelegt werden: Keine Berechtigung
./test_uscan_git: 36: cd: can't cd to /repo
Bestehendes Git-Repository in /home/cbe/debian/devscripts/devscripts/test/.git/ 
neuinitialisiert
Auf Branch master
Unversionierte Dateien:
        Makefile
        bashisms/
        dd-list/
        debdiff/


Christoph

Reply via email to