Opened 12 years ago

Closed 12 years ago

#35210 closed defect (fixed)

kdepim4: Parse error at "BOOST_JOIN"

Reported by: mparchet@… Owned by: sharky@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc: michaelld (Michael Dickens), bjoern.ricks@…, mircsicz@…, NicosPavlov, mkae (Marko Käning)
Port: kdepim4

Description

Hello,

I wold like to reinstall kdepim4 (after a uninstall ) but the kdepim4 build process stop due to an error. (see attachment)

Can you help me please ?

Best regards

mparchet

Attachments (2)

main.log (5.2 MB) - added by mparchet@… 12 years ago.
the kdepim4 log file.
patch-automoc4.file.diff (402 bytes) - added by NicosPavlov 12 years ago.

Change History (16)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: snc@… removed
Keywords: kdepim4 removed
Owner: changed from macports-tickets@… to snc@…

The log says:

:debug:main Skipping completed org.macports.archivefetch (kdepim4)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (kdepim4)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (kdepim4)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (kdepim4)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (kdepim4)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (kdepim4)
:debug:main Privilege de-escalation not attempted as not running as root.

These "skipping completed" lines show that this was not a clean build attempt. Always clean and try again before filing a bug report:

sudo port clean kdepim4

If the problem occurs again after that, attach the new main.log file.

comment:2 Changed 12 years ago by mparchet@…

Hello,

I clean kdepim4 And I tried to build again but it's get alway an error.

Can you help me please ?

Best regards

mparchet

comment:3 Changed 12 years ago by nerdling (Jeremy Lavergne)

Cc: michaelld@… added; sharky@… removed
Owner: changed from snc@… to sharky@…

comment:4 Changed 12 years ago by Greisby (Greisberger Christophe)

Same problem here.

A Google search with « Parse error at "BOOST_JOIN" » suggest a Qt MOC error with BOOST version >= 1.48

comment:5 Changed 12 years ago by mf2k (Frank Schima)

Cc: mircsicz@… added

Cc'ing reporter of duplicate #36544.

Actual error is:

:info:build opt/local/include/boost/type_traits/detail/has_binary_operator.hp:50: Parse error at "BOOST_JOIN"

comment:6 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: Unable to build kdepim4kdepim4: Parse error at "BOOST_JOIN"

Changed 12 years ago by mparchet@…

Attachment: main.log added

the kdepim4 log file.

comment:7 Changed 12 years ago by mparchet@…

Hello,

It's a qt4.8.3 problem isen't it ?

What's your opinion about this bug ?

Tanks for your help

Best regards

mparchet

comment:8 Changed 12 years ago by NicosPavlov

Cc: nicos@… added

Cc Me!

comment:9 Changed 12 years ago by mkae (Marko Käning)

Cc: mk@… added

Cc Me!

comment:10 Changed 12 years ago by NicosPavlov

It appears that other ports from KDE which depend on boost have the same problem, such as rocs.

A solution is proposed on https://bugs.kde.org/show_bug.cgi?id=304111 to solve the issue for all KDE. It requires however to patch automoc directly (see patch attached).

Changed 12 years ago by NicosPavlov

Attachment: patch-automoc4.file.diff added

comment:11 Changed 12 years ago by mkae (Marko Käning)

Committed in r98803. Hope it will do the trick for all ports in question.

comment:12 Changed 12 years ago by NicosPavlov

It seems to me that this issue has been solved with the previous commit. Would it be possible to confirm in order to close the ticket ?

comment:13 Changed 12 years ago by mparchet@…

Hello,

Yes, you can close this ticket : close: bug fixed.

Best regards

mparchet

comment:14 Changed 12 years ago by mkae (Marko Käning)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.