Re: Help with cdebootstrap_0.7.7

2017-12-22 Thread Chris Lamb
Dear Jathan,

> Have a nice weekend and enjoy your Christmas celebration!

You too!

   … and to everyone else CC'd!


Best wishes,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Re: Help with cdebootstrap_0.7.7

2017-12-22 Thread jathan
On 22/12/17 10:24, Chris Lamb wrote:
> Hi Jathan,
> 
>> Could you share some useful documentation or some practical tutorials
>> of what I need to learn in a best way?
> 
> I can't personally recommend any specific documentation or tutorials as
> I haven't read any myself, but have you tried starting with the
> debhelper(8)/dh(1) manpages?
> 
> Looking at existing packages that use dh(1) and override_* targets is
> also a really effective way of learning what is going on. For this,
> https://sources.debian.org and https://codesearch.debian.net are
> your trusty friends.
> 
> Investing some time in playing with the latter two services will pay
> real dividends over time as they can often answer questions far more
> general than this particular isolated case. :)
> 
> 
> Best wishes,
> 
Thank you very much Lamby! :)

I have read a little the dh manpage to have more context because your
observations about override_dh_fixperms in the past days and also the
Debian Packaging Tutorial of Lucas Nussbaum, but I will definitely
deepen with what are you suggesting me with both manpages.

I did not thought about to use https://codesearch.debian.net and you are
right :) https://codesearch.debian.net/search?q=override_dh_fixperms Now
I will have a lot of stuff to analyze and have more idea ;) Have a nice
weekend and enjoy your Christmas celebration!

Regards and a hug,
Jathan

-- 
Por favor evita enviarme adjuntos en formato de word o powerpoint, si
quieres saber porque lee esto:
http://www.gnu.org/philosophy/no-word-attachments.es.html
¡Cámbiate a GNU/Linux! http://getgnulinux.org/es



signature.asc
Description: OpenPGP digital signature
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Re: Help with cdebootstrap_0.7.7

2017-12-22 Thread Chris Lamb
Hi Jathan,

> Could you share some useful documentation or some practical tutorials
> of what I need to learn in a best way?

I can't personally recommend any specific documentation or tutorials as
I haven't read any myself, but have you tried starting with the
debhelper(8)/dh(1) manpages?

Looking at existing packages that use dh(1) and override_* targets is
also a really effective way of learning what is going on. For this,
https://sources.debian.org and https://codesearch.debian.net are
your trusty friends.

Investing some time in playing with the latter two services will pay
real dividends over time as they can often answer questions far more
general than this particular isolated case. :)


Best wishes,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds


Re: Help with cdebootstrap_0.7.7

2017-12-22 Thread jathan
On 21/12/17 09:56, Chris Lamb wrote:
> Jathan,
> 
 -   override_dh_fixperms $@ --parallel --with autoreconf
 +   dh $@ --parallel --with autoreconf
> 
> Ah, I think you have the diff the wrong way around; try re-ordering
> the arguments to diff(1) — in unified diffs, a "-" means a line was
> removed from the original whilst a "+" means a line was added.
> 
> .. but even when you do that, as I mentioned a few emails back,
> debhelper, dh & "override_dh_fixperms" do not interract like this,
> in a way that makes me think you are missing some fundamentals on
> the difference between Make targets and commands, etc. etc. :)
> 
> 
> Best wishes,
> 
Yes, you are right Lamby. I need to reinforce those fundamentals. Could
you share some useful documentation or some practical tutorials of what
I need to learn in a best way?,

Best regards!
Jathan

-- 
Por favor evita enviarme adjuntos en formato de word o powerpoint, si
quieres saber porque lee esto:
http://www.gnu.org/philosophy/no-word-attachments.es.html
¡Cámbiate a GNU/Linux! http://getgnulinux.org/es



signature.asc
Description: OpenPGP digital signature
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Re: Help with cdebootstrap_0.7.7

2017-12-21 Thread Chris Lamb
Jathan,

> >> -   override_dh_fixperms $@ --parallel --with autoreconf
> >> +   dh $@ --parallel --with autoreconf

Ah, I think you have the diff the wrong way around; try re-ordering
the arguments to diff(1) — in unified diffs, a "-" means a line was
removed from the original whilst a "+" means a line was added.

