[MacPorts] #36542: ktorrent build failure
#36542: ktorrent build failure ----------------------------+-------------------------------- Reporter: tj.trevelyan@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: ktorrent ----------------------------+-------------------------------- Hi, ktorrent is not building on my system, see attached log. Although I think there are the relevant lines: {{{ ... /build/libbtcore/autorotatelogjob.moc:14:2: error: #error "This file was generated using the moc from 4.7.4. It" :info:build #error "This file was generated using the moc from 4.7.4. It" ... /build/libbtcore/autorotatelogjob.moc:15:2: error: #error "cannot be used with the include files from this version of Qt." :info:build #error "cannot be used with the include files from this version of Qt." ... /build/libbtcore/autorotatelogjob.moc:16:2: error: #error "(The moc has changed too much.)" :info:build #error "(The moc has changed too much.)" ... }}} I did: {{{ sudo port selfupdate sudo port install ktorrent }}} I did not bother with upgrade outdated as I expect it to require newer port versions if needed and thus they would also be upgraded. e.g. It did upgrade qt4-mac and a few few other ports. So the problem may just be the version of a dependency. Regards, Thorben -- Ticket URL: <https://trac.macports.org/ticket/36542> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36542: ktorrent build failure -----------------------------+-------------------------------- Reporter: tj.trevelyan@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: ktorrent | -----------------------------+-------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: This was not a clean build attempt. Please run "sudo port clean ktorrent" and then try again. If it fails again, attach the new main.log file. -- Ticket URL: <https://trac.macports.org/ticket/36542#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36542: ktorrent build failure -----------------------------+-------------------------------- Reporter: tj.trevelyan@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: ktorrent | -----------------------------+-------------------------------- Comment (by tj.trevelyan@…): OK : {{{ $ sudo port clean ktorrent Password: ---> Cleaning ktorrent $ sudo port install ktorrent ---> Computing dependencies for ktorrent ---> Fetching distfiles for ktorrent ---> Verifying checksum(s) for ktorrent ---> Extracting ktorrent ---> Configuring ktorrent ---> Building ktorrent Error: org.macports.build for port ktorrent returned: command execution failed Please see the log file for port ktorrent for details: /opt/ports/var/macports/logs/_opt_ports_var_macports_sources_svn.macports.org_trunk_dports_kde_ktorrent/ktorrent/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port ktorrent failed }}} I'll attach the new main.log -- Ticket URL: <https://trac.macports.org/ticket/36542#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36542: ktorrent: error: reference to 'TorrentInterface' is ambiguous -----------------------------+-------------------------------- Reporter: tj.trevelyan@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: ktorrent | -----------------------------+-------------------------------- Comment (by ryandesign@…): Ok thanks. So now we see the real error is: {{{ :info:build /opt/ports/var/macports/build/_opt_ports_var_macports_sources_svn.macports.org_trunk_dports_kde_ktorrent/ktorrent/work/ktorrent-3.3.4/libktcore/groups/torrentgroup.h:37:12: error: reference to 'TorrentInterface' is ambiguous :info:build std::set<TorrentInterface*> torrents; :info:build ^ :info:build /opt/ports/var/macports/build/_opt_ports_var_macports_sources_svn.macports.org_trunk_dports_kde_ktorrent/ktorrent/work/ktorrent-3.3.4/libktcore/groups/torrentgroup.h:30:8: note: candidate found by name lookup is 'kt::TorrentInterface' :info:build class TorrentInterface; :info:build ^ :info:build /opt/ports/var/macports/build/_opt_ports_var_macports_sources_svn.macports.org_trunk_dports_kde_ktorrent/ktorrent/work/ktorrent-3.3.4/libktcore/groups/group.h:37:12: note: candidate found by name lookup is 'kt::TorrentInterface' :info:build using bt::TorrentInterface; :info:build ^ }}} -- Ticket URL: <https://trac.macports.org/ticket/36542#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36542: ktorrent @3.3.4: error: reference to 'TorrentInterface' is ambiguous -----------------------------+-------------------------------- Reporter: tj.trevelyan@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: ktorrent | -----------------------------+-------------------------------- Changes (by jmr@…): * cc: michaelld@… (added) Comment: Maybe you'd be better off with ktorrent4? I'm not sure why a separate ktorrent4 port was added and ktorrent was left at 3.3.4, actually. -- Ticket URL: <https://trac.macports.org/ticket/36542#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36542: ktorrent @3.3.4: error: reference to 'TorrentInterface' is ambiguous -----------------------------+-------------------------------- Reporter: tj.trevelyan@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: ktorrent | -----------------------------+-------------------------------- Comment (by mario.gleirscher@…): This (or a similar) problem still exists both, in ktorrent and ktorrent4, see [https://trac.macports.org/ticket/40611]. -- Ticket URL: <https://trac.macports.org/ticket/36542#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#36542: ktorrent @3.3.4: error: reference to 'TorrentInterface' is ambiguous -----------------------------+-------------------------------- Reporter: tj.trevelyan@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: ktorrent | -----------------------------+-------------------------------- Changes (by mk@…): * cc: mk@… (removed) -- Ticket URL: <https://trac.macports.org/ticket/36542#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts