* [Buildroot] [PATCH/next v2 1/3] package/perl-crypt-openssl-guess: new package
@ 2018-08-21 20:41 Bernd Kuhls
2018-08-21 20:41 ` [Buildroot] [PATCH/next v2 2/3] package/perl-crypt-openssl-random: bump version to 0.15 Bernd Kuhls
` (3 more replies)
0 siblings, 4 replies; 8+ messages in thread
From: Bernd Kuhls @ 2018-08-21 20:41 UTC (permalink / raw)
To: buildroot
Needed for upcoming version bumps of perl-crypt-openssl-random and
perl-crypt-openssl-rsa, only host-package is needed.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
v2: switched to host package (Thomas)
DEVELOPERS | 1 +
.../perl-crypt-openssl-guess.hash | 6 ++++++
.../perl-crypt-openssl-guess.mk | 13 +++++++++++++
3 files changed, 20 insertions(+)
create mode 100644 package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash
create mode 100644 package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index ccbc0a3b7a..154315fcfb 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -330,6 +330,7 @@ F: package/libyuv/
F: package/mesa3d/
F: package/minidlna/
F: package/mjpg-streamer/
+F: package/perl-crypt-openssl-guess/
F: package/perl-crypt-openssl-random/
F: package/perl-crypt-openssl-rsa/
F: package/perl-digest-sha1/
diff --git a/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash b/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash
new file mode 100644
index 0000000000..327b06900a
--- /dev/null
+++ b/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash
@@ -0,0 +1,6 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5 e768fe2c07826b0ac9ea604c79f93032 Crypt-OpenSSL-Guess-0.11.tar.gz
+sha256 aa6b18e38cb852cbad80a58cd90c395b40819d4d01e0ab37e7703149094d7167 Crypt-OpenSSL-Guess-0.11.tar.gz
+
+# computed by scancpan
+sha256 5c739f181ce7aa31d739277996ff230067dad39332e5597c0dffd36e5d784072 LICENSE
diff --git a/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk b/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk
new file mode 100644
index 0000000000..69d7a0ef8f
--- /dev/null
+++ b/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# perl-crypt-openssl-guess
+#
+################################################################################
+
+PERL_CRYPT_OPENSSL_GUESS_VERSION = 0.11
+PERL_CRYPT_OPENSSL_GUESS_SOURCE = Crypt-OpenSSL-Guess-$(PERL_CRYPT_OPENSSL_GUESS_VERSION).tar.gz
+PERL_CRYPT_OPENSSL_GUESS_SITE = $(BR2_CPAN_MIRROR)/authors/id/A/AK/AKIYM
+PERL_CRYPT_OPENSSL_GUESS_LICENSE = Artistic or GPL-1.0+
+PERL_CRYPT_OPENSSL_GUESS_LICENSE_FILES = LICENSE
+
+$(eval $(host-perl-package))
--
2.18.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH/next v2 2/3] package/perl-crypt-openssl-random: bump version to 0.15
2018-08-21 20:41 [Buildroot] [PATCH/next v2 1/3] package/perl-crypt-openssl-guess: new package Bernd Kuhls
@ 2018-08-21 20:41 ` Bernd Kuhls
2018-08-21 20:49 ` Thomas Petazzoni
2018-09-12 14:39 ` Thomas Petazzoni
2018-08-21 20:41 ` [Buildroot] [PATCH/next v2 3/3] package/perl-crypt-openssl-rsa: bump version to 0.30 Bernd Kuhls
` (2 subsequent siblings)
3 siblings, 2 replies; 8+ messages in thread
From: Bernd Kuhls @ 2018-08-21 20:41 UTC (permalink / raw)
To: buildroot
Changelog:
https://metacpan.org/changes/distribution/Crypt-OpenSSL-Random
Added new build dependency to host-perl-crypt-openssl-guess and force
it to search for openssl in STAGING_DIR. Added license hash.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
v2: switched to host version of perl-crypt-openssl-guess (Thomas)
.../perl-crypt-openssl-random.hash | 7 +++++--
.../perl-crypt-openssl-random.mk | 10 ++++++++--
2 files changed, 13 insertions(+), 4 deletions(-)
diff --git a/package/perl-crypt-openssl-random/perl-crypt-openssl-random.hash b/package/perl-crypt-openssl-random/perl-crypt-openssl-random.hash
index caacdc9015..57677e3445 100644
--- a/package/perl-crypt-openssl-random/perl-crypt-openssl-random.hash
+++ b/package/perl-crypt-openssl-random/perl-crypt-openssl-random.hash
@@ -1,3 +1,6 @@
# retrieved by scancpan from http://cpan.metacpan.org/
-md5 5d71337503e0356ce1ce1481504e5885 Crypt-OpenSSL-Random-0.11.tar.gz
-sha256 bb8c81c6a39b9b13a22d818ee9a746242f136f0fadceb6b9776ae615e7524c7a Crypt-OpenSSL-Random-0.11.tar.gz
+md5 bcde8d5a822c91376deda3c4f0c75fbe Crypt-OpenSSL-Random-0.15.tar.gz
+sha256 f0876faa1ba3111e39b86aa730c603211eff2905e460c72a57b61e8cf475cef4 Crypt-OpenSSL-Random-0.15.tar.gz
+
+# computed by scancpan
+sha256 fdaba2134145d3e252c5930180b2bcb13b5367ad5a8713d6868f014cd25c496f LICENSE
diff --git a/package/perl-crypt-openssl-random/perl-crypt-openssl-random.mk b/package/perl-crypt-openssl-random/perl-crypt-openssl-random.mk
index de029e9af0..1e1d7c1112 100644
--- a/package/perl-crypt-openssl-random/perl-crypt-openssl-random.mk
+++ b/package/perl-crypt-openssl-random/perl-crypt-openssl-random.mk
@@ -4,11 +4,17 @@
#
################################################################################
-PERL_CRYPT_OPENSSL_RANDOM_VERSION = 0.11
+PERL_CRYPT_OPENSSL_RANDOM_VERSION = 0.15
PERL_CRYPT_OPENSSL_RANDOM_SOURCE = Crypt-OpenSSL-Random-$(PERL_CRYPT_OPENSSL_RANDOM_VERSION).tar.gz
PERL_CRYPT_OPENSSL_RANDOM_SITE = $(BR2_CPAN_MIRROR)/authors/id/R/RU/RURBAN
-PERL_CRYPT_OPENSSL_RANDOM_DEPENDENCIES = openssl
+PERL_CRYPT_OPENSSL_RANDOM_DEPENDENCIES = \
+ host-perl-crypt-openssl-guess \
+ openssl
PERL_CRYPT_OPENSSL_RANDOM_LICENSE = Artistic or GPL-1.0+
PERL_CRYPT_OPENSSL_RANDOM_LICENSE_FILES = LICENSE
+# Try as hard as possible to remedy to the brain-damage their build-system
+# suffers from: don't search for openssl, they pick the host-system one.
+PERL_CRYPT_OPENSSL_RANDOM_CONF_ENV = OPENSSL_PREFIX=$(STAGING_DIR)/usr
+
$(eval $(perl-package))
--
2.18.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH/next v2 3/3] package/perl-crypt-openssl-rsa: bump version to 0.30
2018-08-21 20:41 [Buildroot] [PATCH/next v2 1/3] package/perl-crypt-openssl-guess: new package Bernd Kuhls
2018-08-21 20:41 ` [Buildroot] [PATCH/next v2 2/3] package/perl-crypt-openssl-random: bump version to 0.15 Bernd Kuhls
@ 2018-08-21 20:41 ` Bernd Kuhls
2018-08-23 9:49 ` [Buildroot] [PATCH/next v2 1/3] package/perl-crypt-openssl-guess: new package Thomas Petazzoni
[not found] ` <dec5946c-8c4e-0075-62a3-251daf7cb856@t-online.de>
3 siblings, 0 replies; 8+ messages in thread
From: Bernd Kuhls @ 2018-08-21 20:41 UTC (permalink / raw)
To: buildroot
Changelog:
https://metacpan.org/changes/distribution/Crypt-OpenSSL-RSA
Added new build dependency to host-perl-crypt-openssl-guess and force
it to search for openssl in STAGING_DIR. Added license hash. Updated
_SITE according to scancpan.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
v2: switched to host version of perl-crypt-openssl-guess (Thomas)
.../perl-crypt-openssl-rsa.hash | 7 +++++--
.../perl-crypt-openssl-rsa/perl-crypt-openssl-rsa.mk | 12 +++++++++---
2 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/package/perl-crypt-openssl-rsa/perl-crypt-openssl-rsa.hash b/package/perl-crypt-openssl-rsa/perl-crypt-openssl-rsa.hash
index 6e060ce672..0d101d7bb8 100644
--- a/package/perl-crypt-openssl-rsa/perl-crypt-openssl-rsa.hash
+++ b/package/perl-crypt-openssl-rsa/perl-crypt-openssl-rsa.hash
@@ -1,3 +1,6 @@
# retrieved by scancpan from http://cpan.metacpan.org/
-md5 86217a5036fc63779c30420b5fd84129 Crypt-OpenSSL-RSA-0.28.tar.gz
-sha256 5357f977464bb3a8184cf2d3341851a10d5515b4b2b0dfb88bf78995c0ded7be Crypt-OpenSSL-RSA-0.28.tar.gz
+md5 10bca2fc6d0ba1aa329f227424ae87d5 Crypt-OpenSSL-RSA-0.30.tar.gz
+sha256 23e13531397af102db4fd24bcf70137add7c85c23cca697c43aa71c2959a29ac Crypt-OpenSSL-RSA-0.30.tar.gz
+
+# computed by scancpan
+sha256 8a693ad3f52daeeb5ac5deceb1e1109c9c87095ed5ba6506d6d5c106e4066f5a LICENSE
diff --git a/package/perl-crypt-openssl-rsa/perl-crypt-openssl-rsa.mk b/package/perl-crypt-openssl-rsa/perl-crypt-openssl-rsa.mk
index b853d9953e..790af760c7 100644
--- a/package/perl-crypt-openssl-rsa/perl-crypt-openssl-rsa.mk
+++ b/package/perl-crypt-openssl-rsa/perl-crypt-openssl-rsa.mk
@@ -4,11 +4,17 @@
#
################################################################################
-PERL_CRYPT_OPENSSL_RSA_VERSION = 0.28
+PERL_CRYPT_OPENSSL_RSA_VERSION = 0.30
PERL_CRYPT_OPENSSL_RSA_SOURCE = Crypt-OpenSSL-RSA-$(PERL_CRYPT_OPENSSL_RSA_VERSION).tar.gz
-PERL_CRYPT_OPENSSL_RSA_SITE = $(BR2_CPAN_MIRROR)/authors/id/P/PE/PERLER
-PERL_CRYPT_OPENSSL_RSA_DEPENDENCIES = perl-crypt-openssl-random
+PERL_CRYPT_OPENSSL_RSA_SITE = $(BR2_CPAN_MIRROR)/authors/id/T/TO/TODDR
+PERL_CRYPT_OPENSSL_RSA_DEPENDENCIES = \
+ host-perl-crypt-openssl-guess \
+ perl-crypt-openssl-random
PERL_CRYPT_OPENSSL_RSA_LICENSE = Artistic or GPL-1.0+
PERL_CRYPT_OPENSSL_RSA_LICENSE_FILES = LICENSE
+# Try as hard as possible to remedy to the brain-damage their build-system
+# suffers from: don't search for openssl, they pick the host-system one.
+PERL_CRYPT_OPENSSL_RSA_CONF_ENV = OPENSSL_PREFIX=$(STAGING_DIR)/usr
+
$(eval $(perl-package))
--
2.18.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH/next v2 2/3] package/perl-crypt-openssl-random: bump version to 0.15
2018-08-21 20:41 ` [Buildroot] [PATCH/next v2 2/3] package/perl-crypt-openssl-random: bump version to 0.15 Bernd Kuhls
@ 2018-08-21 20:49 ` Thomas Petazzoni
2018-09-12 14:39 ` Thomas Petazzoni
1 sibling, 0 replies; 8+ messages in thread
From: Thomas Petazzoni @ 2018-08-21 20:49 UTC (permalink / raw)
To: buildroot
Hello,
On Tue, 21 Aug 2018 22:41:33 +0200, Bernd Kuhls wrote:
> Changelog:
> https://metacpan.org/changes/distribution/Crypt-OpenSSL-Random
>
> Added new build dependency to host-perl-crypt-openssl-guess and force
> it to search for openssl in STAGING_DIR. Added license hash.
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> v2: switched to host version of perl-crypt-openssl-guess (Thomas)
It would be nice if you could *reply* to the review e-mails that are
being sent to you. Indeed, I'd like to have more explanation about this.
How is it possible that your previous iteration, which was adding
perl-crypt-openssl-guess as a *target* package could be working ?
Thmas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH/next v2 1/3] package/perl-crypt-openssl-guess: new package
2018-08-21 20:41 [Buildroot] [PATCH/next v2 1/3] package/perl-crypt-openssl-guess: new package Bernd Kuhls
2018-08-21 20:41 ` [Buildroot] [PATCH/next v2 2/3] package/perl-crypt-openssl-random: bump version to 0.15 Bernd Kuhls
2018-08-21 20:41 ` [Buildroot] [PATCH/next v2 3/3] package/perl-crypt-openssl-rsa: bump version to 0.30 Bernd Kuhls
@ 2018-08-23 9:49 ` Thomas Petazzoni
[not found] ` <dec5946c-8c4e-0075-62a3-251daf7cb856@t-online.de>
3 siblings, 0 replies; 8+ messages in thread
From: Thomas Petazzoni @ 2018-08-23 9:49 UTC (permalink / raw)
To: buildroot
Hello,
On Tue, 21 Aug 2018 22:41:32 +0200, Bernd Kuhls wrote:
> Needed for upcoming version bumps of perl-crypt-openssl-random and
> perl-crypt-openssl-rsa, only host-package is needed.
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Series applied to next. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH/next v2 2/3] package/perl-crypt-openssl-random: bump version to 0.15
2018-08-21 20:41 ` [Buildroot] [PATCH/next v2 2/3] package/perl-crypt-openssl-random: bump version to 0.15 Bernd Kuhls
2018-08-21 20:49 ` Thomas Petazzoni
@ 2018-09-12 14:39 ` Thomas Petazzoni
2018-09-13 6:09 ` Bernd Kuhls
1 sibling, 1 reply; 8+ messages in thread
From: Thomas Petazzoni @ 2018-09-12 14:39 UTC (permalink / raw)
To: buildroot
Hello,
On Tue, 21 Aug 2018 22:41:33 +0200, Bernd Kuhls wrote:
> Changelog:
> https://metacpan.org/changes/distribution/Crypt-OpenSSL-Random
>
> Added new build dependency to host-perl-crypt-openssl-guess and force
> it to search for openssl in STAGING_DIR. Added license hash.
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
This update is causing issues in the autobuilders:
http://autobuild.buildroot.net/?reason=perl-crypt-openssl-random-0.15.
Since it's only happening since September 9, even though the commit was
made on August 22, maybe the root issue is due to another
update/change, but it breaks this package.
Could you have a look ?
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH/next v2 2/3] package/perl-crypt-openssl-random: bump version to 0.15
2018-09-12 14:39 ` Thomas Petazzoni
@ 2018-09-13 6:09 ` Bernd Kuhls
0 siblings, 0 replies; 8+ messages in thread
From: Bernd Kuhls @ 2018-09-13 6:09 UTC (permalink / raw)
To: buildroot
Am Wed, 12 Sep 2018 16:39:06 +0200 schrieb Thomas Petazzoni:
> Hello,
>
> On Tue, 21 Aug 2018 22:41:33 +0200, Bernd Kuhls wrote:
>> Changelog:
>> https://metacpan.org/changes/distribution/Crypt-OpenSSL-Random
>>
>> Added new build dependency to host-perl-crypt-openssl-guess and force
>> it to search for openssl in STAGING_DIR. Added license hash.
>>
>> Signed-off-by: Bernd Kuhls
>> <bernd.kuhls@t-online.de>
>
> This update is causing issues in the autobuilders:
> http://autobuild.buildroot.net/?reason=perl-crypt-openssl-random-0.15.
> Since it's only happening since September 9, even though the commit was
> made on August 22, maybe the root issue is due to another update/change,
> but it breaks this package.
Hi Thomas,
I can not reproduce the problem with this defconfig
http://autobuild.buildroot.net/results/54f/
54f274f33e5221d6979c6c0ad9b5633a1869b204/
xlocale.h is present:
$ find output/staging/usr/include/ | grep xlocale
output/staging/usr/include/xlocale.h
But it is weird that the autobuilder build uses perl.h from output/host
/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/lib/
perl5/5.26.2/x86_64-linux/CORE/perl.h:738:13: fatal error: xlocale.h: No
such file or directory
# include <xlocale.h>
instead of staging... But again, the build works on my machine.
Regards, Bernd
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH/next v2 2/3] package/perl-crypt-openssl-random: bump
[not found] ` <dec5946c-8c4e-0075-62a3-251daf7cb856@t-online.de>
@ 2018-09-13 12:33 ` Thomas Petazzoni
0 siblings, 0 replies; 8+ messages in thread
From: Thomas Petazzoni @ 2018-09-13 12:33 UTC (permalink / raw)
To: buildroot
Hello Bernd,
On Thu, 13 Sep 2018 08:09:47 +0200, Bernd Kuhls wrote:
> I can not reproduce the problem with this defconfig
> http://autobuild.buildroot.net/results/54f/
> 54f274f33e5221d6979c6c0ad9b5633a1869b204/
>
> xlocale.h is present:
>
> $ find output/staging/usr/include/ | grep xlocale
> output/staging/usr/include/xlocale.h
The same problem happens with perl-crypt-blowfish, and I was able to
reproduce it. If you build just this package (i.e simple
configuration), then it works fine because it uses the Perl headers
from STAGING_DIR:
/home/test/buildroot/output/host/bin/powerpc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DVERSION=\"2.14\" -DXS_VERSION=\"2.14\" -fPIC "-I/home/test/buildroot/output/host/powerpc-buildroot-linux-uclibc/sysroot/usr/lib/perl5/5.26.2/powerpc-linux/CORE" Blowfish.c
/home/test/buildroot/output/host/bin/powerpc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DVERSION=\"2.14\" -DXS_VERSION=\"2.14\" -fPIC "-I/home/test/buildroot/output/host/powerpc-buildroot-linux-uclibc/sysroot/usr/lib/perl5/5.26.2/powerpc-linux/CORE" _blowfish.c
However, if you do the full build of
http://autobuild.buildroot.net/results/aa764fd8e851225664af94e3bcb68657126d85e0/
using br-reproduce-build, you can reproduce the issue. And in this
case, it's the host Perl headers that are included:
/home/test/aa764fd8e851225664af94e3bcb68657126d85e0/output/host/bin/powerpc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DVERSION=\"2.14\" -DXS_VERSION=\"2.14\" -fPIC "-I/home/test/aa764fd8e851225664af94e3bcb68657126d85e0/output/host/lib/perl5/5.26.2/x86_64-linux/CORE" Blowfish.c
In file included from Blowfish.xs:9:0:
/home/test/aa764fd8e851225664af94e3bcb68657126d85e0/output/host/lib/perl5/5.26.2/x86_64-linux/CORE/perl.h:738:24: fatal error: xlocale.h: No such file or directory
# include <xlocale.h>
Not only this is incorrect, but it also fails badly because there is no
xlocale.h in the toolchain sysroot:
output$ find . -name 'xlocale.h'
output$
Could you try:
wget http://git.buildroot.net/buildroot-test/plain/utils/br-reproduce-build
chmod +x br-reproduce-build
./br-reproduce-build aa764fd8e851225664af94e3bcb68657126d85e0
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2018-09-13 12:33 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-21 20:41 [Buildroot] [PATCH/next v2 1/3] package/perl-crypt-openssl-guess: new package Bernd Kuhls
2018-08-21 20:41 ` [Buildroot] [PATCH/next v2 2/3] package/perl-crypt-openssl-random: bump version to 0.15 Bernd Kuhls
2018-08-21 20:49 ` Thomas Petazzoni
2018-09-12 14:39 ` Thomas Petazzoni
2018-09-13 6:09 ` Bernd Kuhls
2018-08-21 20:41 ` [Buildroot] [PATCH/next v2 3/3] package/perl-crypt-openssl-rsa: bump version to 0.30 Bernd Kuhls
2018-08-23 9:49 ` [Buildroot] [PATCH/next v2 1/3] package/perl-crypt-openssl-guess: new package Thomas Petazzoni
[not found] ` <dec5946c-8c4e-0075-62a3-251daf7cb856@t-online.de>
2018-09-13 12:33 ` [Buildroot] [PATCH/next v2 2/3] package/perl-crypt-openssl-random: bump Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox