svn commit: r428683 - in head/security: pinentry pinentry-qt4 pinentry/files

Jason E. Hale jhale at freebsd.org
Sat Dec 17 15:35:49 UTC 2016


On Sat, Dec 17, 2016 at 8:53 AM, Raphael Kubo da Costa
<rakuco at freebsd.org> wrote:
> "Jason E. Hale" <jhale at FreeBSD.org> writes:
>
>> Author: jhale
>> Date: Fri Dec 16 15:31:24 2016
>> New Revision: 428683
>> URL: https://svnweb.freebsd.org/changeset/ports/428683
>>
>> Log:
>>   Update to 1.0.0
>>   Add LICENSE (GPLv2+)
>>   Dependency cleanup
>>   Whitespace fix
>>   Remake patches
>>   Take maintainership
>
> This broke pinentry-qt5:
>
> checking for Qt5Core >= 5.0.0 Qt5Gui >= 5.0.0 Qt5Widgets >= 5.0.0... yes
> checking for Qt5Core >= 5.7.0... no
> checking for moc... /usr/local/lib/qt5/bin/moc
> checking moc version... no
> checking for moc-qt5... no
> checking for qtchooser... no
> ./configure: qtchooser: not found
> checking for QtCore >= 4.6.0 QtGui >= 4.6.0... yes
> checking for moc... (cached) /usr/local/lib/qt5/bin/moc
> checking moc version... no
> checking for moc-qt4... no
> configure: error: No pinentry enabled.

Hmm, I ran all the flavors through poudriere before the commit and
never ran across this and I can't reproduce it. It looks like the
configure script has the correct moc, but the moc version detection is
failing. The version detection scheme is exactly the same in the qt.m4
file as the previous version, so why it's only not working with this
version is beyond me. The only thing they changed in that file was
requiring c++11 for Qt >= 5.7.0 which wouldn't apply here.

    AC_CHECK_TOOL(MOC, moc)
    AC_MSG_CHECKING([moc version])
    mocversion=`$MOC -v 2>&1`
    mocversiongrep=`echo $mocversion | grep "Qt 5\|moc 5"`
    if test x"$mocversiongrep" != x"$mocversion"; then
      AC_MSG_RESULT([no])

$ /usr/local/lib/qt5/bin/moc -v
moc 5.6.2

Which satisfies the condition, unless your 'moc -v' is barfing out
something strange.


More information about the svn-ports-head mailing list