Opened 12 years ago

Closed 12 years ago

#34544 closed defect (duplicate)

Problems building tk +quartz

Reported by: dave@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc:
Port: tk

Description

...
--->  Extracting tk
--->  Configuring tk
--->  Building tk
Error: org.macports.build for port tk returned: command execution failed
Error: Unable to upgrade port: 1
Error rebuilding tk
    while executing
"error "Error rebuilding $portname""
    (procedure "revupgrade_scanandrebuild" line 370)
    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_upgrade" line 24)
    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 4784)

Attachments (1)

main.log (356.8 KB) - added by dave@… 12 years ago.
main.log for tk build

Download all attachments as: .zip

Change History (7)

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

Cc: cal@… added
Port: tk added

Strange... Is there a main.log file for tk in the usual place that might shed some light on it? Cc'ing cal because this seems to relate to rev-upgrade.

Changed 12 years ago by dave@…

Attachment: main.log added

main.log for tk build

comment:2 Changed 12 years ago by neverpanic (Clemens Lang)

Owner: changed from macports-tickets@… to mww@…

This seems unrelated to rev-upgrade. I think this is a "normal" build failure in tk; reassigning.

comment:3 Changed 12 years ago by neverpanic (Clemens Lang)

Cc: cal@… removed

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

First error is:

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_tk/tk/work/tk8.5.11/unix/../macosx/tkMacOSXCursor.c:328:18: error: use of undeclared identifier 'CCrsrHandle'
:info:build         DisposeCCursor((CCrsrHandle) macCursorPtr->macCursor);

There are two non-default configuration options I can see in the log; build_arch is set to i386 on a Lion system and ccache is being used.

comment:5 Changed 12 years ago by dave@…

Relevant segment of my config file:

# CPU architecture to compile for. Defaults to i386 or ppc on Mac OS X 10.5
# and earlier, depending on the CPU type detected at runtime. On Mac OS X 10.6
# the default is x86_64 if the CPU supports it, i386 otherwise.
#build_arch			i386

Can't imagine what would be setting build_arch to i386, since "the CPU supports it [x86_64]"

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

Resolution: duplicate
Status: newclosed
Summary: Problems building tk after selfupdate;upgrade outdatedProblems building tk +quartz

You're using +quartz; dupe of #32329.

Note: See TracTickets for help on using tickets.