.. but even when you do that, as I mentioned a few emails back,
debhelper, dh & "override_dh_fixperms" do not interract like this,
in a way that makes me think you are missing some fundamentals on
the difference between Make targets and commands, etc. etc. :)


Best wishes,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Re: Help with cdebootstrap_0.7.7

2017-12-21 Thread jathan
On 20/12/17 14:53, Chris Lamb wrote:
> Hi jathan,
> 
>> An apology for my mistake. This is the correct newest one:
> […] 
>>  %:
>> -   override_dh_fixperms $@ --parallel --with autoreconf
>> +   dh $@ --parallel --with autoreconf
> 
> Sorry but this cannot be the right diff as the original cdebootstrap
> debian/rules does not have override_dh_fixperms here. Perhaps you
> are starting at the wrong file.
> 
> 
> Regards,
> 
Hello Lamby,

I have executed diff between the original cdebootstrap debian/rules file
and the one I have modified following your suggestion about diff -U and
adding now the override_dh_fixperms variable option (instead of
dh_fixperms). I have executed all the command in the next way:

diff --unified
Desktop/timestamps_in_tarball/cdebootstrap-0.7.7+nmu1/debian/rules
Desktop/timestamps_in_tarball_2/cdebootstrap-0.7.7/debian/rules >
/home/jathan/Desktop/cdebootstrap_debian_rules_differences_20-12-17.txt

In which timestamps_in_tarball directory is the one modified by me in
the debian/rules file and the timestamps_in_tarball_2 just has the
original contents of cdebootstrap-0.7.7 Am I doing something wrong or
should I execute the diff command in another way please?

Best regards!
Jathan

-- 
Por favor evita enviarme adjuntos en formato de word o powerpoint, si
quieres saber porque lee esto:
http://www.gnu.org/philosophy/no-word-attachments.es.html
¡Cámbiate a GNU/Linux! http://getgnulinux.org/es



signature.asc
Description: OpenPGP digital signature
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Re: Help with cdebootstrap_0.7.7

2017-12-20 Thread Chris Lamb
Hi jathan,

> An apology for my mistake. This is the correct newest one:
[…] 
>  %:
> -   override_dh_fixperms $@ --parallel --with autoreconf
> +   dh $@ --parallel --with autoreconf

Sorry but this cannot be the right diff as the original cdebootstrap
debian/rules does not have override_dh_fixperms here. Perhaps you
are starting at the wrong file.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Re: Help with cdebootstrap_0.7.7

2017-12-20 Thread jathan
On 20/12/17 10:08, Chris Lamb wrote:
> Hi jathan,
> 
>> --- rules_cdemod 2017-12-04 16:14:03.523436000 -0600
>> +++ rules_cdeorig2017-02-26 12:45:41.0 -0600
>> @@ -8,5 +8,5 @@
>>
>>  %:
>> -override_dh_fixperms $@ --parallel --with autoreconf
>> +dh $@ --parallel --with autoreconf
> 
> I think you pasted the wrong diff; the original cdebootstrap debian/rules
> does not have override_dh_fixperms here.
> 
> 
> Regards,
> 
An apology for my mistake. This is the correct newest one:

---
Escritorio/timestamps_in_tarball/cdebootstrap-0.7.7+nmu1/debian/rules
   2017-12-20 08:56:12.753128763 -0600
+++ Escritorio/timestamps_in_tarball_2/cdebootstrap-0.7.7/debian/rules
2017-02-26 12:45:41.0 -0600
@@ -7,7 +7,7 @@
 include /usr/share/dpkg/default.mk

 %:
-   override_dh_fixperms $@ --parallel --with autoreconf
+   dh $@ --parallel --with autoreconf

 override_dh_auto_configure:
dh_auto_configure --builddir build-deb -- \
@@ -38,7 +38,7 @@

