Summary: | media-video/subtitleeditor-0.52.1 will not build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | deference |
Component: | Current packages | Assignee: | Gilles Dartiguelongue (RETIRED) <eva> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | deference, gnome, jstein, plevine457, proteuss |
Priority: | Normal | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 582084 | ||
Attachments: |
build.log
emerge --info emerge --info (successful build) subtitleeditor-0.52.1-fix-include-order.patch |
Created attachment 441152 [details]
emerge --info
I could compile and install media-video/subtitleeditor-0.52.1 here. But I got plenty of broken type errors like uint <-> int. This will lead to strange bugs in the program. Someone, who uses the program, should report them upstream. btw: Thank you for all your reports. You can improve your subject lines next time, by adding the CATEGORY to the package name: media-video/subtitleeditor instead of subtitleeditor https://wiki.gentoo.org/wiki/Project:Bug-wranglers#Assessing_bug_reports Created attachment 441210 [details]
emerge --info (successful build)
I can neither reproduce the build issue I just re-emerged glibc and virtual/libintl. Then I tried to install subtitleeditor. It failed again. Same errors. Is it possible to install dev-libs/libintl instead of glibc. Is that the case in your install? I will try to find what differences cause the problem. I would ask that you keep tsubtitleeditor-0.41.1-r1 in portage until this problem gets fixed or worked around. As you have the full build log could you either submit it here so that I can submit it upstream or do so yourself with my build log. Thanks If you run glibc, there is no reason to have libintl installed. You should probably try to remove it and see if subtitleeditor builds. virtual/libintl is needed by several packages. I broken my system and then tried to install subtitleeditor again. It still fails. Please also retry with 0.53.0 The problem only occurs on my end with USE="-nls". Not sure if this is a gcc-6 problem. I'm able to reproduce this issue with a custom sys-devel/gcc-5.4.0-rc20160527. Created attachment 447050 [details, diff] subtitleeditor-0.52.1-fix-include-order.patch Bug and patch submitted upstream: https://gna.org/support/index.php?3373 (In reply to Peter Levine from comment #10) > Created attachment 447050 [details, diff] [details, diff] > subtitleeditor-0.52.1-fix-include-order.patch > > Bug and patch submitted upstream: > > https://gna.org/support/index.php?3373 Accepted upstream. Foolish me. All this time I did not notice that you used nls. I assumed that you tried to build with the same USE flags I did. Changing to +nls solved the issue. Thanks Still an issue with 0.53.0, but the patch works. Could you please add it to the ebuild? After digging a bit because I could not understand how your patch fixed the problem, I came around https://github.com/minetest/minetest/issues/4446. I have now included this in tree in 0.53.0 https://cgit.gentoo.org/repo/gentoo.git/commit/. Thanks for reporting. |
Created attachment 441150 [details] build.log [ebuild U ] media-video/subtitleeditor-0.52.1 [0.41.1-r1] USE="-debug -nls (-opengl%*)" In file included from utility.h:34:0, from subtitle.cc:25: /usr/include/libintl.h: At global scope: /usr/include/libintl.h:39:14: error: expected unqualified-id before 'const' extern char *gettext (const char *__msgid) ^ /usr/include/libintl.h:39:14: error: expected ')' before 'const' /usr/include/libintl.h:39:14: error: expected initializer before 'const' /usr/include/libintl.h:44:14: error: expected unqualified-id before 'const' extern char *dgettext (const char *__domainname, const char *__msgid) ^ /usr/include/libintl.h:44:14: error: expected ')' before 'const' /usr/include/libintl.h:44:14: error: expected initializer before 'const' /usr/include/libintl.h:51:14: error: expected unqualified-id before 'const' extern char *dcgettext (const char *__domainname, ^ /usr/include/libintl.h:51:14: error: expected ')' before 'const' /usr/include/libintl.h:51:14: error: expected initializer before 'const' /usr/include/libintl.h:61:14: error: expected unqualified-id before 'unsigned' extern char *ngettext (const char *__msgid1, const char *__msgid2, ^ /usr/include/libintl.h:61:14: error: expected ')' before 'unsigned' /usr/include/libintl.h:61:14: error: expected ')' before 'unsigned' /usr/include/libintl.h:61:14: error: expected ')' before 'unsigned' /usr/include/libintl.h:61:14: error: expected initializer before 'unsigned' /usr/include/libintl.h:82:14: error: expected unqualified-id before 'const' extern char *textdomain (const char *__domainname) __THROW; ^ /usr/include/libintl.h:82:14: error: expected ')' before 'const' /usr/include/libintl.h:82:14: error: expected initializer before 'const' /usr/include/libintl.h:86:14: error: expected unqualified-id before 'const' extern char *bindtextdomain (const char *__domainname, ^ /usr/include/libintl.h:86:14: error: expected ')' before 'const' /usr/include/libintl.h:86:14: error: expected initializer before 'const' /usr/include/libintl.h:91:14: error: expected unqualified-id before 'const' extern char *bind_textdomain_codeset (const char *__domainname, ^ /usr/include/libintl.h:91:14: error: expected ')' before 'const' /usr/include/libintl.h:91:14: error: expected initializer before 'const'