Opened 11 years ago

Closed 9 years ago

#41144 closed defect (fixed)

pinentry 0.8.2_0 +qt4 fails to build on OS X Mavericks 10.9

Reported by: robink@… Owned by: Ionic (Mihai Moldovan)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: pvanek@…, Greisby (Greisberger Christophe), raimue (Rainer Müller)
Port: pinentry

Description

Hi-

I have successfully been able to build qt4-mac for OS X 10.9 Mavericks on my system (both using the initial patches provided on bug 40852, and later with the changes to the aqua/qt4-mac Portfile pushed to SVN and available with a currently updated checkout of the Ports tree from an rsync mirror). However, pinentry (the primary consumer of the qt4-mac framework on my computer) does not compile. It throws a couple of warnings about qt4-mac, but the errors all seem to revolve around the compiler toolchain's embedded stdc++ libraries. The log is attached below. Please let me know if there's any more information I can provide.

-Robin K.

Attachments (2)

security_pinentry-0.8.2_0.log (62.6 KB) - added by robink@… 11 years ago.
Build log for (security) pinentry 0.8.6_0 +qt4
security_pinentry-0.8.2_0.log.xz (6.7 KB) - added by robink@… 11 years ago.
xz-compressed build log for (security) pinentry 0.8.6_0 +qt4

Download all attachments as: .zip

Change History (15)

Changed 11 years ago by robink@…

Build log for (security) pinentry 0.8.6_0 +qt4

Changed 11 years ago by robink@…

xz-compressed build log for (security) pinentry 0.8.6_0 +qt4

comment:1 Changed 11 years ago by robink@…

Cc: robink@… added

Cc Me!

comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: robink@… removed
Keywords: mavericks added; security gpg gnupg pinentry removed

pinentry builds fine for me on Mavericks. Are you sure you followed the migration instructions and are using the latest version of Xcode and its command line tools?

comment:3 in reply to:  2 Changed 11 years ago by robink@…

Replying to ryandesign@…:

pinentry builds fine for me on Mavericks. Are you sure you followed the migration instructions and are using the latest version of Xcode and its command line tools?

Yep, installed XCode 5.0.1, installed the latest command line tools for Mavericks, ran svn up on my checkout of MacPorts base trunk, compiled MacPorts SVN against Mavericks, installed it, compiled a list of every installed package, did 'sudo port -f uninstall installed', used the restore_ports.tcl script to bring everything back, manually merged qt4-mac with the patches from bug 40852, later did a 'sudo port selfupdate' followed by a 'sudo port install qt4-mac' to recompile qt4-mac with the patches that had been committed to SVN, attempted to install pinentry, got the log you see above. Please let me know if you require any more information.

Last edited 11 years ago by robink@… (previous) (diff)

comment:4 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Ah wait, yes, I see the problem now too. I hadn't noticed your report was specific to the +qt4 variant. pinentry installs fine for me when I don't use that variant.

comment:5 Changed 11 years ago by robink@…

Same issue with 0.8.3, I can attach the build log, but I believe the errors are identical.

comment:6 Changed 11 years ago by pvanek@…

confirmed. It happens with macports version of pinentry. And it fails with upstream packages of pinentry-0.8.3 and pinentry-0.8.4-beta8 using macports-like configure options:

./configure --with-libiconv-prefix=/opt/local \
            --with-ncurses-include-dir=/opt/local/include/ncurses \
            --enable-pinentry-curses \
            --disable-pinentry-gtk2 \
            --disable-pinentry-gtk \
            --disable-pinentry-qt \
            --enable-fallback-curses \
            --with-qt-includes=/opt/local/include \
            --with-qt-libraries=/opt/local/lib \
            --disable-rpath

comment:7 Changed 11 years ago by pvanek@…

Cc: pvanek@… added

Cc Me!

comment:8 Changed 11 years ago by Greisby (Greisberger Christophe)

Cc: greisberger@… added

Cc Me!

comment:9 Changed 11 years ago by raimue (Rainer Müller)

Cc: raimue@… added

Cc Me!

comment:10 Changed 10 years ago by Ionic (Mihai Moldovan)

Owner: changed from macports-tickets@… to ionic@…
Status: newassigned
Version: 2.2.1

comment:11 Changed 10 years ago by Ionic (Mihai Moldovan)

This is (at least partly) a limitation of libc++ only allowing a POD (plain old data) type as CharT of std::basic_string.

Last edited 10 years ago by Ionic (Mihai Moldovan) (previous) (diff)

comment:12 Changed 10 years ago by Ionic (Mihai Moldovan)

comment:13 Changed 9 years ago by Ionic (Mihai Moldovan)

Keywords: mavericks removed
Resolution: fixed
Status: assignedclosed

Should be fixed by r141178.

Note: See TracTickets for help on using tickets.