Opened 11 years ago

Closed 11 years ago

#43099 closed defect (fixed)

kdepimlibs4 broken by akonadi update to 1.12

Reported by: sk-public@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: NicosPavlov
Port: kdepimlibs4

Description (last modified by ryandesign (Ryan Carsten Schmidt))

kdepimlibs4 requires revision 31d3e462 or later to build with akonadi > 1.11. Updating akonadi to version 1.12 enabled building with Xcode 5.1 - Ticket #43065).

:info:build /Users/digikam-build/var/macports/build/_Users_digikam-build_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdepimlibs4/kdepimlibs4/work/kdepimlibs-4.12.2/akonadi/tests/monitorfiltertes
t.cpp:31:1: error: redefinition of 'QMetaTypeId<Akonadi::NotificationMessageV2::Type>'
:info:build Q_DECLARE_METATYPE( Akonadi::NotificationMessageV2::Type )
:info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build /Users/digikam-build/include/QtCore/qmetatype.h:268:12: note: expanded from macro 'Q_DECLARE_METATYPE'
:info:build     struct QMetaTypeId< TYPE >                                          \
:info:build            ^~~~~~~~~~~~~~~~~~~
:info:build /Users/digikam-build/include/akonadi/private/notificationmessagev2_p.h:171:1: note: previous definition is here
:info:build Q_DECLARE_METATYPE( Akonadi::NotificationMessageV2::Type )
:info:build ^
:info:build /Users/digikam-build/include/QtCore/qmetatype.h:268:12: note: expanded from macro 'Q_DECLARE_METATYPE'
:info:build     struct QMetaTypeId< TYPE >                                          \
:info:build            ^

...

:info:build make[2]: *** [akonadi/tests/CMakeFiles/monitorfiltertest.dir/monitorfiltertest.o] Error 1
:info:build make[2]: Leaving directory `/Users/digikam-build/var/macports/build/_Users_digikam-build_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdepimlibs4/kdepimlibs4/work/build'
:info:build make[1]: *** [akonadi/tests/CMakeFiles/monitorfiltertest.dir/all] Error 2

Change History (3)

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

Description: modified (diff)

comment:2 Changed 11 years ago by NicosPavlov

Kdepimlibs will indeed need an upgrade (version 4.12.3 compiles correctly). But as version 4.12.4 is only a few days from release, I'll probably wait and upgrade directly to it.

comment:3 Changed 11 years ago by NicosPavlov

Resolution: fixed
Status: newclosed

The upgrade to 4.12.4 in r118439 should have fixed this issue.

Note: See TracTickets for help on using tickets.