Opened 13 years ago

Last modified 7 years ago

#34264 new defect

digikam: Undefined symbols for architecture x86_64

Reported by: sheeeng@… Owned by: jgosmann (Jan Gosmann)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: cgilles (HumanDynamo)
Port: digikam

Description

I could not install digikam port on Mac OS X 10.7.3 on Intel Core i5 architecture. My terminal output as below.

guest80:~ leonardlee$ sudo port install digikam
Password:
--->  Computing dependencies for digikam
--->  Building digikam
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for digikam is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_digikam/digikam/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
guest80:~ leonardlee$ 

Attached the main.log. I have Xcode 4.3.2 (Build version 4E2002) and MacPorts 2.0.4 version installed.

Please advise. Thanks.

Attachments (3)

main.txt (797.0 KB) - added by sheeeng@… 13 years ago.
main.log
main2.txt (7.7 MB) - added by sheeeng@… 13 years ago.
main2.log
main.log (7.7 KB) - added by sheeeng@… 12 years ago.
opencv-main.log

Change History (11)

Changed 13 years ago by sheeeng@…

Attachment: main.txt added

main.log

comment:1 Changed 13 years ago by sheeeng@…

Cc: sheeeng@… added

Cc Me!

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

Cc: sheeeng@… removed
Owner: changed from macports-tickets@… to jan@…
Port: digikam added
Summary: digikam :info:build Undefined symbols for architecture x86_64digikam: Undefined symbols for architecture x86_64

Since this was not a clean build attempt, please "sudo port clean digikam", then try again, then attach the new main.log file to this ticket.

Changed 13 years ago by sheeeng@…

Attachment: main2.txt added

main2.log

comment:3 Changed 13 years ago by sheeeng@…

I've attached a new main2.log file after I ran the commands below.

Leonards-MacBook-Pro:~ leonardlee$ sudo rm /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_digikam/digikam/main.log
Password:
Leonards-MacBook-Pro:~ leonardlee$ sudo port clean digikam
--->  Cleaning digikam
Leonards-MacBook-Pro:~ leonardlee$ sudo port install digikam
--->  Computing dependencies for digikam
--->  Fetching archive for digikam
--->  Attempting to fetch digikam-2.5.0_1.darwin_11.x86_64.tbz2 from http://packages.macports.org/digikam
--->  Fetching digikam
--->  Verifying checksum(s) for digikam
--->  Extracting digikam
--->  Applying patches to digikam
--->  Configuring digikam
--->  Building digikam
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for digikam is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_digikam/digikam/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
Leonards-MacBook-Pro:~ leonardlee$

Thanks!

comment:4 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Is this still a problem with 2.7.0?

comment:5 Changed 12 years ago by sheeeng@…

It failed due to opencv port.

Vulcan:~ leonardlee$ port search digikam opencv
digikam @2.7.0 (kde, kde4)
    Photo Management Program
--
objectmarker @20070501 (graphics)
    Tool for opencv to learn to recognize objects

opencv @2.4.2 (graphics, science)
    Intel(R) Open Source Computer Vision Library

Found 2 ports.
Vulcan:~ leonardlee$ 
Vulcan:~ leonardlee$ sudo port clean digikam
Password:
--->  Cleaning digikam
Vulcan:~ leonardlee$ sudo port install digikam
--->  Computing dependencies for opencv
--->  Configuring opencv
Error: org.macports.configure for port opencv returned: configure failure: command execution failed
Please see the log file for port opencv for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/main.log
Error: Unable to upgrade port: 1
Error: Unable to execute port: upgrade opencv failed
Vulcan:~ leonardlee$ 

Changed 12 years ago by sheeeng@…

Attachment: main.log added

opencv-main.log

comment:6 Changed 12 years ago by karo11

Hi, I have the same problem installing opencv if option +universal is set. I am on 10.7.4. With -universal opencv builds for my x86_64 architecture well.

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

This ticket is about digikam; please let us know if you are still experiencing this specific digikam issue with 2.8.0 once the port is updated to that version. The opencv +universal problem is a separate issue filed as #35307.

comment:8 Changed 7 years ago by jmroot (Joshua Root)

Cc: caulier.gilles@… added
Note: See TracTickets for help on using tickets.