Re: Help with cdebootstrap_0.7.7
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
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
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
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
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 <jathanblack...@openmailbox.org> 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
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
Help with cdebootstrap_0.7.7
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
First Spanish Debian Reproducible Builds talk in Mexico City
Hi everyone. I glad to share tomorrow at 11:00 hrs. of Mexico City Local Time Zone, I will be presenting my first talk about Debian Reproducible Builds (based on some h0lger, lamby and lunar previous talks) in the Mexico Hackmeeting 2017 at the Hackerspace "Rancho Electronico": https://ranchoelectronico.org/hackmitin-2017-call4nodos/ https://calc.mazorca.org/parillanodoshm17 I have pushed already my slides to our repo: https://anonscm.debian.org/cgit/reproducible/presentations.git/tree/2017-10-28-HackmitinCDMX17 And I will base on these slides my presentation for CubaConf :) Maybe tomorrow's talk will be live streamed through CoAA TV platform https://coaa.tv/ if someone wants to try to watch. 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: Question about strip-nondeterminism in bsh
On 16/10/17 14:41, Chris Lamb wrote: > Jathan, > >> include /usr/share/dpkg/pkg-info.mk >> >> export SOURCE_DATE_EPOCH = $(call >> dpkg_late_eval,SOURCE_DATE_EPOCH,dpkg-parsechangelog -STimestamp) >> or >> export SOURCE_DATE_EPOCH = $(shell dpkg-parsechangelog -STimestamp) > > I fear you are confused here — if you include include > /usr/share/dpkg/pkg-info.mk, SOURCE_DATE_EPOCH will be exported for > you. Indeed, that's the entire point of using this include :) > >> How can I see the /usr/share/dpkg/pkg-info.mk you have used for >> pkg-python-daiquiri to make a comparison of contents > > Hm? I don't understand why you would need to see mine? It's > almost certainly the same… > > > Regards, > Perfect! Now I understand much better. Thanks a lot for detailing this last part. I wanted to see your /usr/share/dpkg/pkg-info.mk thinking before you could have a specific content for pkg-python-daiquiri on it. So I just need to add the line: include /usr/share/dpkg/pkg-info.mk And it would be enough without any more lines like the export ones right? 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: Question about strip-nondeterminism in bsh
On 16/10/17 14:43, Chris Lamb wrote: > Jathan, > >> there are not any content related to tar archives in the source code >> of strip-nondeterminism, I think tar archives format is not yet >> supported. > > Correct. :) > > > Regards, > Thank you for teaching me to think more technically and to learn from what has emerged in Reproducible Builds Lamby. So now I can safely say to Emmanuel Bourg that tar timestamps are not yet normalized by strip-nondeterminism and me keep working on the bsh corrections based on the bug comments right? :) -- 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: Question about strip-nondeterminism in bsh
On 12/10/17 11:59, Daniel Kahn Gillmor wrote: > On Thu 2017-10-12 03:02:49 +0100, Chris Lamb wrote: > >> The GitHub repositories are read-only mirrors. If you are checking out >> the code as a member of the Reproducible Builds team, then it makes more >> sense to get it from Alioth, for example: >> >> $ git clone git.debian.org:/git/reproducible/strip-nondeterminism > > or: > > debcheckout strip-nondeterminism > > That'll give you a local mirror that you can use to track upstream > changes, and to make your own changes. But you won't be able to > immediately push back to the upstream repo. > > If you've made commits and you want to push them upstream and you've got > privileges to do so on alioth (i think you do, since "jathan-guest" is a > member of "scm_reproducible"), you can enable the local repo for pushing > like this: > >cd strip-nondeterminism >git config remote.origin.pushurl > git.debian.org:/git/reproducible/strip-nondeterminism > > hth, > > --dkg > > > > ___ > Reproducible-builds mailing list > Reproducible-builds@lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds > Wow! Thanks a lot for sharing this dkg :) I will consider this as another viable option. 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: Question about strip-nondeterminism in bsh
On 09/10/17 10:43, Chris Lamb wrote: > Hi jathan, > >> Thank you very much for your answer. Following your suggestion, I have >> checked the source code of strip-nondeterminism in its versions 0.034-1 >> and 0.038-1 (https://sources.debian.net/ […] > > Out of interest, why not check out the code from git instead of > sources.debian.net? > >> and because the contents related to timestamps in both versions, I think >> timestamps it is already normalized by strip-nondeterminism > > What, exactly, makes you say that tar archives are normalised by strip- > nondeterminism? I don't really follow what you mean by "the contents > related to timestamps in both versions". > > > Regards, > Hi Lamby. Perfect, I will check the GitHub code instead of Debian Sources. I was thinking tar archives are normalised by strip-nondeterminism based on the next contents: https://raw.githubusercontent.com/ReproducibleBuilds/strip-nondeterminism/master/bin/strip-nondeterminism B is a tool to strip bits of nondeterministic information, such as timestamps, from files. It can be used as a post-processing step to make a build reproducible, when the build process itself cannot be made deterministic. =item B<-T> I, B<--timestamp> I Instead of stripping timestamps from files, set them to the given number of seconds since January 1, 1970. =item B<--clamp-timestamp> Only replace timestamps if they are later than the time specified to B<--timestamp>. You can use this option to ensure that only timestamps introduced as part of the build process are replaced. NOT YET IMPLEMENTED FOR ALL FILE FORMATS. my $cmd = $0; $cmd =~ s/.*\///; my $usage = "Usage: $cmd [-v|--verbose] [-t|--type FILETYPE] [-T|--timestamp SECONDS] [--clamp-timestamp] FILENAME\n"; my ($filetype, $timestamp, $clamp_timestamp, $want_help, $verbose, $want_version); my $getopt = Getopt::Long::Parser->new; $getopt->configure(qw(no_ignore_case permute bundling)); $getopt->getoptions( 'type|t=s', \$filetype, 'timestamp|T=i', \$timestamp, 'clamp-timestamp!', \$clamp_timestamp, 'help|h', \$want_help, 'verbose|v', \$verbose, 'version|V', \$want_version ) or die $usage; $File::StripNondeterminism::canonical_time = $timestamp; $File::StripNondeterminism::clamp_time = $clamp_timestamp; print "$cmd: Not using a canonical time\n" if not defined $timestamp and $verbose; for my $filename (@ARGV) { die "$filename: Does not exist\n" unless -e $filename; -- 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: apg bug report #870890 fixed in last version
On 09/10/17 03:34, Mattia Rizzolo wrote: > On Sun, Oct 08, 2017 at 11:40:27PM -0500, jathan wrote: >> Hi everyone. I have read in the last message of bug report #870890 that >> the bug is already fixed in the last version of apg. Do I need to do >> something else regarding to update some file of Reproducible Builds Team >> to record this apg status? > > I think you are talking of the note that appears in the apg's > reproducible page? Usually nothing, we have automation in place to > automatically remove archived bugs, so that bug would be removed in ~2 > months. > > But given that you asked about it, I've now removed it manually :) > > > > ___ > Reproducible-builds mailing list > Reproducible-builds@lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds > Thanks a lot for your answer Mattia. Best 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
apg bug report #870890 fixed in last version
Hi everyone. I have read in the last message of bug report #870890 that the bug is already fixed in the last version of apg. Do I need to do something else regarding to update some file of Reproducible Builds Team to record this apg status? -- 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: Question about strip-nondeterminism in bsh
On 04/10/17 01:29, Chris Lamb wrote: > Hi jathan, > >> "Aren't tar timestamps already normalized by strip-nondeterminism >> though?" How can I know that please to tell him? > > So, have you checked out the source for strip-nondeterminism? It > should be pretty clear what file formats are supported and which > are not. :) > > Let us know if you need a hand finding (or not finding!) stuff. > > > Best wishes, > Hello lamby! Thank you very much for your answer. Following your suggestion, I have checked the source code of strip-nondeterminism in its versions 0.034-1 and 0.038-1 (https://sources.debian.net/src/strip-nondeterminism/0.034-1/bin/strip-nondeterminism/ and https://sources.debian.net/src/strip-nondeterminism/0.038-1/bin/strip-nondeterminism/) and because the contents related to timestamps in both versions, I think timestamps it is already normalized by strip-nondeterminism. So in case to be right, I will affirm this to Emmanuel Bourg, but now I have the doubt how I need to keep going with bsh issue if strip-nondeterminism supports timestamps. Regarding to your observation in the bug #877470 (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=877470) and because the situation about strip-nondeterminism supports timestamps, Should I still correct the bsh_2.0b4-18_2.0b4-18.1.debdiff result including your content corrections about --mtime="@$(SOURCE_DATE_EPOCH)"? Also I want to ask you what does it mean you actually use /usr/share/dpkg/pkg-info.mk for +SOURCE_DATE_EPOCH ?= $(shell dpkg-parsechangelog -STimestamp). Thanks a lot and sorry for my delay to reply, 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
Question about strip-nondeterminism in bsh
Hi everyone. I have submitted the bug #877470 about bsh to make it reproducible and Emmanuel Bourg has asked "Aren't tar timestamps already normalized by strip-nondeterminism though?" How can I know that please to tell him? 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 to make bsh reproducible
On 25/09/17 02:21, Chris Lamb wrote: > Hi jathan, > >> And because of that, I thought for bsh could be the same, but at seems >> it is a different situation: >> >> bsh-2.0b4$ grep -r php.tar.gz > > That would be totally expected because according to (for example): > > > https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/bsh.html > > … the non-reproducible file is called bsh.tar.gz, not php.tar.gz. This > is indeed generated debian/rules from a quick glance: > > http://sources.debian.net/src/bsh/2.0b4-18/debian/rules/#L31-L32 > > I trust that will be enough to get you to the next stage :) > > > Best wishes, > Thanks a lot Lamby! It is great to know in diffscope I could find that info :) I will keep going with that remark about bsh.tar.gz then. Really thanks. 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 to make bsh reproducible
On 19/09/17 12:36, Chris Lamb wrote: > Hey Jathan, > >> I just remember that after excuting grep -r php.tar.gz I edited the >> debian/rules file > > I'm certain I'm missing something (!) but I'm still not sure what > your grep is meant to find? Assuming you are finding no results, > what, exactly were you expecting to locate? :) > > > Best wishes, > Hi Lamby. Sorry for my delay. Regarding to your question, in apg I executed "grep -r php.tar.gz" to find the next content in debian/rules file: apg-2.2.3.dfsg.1$ grep -r php.tar.gz debian/rules: --mode=u=rwX,go=rX --sort=name | gzip --no-name > php.tar.gz debian/rules: install -D --mode=0644 php.tar.gz $(CURDIR)/debian/apg/usr/share/doc/apg/php.tar.gz debian/rules: rm php.tar.gz And because of that, I thought for bsh could be the same, but at seems it is a different situation: bsh-2.0b4$ grep -r php bsh-2.0b4$ grep -r php.tar.gz bsh-2.0b4$(nothing found about php.tar.gz in any file) I thought for all the timestamps in tarball issues I could do the same resolution steps as apg exactly, but obviously not since the explanations I have had asking in IRC and in the mailing list. -- 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 to make bsh reproducible
On 18/09/17 03:02, Chris Lamb wrote: > Hi jathan, > > Thanks for working on apg in the past and thank you for taking on > another package :) > >> following the steps that I did with apg, but in the part which I >> do a grep -r > > Can you elaborate on exactly what you want (or are expecting?) to > find with this grep? > > > Regards, > Hi Chris, Thanks a lot for your kind words and your reply. I think I just was following the same commands order expecting to have the same results of apg for bsh, even I just remember that after excuting grep -r php.tar.gz I edited the debian/rules file of apg adding the content I said in the past Email. 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