From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 11 14:57:25 2017 Received: (at submit) by debbugs.gnu.org; 11 Aug 2017 18:57:25 +0000 Received: from localhost ([127.0.0.1]:55994 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgF7X-0007TU-9Q for submit@debbugs.gnu.org; Fri, 11 Aug 2017 14:57:25 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33320) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgF7U-0007TE-MM for submit@debbugs.gnu.org; Fri, 11 Aug 2017 14:57:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dgF7N-0007jo-M8 for submit@debbugs.gnu.org; Fri, 11 Aug 2017 14:57:11 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:48185) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dgF7N-0007ji-IH for submit@debbugs.gnu.org; Fri, 11 Aug 2017 14:57:09 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52517) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgF7L-0001WA-KO for guix-patches@gnu.org; Fri, 11 Aug 2017 14:57:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dgF7H-0007eg-Vp for guix-patches@gnu.org; Fri, 11 Aug 2017 14:57:07 -0400 Received: from static-176-182-42-79.ncc.abo.bbox.fr ([176.182.42.79]:43400 helo=metebelis3) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dgF7H-0007aY-HY for guix-patches@gnu.org; Fri, 11 Aug 2017 14:57:03 -0400 Received: from localhost (bbox.lan [192.168.1.254]) by metebelis3 (OpenSMTPD) with ESMTPSA id 0aaa1da7 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Fri, 11 Aug 2017 18:56:59 +0000 (UTC) Date: Fri, 11 Aug 2017 20:56:12 +0200 From: Julien Lepiller To: guix-patches@gnu.org Subject: Add radare2 Message-ID: <20170811205612.14cc6088@lepiller.eu> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/S3usgm3gPL3=EVmw1a/D54I" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) --MP_/S3usgm3gPL3=EVmw1a/D54I Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, these patches add radare2, a reversing framework. --MP_/S3usgm3gPL3=EVmw1a/D54I Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0001-gnu-Add-capstone.patch >From fa5478ac8eccf51a62af574ef2be6316ba5c247b Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Fri, 11 Aug 2017 20:41:39 +0200 Subject: [PATCH 1/3] gnu: Add capstone. * gnu/packages/engineering.scm (capstone): New variable. --- gnu/packages/engineering.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 650ac2b89..8c6280c14 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1013,3 +1013,38 @@ specified in high-level description language into ready-to-compile C code for the API of spice simulators. Based on transformations specified in XML language, ADMS transforms Verilog-AMS code into other target languages.") (license license:gpl3))) + +(define-public capstone + (package + (name "capstone") + (version "3.0.5-rc2") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/aquynh/capstone/archive/" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1cqms9r2p43aiwp5spd84zaccp16ih03r7sjhrv16nddahj0jz2q")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f + #:make-flags (list (string-append "PREFIX=" %output) + "CC=gcc") + #:phases + (modify-phases %standard-phases + (delete 'configure) + (add-before 'build 'fix-cstool-ldflags + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "cstool/Makefile" + (("LDFLAGS =") + (string-append "LDFLAGS = -Wl,-rpath=" (assoc-ref outputs "out") + "/lib")))))))) + (home-page "http://www.capstone-engine.org") + (synopsis "Lightweight multi-platform, multi-architecture disassembly framework") + (description + "Capstone is a lightweight multi-platform, multi-architecture disassembly +framework. Capstone can disassemble machine code for many supported architectures +such as x86, x86_64, arm, arm64, mips, ppc, sparc, sysz and xcore. It provides +bindings for Python, Java, OCaml and more.") + (license license:bsd-3))) -- 2.14.1 --MP_/S3usgm3gPL3=EVmw1a/D54I Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0002-gnu-Add-python-capstone.patch >From 078c0cdedb620e7acdf9baea8924499ad5f8311a Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Fri, 11 Aug 2017 20:49:04 +0200 Subject: [PATCH 2/3] gnu: Add python-capstone. * gnu/packages/engineering.scm (python-capstone, python2-capstone): New variables. --- gnu/packages/engineering.scm | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 8c6280c14..6ba5131e7 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -32,7 +32,7 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) - #:use-module (guix build-system cmake) + #:use-module (guix build-system python) #:use-module (gnu packages) #:use-module (gnu packages algebra) #:use-module (gnu packages autotools) @@ -1048,3 +1048,28 @@ framework. Capstone can disassemble machine code for many supported architectur such as x86, x86_64, arm, arm64, mips, ppc, sparc, sysz and xcore. It provides bindings for Python, Java, OCaml and more.") (license license:bsd-3))) + +;; This package has a timestamp embedded in +;; lib/python3.5/site-packages/capstone/__pycache__/__iti__.cpython-35.pyc +(define-public python-capstone + (package + (inherit capstone) + (name "python-capstone") + (propagated-inputs + `(("capstone" ,capstone))) + (build-system python-build-system) + (arguments + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'chdir-and-fix-setup-py + (lambda _ + (chdir "bindings/python") + (substitute* "setup.py" ((".* build_libraries.*") "")) + (substitute* "capstone/__init__.py" + (("pkg_resources.resource_filename.*") + (string-append "'" (assoc-ref %build-inputs "capstone") "/lib',\n"))) + #t))))))) + +(define-public python2-capstone + (package-with-python2 python-capstone)) -- 2.14.1 --MP_/S3usgm3gPL3=EVmw1a/D54I Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0003-gnu-Add-radare2.patch >From ad50754454fdda9d4be91f6bc739df07fe63ecb6 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Fri, 11 Aug 2017 20:54:40 +0200 Subject: [PATCH 3/3] gnu: Add radare2. * gnu/packages/engineering.scm (radare2): New variable. --- gnu/packages/engineering.scm | 49 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 6ba5131e7..130703e93 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1073,3 +1073,52 @@ bindings for Python, Java, OCaml and more.") (define-public python2-capstone (package-with-python2 python-capstone)) + +(define-public radare2 + (package + (name "radare2") + (version "1.6.0") + (source (origin + (method url-fetch) + (uri (string-append "http://radare.mikelloc.com/get/" version "/" + name "-" version ".tar.gz")) + (sha256 + (base32 + "16ggsk40zz6hyvclvqj1r4bh4hb78jf0d6ppry1jk4r0j30wm7cm")) + (modules '((guix build utils))) + (snippet + '(begin + (substitute* "libr/asm/p/Makefile" + (("LDFLAGS\\+=") "LDFLAGS+=-Wl,-rpath=$(LIBDIR) ")) + (substitute* "libr/parse/p/Makefile" + (("LDFLAGS\\+=") "LDFLAGS+=-Wl,-rpath=$(LIBDIR) ")) + (substitute* "libr/bin/p/Makefile" + (("LDFLAGS\\+=") "LDFLAGS+=-Wl,-rpath=$(LIBDIR) ")))))) + (build-system gnu-build-system) + (arguments + '(#:tests? #f + #:phases + (modify-phases %standard-phases + (add-before 'configure 'mklibdir + (lambda* (#:key inputs #:allow-other-keys) + (mkdir-p (string-append (assoc-ref %outputs "out") "/lib"))))) + #:configure-flags + (list "--with-sysmagic" "--with-syszip" "--with-openssl" + "--without-nonpic" "--with-rpath" "--with-syscapstone") + #:make-flags + (list "CC=gcc"))) + (inputs + `(("openssl" ,openssl) + ("zip" ,zip) + ("gmp" ,gmp) + ("capstone" ,capstone))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (home-page "https://radare.org/") + (synopsis "Portable reversing framework") + (description + "Radare project started as a forensics tool, a scriptable commandline +hexadecimal editor able to open disk files, but later support for analyzing +binaries, disassembling code, debugging programs, attaching to remote gdb +servers, ...") + (license license:lgpl3))) -- 2.14.1 --MP_/S3usgm3gPL3=EVmw1a/D54I-- From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 16 11:19:32 2017 Received: (at 28053) by debbugs.gnu.org; 16 Aug 2017 15:19:32 +0000 Received: from localhost ([127.0.0.1]:41342 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1di06T-0003dw-2z for submit@debbugs.gnu.org; Wed, 16 Aug 2017 11:19:32 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21101) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1di06Q-0003dn-DN for 28053@debbugs.gnu.org; Wed, 16 Aug 2017 11:19:27 -0400 Received: from localhost (141.80.247.215 [141.80.247.215]) by mx.zohomail.com with SMTPS id 1502896761923999.369577737597; Wed, 16 Aug 2017 08:19:21 -0700 (PDT) References: <20170811205612.14cc6088@lepiller.eu> User-agent: mu4e 0.9.18; emacs 25.2.1 From: Ricardo Wurmus To: Julien Lepiller Subject: Re: [bug#28053] Add radare2 In-reply-to: <20170811205612.14cc6088@lepiller.eu> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Wed, 16 Aug 2017 17:19:19 +0200 Message-ID: <87a82zk0aw.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 28053 Cc: 28053@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Hi Julien, > Hi, these patches add radare2, a reversing framework.>From fa5478ac8eccf51a62af574ef2be6316ba5c247b Mon Sep 17 00:00:00 2001 > From: Julien Lepiller > Date: Fri, 11 Aug 2017 20:41:39 +0200 > Subject: [PATCH 1/3] gnu: Add capstone. > > * gnu/packages/engineering.scm (capstone): New variable. > --- Don’t forget to add a copyright line for yourself! > + > +(define-public capstone > + (package > + (name "capstone") > + (version "3.0.5-rc2") > + (source (origin > + (method url-fetch) > + (uri (string-append "https://github.com/aquynh/capstone/archive/" > + version ".tar.gz")) > + (file-name (string-append name "-" version ".tar.gz")) > + (sha256 > + (base32 > + "1cqms9r2p43aiwp5spd84zaccp16ih03r7sjhrv16nddahj0jz2q")))) > + (build-system gnu-build-system) > + (arguments > + `(#:tests? #f > + #:make-flags (list (string-append "PREFIX=" %output) > + "CC=gcc") > + #:phases > + (modify-phases %standard-phases > + (delete 'configure) > + (add-before 'build 'fix-cstool-ldflags > + (lambda* (#:key outputs #:allow-other-keys) > + (substitute* "cstool/Makefile" > + (("LDFLAGS =") > + (string-append "LDFLAGS = -Wl,-rpath=" (assoc-ref outputs "out") > + "/lib")))))))) Please add “#t” to the end of this phase. Is it necessary to do this in a build phase or could we add this to the make-flags instead? >>>From 078c0cdedb620e7acdf9baea8924499ad5f8311a Mon Sep 17 00:00:00 2001 > From: Julien Lepiller > Date: Fri, 11 Aug 2017 20:49:04 +0200 > Subject: [PATCH 2/3] gnu: Add python-capstone. > > * gnu/packages/engineering.scm (python-capstone, python2-capstone): New > variables. > --- > gnu/packages/engineering.scm | 27 ++++++++++++++++++++++++++- > 1 file changed, 26 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm > index 8c6280c14..6ba5131e7 100644 > --- a/gnu/packages/engineering.scm > +++ b/gnu/packages/engineering.scm > @@ -32,7 +32,7 @@ > #:use-module ((guix licenses) #:prefix license:) > #:use-module (guix build-system cmake) > #:use-module (guix build-system gnu) > - #:use-module (guix build-system cmake) > + #:use-module (guix build-system python) > #:use-module (gnu packages) > #:use-module (gnu packages algebra) > #:use-module (gnu packages autotools) > @@ -1048,3 +1048,28 @@ framework. Capstone can disassemble machine code for many supported architectur > such as x86, x86_64, arm, arm64, mips, ppc, sparc, sysz and xcore. It provides > bindings for Python, Java, OCaml and more.") > (license license:bsd-3))) > + > +;; This package has a timestamp embedded in > +;; lib/python3.5/site-packages/capstone/__pycache__/__iti__.cpython-35.pyc Please add “FIXME: ” before the comment. > +(define-public python-capstone > + (package > + (inherit capstone) > + (name "python-capstone") > + (propagated-inputs > + `(("capstone" ,capstone))) > + (build-system python-build-system) > + (arguments > + `(#:tests? #f Please add a comment that tells us why the tests are disabled. > + #:phases > + (modify-phases %standard-phases > + (add-after 'unpack 'chdir-and-fix-setup-py > + (lambda _ > + (chdir "bindings/python") > + (substitute* "setup.py" ((".* build_libraries.*") "")) > + (substitute* "capstone/__init__.py" > + (("pkg_resources.resource_filename.*") > + (string-append "'" (assoc-ref %build-inputs "capstone") "/lib',\n"))) > + #t))))))) Could you please add a comment explaining why these substitutions are necessary? >>>From ad50754454fdda9d4be91f6bc739df07fe63ecb6 Mon Sep 17 00:00:00 2001 > From: Julien Lepiller > Date: Fri, 11 Aug 2017 20:54:40 +0200 > Subject: [PATCH 3/3] gnu: Add radare2. > > * gnu/packages/engineering.scm (radare2): New variable. > --- > gnu/packages/engineering.scm | 49 ++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 49 insertions(+) > > diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm > index 6ba5131e7..130703e93 100644 > --- a/gnu/packages/engineering.scm > +++ b/gnu/packages/engineering.scm > @@ -1073,3 +1073,52 @@ bindings for Python, Java, OCaml and more.") > > (define-public python2-capstone > (package-with-python2 python-capstone)) > + > +(define-public radare2 > + (package > + (name "radare2") > + (version "1.6.0") > + (source (origin > + (method url-fetch) > + (uri (string-append "http://radare.mikelloc.com/get/" version "/" > + name "-" version ".tar.gz")) > + (sha256 > + (base32 > + "16ggsk40zz6hyvclvqj1r4bh4hb78jf0d6ppry1jk4r0j30wm7cm")) > + (modules '((guix build utils))) > + (snippet > + '(begin > + (substitute* "libr/asm/p/Makefile" > + (("LDFLAGS\\+=") "LDFLAGS+=-Wl,-rpath=$(LIBDIR) ")) > + (substitute* "libr/parse/p/Makefile" > + (("LDFLAGS\\+=") "LDFLAGS+=-Wl,-rpath=$(LIBDIR) ")) > + (substitute* "libr/bin/p/Makefile" > + (("LDFLAGS\\+=") "LDFLAGS+=-Wl,-rpath=$(LIBDIR) ")))))) > + (build-system gnu-build-system) > + (arguments > + '(#:tests? #f As above, please add a comment here. > + #:phases > + (modify-phases %standard-phases > + (add-before 'configure 'mklibdir > + (lambda* (#:key inputs #:allow-other-keys) > + (mkdir-p (string-append (assoc-ref %outputs "out") "/lib"))))) Please use (add-before 'configure 'mklibdir (lambda* (#:key outputs #:allow-other-keys) (mkdir-p (string-append (assoc-ref outputs "out") "/lib")) #t))) Why does this need to happen before the configure phase? Can this be done before the install phase? > + #:configure-flags > + (list "--with-sysmagic" "--with-syszip" "--with-openssl" > + "--without-nonpic" "--with-rpath" "--with-syscapstone") Why “without-nonpic”? Should we add support for nonpic at a later point? > + (description > + "Radare project started as a forensics tool, a scriptable commandline > +hexadecimal editor able to open disk files, but later support for analyzing > +binaries, disassembling code, debugging programs, attaching to remote gdb > +servers, ...") The description could be improved. The sentence is not complete as it’s missing a verb. > + (license license:lgpl3))) LGPL version 3 only? -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 16 11:19:35 2017 Received: (at control) by debbugs.gnu.org; 16 Aug 2017 15:19:35 +0000 Received: from localhost ([127.0.0.1]:41345 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1di06Z-0003eJ-Fv for submit@debbugs.gnu.org; Wed, 16 Aug 2017 11:19:35 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21053) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1di06X-0003e8-8x for control@debbugs.gnu.org; Wed, 16 Aug 2017 11:19:34 -0400 Received: from localhost (141.80.247.215 [141.80.247.215]) by mx.zohomail.com with SMTPS id 1502896768601891.2628299689567; Wed, 16 Aug 2017 08:19:28 -0700 (PDT) Date: Wed, 16 Aug 2017 17:19:26 +0200 To: control@debbugs.gnu.org From: Ricardo Wurmus Subject: control message for bug #28053 X-ZohoMailClient: External X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: tags 28053 moreinfo [...] Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [135.84.80.216 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [135.84.80.216 listed in list.dnswl.org] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.1 MISSING_MID Missing Message-Id: header -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" Message-Id: X-Spam-Score: 1.0 (+) tags 28053 moreinfo From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 16 18:24:30 2017 Received: (at 28053) by debbugs.gnu.org; 16 Aug 2017 22:24:30 +0000 Received: from localhost ([127.0.0.1]:41650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1di6jm-00077U-1f for submit@debbugs.gnu.org; Wed, 16 Aug 2017 18:24:30 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:40723) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1di6jk-00077L-Ad for 28053@debbugs.gnu.org; Wed, 16 Aug 2017 18:24:29 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id A52FB20C55; Wed, 16 Aug 2017 18:24:27 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Wed, 16 Aug 2017 18:24:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=KN5je5vY3I3mjDva4qXQ8E+9bBfxcdwFaZSW8mfXR 2A=; b=t3ADR8OB0wNr6bFI30kn623Rg28G6WqP2sgbVWxvNWumA6dmdVCbVBHlh rJkpEFBMrcPdjsuMYsV5IT3RTPB82hOgYv0WW+4aeQ4lKq+zKswakDj3vTVtLhpr fq2XV9H3Eut2HiFfMyVGcqzeX9GDgdmyoZJYsjxmE30SwGtIyfoOU/AGPJyoZlEp Gz83Ayh97ub52uwgYSz8FUrrNzcnp7Z7tHLFKkYIwIdNYXtxw+tWjvGmlATDmZ4k Ft0QmAfonfXa/ArRujJATCSkhplIVS9qFLk9CPJiA4dh8geYvVAXGfwQ54c+LRqU 4ePgBDrpIlLYEG6CpXDvcbZTd0dug== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=KN5je5vY3I3mjDva4q XQ8E+9bBfxcdwFaZSW8mfXR2A=; b=K/MCRyLn95YWv2brvJzbpaFKTytlSt50FQ eaYALie78ecvUm/nlFU+XUoFOXmY8qDuK9mwBSW2HOxlIcjwyCRhQ+lm/oQp1Y12 zfvS8P6rS72Uk8+em2U2tNK0QEpODx+ZoegiVHmq+ylgwtcb4fceE7UTJs/6f5Zt CB2FbGqcOOlyjU/rqCBrvhXePY6KswsbFlU1GLZLdoFrpbb8XikLLfh400Jhq4MI LF9WLOdrOjQcq+9mmq+yKerLoXk3okwEg2A0AKG9L77gD1gyZThRg8U69dZSvCoF qPIMvWWPIyBT0SfA51AC4BEfpghCWOgExO5NEXdUJLLR0cwect8w== X-ME-Sender: X-Sasl-enc: Bm45THHf37zSJBUy57xNM/bjmzv7mFMk0GTKku+VT0ts 1502922267 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id 34D7A7E70C; Wed, 16 Aug 2017 18:24:27 -0400 (EDT) From: Marius Bakke To: Ricardo Wurmus , Julien Lepiller Subject: Re: [bug#28053] Add radare2 In-Reply-To: <87a82zk0aw.fsf@elephly.net> References: <20170811205612.14cc6088@lepiller.eu> <87a82zk0aw.fsf@elephly.net> User-Agent: Notmuch/0.25 (https://notmuchmail.org) Emacs/25.2.1 (x86_64-unknown-linux-gnu) Date: Thu, 17 Aug 2017 00:24:04 +0200 Message-ID: <87mv6zywvv.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 28053 Cc: 28053@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ricardo Wurmus writes: >> + >> +;; This package has a timestamp embedded in >> +;; lib/python3.5/site-packages/capstone/__pycache__/__iti__.cpython-35.= pyc > > Please add =E2=80=9CFIXME: =E2=80=9D before the comment. FYI, there is an upstream patch (in review) that makes Python respect SOURCE_DATE_EPOCH when compiling bytecode. I'm going to try picking that for the 3.6 update, so this comment won't be necessary for long. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlmUxgQACgkQoqBt8qM6 VPpClwf+PsAfpjc7+z3ra6lxARoSxtyHwP3n7YZfV/sGG52rxnrfp8bBmDZcF9ik Km/auLIkUvqG3vgJ+1gDRHFmCI2Vm/Cy/LS0BXuCX7Zce7D0DZxCzmILihEQrEc1 1AsDZcjsObXc3W2AM+a6tmfCmvU0ymCn/quWmi/7S9TMuIgsKozu2CLBpzTPy9Fe hzVAHYJ/rPJ+YqhSzOQQMOkkq+sBWHTj/VdArjcotEfp0zupoGZ3E2hFrJaVtNYf CNVzdz84zCUcPoe9ZIXhVtMHZKLi9qJCVFCCxhpegxOCCg16uFSNedmZkKVNfOWR RJLDA7wu2uOHDduIK0nyJmrTSpzrCg== =RBvb -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 17 02:57:31 2017 Received: (at 28053) by debbugs.gnu.org; 17 Aug 2017 06:57:31 +0000 Received: from localhost ([127.0.0.1]:41909 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diEkF-0001QR-Bp for submit@debbugs.gnu.org; Thu, 17 Aug 2017 02:57:31 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21013) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diEkD-0001QI-Gt for 28053@debbugs.gnu.org; Thu, 17 Aug 2017 02:57:30 -0400 Received: from localhost (port-92-200-68-143.dynamic.qsc.de [92.200.68.143]) by mx.zohomail.com with SMTPS id 1502953046175875.3837172820535; Wed, 16 Aug 2017 23:57:26 -0700 (PDT) References: <20170811205612.14cc6088@lepiller.eu> <87a82zk0aw.fsf@elephly.net> <87mv6zywvv.fsf@fastmail.com> User-agent: mu4e 0.9.18; emacs 25.2.1 From: Ricardo Wurmus To: Marius Bakke Subject: Re: [bug#28053] Add radare2 In-reply-to: <87mv6zywvv.fsf@fastmail.com> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Thu, 17 Aug 2017 08:57:23 +0200 Message-ID: <877ey2k7fw.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 28053 Cc: Julien Lepiller , 28053@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Marius Bakke writes: > Ricardo Wurmus writes: >>> + >>> +;; This package has a timestamp embedded in >>> +;; lib/python3.5/site-packages/capstone/__pycache__/__iti__.cpython-35.pyc >> >> Please add “FIXME: ” before the comment. > > FYI, there is an upstream patch (in review) that makes Python respect > SOURCE_DATE_EPOCH when compiling bytecode. I'm going to try picking > that for the 3.6 update, so this comment won't be necessary for long. Oh, that’s good. Will this fix the remaining reproducibility problems with Python? -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 17 15:23:41 2017 Received: (at 28053) by debbugs.gnu.org; 17 Aug 2017 19:23:41 +0000 Received: from localhost ([127.0.0.1]:43140 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diQOE-0006c7-4n for submit@debbugs.gnu.org; Thu, 17 Aug 2017 15:23:41 -0400 Received: from [89.234.186.109] (port=55264 helo=localhost) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diQOC-0006bz-Dd for 28053@debbugs.gnu.org; Thu, 17 Aug 2017 15:23:33 -0400 Received: from localhost (static-176-182-42-79.ncc.abo.bbox.fr [176.182.42.79]) by localhost (OpenSMTPD) with ESMTPSA id a9388b16 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <28053@debbugs.gnu.org>; Thu, 17 Aug 2017 19:23:31 +0000 (UTC) Date: Thu, 17 Aug 2017 21:22:44 +0200 From: Julien Lepiller To: 28053@debbugs.gnu.org Subject: Re: [bug#28053] Add radare2 (v2) Message-ID: <20170817212244.5e42832d@lepiller.eu> In-Reply-To: <87a82zk0aw.fsf@elephly.net> References: <20170811205612.14cc6088@lepiller.eu> <87a82zk0aw.fsf@elephly.net> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/S_1Si0EkXuxCruJuiBRW.vx" X-Spam-Score: 4.9 (++++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, here is the new version of the patches From 0e893d50f3352d235bb70d1e3f1ce8f1b246d99e Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Fri, 11 Aug 2017 20:41:39 +0200 Subject: [PATCH 1/3] gnu: Add capstone. [...] Content analysis details: (4.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FSL_HELO_NON_FQDN_1 No description available. 3.6 HELO_LOCALHOST No description available. 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Debbugs-Envelope-To: 28053 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 4.9 (++++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, here is the new version of the patches From 0e893d50f3352d235bb70d1e3f1ce8f1b246d99e Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Fri, 11 Aug 2017 20:41:39 +0200 Subject: [PATCH 1/3] gnu: Add capstone. [...] Content analysis details: (4.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FSL_HELO_NON_FQDN_1 No description available. 3.6 HELO_LOCALHOST No description available. 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS --MP_/S_1Si0EkXuxCruJuiBRW.vx Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, here is the new version of the patches --MP_/S_1Si0EkXuxCruJuiBRW.vx Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=0001-gnu-Add-capstone.patch =46rom 0e893d50f3352d235bb70d1e3f1ce8f1b246d99e Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Fri, 11 Aug 2017 20:41:39 +0200 Subject: [PATCH 1/3] gnu: Add capstone. * gnu/packages/engineering.scm (capstone): New variable. --- gnu/packages/engineering.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 650ac2b89..db8dbff1e 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -5,6 +5,7 @@ ;;; Copyright =C2=A9 2016 David Thompson ;;; Copyright =C2=A9 2016, 2017 Ludovic Court=C3=A8s ;;; Copyright =C2=A9 2016, 2017 Theodoros Foradis +;;; Copyright =C2=A9 2017 Julien Lepiller ;;; ;;; This file is part of GNU Guix. ;;; @@ -1013,3 +1014,40 @@ specified in high-level description language into re= ady-to-compile C code for the API of spice simulators. Based on transformations specified in XML language, ADMS transforms Verilog-AMS code into other target languages.") (license license:gpl3))) + +(define-public capstone + (package + (name "capstone") + (version "3.0.5-rc2") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/aquynh/capstone/arch= ive/" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1cqms9r2p43aiwp5spd84zaccp16ih03r7sjhrv16nddahj0jz2q")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f + #:make-flags (list (string-append "PREFIX=3D" %output) + "CC=3Dgcc") + #:phases + (modify-phases %standard-phases + (delete 'configure) + ;; cstool's Makefile overrides LDFLAGS, so we cannot pass it as a= make flag. + (add-before 'build 'fix-cstool-ldflags + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "cstool/Makefile" + (("LDFLAGS =3D") + (string-append "LDFLAGS =3D -Wl,-rpath=3D" (assoc-ref outp= uts "out") + "/lib"))) + #t))))) + (home-page "http://www.capstone-engine.org") + (synopsis "Lightweight multi-platform, multi-architecture disassembly = framework") + (description + "Capstone is a lightweight multi-platform, multi-architecture disasse= mbly +framework. Capstone can disassemble machine code for many supported archi= tectures +such as x86, x86_64, arm, arm64, mips, ppc, sparc, sysz and xcore. It pro= vides +bindings for Python, Java, OCaml and more.") + (license license:bsd-3))) --=20 2.14.1 --MP_/S_1Si0EkXuxCruJuiBRW.vx Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0002-gnu-Add-python-capstone.patch >From e881c1cc7b4073e74294e6bf4817743ff0a08d02 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Fri, 11 Aug 2017 20:49:04 +0200 Subject: [PATCH 2/3] gnu: Add python-capstone. * gnu/packages/engineering.scm (python-capstone, python2-capstone): New variables. --- gnu/packages/engineering.scm | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index db8dbff1e..b4ccc446f 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -33,7 +33,7 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) - #:use-module (guix build-system cmake) + #:use-module (guix build-system python) #:use-module (gnu packages) #:use-module (gnu packages algebra) #:use-module (gnu packages autotools) @@ -1051,3 +1051,30 @@ framework. Capstone can disassemble machine code for many supported architectur such as x86, x86_64, arm, arm64, mips, ppc, sparc, sysz and xcore. It provides bindings for Python, Java, OCaml and more.") (license license:bsd-3))) + +;; FIXME: This package has a timestamp embedded in +;; lib/python3.5/site-packages/capstone/__pycache__/__iti__.cpython-35.pyc +(define-public python-capstone + (package + (inherit capstone) + (name "python-capstone") + (propagated-inputs + `(("capstone" ,capstone))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'chdir-and-fix-setup-py + (lambda _ + (chdir "bindings/python") + ;; Do not build the library again, because we already have it. + (substitute* "setup.py" ((".* build_libraries.*") "")) + ;; This substitution tells python-capstone where to find the + ;; library. + (substitute* "capstone/__init__.py" + (("pkg_resources.resource_filename.*") + (string-append "'" (assoc-ref %build-inputs "capstone") "/lib',\n"))) + #t))))))) + +(define-public python2-capstone + (package-with-python2 python-capstone)) -- 2.14.1 --MP_/S_1Si0EkXuxCruJuiBRW.vx Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0003-gnu-Add-radare2.patch >From 659376711046c89b2dbb1e00410a3684fb0d81a0 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Fri, 11 Aug 2017 20:54:40 +0200 Subject: [PATCH 3/3] gnu: Add radare2. * gnu/packages/engineering.scm (radare2): New variable. --- gnu/packages/engineering.scm | 55 ++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 53 insertions(+), 2 deletions(-) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index b4ccc446f..008a96b24 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -23,6 +23,7 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu packages engineering) + #:use-module (srfi srfi-1) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix gexp) @@ -60,6 +61,7 @@ #:use-module (gnu packages linux) ;FIXME: for pcb #:use-module (gnu packages m4) #:use-module (gnu packages maths) + #:use-module (gnu packages multiprecision) #:use-module (gnu packages ncurses) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) @@ -71,8 +73,7 @@ #:use-module (gnu packages tls) #:use-module (gnu packages tex) #:use-module (gnu packages wxwidgets) - #:use-module (gnu packages xorg) - #:use-module (srfi srfi-1)) + #:use-module (gnu packages xorg)) (define-public librecad (package @@ -1078,3 +1079,53 @@ bindings for Python, Java, OCaml and more.") (define-public python2-capstone (package-with-python2 python-capstone)) + +(define-public radare2 + (package + (name "radare2") + (version "1.6.0") + (source (origin + (method url-fetch) + (uri (string-append "http://radare.mikelloc.com/get/" version "/" + name "-" version ".tar.gz")) + (sha256 + (base32 + "16ggsk40zz6hyvclvqj1r4bh4hb78jf0d6ppry1jk4r0j30wm7cm")) + (modules '((guix build utils))) + (snippet + '(begin + (substitute* "libr/asm/p/Makefile" + (("LDFLAGS\\+=") "LDFLAGS+=-Wl,-rpath=$(LIBDIR) ")) + (substitute* "libr/parse/p/Makefile" + (("LDFLAGS\\+=") "LDFLAGS+=-Wl,-rpath=$(LIBDIR) ")) + (substitute* "libr/bin/p/Makefile" + (("LDFLAGS\\+=") "LDFLAGS+=-Wl,-rpath=$(LIBDIR) ")))))) + (build-system gnu-build-system) + (arguments + '(#:tests? #f; tests require git and network access + #:phases + (modify-phases %standard-phases + (add-before 'configure 'mklibdir + (lambda* (#:key inputs #:allow-other-keys) + (mkdir-p (string-append (assoc-ref %outputs "out") "/lib")) + #t))) + #:configure-flags + (list "--with-sysmagic" "--with-syszip" "--with-openssl" + "--without-nonpic" "--with-rpath" "--with-syscapstone") + #:make-flags + (list "CC=gcc"))) + (inputs + `(("openssl" ,openssl) + ("zip" ,zip) + ("gmp" ,gmp) + ("capstone" ,capstone))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (home-page "https://radare.org/") + (synopsis "Portable reversing framework") + (description + "Radare project started as a forensics tool, a scriptable commandline +hexadecimal editor able to open disk files, but later support for analyzing +binaries, disassembling code, debugging programs, attaching to remote gdb +servers, ...") + (license license:lgpl3))) -- 2.14.1 --MP_/S_1Si0EkXuxCruJuiBRW.vx-- From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 17 16:35:58 2017 Received: (at 28053) by debbugs.gnu.org; 17 Aug 2017 20:35:58 +0000 Received: from localhost ([127.0.0.1]:43186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diRWI-0001fT-GN for submit@debbugs.gnu.org; Thu, 17 Aug 2017 16:35:58 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:48945) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diRWG-0001fJ-AT for 28053@debbugs.gnu.org; Thu, 17 Aug 2017 16:35:56 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id C340020A73; Thu, 17 Aug 2017 16:35:55 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Thu, 17 Aug 2017 16:35:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=36/XTwqE/GFfB/6KJG5fpnU4Pk5M8rtAuSox+cEua Fg=; b=e0z506l1uwjCsHndHyexSLgiXwhC04c46S/sfeUhjb1Fj7CqpYQdkXlAX Wf//PcacEOduiMg4XbbFxAOY6yXFggff7OpWlctk5lVtwqZZvpjRJQpbrHaNOB6I FabwRp4HV+RwVpp2F02f4NKRlrIMn0kFMihYmCsDlyLBEY/pjDRTfxodYp6MpKE+ Rsg14RkVb2xATzggeRq2aomlOuNBUN8pPtWtBOvwI+6YFS5DL7n23wl1yAWmdqKl Iro1c5bEmXyLqpBfQ1E7WSGuopDBJ2y0D1tBA06YeohQPqTQYMjTR9PUuGkfa7g0 QOLLITwtlvYwOYfbYKAM39bfuV3tg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=36/XTwqE/GFfB/6KJG 5fpnU4Pk5M8rtAuSox+cEuaFg=; b=K7r54XHbEk0MmjiQv4EYbuO/3MAqLZzKJ1 4zeaEePKxRupcXXyAzcUHyh7GiWJZJJM5ItPgIZ7rW0jv7t57q343/J5IPVHD8e3 E3uM4AdLqHn5w/bLOi5GxcVflMKiPILiqkzz4MZaCc1t6FX98I6Z/UBeE4Q+5a/D E2x0dGpytECYheE5pqFklN+LF3D2z5KYiSiU6/PS9rcNYNYqJAcnfpy4AgjAh81x vwCR1MYt4HOhA/2pa6f0FwSZG6dORubvoki+bG72jK/oT9F46KOvUi0rFEuebH4U mWUIf4V6g3zpQpdLReabKhGH4YNaeEyXg8oCSrbdm4exDmZmqnyg== X-ME-Sender: X-Sasl-enc: OSQI+arKiaD44EIFUxoX0+J9uQe2TIqlxAa7s+aIvi9c 1503002155 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id 4D5447FA84; Thu, 17 Aug 2017 16:35:55 -0400 (EDT) From: Marius Bakke To: Ricardo Wurmus Subject: Re: [bug#28053] Add radare2 In-Reply-To: <877ey2k7fw.fsf@elephly.net> References: <20170811205612.14cc6088@lepiller.eu> <87a82zk0aw.fsf@elephly.net> <87mv6zywvv.fsf@fastmail.com> <877ey2k7fw.fsf@elephly.net> User-Agent: Notmuch/0.25 (https://notmuchmail.org) Emacs/25.2.1 (x86_64-unknown-linux-gnu) Date: Thu, 17 Aug 2017 22:35:29 +0200 Message-ID: <87efsaylta.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 28053 Cc: Julien Lepiller , 28053@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ricardo Wurmus writes: > Marius Bakke writes: > >> Ricardo Wurmus writes: >>>> + >>>> +;; This package has a timestamp embedded in >>>> +;; lib/python3.5/site-packages/capstone/__pycache__/__iti__.cpython-3= 5.pyc >>> >>> Please add =E2=80=9CFIXME: =E2=80=9D before the comment. >> >> FYI, there is an upstream patch (in review) that makes Python respect >> SOURCE_DATE_EPOCH when compiling bytecode. I'm going to try picking >> that for the 3.6 update, so this comment won't be necessary for long. > > Oh, that=E2=80=99s good. Will this fix the remaining reproducibility pro= blems > with Python? We also need to provide a stable PYTHONHASHSEED, but I do believe these measures will fix the vast majority of Python reproducibility issues. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlmV/hEACgkQoqBt8qM6 VPrfwQf/drb+6EY+CuE5oS0PGkFGL5iN3arua57l7y7SO4jTtTk9HxtFIR6QXbv9 hqoPTunHYATck1J167blX/QYaIoaFi6I+iHVuSiwm4Ut8EnWwY5PcSPwh16y2Ic8 mfbbJ4NJ2HSvihTAUezhpiXjILNvHel2AgF15AKhxkE8t06Yi9WiEoontKFZmI1n F3sMpKo6zpd8o4z3Yzv+cPWB1dKLoL5I0+2+wLrkKGUhQQ4GznFesRUt41cPFTVd ynG34XTVAcxiRAPiDcCzEf33b2k4XKil/Rz12SXrp3UKh1c6ph3GmjRKCE7Wy2KB ur7i/63pesCB2v7wKSv4qWUEdL5lEw== =kKIz -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 26 07:05:06 2017 Received: (at 28053-done) by debbugs.gnu.org; 26 Aug 2017 11:05:06 +0000 Received: from localhost ([127.0.0.1]:56083 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dlYtl-0005vy-Rs for submit@debbugs.gnu.org; Sat, 26 Aug 2017 07:05:06 -0400 Received: from lepiller.eu ([89.234.186.109]:34870 helo=localhost) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dlYtk-0005vq-4L for 28053-done@debbugs.gnu.org; Sat, 26 Aug 2017 07:05:04 -0400 Received: from localhost (static-176-182-42-79.ncc.abo.bbox.fr [176.182.42.79]) by localhost (OpenSMTPD) with ESMTPSA id 8fa9c7cb (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <28053-done@debbugs.gnu.org>; Sat, 26 Aug 2017 11:05:02 +0000 (UTC) Date: Sat, 26 Aug 2017 13:04:04 +0200 From: Julien Lepiller To: 28053-done@debbugs.gnu.org Subject: Re: [bug#28053] Add radare2 (v2) Message-ID: <20170826130404.617e8393@lepiller.eu> In-Reply-To: <20170817212244.5e42832d@lepiller.eu> References: <20170811205612.14cc6088@lepiller.eu> <87a82zk0aw.fsf@elephly.net> <20170817212244.5e42832d@lepiller.eu> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 3.6 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Pushed as 6febda9443e34adda38b7c365ff2d7368f589995 - 446695775d6d8d15546c5d0fc535e9f5c83a7b7e Le Thu, 17 Aug 2017 21:22:44 +0200, Julien Lepiller a écrit : > Hi, > > here is the new version of the patches [...] Content analysis details: (3.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FSL_HELO_NON_FQDN_1 No description available. 3.6 HELO_LOCALHOST No description available. -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain X-Debbugs-Envelope-To: 28053-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 3.6 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Pushed as 6febda9443e34adda38b7c365ff2d7368f589995 - 446695775d6d8d15546c5d0fc535e9f5c83a7b7e Le Thu, 17 Aug 2017 21:22:44 +0200, Julien Lepiller a écrit : > Hi, > > here is the new version of the patches [...] Content analysis details: (3.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FSL_HELO_NON_FQDN_1 No description available. 3.6 HELO_LOCALHOST No description available. -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain Pushed as 6febda9443e34adda38b7c365ff2d7368f589995 - 446695775d6d8d15546c5d0fc535e9f5c83a7b7e Le Thu, 17 Aug 2017 21:22:44 +0200, Julien Lepiller a =C3=A9crit : > Hi, >=20 > here is the new version of the patches From unknown Wed Jun 18 23:17:14 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 23 Sep 2017 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator