Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 512298 - =net-libs/webkit-gtk-2.4.3 (both slots): Source/WebCore/platform/gtk/po/fr.po:11: warning: header field 'Language' still has the initial default value
Summary: =net-libs/webkit-gtk-2.4.3 (both slots): Source/WebCore/platform/gtk/po/fr.po...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 512528 512618 (view as bug list)
Depends on:
Blocks: gettext-0.19
  Show dependency tree
 
Reported: 2014-06-03 14:45 UTC by Kobboi
Modified: 2014-07-16 09:11 UTC (History)
10 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log gzipped (build.log.gz,57.58 KB, application/x-gzip)
2014-06-03 14:46 UTC, Kobboi
Details
build log gzipped (build.log.gz,57.76 KB, application/x-gzip)
2014-06-03 19:05 UTC, Jam
Details
po files fix for 0.19 compat (file_512298.txt,2.32 KB, patch)
2014-06-10 07:00 UTC, Guillaume ZITTA
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kobboi 2014-06-03 14:45:14 UTC
/usr/bin/msgfmt -c -o Source/WebCore/platform/gtk/po/ar.mo Source/WebCore/platform/gtk/po/ar.po
test -d Source/WebCore/platform/gtk/po/ || mkdir -p Source/WebCore/platform/gtk/po/
/usr/bin/msgfmt -c -o Source/WebCore/platform/gtk/po/as.mo Source/WebCore/platform/gtk/po/as.po
test -d Source/WebCore/platform/gtk/po/ || mkdir -p Source/WebCore/platform/gtk/po/
/usr/bin/msgfmt -c -o Source/WebCore/platform/gtk/po/bg.mo Source/WebCore/platform/gtk/po/bg.po
/usr/bin/msgfmt -c -o Source/WebCore/platform/gtk/po/de.mo Source/WebCore/platform/gtk/po/de.po
/usr/bin/msgfmt -c -o Source/WebCore/platform/gtk/po/cs.mo Source/WebCore/platform/gtk/po/cs.po
test -d Source/WebCore/platform/gtk/po/ || mkdir -p Source/WebCore/platform/gtk/po/
test -d Source/WebCore/platform/gtk/po/ || mkdir -p Source/WebCore/platform/gtk/po/
test -d Source/WebCore/platform/gtk/po/ || mkdir -p Source/WebCore/platform/gtk/po/
test -d Source/WebCore/platform/gtk/po/ || mkdir -p Source/WebCore/platform/gtk/po/
test -d Source/WebCore/platform/gtk/po/ || mkdir -p Source/WebCore/platform/gtk/po/
/usr/bin/msgfmt -c -o Source/WebCore/platform/gtk/po/el.mo Source/WebCore/platform/gtk/po/el.po
/usr/bin/msgfmt -c -o Source/WebCore/platform/gtk/po/en_CA.mo Source/WebCore/platform/gtk/po/en_CA.po
/usr/bin/msgfmt -c -o Source/WebCore/platform/gtk/po/eo.mo Source/WebCore/platform/gtk/po/eo.po
/usr/bin/msgfmt -c -o Source/WebCore/platform/gtk/po/en_GB.mo Source/WebCore/platform/gtk/po/en_GB.po
test -d Source/WebCore/platform/gtk/po/ || mkdir -p Source/WebCore/platform/gtk/po/
test -d Source/WebCore/platform/gtk/po/ || mkdir -p Source/WebCore/platform/gtk/po/
test -d Source/WebCore/platform/gtk/po/ || mkdir -p Source/WebCore/platform/gtk/po/
/usr/bin/msgfmt -c -o Source/WebCore/platform/gtk/po/et.mo Source/WebCore/platform/gtk/po/et.po
/usr/bin/msgfmt -c -o Source/WebCore/platform/gtk/po/es.mo Source/WebCore/platform/gtk/po/es.po
test -d Source/WebCore/platform/gtk/po/ || mkdir -p Source/WebCore/platform/gtk/po/
test -d Source/WebCore/platform/gtk/po/ || mkdir -p Source/WebCore/platform/gtk/po/
/usr/bin/msgfmt -c -o Source/WebCore/platform/gtk/po/eu.mo Source/WebCore/platform/gtk/po/eu.po
/usr/bin/msgfmt -c -o Source/WebCore/platform/gtk/po/fr.mo Source/WebCore/platform/gtk/po/fr.po
Source/WebCore/platform/gtk/po/fr.po:11: warning: header field 'Language' still has the initial default value
/usr/bin/msgfmt: found 1 fatal error