dh_auto_install --builddir build-tar --destdir debian/tmp
strip --remove-section=.comment --remove-section=.note
debian/tmp/usr/bin/cdebootstrap
-   tar -C debian/tmp/usr/bin --mode=go=rX,u+rw,a-s
--mtime=@$(SOURCE_DATE_EPOCH) -cf
debian/tmp/cdebootstrap_$(DEB_VERSION)_$(DEB_HOST_ARCH).tar .
+   tar -C debian/tmp/usr/bin --mtime=@$(SOURCE_DATE_EPOCH) -cf
debian/tmp/cdebootstrap_$(DEB_VERSION)_$(DEB_HOST_ARCH).tar .
mkdir -p debian/cdebootstrap-static/usr/lib/cdebootstrap
cp debian/tmp/cdebootstrap_$(DEB_VERSION)_$(DEB_HOST_ARCH).tar
debian/cdebootstrap-static/usr/lib/cdebootstrap

-- 
Por favor evita enviarme adjuntos en formato de word o powerpoint, si
quieres saber porque lee esto:
http://www.gnu.org/philosophy/no-word-attachments.es.html
¡Cámbiate a GNU/Linux! http://getgnulinux.org/es



signature.asc
Description: OpenPGP digital signature
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Re: Help with cdebootstrap_0.7.7

2017-12-20 Thread jathan
On 06/12/17 01:45, Chris Lamb wrote:
> Hi jathan,
> 
>> I send you attached the differences about the cdebootstrap
>> debian/rules original file and the one I have modified.
> 
> Thanks! Just as a two helpful pointers here; first, I think the diff was
> so short to not justify an attachment (ie. it could have been copy-pasted
> into the mail). Secondly, the default output from the diff command is not
> very readable - try using the "unified" setting, eg. diff -U file-a file-b.
> 
>> dh_fixperms clean --parallel --with autoreconf
> 
> Hm, I fear you have some fundamental confusion about how "dh" works here.
> 
> Assuming that dh_fixperms is the route to the solution, were you trying
> to call dh_fixperms with particular settings? If so, you probably want
> to grep for "overrides" eg. something like adding a override_dh_fixperms
> target?
> 
> 
> Regards,
> 
Hello Lamby!

Thanks a lot for your observations about diff. I have been reading some
stuff about Deb Helper and trying to execute debuild -S, but I still
obtaining the same error and these are the differences between the
orginal file and my modifications:

--- rules_cdemod2017-12-04 16:14:03.523436000 -0600
+++ rules_cdeorig   2017-02-26 12:45:41.0 -0600
@@ -8,5 +8,5 @@

 %:
-   override_dh_fixperms $@ --parallel --with autoreconf
+   dh $@ --parallel --with autoreconf

 override_dh_auto_configure:
@@ -39,5 +39,5 @@
dh_auto_install --builddir build-tar --destdir debian/tmp
strip --remove-section=.comment --remove-section=.note
debian/tmp/usr/bin/cdebootstrap
-   tar -C debian/tmp/usr/bin --mode=go=rX,u+rw,a-s
--mtime=@$(SOURCE_DATE_EPOCH) -cf
debian/tmp/cdebootstrap_$(DEB_VERSION)_$(DEB_HOST_ARCH).tar .
+   tar -C debian/tmp/usr/bin --mtime=@$(SOURCE_DATE_EPOCH) -cf
debian/tmp/cdebootstrap_$(DEB_VERSION)_$(DEB_HOST_ARCH).tar .
mkdir -p debian/cdebootstrap-static/usr/lib/cdebootstrap
cp debian/tmp/cdebootstrap_$(DEB_VERSION)_$(DEB_HOST_ARCH).tar
debian/cdebootstrap-static/usr/lib/cdebootstrap

Regards.

-- 
Por favor evita enviarme adjuntos en formato de word o powerpoint, si
quieres saber porque lee esto:
http://www.gnu.org/philosophy/no-word-attachments.es.html
¡Cámbiate a GNU/Linux! http://getgnulinux.org/es



signature.asc
Description: OpenPGP digital signature
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Re: Help with cdebootstrap_0.7.7

2017-12-20 Thread Chris Lamb
Hi jathan,

> --- rules_cdemod  2017-12-04 16:14:03.523436000 -0600
> +++ rules_cdeorig 2017-02-26 12:45:41.0 -0600
> @@ -8,5 +8,5 @@
> 
>  %:
> - override_dh_fixperms $@ --parallel --with autoreconf
> + dh $@ --parallel --with autoreconf

I think you pasted the wrong diff; the original cdebootstrap debian/rules
does not have override_dh_fixperms here.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds


