[MacPorts] #38550: digikam @3.1.0 compilation error - ld: symbol(s) not found for architecture x86_64
#38550: digikam @3.1.0 compilation error - ld: symbol(s) not found for architecture x86_64 ------------------------------------+-------------------------------- Reporter: rafael.rios.saavedra@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: digikam ------------------------------------+-------------------------------- Hi! When building digikam 3.1.0 I get this error: :info:build Undefined symbols for architecture x86_64: :info:build "KGeoMap::KGeoMapWidget::setSortKey(int)", referenced from: :info:build Digikam::GPSImageInfoSorter::slotSortOptionTriggered() in digikam2kgeomap.cpp.o .... tons of lines refearing to KGeoMap::xxxxxx .... and at the end: ld: symbol(s) not found for architecture x86_64 .... :info:build make[2]: *** [lib/libdigikamcore.3.0.0.dylib] Error 1 I have attached the complete log. I am some kind of newbie using mac ports, so please tellme whatever info you need. MacOS: 10.7.2 XCode: 4.1 -- Ticket URL: <https://trac.macports.org/ticket/38550> MacPorts <http://www.macports.org/> Ports system for OS X
#38550: digikam @3.1.0 compilation error - ld: symbol(s) not found for architecture x86_64 -------------------------------------+------------------- Reporter: rafael.rios.saavedra@… | Owner: jan@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: digikam | -------------------------------------+------------------- Changes (by larryv@…): * owner: macports-tickets@… => jan@… * cc: rafael.rios.saavedra@… (removed) Old description:
Hi! When building digikam 3.1.0 I get this error:
:info:build Undefined symbols for architecture x86_64: :info:build "KGeoMap::KGeoMapWidget::setSortKey(int)", referenced from: :info:build Digikam::GPSImageInfoSorter::slotSortOptionTriggered() in digikam2kgeomap.cpp.o .... tons of lines refearing to KGeoMap::xxxxxx ....
and at the end: ld: symbol(s) not found for architecture x86_64 .... :info:build make[2]: *** [lib/libdigikamcore.3.0.0.dylib] Error 1
I have attached the complete log.
I am some kind of newbie using mac ports, so please tellme whatever info you need.
MacOS: 10.7.2 XCode: 4.1
New description: Hi! \\ When building digikam 3.1.0 I get this error: {{{ :info:build Undefined symbols for architecture x86_64: :info:build "KGeoMap::KGeoMapWidget::setSortKey(int)", referenced from: :info:build Digikam::GPSImageInfoSorter::slotSortOptionTriggered() in digikam2kgeomap.cpp.o }}} ....\\ tons of lines refearing to KGeoMap::xxxxxx\\ .... and at the end: {{{ ld: symbol(s) not found for architecture x86_64 .... :info:build make[2]: *** [lib/libdigikamcore.3.0.0.dylib] Error 1 }}} I have attached the complete log. I am some kind of newbie using mac ports, so please tellme whatever info you need. MacOS: 10.7.2\\ XCode: 4.1 -- Comment: Thanks for the ticket. In the future, please Cc relevant port maintainers. Also, you don’t have to Cc yourself. -- Ticket URL: <https://trac.macports.org/ticket/38550#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#38550: digikam @3.1.0 compilation error - ld: symbol(s) not found for architecture x86_64 -------------------------------------+------------------- Reporter: rafael.rios.saavedra@… | Owner: jan@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: digikam | -------------------------------------+------------------- Comment (by egall@…): Might want to cc sharky@macports.org and nicos@macports.org too, as they're the maintainers for most of the KDE ports. -- Ticket URL: <https://trac.macports.org/ticket/38550#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#38550: digikam @3.1.0 compilation error - ld: symbol(s) not found for architecture x86_64 -------------------------------------+------------------- Reporter: rafael.rios.saavedra@… | Owner: jan@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: digikam | -------------------------------------+------------------- Comment (by eborisch@…): If you have digikam currently installed, you might try deactivating it first. (If that is the culprit, post it here so the Portfile can be updated!) The build log seems to be from a repeated attempt at building. Clean and then build (only once) and attach the log. -- Ticket URL: <https://trac.macports.org/ticket/38550#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#38550: digikam @3.1.0 compilation error - ld: symbol(s) not found for architecture x86_64 -------------------------------------+------------------- Reporter: rafael.rios.saavedra@… | Owner: jan@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: digikam | -------------------------------------+------------------- Comment (by rafael.rios.saavedra@…): Replying to [comment:4 eborisch@…]:
If you have digikam currently installed, you might try deactivating it first. (If that is the culprit, post it here so the Portfile can be updated!)
I have been using digikam and have update serveral times without problems but with 2.9.0 I was having errors compiling (other diferent than this), so I tried to uninstall a reinstall digikam. That didn't work so I delete ports (following the wiki instructions) and reinstalled ports from zero. Now I have this error.
The build log seems to be from a repeated attempt at building. Clean and
then build (only once) and attach the log. Yes, I have compile it twice, because It seems to me like a dependeces problem. May be the lib that include KGeo is not building. I will be out of home until Monday, so until then I can't try clean & build. -- Ticket URL: <https://trac.macports.org/ticket/38550#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#38550: digikam @3.1.0 compilation error - ld: symbol(s) not found for architecture x86_64 -------------------------------------+------------------- Reporter: rafael.rios.saavedra@… | Owner: jan@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: digikam | -------------------------------------+------------------- Comment (by rafael.rios.saavedra@…): Replying to [comment:2 larryv@…]:
Thanks for the ticket. In the future, please Cc relevant port maintainers. Also, you don’t have to Cc yourself.
OK, thanks for the info and the reformating of my ticket. -- Ticket URL: <https://trac.macports.org/ticket/38550#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#38550: digikam @3.1.0 compilation error - ld: symbol(s) not found for architecture x86_64 -------------------------------------+------------------- Reporter: rafael.rios.saavedra@… | Owner: jan@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: digikam | -------------------------------------+------------------- Comment (by rafael.rios.saavedra@…): Hi!,[[BR]] I have cleaned and tried again: sudo port install digikam, but I got the same error.[[BR]] Also tried upgrading outdated ports, but It didn't do the trick.[[BR]] I have attached the log of the clean build. -- Ticket URL: <https://trac.macports.org/ticket/38550#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#38550: digikam @3.1.0 compilation error - ld: symbol(s) not found for architecture x86_64 -------------------------------------+------------------- Reporter: rafael.rios.saavedra@… | Owner: jan@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: digikam | -------------------------------------+------------------- Comment (by macsforever2000@…): You should update your Xcode (and Mac OS X) to the latest version 4.6.1 and try again. -- Ticket URL: <https://trac.macports.org/ticket/38550#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#38550: digikam @3.1.0 compilation error - ld: symbol(s) not found for architecture x86_64 -------------------------------------+------------------- Reporter: rafael.rios.saavedra@… | Owner: jan@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: digikam | -------------------------------------+------------------- Comment (by rafael.rios.saavedra@…): Replying to [comment:9 macsforever2000@…]:
You should update your Xcode (and Mac OS X) to the latest version 4.6.1 and try again.
I have updated to xcode 4.6.1 and MacOs X 10.7.5, now the error have changed but it seems very similar, now when building kipi-plugins: {{{ :info:build Undefined symbols for architecture x86_64: :info:build "KIPIPlugins::KPMetadata::KPMetadata()", referenced from: :info:build KIPIGPSSyncPlugin::KipiImageItem::getMetadataForFile() const in kipiimageitem.cpp.o :info:build "KIPIPlugins::KPAboutData::setHandbookEntry(QString const&)", referenced from: :info:build KIPIGPSSyncPlugin::GPSSyncDialog::GPSSyncDialog(QWidget*)in gpssyncdialog.cpp.o [[BR]] ... [[BR]] }}} I only trying digikam macport, and as I saw that the compiler changed in this version of xcode, I uninstalled all the macports and tried to install digikam again (rebuilding everything) so I don't mix code generated with different versions of the compilers. [[BR]] I have attached the new log. -- Ticket URL: <https://trac.macports.org/ticket/38550#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#38550: digikam @3.1.0 compilation error - ld: symbol(s) not found for architecture x86_64 -------------------------------------+------------------- Reporter: rafael.rios.saavedra@… | Owner: jan@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: digikam | -------------------------------------+------------------- Comment (by rafael.rios.saavedra@…): Replying to [comment:10 rafael.rios.saavedra@…]:[[BR]] [[BR]] ummm :( :([[BR]] This is weird. Now I have completely uninstalled macports, reinstalled and then installed digikam @3.1.0 without problems.[[BR]] [[BR]] I really don't know where the problem was. [[BR]] How could I close this ticket. -- Ticket URL: <https://trac.macports.org/ticket/38550#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#38550: digikam @3.1.0 compilation error - ld: symbol(s) not found for architecture x86_64 -------------------------------------+-------------------- Reporter: rafael.rios.saavedra@… | Owner: jan@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: worksforme | Keywords: Port: digikam | -------------------------------------+-------------------- Changes (by larryv@…): * status: new => closed * resolution: => worksforme -- Ticket URL: <https://trac.macports.org/ticket/38550#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts