Opened 13 years ago

Closed 13 years ago

#30554 closed defect (fixed)

amarok @2.3.2 build failed

Reported by: mathieu.grzybek@… Owned by: illogic-al@…
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: haspatch Cc: ak.ml@…, ur.johan.nilsson@…, ryandesign (Ryan Carsten Schmidt)
Port: amarok

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

  • Mac OSX 10.6.8
  • XCode 3.2.6

I attached the log (port -dv build amarok) + the make result.

Attachments (4)

ports.log (517.2 KB) - added by mathieu.grzybek@… 13 years ago.
port result
build.log (569.9 KB) - added by mathieu.grzybek@… 13 years ago.
make result
ports.2.log (543.7 KB) - added by mathieu.grzybek@… 13 years ago.
patch-bind_dataengine.h.diff (492 bytes) - added by ak.ml@… 13 years ago.
src/context/scriptengine/javascript/bind_dataengine.h patch

Download all attachments as: .zip

Change History (11)

Changed 13 years ago by mathieu.grzybek@…

Attachment: ports.log added

port result

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

Description: modified (diff)
Keywords: amarok removed
Owner: changed from macports-tickets@… to illogic-al@…

I see errors like this in the log:

error: kdemacros.h: No such file or directory
error: kdeui_export.h: No such file or directory
error: kstandardaction.h: No such file or directory
error: kcomponentdata.h: No such file or directory
error: QtCore/QObject: No such file or directory

Perhaps updating amarok would help?

comment:2 Changed 13 years ago by mathieu.grzybek@…

The missing headers are parts of

  • kdelibs4
  • qt4-mac

I added some env variables

declare -x LD_LIBRARY_PATH=":/opt/local/include"
declare -x LIBRARY_PATH=":/opt/local/include"

Now some objects are redefined

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_amarok/amarok/work/amarok-2.3.2/src/context/scriptengine/javascript/bind_dataengine.h:32: error: redefinition of ‘struct QMetaTypeId<Plasma::Service*>’
:info:build /opt/local/include/plasma/service.h:321: error: previous definition of ‘struct QMetaTypeId<Plasma::Service*>’
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_amarok/amarok/work/amarok-2.3.2/src/context/scriptengine/javascript/bind_dataengine.h:33: error: redefinition of ‘struct QMetaTypeId<Plasma::ServiceJob*>’
:info:build /opt/local/include/KDE/Plasma/../../plasma/servicejob.h:136: error: previous definition of ‘struct QMetaTypeId<Plasma::ServiceJob*>’
:error:build Target org.macports.build returned: shell command failed (see log for details)

Changed 13 years ago by mathieu.grzybek@…

Attachment: build.log added

make result

Changed 13 years ago by mathieu.grzybek@…

Attachment: ports.2.log added

comment:3 Changed 13 years ago by ak.ml@…

Cc: ak.ml@… added

Cc Me!

comment:4 in reply to:  description Changed 13 years ago by ak.ml@…

I applied the changes made to src/context/scriptengine/javascript/bind_dataengine.h in 2.4.3 into 2.3.2 and it seems to work. See attached patch.

Changed 13 years ago by ak.ml@…

src/context/scriptengine/javascript/bind_dataengine.h patch

comment:5 Changed 13 years ago by mathieu.grzybek@…

It works too !

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

Cc: ur.johan.nilsson@… added

Has duplicate #31488.

comment:7 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Keywords: haspatch added
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.