Re: Help with cdebootstrap_0.7.7

2017-12-20 Thread jathan
On 06/12/17 01:45, Chris Lamb wrote:
> Hi jathan,
> 
>> I send you attached the differences about the cdebootstrap
>> debian/rules original file and the one I have modified.
> 
> Thanks! Just as a two helpful pointers here; first, I think the diff was
> so short to not justify an attachment (ie. it could have been copy-pasted
> into the mail). Secondly, the default output from the diff command is not
> very readable - try using the "unified" setting, eg. diff -U file-a file-b.
> 
>> dh_fixperms clean --parallel --with autoreconf
> 
> Hm, I fear you have some fundamental confusion about how "dh" works here.
> 
> Assuming that dh_fixperms is the route to the solution, were you trying
> to call dh_fixperms with particular settings? If so, you probably want
> to grep for "overrides" eg. something like adding a override_dh_fixperms
> target?
> 
> 
> Regards,
> 
Hello Lamby!

Thanks a lot for your observations about diff. I have been reading some
stuff about Deb Helper and trying to execute debuild -S, but I still
obtaining the same error and these are the differences between the
orginal file and my modifications:

--- rules_cdemod2017-12-04 16:14:03.523436000 -0600
+++ rules_cdeorig   2017-02-26 12:45:41.0 -0600
@@ -8,5 +8,5 @@

 %:
-   override_dh_fixperms $@ --parallel --with autoreconf
+   dh $@ --parallel --with autoreconf

 override_dh_auto_configure:
@@ -39,5 +39,5 @@
dh_auto_install --builddir build-tar --destdir debian/tmp
strip --remove-section=.comment --remove-section=.note
debian/tmp/usr/bin/cdebootstrap
-   tar -C debian/tmp/usr/bin --mode=go=rX,u+rw,a-s
--mtime=@$(SOURCE_DATE_EPOCH) -cf
debian/tmp/cdebootstrap_$(DEB_VERSION)_$(DEB_HOST_ARCH).tar .
+   tar -C debian/tmp/usr/bin --mtime=@$(SOURCE_DATE_EPOCH) -cf
debian/tmp/cdebootstrap_$(DEB_VERSION)_$(DEB_HOST_ARCH).tar .
mkdir -p debian/cdebootstrap-static/usr/lib/cdebootstrap
cp debian/tmp/cdebootstrap_$(DEB_VERSION)_$(DEB_HOST_ARCH).tar
debian/cdebootstrap-static/usr/lib/cdebootstrap

Regards.

-- 
Por favor evita enviarme adjuntos en formato de word o powerpoint, si
quieres saber porque lee esto:
http://www.gnu.org/philosophy/no-word-attachments.es.html
¡Cámbiate a GNU/Linux! http://getgnulinux.org/es



signature.asc
Description: OpenPGP digital signature
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Re: Help with cdebootstrap_0.7.7

2017-12-05 Thread Chris Lamb
Hi jathan,

> I send you attached the differences about the cdebootstrap
> debian/rules original file and the one I have modified.

Thanks! Just as a two helpful pointers here; first, I think the diff was
so short to not justify an attachment (ie. it could have been copy-pasted
into the mail). Secondly, the default output from the diff command is not
very readable - try using the "unified" setting, eg. diff -U file-a file-b.

> dh_fixperms clean --parallel --with autoreconf

Hm, I fear you have some fundamental confusion about how "dh" works here.

Assuming that dh_fixperms is the route to the solution, were you trying
to call dh_fixperms with particular settings? If so, you probably want
to grep for "overrides" eg. something like adding a override_dh_fixperms
target?


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds


Re: Help with cdebootstrap_0.7.7

2017-12-05 Thread jathan
On 29/11/17 20:37, Chris Lamb wrote:
> Hi jathan,
> 
> I am really happy to see you investigating this — thank you :)
> 
>> #!/usr/bin/make -f
>>
>> # Uncomment this to turn on verbose mode.
>> #export DH_VERBOSE=1
> […]
> 
> So it's unclear what you are changing in this file - perhaps could
> you provide diff(1) output between the versions?
> 
>> Am I right? Thanks and regards.
> 
> Well, why not try it and see? :)
> 
> 
> Best wishes,
> 
Hi Lamby! Thank you very much. I am very happy also of participating and
enjoying Reproducible Builds Team and its activity :) I send you
attached the differences about the cdebootstrap debian/rules original
file and the one I have modified. Also when I am trying to execute
debuild -S I obtain the next output:

