[MacPorts] #38795: Follow-up on ticket 34538

MacPorts noreply at macports.org
Sat Apr 13 17:52:57 PDT 2013


#38795: Follow-up on ticket 34538
-------------------------------------------+-------------------------------
  Reporter:  ozanyarman@…                  |      Owner:  macports-
      Type:  defect                        |  tickets@…
  Priority:  Normal                        |     Status:  new
 Component:  ports                         |  Milestone:
Resolution:                                |    Version:  2.1.3
      Port:  soprano, graphite2, kdenlive  |   Keywords:
-------------------------------------------+-------------------------------
Changes (by ryandesign@…):

 * cc: ryandesign@… (added)
 * keywords:  cmake error, unix makefiles missing =>


Old description:

> I have been experiencing a series of similar errors as ticket 34538 when
> attempting to install my since-a-long-time-broken copy of KDENLIVE on 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 reach 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 said 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. Here is a link to the soprano compilation error main.log
>
> https://trac.macports.org/attachment/ticket/34538/main.2.log
>
> Thanks,
> Dr. Oz.
>

> ----
>

> Replying to [ticket:34538 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.

New description:

 I have been experiencing a series of similar errors as ticket #34538 when
 attempting to install my since-a-long-time-broken copy of KDENLIVE on 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 reach 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 said 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. Here is a link to the soprano compilation error main.log

 attachment:ticket:34538:main.2.log

 Thanks, [[br]]
 Dr. Oz.


 ----


 Replying to [ticket:34538 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.

--

Comment:

 [wiki:FAQ#portlist "port list" doesn't do what you think it does]. You
 want `port installed` instead.

 Having a compiler selected via `port select` can cause problems for the
 small minority of ports that are not UsingTheRightCompiler; if you do not
 specifically need `gcc` to be gcc-4.8, I recommend you use `port select`
 to select "none" for gcc.

 Your graphite2 build attempt shown above was incomplete. Please
 [http://guide.macports.org/chunked/project.html#project.tickets.prerequisites
 clean graphite2 and try again] and if it fails again, attach its main.log
 file to this ticket.

-- 
Ticket URL: <https://trac.macports.org/ticket/38795#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list