Summary: | x11-misc/tinymount uses -Werror during build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sergey Popov <pinkbyte> |
Component: | New packages | Assignee: | Mike Limansky <limanski> |
Status: | RESOLVED FIXED | ||
Severity: | QA | CC: | desktop-misc, proxy-maint, qt |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 260867 | ||
Attachments: | build.log |
Description
Sergey Popov
2012-11-06 06:44:49 UTC
What wrong with -Werror? Do you mean that -Werror is prohibited in Gentoo, because some CFLAGS/CXXFLAGS or compiler versions may lead to errors? Actually tinymount is tested with gcc 4.5/4.7 and clang, but if it needed I'll add patch to remove Werror. (In reply to comment #1) > What wrong with -Werror? Do you mean that -Werror is prohibited in Gentoo, > because some CFLAGS/CXXFLAGS or compiler versions may lead to errors? > > Actually tinymount is tested with gcc 4.5/4.7 and clang, but if it needed > I'll add patch to remove Werror. Well, actually it's a QA bug, see Tracker bug - https://bugs.gentoo.org/show_bug.cgi?id=260867 to know why '-Werror' in releases(but not in development) is bad. if you use specific -Werror that could actually be respected, also see https://bugs.gentoo.org/show_bug.cgi?id=415979#c6(In reply to comment #1) > What wrong with -Werror? Do you mean that -Werror is prohibited in Gentoo, > because some CFLAGS/CXXFLAGS or compiler versions may lead to errors? > > Actually tinymount is tested with gcc 4.5/4.7 and clang, but if it needed > I'll add patch to remove Werror. if you use specific -Werror (e.g. -Werror-implicit-function-declaration), then that could actually be respected, also see comment 6 https://bugs.gentoo.org/show_bug.cgi?id=415979#c6 Index: tinymount-0.2.6.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/x11-misc/tinymount/tinymount-0.2.6.ebuild,v retrieving revision 1.1 diff -u -B -r1.1 tinymount-0.2.6.ebuild --- tinymount-0.2.6.ebuild 6 Nov 2012 06:39:30 -0000 1.1 +++ tinymount-0.2.6.ebuild 6 Nov 2012 15:30:58 -0000 @@ -47,6 +47,8 @@ # Prevent disabled locales from being built l10n_for_each_disabled_locale_do remove_locale + sed -i src/src.pro -e 's|-Werror||g' || die # bug #441986 + qt4-r2_src_prepare } +*tinymount-0.2.6-r1 (06 Nov 2012) + + 06 Nov 2012; Markos Chandras <hwoarang@gentoo.org> + +files/tinymount-0.2.6-libnotify.patch, +tinymount-0.2.6-r1.ebuild: + Revbump. Drop -Werror. Bug #442048. Don't build libnotify support + unconditionally. Bug #441986 + |