Bug#1074706: [Pkg-pascal-devel] Bug#1074706: Bug#1074706: msgfmt change breaks build
On 12/07/2024 11:17, Peter Blackman wrote: Raised bug report upstream, https://gitlab.com/freepascal.org/fpc/source/-/issues/40853 and updated the patch header. Oh poo!! Seems the mail system ate my patch with A non-text attachment was scrubbed... Name: msgfmt.patch Type: text/x-patch here it is inline; Subject: Fix msgfmt related build fail Author: Peter Blackman Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1074706 Forwarded: https://gitlab.com/freepascal.org/fpc/source/-/issues/40853 === --- a/fpcsrc/utils/fpdoc/intl/dglobals.de.po +++ b/fpcsrc/utils/fpdoc/intl/dglobals.de.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + #: dglobals:sdocpackagetitle msgid "Reference for package '%s'" msgstr "Referenz für Paket '%s'" Index: b/fpcsrc/utils/fpdoc/intl/dwriter.de.po === --- a/fpcsrc/utils/fpdoc/intl/dwriter.de.po +++ b/fpcsrc/utils/fpdoc/intl/dwriter.de.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + #: dwriter:serrfilewriting msgid "An error occurred during writing of file \"%s\": %s" msgstr "Beim Schreiben der Datei \"%s\" ist ein Fehler aufgetrete: %s" Index: b/fpcsrc/utils/fpdoc/intl/fpdoc.de.po === --- a/fpcsrc/utils/fpdoc/intl/fpdoc.de.po +++ b/fpcsrc/utils/fpdoc/intl/fpdoc.de.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + #: fpdoc:stitle msgid "FPDoc - Free Pascal Documentation Tool" msgstr "FPDoc - Free-Pascal-Dokumentationstool" Index: b/fpcsrc/utils/fpdoc/intl/makeskel.de.po === --- a/fpcsrc/utils/fpdoc/intl/makeskel.de.po +++ b/fpcsrc/utils/fpdoc/intl/makeskel.de.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + #: makeskel:stitle msgid "MakeSkel - FPDoc skeleton XML description file generator" msgstr "MakeSkel - Skelett-Generator für FPDoc-XML-Beschreibungsdateien"
Bug#1074706: [Pkg-pascal-devel] Bug#1074706: Bug#1074706: msgfmt change breaks build
Raised bug report upstream, https://gitlab.com/freepascal.org/fpc/source/-/issues/40853 and updated the patch header. Subject: Fix msgfmt related build fail Author: Peter Blackman Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1074706 Forwarded: https://gitlab.com/freepascal.org/fpc/source/-/issues/40853 === --- a/fpcsrc/utils/fpdoc/intl/dglobals.de.po +++ b/fpcsrc/utils/fpdoc/intl/dglobals.de.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + #: dglobals:sdocpackagetitle msgid "Reference for package '%s'" msgstr "Referenz für Paket '%s'" Index: b/fpcsrc/utils/fpdoc/intl/dwriter.de.po === --- a/fpcsrc/utils/fpdoc/intl/dwriter.de.po +++ b/fpcsrc/utils/fpdoc/intl/dwriter.de.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + #: dwriter:serrfilewriting msgid "An error occurred during writing of file \"%s\": %s" msgstr "Beim Schreiben der Datei \"%s\" ist ein Fehler aufgetrete: %s" Index: b/fpcsrc/utils/fpdoc/intl/fpdoc.de.po === --- a/fpcsrc/utils/fpdoc/intl/fpdoc.de.po +++ b/fpcsrc/utils/fpdoc/intl/fpdoc.de.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + #: fpdoc:stitle msgid "FPDoc - Free Pascal Documentation Tool" msgstr "FPDoc - Free-Pascal-Dokumentationstool" Index: b/fpcsrc/utils/fpdoc/intl/makeskel.de.po === --- a/fpcsrc/utils/fpdoc/intl/makeskel.de.po +++ b/fpcsrc/utils/fpdoc/intl/makeskel.de.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + #: makeskel:stitle msgid "MakeSkel - FPDoc skeleton XML description file generator" msgstr "MakeSkel - Skelett-Generator für FPDoc-XML-Beschreibungsdateien"
Bug#1074706: [Pkg-pascal-devel] Bug#1074706: msgfmt change breaks build
On 11/07/2024 12:38, Peter B wrote: Hi Davo, please raise this as a formal bug upstream with FPC. Or would you rather that I do this? Regards, Peter
Bug#1074706: [Pkg-pascal-devel] Bug#1074706: fpc: FTBFS: msgfmt change breaks build
Control: tags -1 patch Adding this patch to the end of the series, fixes the build of the po files. Regards, PeterSubject: Fix msgfmt related build fail Author: Peter Blackman Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1074706 Forwarded: no === --- a/fpcsrc/utils/fpdoc/intl/dglobals.de.po +++ b/fpcsrc/utils/fpdoc/intl/dglobals.de.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + #: dglobals:sdocpackagetitle msgid "Reference for package '%s'" msgstr "Referenz für Paket '%s'" Index: b/fpcsrc/utils/fpdoc/intl/dwriter.de.po === --- a/fpcsrc/utils/fpdoc/intl/dwriter.de.po +++ b/fpcsrc/utils/fpdoc/intl/dwriter.de.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + #: dwriter:serrfilewriting msgid "An error occurred during writing of file \"%s\": %s" msgstr "Beim Schreiben der Datei \"%s\" ist ein Fehler aufgetrete: %s" Index: b/fpcsrc/utils/fpdoc/intl/fpdoc.de.po === --- a/fpcsrc/utils/fpdoc/intl/fpdoc.de.po +++ b/fpcsrc/utils/fpdoc/intl/fpdoc.de.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + #: fpdoc:stitle msgid "FPDoc - Free Pascal Documentation Tool" msgstr "FPDoc - Free-Pascal-Dokumentationstool" Index: b/fpcsrc/utils/fpdoc/intl/makeskel.de.po === --- a/fpcsrc/utils/fpdoc/intl/makeskel.de.po +++ b/fpcsrc/utils/fpdoc/intl/makeskel.de.po @@ -1,3 +1,7 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + #: makeskel:stitle msgid "MakeSkel - FPDoc skeleton XML description file generator" msgstr "MakeSkel - Skelett-Generator für FPDoc-XML-Beschreibungsdateien"
Bug#1074706: [Pkg-pascal-devel] Bug#1074706: fpc: FTBFS: make[1]: *** [Makefile:9: de] Error 1
On 09/07/2024 17:08, Peter B wrote: Until recently, fpc built OK, and msgfmt did not appear in the build logs. Sorry, I got that bit wrong. I was looking at the 'all' build not the 'amd64' msgfmt used to work, but no longer. It seems a header such as msgid "" msgstr "" "Content-Type: text/plain; charset=UTF-8\n" needs to be added, AND the encoding changed to UTF-8 Regards, Peter
Bug#1069554: [Pkg-pascal-devel] Bug#1069554: this is no bug in the package, bug in the script doing the rebuild?
On 24/04/2024 20:38, Rene Engelhard wrote: My point is that you don't need the alternative. Hi Rene, but it would surely be needed if someone wanted to build winff from source on armel? Even though that case is perhaps unlikely. I can't see how the alternative is doing any harm. Regards, Peter