pinentry-0.9.0 wrong #include paths in .moc files

Vicente Olivert Riera Vincent.Riera at imgtec.com
Mon Dec 8 14:30:31 CET 2014


Hello,

I have downloaded the pinentry-0.9.0 tarball, and when I try to build
pinentry-qt4 it fails with some errors like these ones:

In file included from pinentryconfirm.cpp:52:0:
pinentryconfirm.moc:9:53: fatal error:
../../../s/pinentry/qt4/pinentryconfirm.h: No such file or directory
 #include "../../../s/pinentry/qt4/pinentryconfirm.h"

In file included from qsecurelineedit.cpp:3602:0:
qsecurelineedit.moc:9:53: fatal error:
../../../s/pinentry/qt4/qsecurelineedit.h: No such file or directory
 #include "../../../s/pinentry/qt4/qsecurelineedit.h"

In file included from pinentrydialog.cpp:347:0:
pinentrydialog.moc:9:52: fatal error:
../../../s/pinentry/qt4/pinentrydialog.h: No such file or directory
 #include "../../../s/pinentry/qt4/pinentrydialog.h"

The problem is the .moc files under the pinentry-0.9.0/qt4/ directory
have an #include which is wrong:

pinentryconfirm.moc:9
#include "../../../s/pinentry/qt4/pinentryconfirm.h"

qsecurelineedit.moc:9
#include "../../../s/pinentry/qt4/qsecurelineedit.h"

pinentrydialog.moc:9
#include "../../../s/pinentry/qt4/pinentrydialog.h"

In previous pinentry versions these includes are just like these:

#include "pinentryconfirm.h"
#include "qsecurelineedit.h"
#include "pinentrydialog.h"

I have changed the new includes to look like the old ones, and then the
compilation works perfectly. So, could you please fix that and upload a
new pinentry-0.9.0 tarball with that fix included?

Best regards,
-- 
Vicente Olivert Riera
Graduate Software Engineer, MIPS Platforms
Imagination Technologies Limited
t: +44 (0)113 2429814
www.imgtec.com



More information about the Gnupg-devel mailing list