Opened 5 years ago

Closed 5 years ago

#59317 closed defect (fixed)

ocaml @4.08.1: fails to build on Catalina

Reported by: miguelbarao (MB) Owned by: pmetzger (Perry E. Metzger)
Priority: Normal Milestone:
Component: ports Version: 2.6.1
Keywords: Cc: miguelbarao (MB), dlamija (Muhammed Ramiza)
Port: ocaml

Description

As the title says, ocaml fails to built which prevents other ports to be installed also (e.g. unison).

Attachments (1)

main.log (332.6 KB) - added by miguelbarao (MB) 5 years ago.

Download all attachments as: .zip

Change History (11)

Changed 5 years ago by miguelbarao (MB)

Attachment: main.log added

comment:1 Changed 5 years ago by miguelbarao (MB)

Cc: miguelbarao added

comment:2 Changed 5 years ago by mf2k (Frank Schima)

Cc: miguel.barao@… removed
Owner: set to pmetzger
Status: newassigned

comment:3 Changed 5 years ago by pmetzger (Perry E. Metzger)

Any information to lend other than "it fails to build"?

comment:4 in reply to:  3 Changed 5 years ago by miguelbarao (MB)

Replying to pmetzger:

Any information to lend other than "it fails to build"?

The main.log file containing the error messages is attached to this ticket. If any other information is needed, let me know.

comment:5 Changed 5 years ago by jmroot (Joshua Root)

In e9d3912ec3006de53f3e38a0d528ac4d76dea131/macports-ports (master):

ocaml: fix env quoting

See: #59317

comment:6 Changed 5 years ago by jxy (Xiao-Yong)

Apparently the environment is parsed incorrectly.

67	:debug:configure Executing org.macports.configure (ocaml)
68	:debug:configure parse_environment: skipping invalid entry: '-arch'
69	:debug:configure parse_environment: skipping invalid entry: 'x86_64'
70	:debug:configure parse_environment: skipping invalid entry: '-Wno-trigraphs'
71	:debug:configure parse_environment: skipping invalid entry: '-c"'
72	:debug:configure parse_environment: skipping invalid entry: '-arch'
73	:debug:configure parse_environment: skipping invalid entry: 'x86_64'
74	:debug:configure parse_environment: skipping invalid entry: '-Wno-trigraphs'
75	:debug:configure parse_environment: skipping invalid entry: '-c"'
76	:debug:configure Environment:
77	:debug:configure AS='"/usr/bin/clang'
78	:debug:configure ASPP='"/usr/bin/clang'

comment:7 Changed 5 years ago by dlamija (Muhammed Ramiza)

Cc: dlamija added

comment:8 Changed 5 years ago by dlamija (Muhammed Ramiza)

Some how don't know how, it's build successfully on my Catalina 10.15;

port installed ocaml
The following ports are currently installed:
  ocaml @4.08.1_0 (active)

comment:9 Changed 5 years ago by miguelbarao (MB)

Tried just now and it's correctly building and installing. Thanks!

comment:10 Changed 5 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

OK, thanks for confirming.

Note: See TracTickets for help on using tickets.