Opened 13 years ago

Last modified 21 months ago

#34538 assigned defect

Soprano 2.7.4 fails to build with wrong-arch iodbc.framework in /Library/Frameworks

Reported by: internetj@… Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc: ozanyarman@…, chrstphrchvz (Christopher Chavez)
Port: soprano

Description

soprano fails with ":debug:build couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory while executing" as what appears to be the operative failure.

Putting a symlink to the similarly named file in .../Resources/Scripts results in the building giving the same error for: "/usr/lib/tclIndex".

Another symlink moves the error to "~/Library/Tcl/tclIndex"

And the third time's the charm, so here's a bug report.

Attachments (2)

main.log (865.5 KB) - added by internetj@… 13 years ago.
log from attempted install of soprano 2.7.4 on Lion 10.7.4
main.2.log (170.7 KB) - added by ozanyarman@… 12 years ago.
KDENLIVE install soprano dependency fail

Download all attachments as: .zip

Change History (11)

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

Keywords: soprano tcl removed
Owner: changed from macports-tickets@… to pixilla@…
Port: soprano added

The tclIndex error message is irrelevant.

Please undo whatever changes you made, then "sudo port clean soprano" and re-try the soprano installation, and then provide its main.log file so we can try to analyze why it failed.

Changed 13 years ago by internetj@…

Attachment: main.log added

log from attempted install of soprano 2.7.4 on Lion 10.7.4

comment:2 Changed 13 years ago by internetj@…

See attached log.

comment:3 Changed 12 years ago by jmroot (Joshua Root)

Summary: Soprano 2.7.4 fails to build in LionSoprano 2.7.4 fails to build with wrong-arch iodbc.framework in /Library/Frameworks

The actual error is:

:info:build ld: warning: ignoring file /Library/Frameworks//iodbc.framework/iodbc, missing required architecture x86_64 in file
:info:build Undefined symbols for architecture x86_64:
:info:build   "_SQLGetDiagRec", referenced from:
:info:build       Soprano::Virtuoso::convertSqlError(short, void*, QString const&) in virtuosotools.cpp.o
...

(and so on for a bunch of other symbols starting with SQL.)

So it's trying to link against a framework external to MacPorts.

comment:4 in reply to:  description ; Changed 12 years ago by ozanyarman@…

I have been experiencing a series of similar errors when attempting to install since-a-long-time-broken copy of KDENLIVE on my Mac OS X Snow Leopard (Macbook Pro 2008), getting no where after having done what the thread-owner has done with copying tclindex aliases to said missing locations. This is what happens when I type

sudo port install kdenlive

and I get the following error output:

sudo port install kdenlive
Password:
--->  Computing dependencies for pango
--->  Dependencies to be installed: harfbuzz graphite2 icu
--->  Configuring graphite2
Error: org.macports.configure for port graphite2 returned: configure failure: command execution failed
Error: Failed to install graphite2
Please see the log file for port graphite2 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_graphite2/graphite2/main.log
Error: The following dependencies were not installed: harfbuzz graphite2 icu
Error: Unable to upgrade port: 1
Error: Unable to execute port: upgrade mlt failed
Ozan-Yarmans-MacBook-Pro:~ ozanyarman$ sudo port list inactive
pango-devel                    @1.32.5         x11/pango-devel
Ozan-Yarmans-MacBook-Pro:~ ozanyarman$ sudo port install harfbuzz
--->  Computing dependencies for harfbuzz
--->  Cleaning harfbuzz
--->  Scanning binaries for linking errors: 9.5%
Warning: Error parsing file /opt/local/bin/kdestroy: Error opening or reading file
--->  Scanning binaries for linking errors: 100.0%
--->  Found 3 broken file(s), matching files to ports
--->  Found 1 broken port(s), determining rebuild order
--->  Rebuilding in order
     soprano @2.7.4 
