> > It seems openscad & pokerth are still broken even after the

>  > > update/followup commits:
> > > /usr/local/include/boost/type_traits/detail/has_binary_operator.hp:50:
> > > Parse error at "BOOST_JOIN"
> > >
> > > monotone fails with:
> > > keys.cc:47: error: 'boost::shared_dynamic_cast' has not been declared
> > > keys.cc: In function 'boost::shared_ptr<Botan::RSA_PrivateKey>
> > > get_private_key(lua_hooks&, const rsa_keypair_id&, const
> > > base64<rsa_priv_key>&, bool)':
> > > keys.cc:266: error: 'shared_dynamic_cast' was not declared in this
> scope
> > >
> > > Landry
> > >
> > >
> > Sorry for the breakage. I will take a look tonight. In the meantime, can
> > you please mark them as broken?
>
> The breakage is now known & reproducible, and it's been broken for 5
> days - no point in marking it BROKEN if it's fixed soon imo. I think BROKEN
> is more for 'permanent' failures.
>
>
I didn't know about it till you pointed this out to me in this email. I now
understand your other comment in the commit.

To reproduce this: I wiped out everything yesterday and left the machine
building the affected ports pokerth/openscad from scratch. I had shadowed
openbsd-wip in PORTS_DIR /etc/mk.conf, and I removed it. I have no idea why
I didn't see this particular error before.

The parse BOOST_JOIN error is due to automoc.
https://bugreports.qt-project.org/browse/QTBUG-22829

Can this be fixed in x11/qt4? like shown here
http://pkgs.fedoraproject.org/cgit/qt.git/tree/qt-everywhere-opensource-src-4.8.0-rc1-moc-boost148.patch?id=f0ce6564e29e22eac504c538698517bdcef80061;id2=060db3c767b670dc1e168252644c937abc9fe607

diff -ur qt-everywhere-opensource-src-4.8.0/src/tools/moc/main.cpp
qt-everywhere-opensource-src-4.8.0-moc-boost148/src/tools/moc/main.cpp
--- qt-everywhere-opensource-src-4.8.0/src/tools/moc/main.cpp   2011-10-04
05:44:32.000000000 +0200
+++ qt-everywhere-opensource-src-4.8.0-moc-boost148/src/tools/moc/main.cpp      
2011-12-04
00:11:25.000000000 +0100
@@ -187,6 +187,7 @@
     Moc moc;
     pp.macros["Q_MOC_RUN"];
     pp.macros["__cplusplus"];
+    pp.macros["BOOST_TT_HAS_OPERATOR_HPP_INCLUDED"]; // rh#756395
     QByteArray filename;
     QByteArray output;
     FILE *in = 0;


Vadim used the same workaround in devel/automoc, and for some reason I have
yet to figure out, automoc was not being explicitly used in
pokerth/openscad.

I will try to upgrade devel/monotone to 1.0, it is at 0.39 currently. That
is something I missed completely, my fault. If you come across any other
build failures please let me know, and I will fix it ASAP.

Reply via email to