Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 936135 Details for
Bug 1140189
pyyaml: tests fail on BE
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
proposed fix
0001-Fixed-tests-on-BE.patch (text/plain), 2.80 KB, created by
Jakub Čajka
on 2014-09-10 12:58:20 UTC
(
hide
)
Description:
proposed fix
Filename:
MIME Type:
Creator:
Jakub Čajka
Created:
2014-09-10 12:58:20 UTC
Size:
2.80 KB
patch
obsolete
>From 429ae3b04d3c804a09915c0fc947696ca4f564fb Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Jakub=20=C4=8Cajka?= <jcajka@redhat.com> >Date: Wed, 10 Sep 2014 14:51:39 +0200 >Subject: [PATCH] Fixed tests on BE > >--- > PyYAML.spec | 8 +++++++- > big-endian-fix.patch | 21 +++++++++++++++++++++ > 2 files changed, 28 insertions(+), 1 deletion(-) > create mode 100644 big-endian-fix.patch > >diff --git a/PyYAML.spec b/PyYAML.spec >index fa6b279..aeee0af 100644 >--- a/PyYAML.spec >+++ b/PyYAML.spec >@@ -6,7 +6,7 @@ > > Name: PyYAML > Version: 3.11 >-Release: 5%{?dist} >+Release: 6%{?dist} > Summary: YAML parser and emitter for Python > > Group: Development/Libraries >@@ -22,6 +22,8 @@ BuildRequires: python3-devel > BuildRequires: python3-setuptools > %endif > >+Patch0: big-endian-fix.patch >+ > %description > YAML is a data serialization format designed for human readability and > interaction with scripting languages. PyYAML is a YAML parser and >@@ -57,6 +59,7 @@ configuration files to object serialization and persistance. > > %prep > %setup -q -n %{name}-%{version} >+%patch0 -p1 -b .be > chmod a-x examples/yaml-highlight/yaml_hl.py > > %if 0%{?with_python3} >@@ -118,6 +121,9 @@ rm -rf %{buildroot} > > > %changelog >+* Wed Sep 10 2014 Jakub Äajka <jcajka@redhat.com> - 3.11-6 >+- Fixed tests on BE >+ > * Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.11-5 > - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild > >diff --git a/big-endian-fix.patch b/big-endian-fix.patch >new file mode 100644 >index 0000000..6ff5f00 >--- /dev/null >+++ b/big-endian-fix.patch >@@ -0,0 +1,21 @@ >+diff -up PyYAML-3.11/ext/_yaml.c.be PyYAML-3.11/ext/_yaml.c >+--- PyYAML-3.11/ext/_yaml.c.be 2014-09-10 12:52:28.958329546 +0200 >++++ PyYAML-3.11/ext/_yaml.c 2014-09-10 12:53:57.808606566 +0200 >+@@ -872,7 +872,7 @@ static int __Pyx_InitStrings(__Pyx_Strin >+ static PyTypeObject *__pyx_ptype_5_yaml_Mark = 0; >+ static PyTypeObject *__pyx_ptype_5_yaml_CParser = 0; >+ static PyTypeObject *__pyx_ptype_5_yaml_CEmitter = 0; >+-static int __pyx_f_5_yaml_input_handler(void *, char *, int, int *); /*proto*/ >++static int __pyx_f_5_yaml_input_handler(void *, char *, size_t, size_t *); /*proto*/ >+ static int __pyx_f_5_yaml_output_handler(void *, char *, int); /*proto*/ >+ #define __Pyx_MODULE_NAME "_yaml" >+ int __pyx_module_is_main__yaml = 0; >+@@ -11085,7 +11085,7 @@ static int __pyx_f_5_yaml_7CParser__pars >+ * parser = <CParser>data >+ */ >+ >+-static int __pyx_f_5_yaml_input_handler(void *__pyx_v_data, char *__pyx_v_buffer, int __pyx_v_size, int *__pyx_v_read) { >++static int __pyx_f_5_yaml_input_handler(void *__pyx_v_data, char *__pyx_v_buffer, size_t __pyx_v_size, size_t *__pyx_v_read) { >+ struct __pyx_obj_5_yaml_CParser *__pyx_v_parser = 0; >+ PyObject *__pyx_v_value = NULL; >+ int __pyx_r; >-- >1.9.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1140189
:
936135
|
937561