Opened 12 years ago

Closed 11 years ago

#34103 closed defect (fixed)

libofa failed to compile: fatal error: 'curl/types.h' file not found

Reported by: holms (Roman Gorodeckij) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: libofa

Description

log provided

/usr/bin/clang++ -DHAVE_CONFIG_H -I. -I.. -I../include  -I/opt/local/include  -pipe -O2 -arch x86_64 -Wall -g -MT protocol.o -MD -MP -MF .deps/protocol.Tpo -c -o protocol.o protocol.cpp
protocol.cpp:15:10: fatal error: 'curl/types.h' file not found
#include <curl/types.h>
         ^
1 error generated.
make[2]: *** [protocol.o] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_libofa/libofa/work/libofa-0.9.3/examples'
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_audio_libofa/libofa/work/libofa-0.9.3'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_libofa/libofa/work/libofa-0.9.3'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_libofa/libofa/work/libofa-0.9.3" && /usr/bin/make -j4 -w all 
Exit code: 2
Error: org.macports.build for port libofa returned: command execution failed
Warning: targets not executed for libofa: org.macports.activate org.macports.build org.macports.destroot org.macports.install
Please see the log file for port libofa for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_libofa/libofa/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port libofa failed

Attachments (1)

libofa.log (30.4 KB) - added by holms (Roman Gorodeckij) 12 years ago.
compilation log

Download all attachments as: .zip

Change History (11)

Changed 12 years ago by holms (Roman Gorodeckij)

Attachment: libofa.log added

compilation log

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

Milestone: MacPorts 2.1.0
Priority: HighNormal

This was not a clean attempt. Please "sudo port clean libofa", then try again, then attach the new main.log file.

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

@holms, can you please try again, as requested above, and give us the complete main.log? Without this, it's hard to begin to debug the problem.

comment:3 in reply to:  2 Changed 12 years ago by holms (Roman Gorodeckij)

Replying to ryandesign@…:

@holms, can you please try again, as requested above, and give us the complete main.log? Without this, it's hard to begin to debug the problem.

log is attached what's the problem?

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

Cc: ryandesign@… added

The log you attached contains lines "Skipping completed" which means this was not a clean attempt. Relevant information about the problem that's occurring might therefore not have been included in that log. Please do what I requested above: "sudo port clean libofa", then try again, then attach the new complete main.log.

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

We're still waiting for you to attach a clean main.log file. The port builds fine for me every time I try so I would need to see the complete output from your system, including the output of the configure phase which is not present in the log you attached before.

comment:6 Changed 12 years ago by holms (Roman Gorodeckij)

close this ticket my laptop was stolen..

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

Resolution: worksforme
Status: newclosed

I'm sorry to hear that. Please feel free to re-open the ticket if you manage to reproduce the problem later.

comment:8 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: closedreopened
Summary: libofa failed to compilelibofa failed to compile: fatal error: 'curl/types.h' file not found

It is still a problem. curl/types.h was removed from curl two years ago and should no longer be included. See e.g. https://github.com/bagder/curl/commit/ac28971aa61d28e5dd54888e34e958d1c742b461

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

Cc: ryandesign@… removed
Owner: changed from macports-tickets@… to ryandesign@…
Status: reopenednew

comment:10 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.