--->  Computing dependencies for soprano
--->  Fetching archive for soprano
--->  Attempting to fetch soprano-2.9.0_0.darwin_10.x86_64.tbz2 from http://lil.fr.packages.macports.org/soprano
--->  Attempting to fetch soprano-2.9.0_0.darwin_10.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/soprano
--->  Attempting to fetch soprano-2.9.0_0.darwin_10.x86_64.tbz2 from http://packages.macports.org/soprano
--->  Fetching distfiles for soprano
--->  Verifying checksum(s) for soprano
--->  Extracting soprano
--->  Applying patches to soprano
--->  Configuring soprano
Error: org.macports.configure for port soprano returned: configure failure: command execution failed
Please see the log file for port soprano for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_soprano/soprano/main.log
Error: Unable to upgrade port: 1
Error rebuilding soprano
    while executing
"error "Error rebuilding $portname""
    (procedure "revupgrade_scanandrebuild" line 382)
    invoked from within
"revupgrade_scanandrebuild broken_port_counts $opts"
    (procedure "macports::revupgrade" line 5)
    invoked from within
"macports::revupgrade $opts"
    (procedure "action_revupgrade" line 2)
    invoked from within
"action_revupgrade $action $portlist $opts"
    (procedure "action_target" line 94)
    invoked from within
"$action_proc $action $portlist [array get global_options]"
    (procedure "process_cmd" line 95)
    invoked from within
"process_cmd $remaining_args"
    invoked from within
"if { [llength $remaining_args] > 0 } {

    # If there are remaining arguments, process those as a command
    set exit_status [process_cmd $remaining..."
    (file "/opt/local/bin/port" line 4785)
Ozan-Yarmans-MacBook-Pro:~ ozanyarman$ 

As you can see, I again a dead end when trying to install harfbuzz or graphite2. The issue with the latter in the log points to the absence of pango-devel, which I forcibly installed in place of my current pango @1.30.1_3+universal+x11 (active) only to revert back upon this chronic failure. I use two other programs (SCALA by Manuel op de Coul & FontForge) which depend on the normal pango, so I cannot remain on pango-devel for long.

There was also the issue of gcc not being set at all, but I managed to learn how to make it active from among my available cmake compilers by "sudo port select --set gcc XXX". This is my current gcc setting:

port select --list gcc
Available versions for gcc:
	apple-gcc42
	gcc40
	gcc42
	llvm-gcc42
	mp-gcc44
	mp-gcc45
	mp-gcc48 (active)
	none

How can I get KDENLIVE to install back again? My Macports Version is: 2.1.3. I attached the soprano compilation error main.log

Thanks, Dr. Oz.


Replying to internetj@…:

soprano fails with ":debug:build couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory while executing" as what appears to be the operative failure.

Putting a symlink to the similarly named file in .../Resources/Scripts results in the building giving the same error for: "/usr/lib/tclIndex".

Another symlink moves the error to "~/Library/Tcl/tclIndex"

And the third time's the charm, so here's a bug report.

Version 2, edited 12 years ago by ozanyarman@… (previous) (next) (diff)

Changed 12 years ago by ozanyarman@…

Attachment: main.2.log added

KDENLIVE install soprano dependency fail

comment:5 in reply to:  4 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ozanyarman@… added

Replying to ozanyarman@…:

I have been experiencing a series of similar errors

The errors you are experiencing do not appear to bear any relation to the errors in this ticket. We'll continue discussing the errors you're experiencing in your ticket #38795.

comment:6 Changed 6 years ago by mf2k (Frank Schima)

Owner: pixilla deleted
Status: newassigned

See #57827

comment:7 Changed 4 years ago by chrstphrchvz (Christopher Chavez)

soprano has since been updated to 2.9.4_4. Is this ticket still relevant or can it be closed?

comment:8 Changed 4 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

comment:9 Changed 21 months ago by kencu (Ken)

soprano can't build on 10.6 right now because it's dependency "cluecene" is broken #62192

Note: See TracTickets for help on using tickets.