Ticket #34103 (closed defect: fixed)
libofa failed to compile: fatal error: 'curl/types.h' file not found
| Reported by: | holms@… | Owned by: | ryandesign@… |
|---|---|---|---|
| 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
Change History
Changed 13 months ago by holms@…
- Attachment libofa.log added
comment:1 Changed 13 months ago by ryandesign@…
- Priority changed from High to Normal
- Milestone MacPorts 2.1.0 deleted
This was not a clean attempt. Please "sudo port clean libofa", then try again, then attach the new main.log file.
comment:2 follow-up: ↓ 3 Changed 13 months ago by 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.
comment:3 in reply to: ↑ 2 Changed 13 months ago by holms@…
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 13 months ago by ryandesign@…
- 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 months ago by ryandesign@…
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:7 Changed 12 months ago by ryandesign@…
- Status changed from new to closed
- Resolution set to worksforme
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 3 months ago by ryandesign@…
- Status changed from closed to reopened
- Resolution worksforme deleted
- Summary changed from libofa failed to compile to libofa 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 3 months ago by ryandesign@…
- Cc ryandesign@… removed
- Status changed from reopened to new
- Owner changed from macports-tickets@… to ryandesign@…
comment:10 Changed 3 months ago by ryandesign@…
- Status changed from new to closed
- Resolution set to fixed


compilation log