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 910193 Details for
Bug 1105945
alliance: FTBFS in rawhide
[?]
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]
Patch for rawhide
0001-Add-missing-BRs-fix-FTBFS-with-Werror-format-securit.patch (text/plain), 7.72 KB, created by
Yaakov Selkowitz
on 2014-06-19 00:06:16 UTC
(
hide
)
Description:
Patch for rawhide
Filename:
MIME Type:
Creator:
Yaakov Selkowitz
Created:
2014-06-19 00:06:16 UTC
Size:
7.72 KB
patch
obsolete
>From dd5513cac859b336d80618b41fc3d2fe749371ed Mon Sep 17 00:00:00 2001 >From: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> >Date: Wed, 18 Jun 2014 19:05:39 -0500 >Subject: [PATCH] Add missing BRs, fix FTBFS with -Werror=format-security, > bison (#913874, #991959, #1105945) > >--- > alliance-5.0-20090901-bison.patch | 25 +++++++++ > alliance-5.0-20090901-format-security.patch | 85 +++++++++++++++++++++++++++++ > alliance.spec | 24 ++++---- > 3 files changed, 123 insertions(+), 11 deletions(-) > create mode 100644 alliance-5.0-20090901-bison.patch > create mode 100644 alliance-5.0-20090901-format-security.patch > >diff --git a/alliance-5.0-20090901-bison.patch b/alliance-5.0-20090901-bison.patch >new file mode 100644 >index 0000000..62998be >--- /dev/null >+++ b/alliance-5.0-20090901-bison.patch >@@ -0,0 +1,25 @@ >+From debian/patches/10-fix-parser-extern.patch >+Fix duplicate extern error with newer bison >+ >+--- a/ppt/src/Makefile.am >++++ b/ppt/src/Makefile.am >+@@ -19,7 +19,7 @@ pat_decl_y.c pat_decl_y.h : $(srcdir)/pat_decl_y.y >+ $(YACC) -d $(YFLAGS) $(srcdir)/pat_decl_y.y \ >+ && sed -e "s/yy/pat_decl_y_/g" -e "s/YY/PAT_DECL_Y_/g" y.tab.c \ >+ | sed -e "s/int[ ]*pat_decl_y_char;/extern int pat_decl_y_char;/" \ >+- | sed -e "s/PAT_DECL_Y_STYPE[ ]*pat_decl_y_lval;/extern PAT_DECL_Y_STYPE pat_decl_y_lval;/" \ >++ | sed -e "s/PAT_DECL_Y_STYPE[ ]*pat_decl_y_lval;/PAT_DECL_Y_STYPE pat_decl_y_lval;/" \ >+ | sed -e "s/int[ ]*pat_decl_y_nerrs;/extern int pat_decl_y_nerrs;/" \ >+ > pat_decl_y.c \ >+ && sed -e "s/yy/pat_decl_y_/g" -e "s/YY/PAT_DECL_Y_/g" y.tab.h > pat_decl_y.h >+--- a/ppt/src/Makefile.in >++++ b/ppt/src/Makefile.in >+@@ -701,7 +701,7 @@ pat_decl_y.c pat_decl_y.h : $(srcdir)/pat_decl_y.y >+ $(YACC) -d $(YFLAGS) $(srcdir)/pat_decl_y.y \ >+ && sed -e "s/yy/pat_decl_y_/g" -e "s/YY/PAT_DECL_Y_/g" y.tab.c \ >+ | sed -e "s/int[ ]*pat_decl_y_char;/extern int pat_decl_y_char;/" \ >+- | sed -e "s/PAT_DECL_Y_STYPE[ ]*pat_decl_y_lval;/extern PAT_DECL_Y_STYPE pat_decl_y_lval;/" \ >++ | sed -e "s/PAT_DECL_Y_STYPE[ ]*pat_decl_y_lval;/PAT_DECL_Y_STYPE pat_decl_y_lval;/" \ >+ | sed -e "s/int[ ]*pat_decl_y_nerrs;/extern int pat_decl_y_nerrs;/" \ >+ > pat_decl_y.c \ >+ && sed -e "s/yy/pat_decl_y_/g" -e "s/YY/PAT_DECL_Y_/g" y.tab.h > pat_decl_y.h >diff --git a/alliance-5.0-20090901-format-security.patch b/alliance-5.0-20090901-format-security.patch >new file mode 100644 >index 0000000..de54d36 >--- /dev/null >+++ b/alliance-5.0-20090901-format-security.patch >@@ -0,0 +1,85 @@ >+--- a/rtd/src/rtd_drive.c >++++ b/rtd/src/rtd_drive.c >+@@ -100,7 +100,7 @@ static void RtlWriteNameFile( Name ) >+ RtlExprLength = Length; >+ } >+ >+- fprintf( RtlFile, Name ); >++ fprintf( RtlFile, "%s", Name ); >+ } >+ >+ /*------------------------------------------------------------\ >+--- a/vpd/src/vpd_drive.c >++++ b/vpd/src/vpd_drive.c >+@@ -100,7 +100,7 @@ static void VpnWriteNameFile( Name ) >+ VpnExprLength = Length; >+ } >+ >+- fprintf( VpnFile, Name ); >++ fprintf( VpnFile, "%s", Name ); >+ } >+ >+ /*------------------------------------------------------------\ >+--- a/boog/src/bog_normalize_message.c >++++ b/boog/src/bog_normalize_message.c >+@@ -106,7 +106,7 @@ extern void display_error_in_abl(char* message, chain_list *abl) >+ } >+ >+ fprintf(stderr,"BEH: "); >+- fprintf(stderr,message); >++ fprintf(stderr,"%s",message); >+ fprintf(stderr," in '"); >+ fflush(stderr); >+ display_abl(abl); >+--- a/l2p/src/drive_ps.c >++++ b/l2p/src/drive_ps.c >+@@ -83,22 +83,22 @@ char *msg; >+ break; >+ case E_OPEN : >+ fprintf (stderr, "Problem while opening file "); >+- fprintf (stderr, msg); >++ fprintf (stderr, "%s", msg); >+ break; >+ case E_CLOSE : >+ fprintf (stderr, "Problem while closing file "); >+- fprintf (stderr, msg); >++ fprintf (stderr, "%s", msg); >+ break; >+ case E_WRITE : >+ fprintf (stderr, "Problem while writing file "); >+- fprintf (stderr, msg); >++ fprintf (stderr, "%s", msg); >+ break; >+ case E_READ : >+ fprintf (stderr, "Problem while reading file "); >+- fprintf (stderr, msg); >++ fprintf (stderr, "%s", msg); >+ break; >+ case E_OUTBOX : >+- fprintf (stderr, msg); >++ fprintf (stderr, "%s", msg); >+ break; >+ default : >+ fprintf (stderr, "Unknow internal error"); >+--- a/loon/src/lon_normalize_message.c >++++ b/loon/src/lon_normalize_message.c >+@@ -106,7 +106,7 @@ extern void display_error_in_abl(char* message, chain_list *abl) >+ } >+ >+ fprintf(stderr,"BEH: "); >+- fprintf(stderr,message); >++ fprintf(stderr,"%s",message); >+ fprintf(stderr," in '"); >+ fflush(stderr); >+ display_abl(abl); >+--- a/sea/src/util_LEFDEF.c >++++ b/sea/src/util_LEFDEF.c >+@@ -213,7 +213,7 @@ extern char *MBK2DEF_name(asLEF, asMBK) >+ *pI = (char)0; pI += 1; >+ sprintf (asLEF, "%s(%s)", sTmp, pI); >+ } else { >+- sprintf (asLEF, sTmp); >++ sprintf (asLEF, "%s", sTmp); >+ } >+ >+ return (asLEF); >diff --git a/alliance.spec b/alliance.spec >index 3e1627e..13b252d 100644 >--- a/alliance.spec >+++ b/alliance.spec >@@ -4,7 +4,7 @@ > > Name: alliance > Version: 5.0 >-Release: 38.%{snapshot}snap%{?dist} >+Release: 39.%{snapshot}snap%{?dist} > Summary: VLSI EDA System > > License: GPLv2 >@@ -13,7 +13,6 @@ Group: Applications/Engineering > Source: http://www-asim.lip6.fr/pub/alliance/distribution/5.0/%{name}-%{version}-%{snapshot}.tar.gz > URL: http://www-asim.lip6.fr/recherche/alliance/ > >- > Source1: alliance.fedora > > # Chitlesh's donated pictures to alliance >@@ -24,10 +23,14 @@ Source3: alliance-tutorials-go-all-clean.sh > Source4: alliance-examples-go-all.sh > Source5: alliance-examples-go-all-clean.sh > >+Patch0: alliance-5.0-20090901-format-security.patch >+Patch1: alliance-5.0-20090901-bison.patch >+ > BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) > BuildRequires: libXt-devel byacc desktop-file-utils bison > BuildRequires: libXp-devel libXpm-devel libstdc++-devel flex m4 >-BuildRequires: transfig ghostscript >+BuildRequires: transfig ghostscript tex(latex) tex(epsf.sty) tex(picinpar.sty) >+BuildRequires: tex(subfigure.sty) tex(wrapfig.sty) > > %if 0%{?rhel} > BuildRequires: openmotif-devel >@@ -100,6 +103,8 @@ Documentation and tutorials for the Alliance VLSI CAD Sytem. > > %prep > %setup -q >+%patch0 -p1 >+%patch1 -p1 > %{__rm} -rf autom4te.cache > > %{__cp} -p %{SOURCE1} . >@@ -191,8 +196,6 @@ sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool > > %install > >-%{__rm} -rf %{buildroot} >- > %{__make} INSTALL="install -p" DESTDIR=%{buildroot} install > > # Set execution rights on the alc_env.* batchs and adjust ALLIANCE_TOP. >@@ -292,15 +295,11 @@ touch --no-create %{_datadir}/icons/hicolor || : > > > >-%clean >-%{__rm} -rf %{buildroot} >- > #These headers are useful for the _usage_ of the binaries > #without these headers some of the binaries will be broken by default > > > %files >-%defattr(-,root,root,-) > %doc CHANGES LICENCE COPYING* FAQ alliance.fedora > %{prefix}/ > %{_datadir}/%{name}/ >@@ -308,14 +307,12 @@ touch --no-create %{_datadir}/icons/hicolor || : > > > %files libs >-%defattr(-,root,root,-) > %config(noreplace) %{_sysconfdir}/ld.so.conf.d/* > %{_datadir}/applications/*.desktop > %config(noreplace) %{_sysconfdir}/profile.d/alc_env.* > > > %files doc >-%defattr(-,root,root,-) > %doc doc/html/ > %doc doc/design-flow > %doc doc/pdf/*.pdf >@@ -332,6 +329,11 @@ touch --no-create %{_datadir}/icons/hicolor || : > > > %changelog >+* Wed Jun 18 2014 Yaakov Selkowitz <yselkowi@redhat.com> - 5.0-39.20090901snap >+- Add missing tex BRs (#913874, #991959, #1105945) >+- Fix FTBFS with -Werror=format-security >+- Fix FTBFS with latest bison >+ > * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0-38.20090901snap > - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild > >-- >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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1105945
:
903432
|
903433
|
903434
| 910193