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 622120 Details for
Bug 863403
FTBFS: failing in building in %check with wrong CFLAGS
[?]
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.
[patch]
suggested patch
http-parser-fixFTBS.patch (text/plain), 2.02 KB, created by
Matěj Cepl
on 2012-10-05 11:38:54 UTC
(
hide
)
Description:
suggested patch
Filename:
MIME Type:
Creator:
Matěj Cepl
Created:
2012-10-05 11:38:54 UTC
Size:
2.02 KB
patch
obsolete
>diff --git a/http-parser-build.patch b/http-parser-build.patch >index e69de29..d377f73 100644 >--- a/http-parser-build.patch >+++ b/http-parser-build.patch >@@ -0,0 +1,11 @@ >+diff -up ry-http-parser-32c0e11/Makefile.orig ry-http-parser-32c0e11/Makefile >+--- ry-http-parser-32c0e11/Makefile.orig 2012-10-05 13:14:57.962566503 +0200 >++++ ry-http-parser-32c0e11/Makefile 2012-10-05 13:14:24.326549940 +0200 >+@@ -1,5 +1,5 @@ >+-OPT_DEBUG=-O0 -g -Wall -Wextra -Werror -I. >+-OPT_FAST=-O3 -DHTTP_PARSER_STRICT=0 -I. >++OPT_DEBUG=$(CFLAGS) -O0 -g -Wall -Wextra -Werror -I. >++OPT_FAST=$(CFLAGS) -O3 -DHTTP_PARSER_STRICT=0 -I. >+ >+ CC?=gcc >+ >diff --git a/http-parser.spec b/http-parser.spec >index b0c2d4d..4fe1c2b 100644 >--- a/http-parser.spec >+++ b/http-parser.spec >@@ -12,6 +12,7 @@ License: MIT > URL: http://github.com/ry/http-parser > # download from https://github.com/ry/http-parser/tarball/v%%{version} > Source0: ry-http-parser-v%{version}-0-g%{git_hash}.tar.gz >+Patch0: http-parser-build.patch > BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) > > %description >@@ -35,10 +36,13 @@ Development headers and libraries for http-parser. > %prep > %setup -q -n ry-http-parser-%{git_hash} > >+%patch0 -p1 >+ > > %build >-make %{?_smp_mflags} CC="%{__cc} %{optflags} -fsigned-char -fPIC" http_parser.o >-%{__cc} %{optflags} -Wl,-soname,http_parser.so.%{somajor} \ >+export CFLAGS="%{optflags} -fsigned-char -fPIC" >+make %{?_smp_mflags} http_parser.o >+%{__cc} -Wl,-soname,http_parser.so.%{somajor} \ > -o libhttp_parser.so -shared http_parser.o > > >@@ -53,7 +57,7 @@ ln -sf libhttp_parser.so.%{somajor}.%{sominor} $RPM_BUILD_ROOT%{_libdir}/libhttp > > > %check >-make %{?_smp_mflags} CC="%{__cc} %{optflags} -fsigned-char -fPIC" test >+make %{?_smp_mflags} CFLAGS="$CFLAGS -fsigned-char -fPIC" test > > > %clean >@@ -105,4 +109,4 @@ rm -rf $RPM_BUILD_ROOT > - Call ldconfig (Peter Lemenkov) > > * Fri Sep 17 2010 Lubomir Rintel <lkundrak@v3.sk> - 0.3-1.20100911git >-- Initial packaging >\ No newline at end of file >+- Initial packaging
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 863403
: 622120