$ debuild -S
 dpkg-buildpackage -rfakeroot -us -uc -S
dpkg-buildpackage: info: source package cdebootstrap
dpkg-buildpackage: info: source version 0.7.7+nmu1
dpkg-buildpackage: info: source distribution UNRELEASED
dpkg-buildpackage: info: source changed by Jonathan Bustillos

 dpkg-source --before-build cdebootstrap-0.7.7+nmu1
 fakeroot debian/rules clean
dh_fixperms clean --parallel --with autoreconf
Unknown option: parallel
Unknown option: with
dh_fixperms: unknown option; aborting
debian/rules:10: recipe for target 'clean' failed
make: *** [clean] Error 25
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit
status 2
debuild: fatal error at line 1116:
dpkg-buildpackage -rfakeroot -us -uc -S failed
jathan@debian:~/cdebootstrap-0.7.7+nmu1$

Can you help me please?

-- 
Por favor evita enviarme adjuntos en formato de word o powerpoint, si
quieres saber porque lee esto:
http://www.gnu.org/philosophy/no-word-attachments.es.html
¡Cámbiate a GNU/Linux! http://getgnulinux.org/es
10c10
<   dh_fixperms $@ --parallel --with autoreconf
---
>   dh $@ --parallel --with autoreconf
41c41
<   tar -C debian/tmp/usr/bin --mode=go=rX,u+rw,a-s 
--mtime=@$(SOURCE_DATE_EPOCH) -cf 
debian/tmp/cdebootstrap_$(DEB_VERSION)_$(DEB_HOST_ARCH).tar .
---
>   tar -C debian/tmp/usr/bin --mtime=@$(SOURCE_DATE_EPOCH) -cf 
> debian/tmp/cdebootstrap_$(DEB_VERSION)_$(DEB_HOST_ARCH).tar .


signature.asc
Description: OpenPGP digital signature
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Re: Help with cdebootstrap_0.7.7

2017-11-29 Thread Chris Lamb
Hi jathan,

I am really happy to see you investigating this — thank you :)

> #!/usr/bin/make -f
> 
> # Uncomment this to turn on verbose mode.
> #export DH_VERBOSE=1
[…]

So it's unclear what you are changing in this file - perhaps could
you provide diff(1) output between the versions?

> Am I right? Thanks and regards.

Well, why not try it and see? :)


Best wishes,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Re: Help with cdebootstrap_0.7.7

2017-11-29 Thread jathan
On 21/11/17 23:41, Chris Lamb wrote:
> Hi Jathan,
> 
>> Since I found the SOURCE_DATE_EPOCH variable in line 41 already. Can
>> someone help to explain me what I need to do please?
> 
> I think your mistake is thinking that the difference between the two
> builds is related to timestamps.
> 
> Have another look at the diffoscope output; you'll see that the remaining
> diff between the first and second builds is nothing to do with times (and
> thus SOURCE_DATE_EPOCH is not relevant here).
> 
> Hope that helps nudge you in the right direction... :)
> 
> 
> Best wishes,
> 
Hello Lamby,

Thanks a lot for your response. Thinking about you have told me, I have
read about "Permissions in data.tar depends on umask" and "Other umask
related variations" in our HowTo
https://wiki.debian.org/ReproducibleBuilds/Howto#Permissions_in_data.tar_depends_on_umask,
considering myself this is the direction I need to follow to patch
cdebootstrap. Based on this, I am thinking about modify the
cdebootstrap's debian/rules file adding the dh_fixperms and
--mode=go=rX,u+rw,a-s values in the next way:

#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk

%:
dh_fixperms $@ --parallel --with autoreconf

override_dh_auto_configure:
dh_auto_configure --builddir build-deb -- \
--with-dpkg-arch=$(DEB_HOST_ARCH) \
--with-frontend=standalone
dh_auto_configure --builddir build-static -- \
--with-dpkg-arch=$(DEB_HOST_ARCH) \
--enable-static \
--with-configdir=\$${datadir}/cdebootstrap-static \
--with-frontend=standalone
dh_auto_configure --builddir build-tar -- \
--with-dpkg-arch=$(DEB_HOST_ARCH) \
--enable-static \
--with-configdir=BINARY/cdebootstrap-support \
--with-frontend=standalone