Reproducible: Always
Comment 1 Kobboi 2014-06-03 14:46:17 UTC
Created attachment 378174 [details]
build.log gzipped
Comment 2 Jam 2014-06-03 19:02:01 UTC
I confirm ther issue with "GNUmakefile:81955: recipe for target 'Source/WebCore/platform/gtk/po/ru.mo' failed" in my case.

make[2]: Entering directory '/var/tmp/portage/net-libs/webkit-gtk-2.4.3/work/webkitgtk-2.4.3'
cp DerivedSources/JavaScriptCore/InspectorJSTypeBuilders.h DerivedSources/JavaScriptCore/InspectorJSFrontendDispatchers.h DerivedSources/JavaScriptCore/InspectorJSBackendDispatchers.h DerivedSources/JavaScriptCore/inspector
/usr/bin/msgfmt -c -o Source/WebCore/platform/gtk/po/ru.mo Source/WebCore/platform/gtk/po/ru.po
Source/WebCore/platform/gtk/po/ru.po:2: warning: header field 'Language' still has the initial default value
/usr/bin/msgfmt: found 1 fatal error
GNUmakefile:81955: recipe for target 'Source/WebCore/platform/gtk/po/ru.mo' failed
make[1]: *** [Source/WebCore/platform/gtk/po/ru.mo] Error 1
Comment 3 Jam 2014-06-03 19:05:03 UTC
Created attachment 378190 [details]
build log gzipped
Comment 4 Kobboi 2014-06-03 21:38:33 UTC
On another machine, I did not encounter this. It had updated webkit-gtk before gettext. So as a test, I tried to re-emerged webkit-gtk-2.4.3 after the gettext ugrade to 0.19. It failed.

So the issue is: webkit-gtk-2.4.3 does not compile with gettext-0.19. 

I don't find any package depending on gettext-0.19, so a temporary fix is to just mask >=gettext-0.19, until upstream fixes it.
Comment 5 Kobboi 2014-06-03 21:39:55 UTC
Note:

dev-vcs/mercurial/ChangeLog:  Added po fixes for >=gettext-0.19.
Comment 6 David King 2014-06-04 09:17:22 UTC
Fedora has a patch from the (upstream) gettext maintainer to relax the failing check to be a warning:

http://pkgs.fedoraproject.org/cgit/gettext.git/tree/gettext-no-strict-header-check.patch
Comment 7 Pacho Ramos gentoo-dev 2014-06-05 16:36:36 UTC
I have also seen bug 512448 and more will likely appear, will CC gettext maintainers to see if they want to delay this enforcement as fedora did
Comment 8 Alesc 2014-06-05 18:58:26 UTC
*** Bug 512528 has been marked as a duplicate of this bug. ***
Comment 9 Alesc 2014-06-05 19:00:54 UTC
Compilation is successful if make.conf LINGUAS="en"
Comment 10 Fernando (likewhoa) 2014-06-06 14:42:14 UTC
confirmed here on both x86 and amd64 and that it compiles with LINGUAS="en"
Comment 11 Rafał Mużyło 2014-06-07 10:04:17 UTC
*** Bug 512618 has been marked as a duplicate of this bug. ***
Comment 12 Guillaume ZITTA 2014-06-10 07:00:42 UTC
Created attachment 378618 [details, diff]
po files fix for 0.19 compat

gettext 0.19 seems to need non empty "Language" field
Comment 13 Zentoo 2014-06-11 11:01:31 UTC
both net-libs/webkit-gtk-2.4.3-r200 (net-libs/webkit-gtk:2)
and net-libs/webkit-gtk-2.4.3 (net-libs/webkit-gtk:3)
compile fine with sys-devel/gettext-0.19.1
Comment 14 Pacho Ramos gentoo-dev 2014-06-11 21:35:56 UTC
I would forward this to upstream to let them fix the issue for the future gettext version that will be stricter again (this was reverted in 0.19.1)
Comment 15 Pacho Ramos gentoo-dev 2014-07-16 09:11:09 UTC
(In reply to Pacho Ramos from comment #14)
> I would forward this to upstream to let them fix the issue for the future
> gettext version that will be stricter again (this was reverted in 0.19.1)

Please do. Thanks :)