KnoooW / naclports

Automatically exported from code.google.com/p/naclports
0 stars 0 forks source link

OpenSSL pod file syntax error with Perl 5.18 #119

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Check out naclports, run "TOOLCHAIN=pnacl make openssl" to build openssl 
1.0.1g

What is the expected output? What do you see instead?
Build should succeed; instead it produces error message like "cms.pod around 
line 457: Expected text after =item, not a number", indicating there's pod file 
syntax error.

What version of the product are you using? On what operating system?
naclports revision 1251, Ubuntu 14.04 64-bit

Please provide any additional information below.
It's a well-known issue, and has been fixed in Gentoo/Archlinux/...
I guess production environment is Ubuntu 12.04 at Google, which comes with a 
lower version of Perl, so this issue doesn't occur.
The fix is simple: just copy all content of 
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-libs/openssl/files/o
penssl-1.0.1f-perl-5.18.patch into src/ports/openssl/nacl.patch.
The patch is used by Gentoo and Archlinux, so I personally consider it safe and 
stable :-)
I don't know if this change will affect Ubuntu 12.04. If it doesn't, can you 
merge this patch upstream? Thank you.

Original issue reported on code.google.com by endlessr...@gmail.com on 30 Apr 2014 at 3:48

GoogleCodeExporter commented 9 years ago
This was fixed at r1268

Original comment by sbc@google.com on 19 Jun 2014 at 6:16

GoogleCodeExporter commented 9 years ago

Original comment by sbc@google.com on 19 Jun 2014 at 6:16