[MacPorts] #63766: fragroute: build fails (was: FragRoute Build Error CHILDSTATUS 54454 2)
MacPorts
noreply at macports.org
Tue Nov 2 14:11:32 UTC 2021
#63766: fragroute: build fails
------------------------+--------------------
Reporter: YKPCLN | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords:
Port: fragroute |
------------------------+--------------------
Changes (by reneeotten):
* keywords: #fragroute # =>
* milestone: MacPorts Future =>
Old description:
> Error Command : Command failed: cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_fragroute/fragroute/work/fragroute-1.2"
> && /usr/bin/make -j4 -w all
>
> I got some errors like below when I run that command manually.
>
> In file included from pcaputil.c:27:
> ./pcaputil.h:12:9: error: conflicting types for 'pcap_open'
> pcap_t *pcap_open(char *device);
> ^
> /opt/local/include/pcap/pcap.h:1084:18: note: previous declaration is
> here
> PCAP_API pcap_t *pcap_open(const char *source, int snaplen, int flags,
> ^
> pcaputil.c:32:1: error: conflicting types for 'pcap_open'
> pcap_open(char *device)
> ^
> /opt/local/include/pcap/pcap.h:1084:18: note: previous declaration is
> here
> PCAP_API pcap_t *pcap_open(const char *source, int snaplen, int flags,
> ^
> pcaputil.c:38:17: warning: 'pcap_lookupdev' is deprecated: use
> 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations]
>
> Thanks all for your helps...
New description:
{{{
Error Command : Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_fragroute/fragroute/work/fragroute-1.2"
&& /usr/bin/make -j4 -w all
}}}
I got some errors like below when I run that command manually.
{{{
In file included from pcaputil.c:27:
./pcaputil.h:12:9: error: conflicting types for 'pcap_open'
pcap_t *pcap_open(char *device);
^
/opt/local/include/pcap/pcap.h:1084:18: note: previous declaration is here
PCAP_API pcap_t *pcap_open(const char *source, int snaplen, int flags,
^
pcaputil.c:32:1: error: conflicting types for 'pcap_open'
pcap_open(char *device)
^
/opt/local/include/pcap/pcap.h:1084:18: note: previous declaration is here
PCAP_API pcap_t *pcap_open(const char *source, int snaplen, int flags,
^
pcaputil.c:38:17: warning: 'pcap_lookupdev' is deprecated: use
'pcap_findalldevs' and use the first device [-Wdeprecated-declarations]
}}}
Thanks all for your helps...
--
Comment:
please attach the {{{main.log}}} file as mentioned in the error message
from MacPorts to this ticket. Also please note that there is no maintainer
for this port, so if you find/know a fix for this please consider
submitting a PR.
--
Ticket URL: <https://trac.macports.org/ticket/63766#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list