>from the origtgz (and thus should have the correct permissions,
>unless tar does not extract them right).
I guess it doesn’t:
(pbuild1029-sid/amd64)root@tglase:/tmp/buildd/musescore-3.2.3+dfsg1 # ll
share/workspaces/
total 168
-rw-rw-r-- 1 pbuilder pbuilder 136628 Jul 6 2019 Advanced.xml
-rw-rw-r-- 1 pbuilder pbuilder 26328 Jul 6 2019 Basic.xml
-rw-rw-r-- 1 pbuilder pbuilder 1816 Jul 6 2019 CMakeLists.txt
When:
tglase@tglase:~/Projekte/musescore $ tar tavf
../musescore_3.2.3+dfsg1.orig.tar.xz | fgrep share/workspaces
drwxr-xr-x 0/0 0 2019-07-06 11:44
musescore-3.2.3+dfsg1.orig/share/workspaces/
-rw-r--r-- 0/0 1816 2019-07-06 11:44
musescore-3.2.3+dfsg1.orig/share/workspaces/CMakeLists.txt
-rw-r--r-- 0/0 26328 2019-07-06 11:44
musescore-3.2.3+dfsg1.orig/share/workspaces/Basic.xml
-rw-r--r-- 0/0 136628 2019-07-06 11:44
musescore-3.2.3+dfsg1.orig/share/workspaces/Advanced.xml
Isn’t this a bug? tar xavf *.orig.tar.* (also paxtar) retain the
permissions from the original tarball.
I just checked, dpkg-source -x does this. I consider this a bug in it.
The second thing is, the files are generated 664…
(pbuild1029-sid/amd64)root@tglase:/tmp/buildd/musescore-3.2.3+dfsg1 # ll
obj-x86_64-linux-gnu/share/workspaces/Advanced/*
<
-rw-rw-r-- 1 pbuilder pbuilder 136628 Feb 7 21:17
obj-x86_64-linux-gnu/share/workspaces/Advanced/Advanced.xml
obj-x86_64-linux-gnu/share/workspaces/Advanced/META-INF:
total 4
-rw-rw-r-- 1 pbuilder pbuilder 134 Feb 7 21:17 container.xml
… although the first one is just copied from the above one that
was extracted wrongly, and the second one created from…
-rw-rw-r-- 1 pbuilder pbuilder 132 Jul 6 2019 build/container.xml.in
… which was also extracted badly, and I assume cmake’s
configure_file() and cmake -E copy_if_different retain
the permissions.
bye,
//mirabilos
--
15:39⎜«mika:#grml» mira|AO: "mit XFree86® wär’ das nicht passiert" - muhaha
15:48⎜<thkoehler:#grml> also warum machen die xorg Jungs eigentlich alles
kaputt? :) 15:49⎜<novoid:#grml> thkoehler: weil sie als Kinder nie den
gebauten Turm selber umschmeissen durften? -- ~/.Xmodmap wonders…
_______________________________________________
[email protected] mailing list
To change your subscription options, visit
https://lists.reproducible-builds.org/listinfo/rb-general.
To unsubscribe, send an email to
[email protected].