override_dh_auto_build:
dh_auto_build --builddir build-deb
dh_auto_build --builddir build-static
dh_auto_build --builddir build-tar

override_dh_auto_install:
dh_auto_install --builddir build-deb --destdir debian/cdebootstrap

dh_auto_install --builddir build-static --destdir
debian/cdebootstrap-static
mv debian/cdebootstrap-static/usr/bin/cdebootstrap
debian/cdebootstrap-static/usr/bin/cdebootstrap-static
mv debian/cdebootstrap-static/usr/share/man/man1/cdebootstrap.1
debian/cdebootstrap-static/usr/share/man/man1/cdebootstrap-static.1

dh_auto_install --builddir build-tar --destdir debian/tmp
strip --remove-section=.comment --remove-section=.note
debian/tmp/usr/bin/cdebootstrap
tar -C --mode=go=rX,u+rw,a-s debian/tmp/usr/bin
--mtime=@$(SOURCE_DATE_EPOCH) -cf debian/tmp/
cdebootstrap_$(DEB_VERSION)_$(DEB_HOST_ARCH).tar .
mkdir -p debian/cdebootstrap-static/usr/lib/cdebootstrap
cp debian/tmp/cdebootstrap_$(DEB_VERSION)_$(DEB_HOST_ARCH).tar
debian/cdebootstrap-static/usr/lib/cdebootstrap

( echo -n "misc:Built-Using="; dpkg-query -f='$${source:Package}
(= $${source:Version}), ' -W libc6-dev libdebian-installer4-dev
libdebconfclient0-dev libbz2-dev liblzma-dev zlib1g-dev; echo ) >>
debian/cdebootstrap-static.substvars

override_dh_auto_clean:
-rm -rf build-*

Am I right? Thanks and regards.

Jathan

-- 
Por favor evita enviarme adjuntos en formato de word o powerpoint, si
quieres saber porque lee esto:
http://www.gnu.org/philosophy/no-word-attachments.es.html
¡Cámbiate a GNU/Linux! http://getgnulinux.org/es



signature.asc
Description: OpenPGP digital signature
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Re: Help with cdebootstrap_0.7.7

2017-11-21 Thread Chris Lamb
Hi Jathan,

> Since I found the SOURCE_DATE_EPOCH variable in line 41 already. Can
> someone help to explain me what I need to do please?

I think your mistake is thinking that the difference between the two
builds is related to timestamps.

Have another look at the diffoscope output; you'll see that the remaining
diff between the first and second builds is nothing to do with times (and
thus SOURCE_DATE_EPOCH is not relevant here).

Hope that helps nudge you in the right direction... :)


Best wishes,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds


Help with cdebootstrap_0.7.7

2017-11-21 Thread jathan
Hi everyone!

I am retaking the activity in the team after being in Havana
participating at the CubaConf and a hard week of work back to Mexico
City. In an opportunity, I will convert and share some videos of the
MiniDebConf at CubaConf that we have been able to record, including some
minutes of the Debian Reproducible Builds talk :)

I have selected the package cdebootstrap_0.7.7 to patch it and to send
the bug report related. In its Diffoscope results
https://tests.reproducible-builds.org/debian/rb-pkg/stretch/amd64/diffoscope-results/cdebootstrap.html,
I see that the cdebootstrap_0.7.7_amd64.tar file is the one I need to
specify at seems in the debian/rules file, but I am not sure what I need
to modify in its content:

https://sources.debian.net/src/cdebootstrap/0.7.7/debian/rules/

Since I found the SOURCE_DATE_EPOCH variable in line 41 already. Can
someone help to explain me what I need to do please?

Best regards,
Jathan

-- 
Por favor evita enviarme adjuntos en formato de word o powerpoint, si
quieres saber porque lee esto:
http://www.gnu.org/philosophy/no-word-attachments.es.html
¡Cámbiate a GNU/Linux! http://getgnulinux.org/es



signature.asc
Description: OpenPGP digital signature
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds