Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#16134 closed defect (duplicate)

omake 0.9.8.5-3 build error

Reported by: drbacher@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.6.0
Keywords: tcl environment Cc: blb@…
Port:

Description

Looks like the compiler isn't getting passed to the build command. I tried setting CC and CXX in the environment, but the build fails with the same error. I'm not sure whether there's more build information that I should post -- I'm still new to macports.

--->  Building omake with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_omake/work
/omake-0.9.8.5" && make all " returned error 2
Command output: 
...
*** omake: finished reading OMakefiles (3.57 sec)
*** omake: warning: stdout is not a tty, disabling the progress bar
   (use --progress to override).
- scan src/clib scan-c-lm_fs_case_sensitive.c
+ -O2 -Wall -Werror -Wno-unused -I. -I/opt/local/lib/ocaml -I. -MM lm_fs_case_sensitive.c
   *** process creation failed:
   *** omake error:
      File lib/build/C.om: line 275, characters 8-51
      command not found in PATH: -O2
*** omake: 219/1149 targets are up to date
*** omake: failed (10.31 sec, 2/2 scans, 21/21 rules, 84/681 digests)
*** omake: targets were not rebuilt because of errors:
   <scanner src/clib/scan-c-lm_fs_case_sensitive.c>
make: *** [all] Error 126   

Change History (5)

comment:1 Changed 16 years ago by blb@…

Cc: blb@… added

Looks like the Tcl env bug (#13930); try

sudo port clean --work omake

then try your original port command again.

comment:2 in reply to:  1 Changed 16 years ago by drbacher@…

Replying to blb@macports.org: Yup, that worked. Thanks for the quick reply and workaround.

comment:3 Changed 16 years ago by blb@…

Component: portsbase
Keywords: tcl environment added; omake removed
Milestone: MacPorts base bugs
Resolution: duplicate
Status: newclosed

Dup of #13930.

comment:4 Changed 16 years ago by tobypeterson

Milestone: MacPorts base bugsMacPorts Future

Milestone MacPorts base bugs deleted

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

Milestone: MacPorts Future
Note: See TracTickets for help on using tickets.