Opened 9 years ago

Closed 2 years ago

#47817 closed defect (fixed)

itcl @3.4b1 compilation error

Reported by: peter@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: itcl

Description

itcl breaks during compilation

--->  Computing dependencies for itcl
--->  Configuring itcl
Error: Failed to configure itcl, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_itcl/itcl/work/itcl3.4/config.log
Error: org.macports.configure for port itcl returned: configure failure: command execution failed
Please see the log file for port itcl for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_itcl/itcl/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port itcl failed

I am using OS X 10.10.3 with XCode 6.3.2

Attachments (2)

config.log (9.4 KB) - added by peter@… 9 years ago.
main.log (33.2 KB) - added by peter@… 9 years ago.

Download all attachments as: .zip

Change History (9)

Changed 9 years ago by peter@…

Attachment: config.log added

Changed 9 years ago by peter@…

Attachment: main.log added

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Keywords: compilation removed

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

The log says:

clang: error: unknown argument: '-tcl8.5'

I agree, that's an invalid argument to use. It's been in the portfile since r18304. I don't know why.

There is a proposal to update the port to a newer version in #44829. The updated version doesn't include this argument.

comment:3 Changed 9 years ago by jharmon@…

I can't move forward with my work until this port is fixed. I'm so grateful to the Macports team! Anything you can do here would be a huge high five!!

comment:4 Changed 9 years ago by dmitriy@…

configure:2067: /usr/bin/clang -V </dev/null >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:2070: $? = 1
configure:2093: checking for C compiler default output file name
configure:2096: /usr/bin/clang -pipe -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_itcl/itcl/work/tcl8.5.9/generic -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_itcl/itcl/work/tcl8.5.9/unix -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -tcl8.5 -arch x86_64 conftest.c  >&5
clang: error: unknown argument: '-tcl8.5'
configure:2099: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "itcl"
| #define PACKAGE_TARNAME "itcl"
| #define PACKAGE_VERSION "3.4"
| #define PACKAGE_STRING "itcl 3.4"
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2138: error: C compiler cannot create executables
See `config.log' for more details.

comment:5 Changed 9 years ago by macports@…

I am having the same issue. Any estimation on a fix?

comment:6 Changed 9 years ago by bpnuke@…

I need port itk (which depends on itcl) to install and run EMPIRE-3.2, I'm running into the same issue on 10.11.2 OS X and 7.2 Xcode.

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

Resolution: fixed
Status: newclosed

In bf63f2f5d26b998a135747086fb7903553908b0c/macports-ports (master):

itcl: mark replaced_by tcl

Included in the core Tcl distribution as of 8.6.

Closes: #44829
Closes: #47817

Note: See TracTickets for help on using tickets.