Re: rpmbuild error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 25, 2018 at 9:47 PM Ranjan Maitra <maitra@xxxxxxxxx> wrote:
On Tue, 25 Sep 2018 07:52:46 -0500 Richard Shaw <hobbes1069@xxxxxxxxx> wrote:

> On Mon, Sep 24, 2018 at 10:07 PM Ranjan Maitra <maitra@xxxxxxxxx> wrote:
>
> > Hi,
> >
> > I have not done this for a while, and I was trying to build a small rpm
> > using a previously written .spec file which I had created some time ago and
> > which compiled without incident till F27.
>
>
> Over time gcc gets more pedantic about syntax and warnings turn to errors
> and I believer "-Werror" turns all warnings to errors. You could remove
> that flag or I think adding "-Wno-error=parentheses" might work.

Thanks! How do I remove this flag? Or add the no-error flag, for that matter? I tried:

make %{?_smp_mflags} "-Wno-error=parentheses"

No it needs to be set at or before the configure step. I used the environment variable method (CXXFLAGS). Take a look at the spec file in the SRPM I linked in my other email.

I didn't check thoroughly but I believe the SRPM I made is mostly Fedora guidelines compliant. I would still need to understand the purpose of the extra desktop file and why one it installed to /etc/wbar.d.

Thanks,
Richard
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux