[MacPorts] #38352: amarok @2.6.0 Build fails (testamazonalbum)
#38352: amarok @2.6.0 Build fails (testamazonalbum) ------------------------+-------------------------------- Reporter: jferiago@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: ------------------------+-------------------------------- {{{ Linking CXX executable ../../testamazonalbum.app/Contents/MacOS/testamazonalbum cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_amarok/amarok/work/build/tests/services/amazon && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/testamazonalbum.dir/link.txt --verbose=1 /usr/bin/clang++ -pipe -O2 -arch x86_64 -fno-common -O3 -DNDEBUG -DQT_NO_DEBUG -arch x86_64 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -arch x86_64 CMakeFiles/testamazonalbum.dir/testamazonalbum_automoc.o CMakeFiles/testamazonalbum.dir/TestAmazonAlbum.o CMakeFiles/testamazonalbum.dir/__/__/__/src/services/amazon/AmazonMeta.o -o ../../testamazonalbum.app/Contents/MacOS/testamazonalbum /opt/local/lib/libkdecore.5.10.1.dylib /opt/local/lib/libkdeui.5.10.1.dylib /opt/local/lib/libQtTest.dylib /opt/local/lib/libQtCore.dylib ../../../lib/libamarokcore.1.0.0.dylib ../../../lib/libamaroklib.1.0.0.dylib ../../../lib/amarok_service_amazonstore.so ../../../lib/libamarokcore.1.0.0.dylib /opt/local/lib/libkdeui.5.10.1.dylib /opt/local/lib/libkdecore.5.10.1.dylib /opt/local/lib/libQtDBus.dylib -framework Carbon /opt/local/lib/libQtGui.dylib /opt/local/lib/libQtSvg.dylib /opt/local/lib/libQtCore.dylib ld: can't link with bundle (MH_BUNDLE) only dylibs (MH_DYLIB) for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [tests/testamazonalbum.app/Contents/MacOS/testamazonalbum] Error 1 make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_amarok/amarok/work/build' make[1]: *** [tests/services/amazon/CMakeFiles/testamazonalbum.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_amarok/amarok/work/build/tests /core-impl/collections/db/sql && /opt/local/bin/cmake -D_filename=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_amarok/amarok/work/build/tests/testsqlscanmanager.app/Contents/MacOS/testsqlscanmanager.shell -D_library_path_variable=DYLD_LIBRARY_PATH -D_ld_library_path="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_amarok/amarok/work/build/lib/./:/opt/local/lib" -D_executable=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_amarok/amarok/work/build/tests/testsqlscanmanager.app/Contents/MacOS/testsqlscanmanager -P /opt/local/share/apps/cmake/modules/kde4_exec_via_sh.cmake make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_amarok/amarok/work/build' /opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_amarok/amarok/work/build/CMakeFiles [ 97%] Built target testsqlscanmanager make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_amarok/amarok/work/build' make: *** [all] Error 2 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_amarok/amarok/work/build' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_amarok/amarok/work/build" && /usr/bin/make -j2 -w all Exit code: 2 Error: org.macports.build for port amarok returned: command execution failed Warning: targets not executed for amarok: org.macports.activate org.macports.build org.macports.destroot org.macports.install Please see the log file for port amarok for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_amarok/amarok/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port amarok failed }}} -- Ticket URL: <https://trac.macports.org/ticket/38352> MacPorts <http://www.macports.org/> Ports system for OS X
#38352: amarok @2.6.0 Build fails (testamazonalbum) -------------------------+-------------------------------- Reporter: jferiago@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: amarok | -------------------------+-------------------------------- Changes (by larryv@…): * port: => amarok Comment: Thanks for the ticket. Please run the following and attach the `main.log` if it still fails. {{{ sudo port clean amarok sudo port install amarok }}} -- Ticket URL: <https://trac.macports.org/ticket/38352#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#38352: amarok @2.6.0 Build fails (testamazonalbum) -------------------------+-------------------------------- Reporter: jferiago@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: amarok | -------------------------+-------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: Yes, this is not a compiler-specific problem so that would not help. The problem here is that we're trying to dynamically link with a library that was compiled using the `-bundle` flag, but that's not possible; it's only possible to dynamically link with libraries that were compiled using the `-dynamiclib` flag. Looking at the log, it seems amarok_service_amazonstore.so is that library. Please report this problem to the developers of amarok so that they can fix it in the appropriate way. (Only they know whether the appropriate fix is to make amarok_service_amazonstore.so a dynamic library that can be linked to, or whether it is to make testamazonalbum no longer try to link to that library.) Possibly this has already been fixed in amarok 2.7.0. We should try updating the port to that version first before we file a bug report with them. -- Ticket URL: <https://trac.macports.org/ticket/38352#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#38352: amarok @2.6.0 Build fails (testamazonalbum) -------------------------+-------------------------------- Reporter: jferiago@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: amarok | -------------------------+-------------------------------- Comment (by jferiago@…): Are there a way to disable Amazon-related functionality to bypass the error? -- Ticket URL: <https://trac.macports.org/ticket/38352#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#38352: amarok @2.6.0 Build fails (testamazonalbum) -------------------------+-------------------------------- Reporter: jferiago@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: amarok | -------------------------+-------------------------------- Comment (by jferiago@…): Here is the response from Amarok devel team. Myriam Schweingruber <myriam@kde.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEEDSINFO Resolution|--- |WAITINGFORINFO --- Comment #1 from Myriam Schweingruber <myriam@kde.org> --- How about first updating to Amarok 2.7.0 before reporting this, as suggested in the macports bug report? There have been many changes since 2.6.0, it's not very useful to build old versions. -- Ticket URL: <https://trac.macports.org/ticket/38352#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#38352: amarok @2.6.0 Build fails (testamazonalbum) -------------------------+-------------------------------- Reporter: jferiago@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: amarok | -------------------------+-------------------------------- Comment (by ryandesign@…): Yes, I was trying to update the port to 2.7.0. Ran into other problems. If I have time I'll try to look at it again or attach my work in progress here. -- Ticket URL: <https://trac.macports.org/ticket/38352#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#38352: amarok @2.6.0 Build fails (testamazonalbum) -------------------------+-------------------------------- Reporter: jferiago@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: amarok | -------------------------+-------------------------------- Comment (by marcus@…): Same Problem on my Side. I'm new to MacPort. How to update to 2.7.0? -- Ticket URL: <https://trac.macports.org/ticket/38352#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#38352: amarok @2.6.0 Build fails (testamazonalbum) -------------------------+-------------------------------- Reporter: jferiago@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: amarok | -------------------------+-------------------------------- Comment (by jferiago@…): Replying to [comment:6 marcus@…]:
Same Problem on my Side.
I'm new to MacPort. How to update to 2.7.0?
Hi Marcus, try installing amarok-devel port, on my case this port failed too, i downloaded the source code from amarok project page but im stuck compiling it too {{{ tar -jxvf amarok-2.7.0.tar.bz2 cd amarok-2.7.0 mkdir amarok-2.7.0-build cd amarok-2.7.0-build/ cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` --snip-- 26%] Building CXX object src/CMakeFiles/amaroklib.dir/core- impl/collections/support/MemoryCustomValue.o [ 26%] Building CXX object src/CMakeFiles/amaroklib.dir/core- impl/collections/support/MemoryFilter.o [ 26%] Building CXX object src/CMakeFiles/amaroklib.dir/core- impl/collections/support/MemoryMatcher.o [ 26%] Building CXX object src/CMakeFiles/amaroklib.dir/core- impl/collections/support/MemoryMeta.o In file included from /Users/cash/Downloads/amarok-2.7.0/src/core- impl/collections/support/MemoryMeta.cpp:18: /Users/cash/Downloads/amarok-2.7.0/src/core- impl/collections/support/MemoryMeta.h:66:47: error: expected a class or namespace virtual QString name() const { return Base::name(); } ^ /Users/cash/Downloads/amarok-2.7.0/src/core- impl/collections/support/MemoryMeta.h:66:47: error: member 'Base' found in multiple base classes of different types virtual QString name() const { return Base::name(); } ^ /Users/cash/Downloads/amarok-2.7.0/src/core/meta/Meta.h:127:30: note: member found by ambiguous name lookup class AMAROK_CORE_EXPORT Base : public virtual QSharedData, public MetaCapability ^ /Users/cash/Downloads/amarok-2.7.0/src/core- impl/collections/support/MemoryMeta.h:37:7: note: member found by ambiguous name lookup class Base ^ /Users/cash/Downloads/amarok-2.7.0/src/core- impl/collections/support/MemoryMeta.h:67:51: error: expected a class or namespace virtual Meta::TrackList tracks() { return Base::tracks(); } }}} -- Ticket URL: <https://trac.macports.org/ticket/38352#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#38352: amarok @2.6.0 Build fails (testamazonalbum) -------------------------+-------------------------------- Reporter: jferiago@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: amarok | -------------------------+-------------------------------- Comment (by marcus@…): hi, thank you your support. I've already tried to install the developer package, but there is the same problem.. Here is the log from building the 2.7.0 package: {{{ ---snip-- -- Generating done -- Build files have been written to: /Users/marcus/Downloads/amarok-2.7.0/amarok270build }}} How can i now register amarok or open it? Thank you! -- Ticket URL: <https://trac.macports.org/ticket/38352#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#38352: amarok @2.6.0 Build fails (testamazonalbum) -------------------------+-------------------------------- Reporter: jferiago@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: amarok | -------------------------+-------------------------------- Changes (by ryandesign@…): * cc: david@… (added) Comment: Has duplicate #39041. Patches welcome. -- Ticket URL: <https://trac.macports.org/ticket/38352#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#38352: amarok @2.6.0 Build fails (testamazonalbum) -------------------------+-------------------------------- Reporter: jferiago@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: amarok | -------------------------+-------------------------------- Changes (by larryv@…): * cc: markurujapan@… (added) Comment: Has duplicate #39380. -- Ticket URL: <https://trac.macports.org/ticket/38352#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#38352: amarok @2.6.0 Build fails (testamazonalbum) -------------------------+-------------------------------- Reporter: jferiago@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: amarok | -------------------------+-------------------------------- Comment (by tj.trevelyan@…): I just downloaded and tried to compile 2.7.1 and it has the same problem: {{{ $ wget http://download.kde.org/stable/amarok/2.7.1/src/amarok-2.7.1.tar.bz2 $ tar jxvf amarok-2.7.1.tar.bz2 $ cd amarok-2.7.1 $ mkdir build $ cd build/ $ cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` | tee cmake.log $ make | tee make.log }}} The two 'teed' log files are attached. -- Ticket URL: <https://trac.macports.org/ticket/38352#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
#38352: amarok @2.6.0 Build fails (testamazonalbum) -------------------------+-------------------------------- Reporter: jferiago@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: amarok | -------------------------+-------------------------------- Changes (by ryandesign@…): * cc: tj.trevelyan@… (added) Comment: Replying to [comment:14 tj.trevelyan@…]:
I just downloaded and tried to compile 2.7.1 and it has the same problem:
Great, then please report that to the developers of amarok so that they can fix it. -- Ticket URL: <https://trac.macports.org/ticket/38352#comment:15> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts