Opened 12 years ago

Closed 12 years ago

#36388 closed defect (duplicate)

ppl-1.0 command execution failed

Reported by: de5ton56@… Owned by: adfernandes (Andrew Fernandes)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: ppl

Description

i tried to build either ppl or ppl +universal, both fail

make[4]: *** [ppl_lpsol-ppl_lpsol.o] Error 1
make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ppl/ppl/work/ppl-1.0/demos/ppl_lpsol'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ppl/ppl/work/ppl-1.0/demos/ppl_lpsol'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ppl/ppl/work/ppl-1.0/demos'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ppl/ppl/work/ppl-1.0'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ppl/ppl/work/ppl-1.0'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ppl/ppl/work/ppl-1.0" && /usr/bin/make -j13 -w all 
Exit code: 2
Error: org.macports.build for port ppl returned: command execution failed

Attachments (2)

config.log (290.1 KB) - added by de5ton56@… 12 years ago.
main.log (494.0 KB) - added by de5ton56@… 12 years ago.

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by de5ton56@…

Attachment: config.log added

Changed 12 years ago by de5ton56@…

Attachment: main.log added

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

Cc: adfernandes@… openmaintainer@… removed
Owner: changed from macports-tickets@… to adfernandes@…
Port: ppl added

In the future, please fill in the Port field. Cc'ing openmaintainer is not useful.

comment:2 in reply to:  1 Changed 12 years ago by de5ton56@…

Replying to macsforever2000@…:

In the future, please fill in the Port field. Cc'ing openmaintainer is not useful.

Noted with Thanks

comment:3 Changed 12 years ago by adfernandes (Andrew Fernandes)

Hmm.. looking at main.log, it seems the error happens because the -Werror flag is specified to clang which itself is being run through ccache.

The actual error is triggered by

:info:build clang: error: argument unused during compilation: '-I .'
:info:build clang: error: argument unused during compilation: '-I ../..'
:info:build clang: error: argument unused during compilation: '-I ../../interfaces/C'
:info:build clang: error: argument unused during compilation: '-I /opt/local/include'

which, of course, is silly since these flags are always used by the compiler (at least here, where a .c file is used as input for an .o output).

I'm guessing this is a cccache issue, either a misconfiguration or miscompilation.

Can you please disable cccache and try again? Thanks!

comment:4 Changed 12 years ago by adfernandes (Andrew Fernandes)

Resolution: duplicate
Status: newclosed

Dupe of #36387

Note: See TracTickets for help on using tickets.