Bug 183086 - security/pinentry fails to build on head
Summary: security/pinentry fails to build on head
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Max Brazhnikov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-18 17:50 UTC by Sean Bruno
Modified: 2013-11-10 18:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sean Bruno freebsd_committer 2013-10-18 17:50:00 UTC
Using default settings security/pinentry fails to build.

In file included from /usr/local/include/qt4/QtCore/qstring.h:54:
/usr/include/c++/v1/string:2105:9: error: cannot initialize object parameter of type 'const std::__1::__basic_string_common<true>' with an expression of type 'std::__1::basic_string<QChar, std::__1::char_traits<QChar>, secmem::alloc<QChar> >'
        this->__throw_length_error();
        ^~~~
/usr/include/c++/v1/string:2179:9: note: in instantiation of member function 'std::__1::basic_string<QChar, std::__1::char_traits<QChar>, secmem::alloc<QChar> >::__grow_by_and_replace' requested here
        __grow_by_and_replace(__cap, __n - __cap, __sz, 0, __sz, __n, __s);
        ^
/usr/include/c++/v1/string:2323:12: note: in instantiation of member function 'std::__1::basic_string<QChar, std::__1::char_traits<QChar>, secmem::alloc<QChar> >::assign' requested here
    return assign(__str.data(), __str.size());
           ^
/usr/include/c++/v1/string:2231:9: note: in instantiation of member function 'std::__1::basic_string<QChar, std::__1::char_traits<QChar>, secmem::alloc<QChar> >::assign' requested here
        assign(__str);
        ^
./pinentrydialog.moc:106:53: note: in instantiation of member function 'std::__1::basic_string<QChar, std::__1::char_traits<QChar>, secmem::alloc<QChar> >::operator=' requested here
        case 2: *reinterpret_cast< secqstring*>(_v) = pin(); break;
                                                    ^
4 errors generated.

Fix: 

USE_GCC=any
How-To-Repeat: attempt to build security/pinentry on 10-ALPHA or 11-CURRENT
Comment 1 Edwin Groothuis freebsd_committer 2013-10-18 17:50:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->makc

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2013-11-10 17:50:07 UTC
Author: makc
Date: Sun Nov 10 17:49:59 2013
New Revision: 333418
URL: http://svnweb.freebsd.org/changeset/ports/333418

Log:
  Fix build on 10 and head
  
  PR:		ports/183086
  Submitted by:	sbruno

Modified:
  head/security/pinentry/Makefile

Modified: head/security/pinentry/Makefile
==============================================================================
--- head/security/pinentry/Makefile	Sun Nov 10 17:47:23 2013	(r333417)
+++ head/security/pinentry/Makefile	Sun Nov 10 17:49:59 2013	(r333418)
@@ -41,6 +41,7 @@ PKGNAMESUFFIX=	${PINENTRY_SLAVE}
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MQT4}
+USE_GCC=	any
 USE_QT4=	gui moc_build
 PLIST_SUB+=	WITH_QT4=""
 MOC4=		${LOCALBASE}/bin/moc-qt4
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Max Brazhnikov freebsd_committer 2013-11-10 17:50:16 UTC
State Changed
From-To: open->closed

Committed. Thanks!