On 13/04/2015 5:59 pm, Werner Koch wrote:
> On Sun, 12 Apr 2015 00:29, [email protected] said:
> 
>> =========================================================
>> t-stringhelp.c:488:3: error: function definition is not allowed here
>>   {
>>   ^
> 
> Oh sorry, I didn't spotted the use of a nested function here.
> Fix pushed and attsched.

I tested this in anticipation of an update to the MacPorts package so
it uses the same configure options as the working port of 2.1.2 and
all the same dependencies with the current repo code (commit
2180845959839705200e3172dbafc94b70b9007f).  The configuration
parameters are:

configure --prefix=/opt/local --without-adns
--with-pinentry-pgm=/Applications/MacPorts/pinentry-mac.app/Contents/MacOS/pinentry-mac

It does seem to mostly compile ... it just hates all the translations:

gcc -DHAVE_CONFIG_H -I. -I..  -I../common
-DLOCALEDIR=\"/opt/local/share/locale\"
-DGNUPG_BINDIR="\"/opt/local/bin\""
-DGNUPG_LIBEXECDIR="\"/opt/local/libexec\""
-DGNUPG_LIBDIR="\"/opt/local/lib/gnupg\""
-DGNUPG_DATADIR="\"/opt/local/share/gnupg\""
-DGNUPG_SYSCONFDIR="\"/opt/local/etc/gnupg\""
-DGNUPG_LOCALSTATEDIR="\"/opt/local/var\""
-DGNUPG_DEFAULT_PINENTRY="\"/Applications/MacPorts/pinentry-mac.app/Contents/MacOS/pinentry-mac\""
    -I/opt/local/include -I/usr/local/include -I/opt/local/include
-I/opt/local/include -I/usr/local/include -I/opt/local/include -g -O2
-Wall -Wno-pointer-sign -Wpointer-arith -MT gpgsplit.o -MD -MP -MF
.deps/gpgsplit.Tpo -c -o gpgsplit.o gpgsplit.c
mv -f .deps/gpgsplit.Tpo .deps/gpgsplit.Po
gcc -I/usr/local/include -I/opt/local/include -I/opt/local/include
-I/usr/local/include -I/opt/local/include -g -O2 -Wall -Wno-pointer-sign
-Wpointer-arith   -o gpgsplit gpgsplit.o ../common/libcommon.a
-L/usr/local/lib -lgcrypt -L/opt/local/lib -lgpg-error -L/opt/local/lib
-lgpg-error -lz -lbz2 -L/opt/local/lib -lintl -Wl,-framework
-Wl,CoreFoundation  -L/opt/local/lib -liconv
Making all in po
test ! -f ./gnupg2.pot || \
          test -z "[email protected] [email protected] ca.gmo cs.gmo da.gmo de.gmo
eo.gmo el.gmo es.gmo et.gmo fi.gmo fr.gmo gl.gmo hu.gmo id.gmo it.gmo
ja.gmo nb.gmo pl.gmo pt.gmo ro.gmo ru.gmo sk.gmo sv.gmo tr.gmo uk.gmo
zh_TW.gmo zh_CN.gmo" ||
/Applications/Xcode.app/Contents/Developer/usr/bin/make [email protected]
[email protected] ca.gmo cs.gmo da.gmo de.gmo eo.gmo el.gmo es.gmo et.gmo
fi.gmo fr.gmo gl.gmo hu.gmo id.gmo it.gmo ja.gmo nb.gmo pl.gmo pt.gmo
ro.gmo ru.gmo sk.gmo sv.gmo tr.gmo uk.gmo zh_TW.gmo zh_CN.gmo
rm -f [email protected] && /opt/local/bin/msgfmt -c --statistics -o
[email protected] [email protected]
[email protected]:54: 'msgid' and 'msgstr' entries do not both end with '\n'
[email protected]:58: 'msgid' and 'msgstr' entries do not both end with '\n'

... [SNIP] ...

[email protected]:336: 'msgid' and 'msgstr[0]' entries do not both end with '\n'
[email protected]:344: 'msgid' and 'msgstr[0]' entries do not both end with '\n'

... [SNIP] ...

[email protected]:9796: 'msgid' and 'msgstr' entries do not both end with '\n'
[email protected]:9800: 'msgid' and 'msgstr' entries do not both end with '\n'
/opt/local/bin/msgfmt: found 792 fatal errors
2062 translated messages.
make[3]: *** [[email protected]] Error 1
make[2]: *** [stamp-po] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Running make check appears to mostly behave up until that same point.
In spite of the number of errors (it's all 2,065 of the msgid lines,
but no need to paste them all in); obviously the cause is somewhere
in those sed or make rules.  I'm just not certain of the right place
to insert the fix (or whether the correct course is to append the \n
to msgid or remove one from msgstr).


Regards,
Ben

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Gnupg-users mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to