Opened 3 years ago

Closed 3 years ago

#62950 closed defect (fixed)

dsniff @2.4b1_2: error: conflicting types for 'pcap_init'

Reported by: JuhnHoo Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: dsniff

Description (last modified by jmroot (Joshua Root))

Hi

I use the last version of Mac OSX 10.10.-.Yosemite but I can install dsniff. I use:

sudo port selfupdate
sudo port upgrade outdated
sudo port install dsniff
--->  Computing dependencies for dsniff
--->  Fetching archive for dsniff
--->  Attempting to fetch dsniff-2.4b1_2.darwin_14.x86_64.tbz2 from https://mse.uk.packages.macports.org/dsniff
--->  Attempting to fetch dsniff-2.4b1_2.darwin_14.x86_64.tbz2 from https://fra.de.packages.macports.org/dsniff
--->  Attempting to fetch dsniff-2.4b1_2.darwin_14.x86_64.tbz2 from http://fco.it.packages.macports.org/dsniff
--->  Building dsniff
Error: Failed to build dsniff: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_dsniff/dsniff/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port dsniff failed

I open /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_dsniff/dsniff/main.log

version:1
:debug:main Starting logging for dsniff @2.4b1_2
:debug:sysinfo OS X 10.10.5 (darwin/14.5.0) arch i386
:debug:sysinfo MacPorts 2.7.0
:debug:sysinfo Xcode 7.2.1
:debug:sysinfo SDK 10.10
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.10
:debug:main epoch: in tree: 0 installed: 0
:debug:main libpcap 1.10.0_0 exists in the ports tree
:debug:main libpcap 1.10.0_0  is the latest installed
:debug:main libpcap 1.10.0_0  is active
:debug:main Merging existing requested variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/net/libpcap
:debug:main OS darwin/14.5.0 (macOS 10.10.5) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! libpcap 1.10.0_0 >= libpcap 1.10.0_0
:debug:main epoch: in tree: 1 installed: 1
:debug:main openssl 1.1.1k_0 exists in the ports tree
:debug:main openssl 1.1.1k_0  is the latest installed
:debug:main openssl 1.1.1k_0  is active
:debug:main Merging existing requested variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/openssl
:debug:main OS darwin/14.5.0 (macOS 10.10.5) arch i386
:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main muniversal: adding universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! openssl 1.1.1k_0 >= openssl 1.1.1k_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main zlib 1.2.11_0 exists in the ports tree
:debug:main zlib 1.2.11_0  is the latest installed
:debug:main zlib 1.2.11_0  is active
:debug:main Merging existing requested variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/archivers/zlib
:debug:main OS darwin/14.5.0 (macOS 10.10.5) arch i386
:debug:main Sourcing PortGroup xcodeversion 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/xcodeversion-1.0.tcl
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main Running callback xcodeversions_run_check
:debug:main Finished running callback xcodeversions_run_check
:debug:main No need to upgrade! zlib 1.2.11_0 >= zlib 1.2.11_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main libnids 1.24_0 exists in the ports tree
:debug:main libnids 1.24_0 +libnet11 is the latest installed
:debug:main libnids 1.24_0 +libnet11 is active
:debug:main Merging existing requested variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/net/libnids
:debug:main OS darwin/14.5.0 (macOS 10.10.5) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Executing variant libnet11 provides libnet11
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! libnids 1.24_0 >= libnids 1.24_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main libnet11 1.1.6_2 exists in the ports tree
:debug:main libnet11 1.1.6_2  is the latest installed
:debug:main libnet11 1.1.6_2  is active
:debug:main Merging existing requested variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/net/libnet11
:debug:main OS darwin/14.5.0 (macOS 10.10.5) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! libnet11 1.1.6_2 >= libnet11 1.1.6_2
:debug:main epoch: in tree: 0 installed: 0
:debug:main xorg-libXmu 1.1.3_0 exists in the ports tree
:debug:main xorg-libXmu 1.1.3_0  is the latest installed
:debug:main xorg-libXmu 1.1.3_0  is active
:debug:main Merging existing requested variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/x11/xorg-libXmu
:debug:main OS darwin/14.5.0 (macOS 10.10.5) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! xorg-libXmu 1.1.3_0 >= xorg-libXmu 1.1.3_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main xorg-libXext 1.3.4_0 exists in the ports tree
:debug:main xorg-libXext 1.3.4_0  is the latest installed
:debug:main xorg-libXext 1.3.4_0  is active
:debug:main Merging existing requested variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/x11/xorg-libXext
:debug:main OS darwin/14.5.0 (macOS 10.10.5) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! xorg-libXext 1.3.4_0 >= xorg-libXext 1.3.4_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main xorg-libX11 1.7.1_0 exists in the ports tree
:debug:main xorg-libX11 1.7.1_0  is the latest installed
:debug:main xorg-libX11 1.7.1_0  is active
:debug:main Merging existing requested variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/x11/xorg-libX11
:debug:main OS darwin/14.5.0 (macOS 10.10.5) arch i386
:debug:main Sourcing PortGroup compiler_blacklist_versions 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/compiler_blacklist_versions-1.0.tcl
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! xorg-libX11 1.7.1_0 >= xorg-libX11 1.7.1_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main xorg-libXdmcp 1.1.3_0 exists in the ports tree
:debug:main xorg-libXdmcp 1.1.3_0  is the latest installed
:debug:main xorg-libXdmcp 1.1.3_0  is active
:debug:main Merging existing requested variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/x11/xorg-libXdmcp
:debug:main OS darwin/14.5.0 (macOS 10.10.5) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! xorg-libXdmcp 1.1.3_0 >= xorg-libXdmcp 1.1.3_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main xorg-libXau 1.0.9_0 exists in the ports tree
:debug:main xorg-libXau 1.0.9_0  is the latest installed
:debug:main xorg-libXau 1.0.9_0  is active
:debug:main Merging existing requested variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/x11/xorg-libXau
:debug:main OS darwin/14.5.0 (macOS 10.10.5) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! xorg-libXau 1.0.9_0 >= xorg-libXau 1.0.9_0
:debug:main epoch: in tree: 1 installed: 1
:debug:main xorg-xorgproto 2021.4_0 exists in the ports tree
:debug:main xorg-xorgproto 2021.4_0  is the latest installed
:debug:main xorg-xorgproto 2021.4_0  is active
:debug:main Merging existing requested variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/x11/xorg-xorgproto
:debug:main OS darwin/14.5.0 (macOS 10.10.5) arch i386
:debug:main only one arch supported, so not adding the default universal variant
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! xorg-xorgproto 2021.4_0 >= xorg-xorgproto 2021.4_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main xorg-libxcb 1.14_0 exists in the ports tree
:debug:main xorg-libxcb 1.14_0 +python39 is the latest installed
:debug:main xorg-libxcb 1.14_0 +python39 is active
:debug:main Merging existing requested variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/x11/xorg-libxcb
:debug:main OS darwin/14.5.0 (macOS 10.10.5) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Executing variant python39 provides python39
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! xorg-libxcb 1.14_0 >= xorg-libxcb 1.14_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main xorg-xcb-proto 1.14.1_0 exists in the ports tree
:debug:main xorg-xcb-proto 1.14.1_0 +python39 is the latest installed
:debug:main xorg-xcb-proto 1.14.1_0 +python39 is active
:debug:main Merging existing requested variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/x11/xorg-xcb-proto
:debug:main OS darwin/14.5.0 (macOS 10.10.5) arch i386
:debug:main only one arch supported, so not adding the default universal variant
:debug:main Executing variant python39 provides python39
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! xorg-xcb-proto 1.14.1_0 >= xorg-xcb-proto 1.14.1_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main libxml2 2.9.10_1 exists in the ports tree
:debug:main libxml2 2.9.10_1  is the latest installed
:debug:main libxml2 2.9.10_1  is active
:debug:main Merging existing requested variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/textproc/libxml2
:debug:main OS darwin/14.5.0 (macOS 10.10.5) arch i386
:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! libxml2 2.9.10_1 >= libxml2 2.9.10_1
:debug:main epoch: in tree: 0 installed: 0
:debug:main libiconv 1.16_1 exists in the ports tree
:debug:main libiconv 1.16_1  is the latest installed
:debug:main libiconv 1.16_1  is active
:debug:main Merging existing requested variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/textproc/libiconv
:debug:main OS darwin/14.5.0 (macOS 10.10.5) arch i386
:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
:debug:main Sourcing PortGroup xcodeversion 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/xcodeversion-1.0.tcl
:debug:main muniversal: adding universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main Running callback xcodeversions_run_check
:debug:main Finished running callback xcodeversions_run_check
:debug:main No need to upgrade! libiconv 1.16_1 >= libiconv 1.16_1
:debug:main epoch: in tree: 0 installed: 0
:debug:main icu 67.1_4 exists in the ports tree
:debug:main icu 67.1_4  is the latest installed
:debug:main icu 67.1_4  is active
:debug:main Merging existing requested variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/icu
:debug:main OS darwin/14.5.0 (macOS 10.10.5) arch i386
:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main muniversal: adding universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! icu 67.1_4 >= icu 67.1_4
:debug:main epoch: in tree: 0 installed: 0
:debug:main xz 5.2.5_0 exists in the ports tree
:debug:main xz 5.2.5_0  is the latest installed
:debug:main xz 5.2.5_0  is active
:debug:main Merging existing requested variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/archivers/xz
:debug:main OS darwin/14.5.0 (macOS 10.10.5) arch i386
:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! xz 5.2.5_0 >= xz 5.2.5_0
:debug:main epoch: in tree: 2 installed: 2
:debug:main gettext 0.19.8.1_2 exists in the ports tree
:debug:main gettext 0.19.8.1_2  is the latest installed
:debug:main gettext 0.19.8.1_2  is active
:debug:main Merging existing requested variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/gettext
:debug:main OS darwin/14.5.0 (macOS 10.10.5) arch i386
:debug:main Sourcing PortGroup compiler_blacklist_versions 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/compiler_blacklist_versions-1.0.tcl
:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
:debug:main compiler clang 700.1.81 not blacklisted because it doesn't match {clang < 211.10.1}
:debug:main muniversal: adding universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! gettext 0.19.8.1_2 >= gettext 0.19.8.1_2
:debug:main epoch: in tree: 0 installed: 0
:debug:main ncurses 6.2_1 exists in the ports tree
:debug:main ncurses 6.2_1  is the latest installed
:debug:main ncurses 6.2_1  is active
:debug:main Merging existing requested variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/ncurses
:debug:main OS darwin/14.5.0 (macOS 10.10.5) arch i386
:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! ncurses 6.2_1 >= ncurses 6.2_1
:debug:main epoch: in tree: 0 installed: 0
:debug:main xorg-libpthread-stubs 0.4_0 exists in the ports tree
:debug:main xorg-libpthread-stubs 0.4_0  is the latest installed
:debug:main xorg-libpthread-stubs 0.4_0  is active
:debug:main Merging existing requested variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/x11/xorg-libpthread-stubs
:debug:main OS darwin/14.5.0 (macOS 10.10.5) arch i386
:debug:main only one arch supported, so not adding the default universal variant
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! xorg-libpthread-stubs 0.4_0 >= xorg-libpthread-stubs 0.4_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main xorg-libXt 1.2.1_0 exists in the ports tree
:debug:main xorg-libXt 1.2.1_0  is the latest installed
:debug:main xorg-libXt 1.2.1_0  is active
:debug:main Merging existing requested variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/x11/xorg-libXt
:debug:main OS darwin/14.5.0 (macOS 10.10.5) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! xorg-libXt 1.2.1_0 >= xorg-libXt 1.2.1_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main xorg-libsm 1.2.3_0 exists in the ports tree
:debug:main xorg-libsm 1.2.3_0  is the latest installed
:debug:main xorg-libsm 1.2.3_0  is active
:debug:main Merging existing requested variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/x11/xorg-libsm
:debug:main OS darwin/14.5.0 (macOS 10.10.5) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! xorg-libsm 1.2.3_0 >= xorg-libsm 1.2.3_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main xorg-libice 1.0.10_0 exists in the ports tree
:debug:main xorg-libice 1.0.10_0  is the latest installed
:debug:main xorg-libice 1.0.10_0  is active
:debug:main Merging existing requested variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/x11/xorg-libice
:debug:main OS darwin/14.5.0 (macOS 10.10.5) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! xorg-libice 1.0.10_0 >= xorg-libice 1.0.10_0
:msg:main --->  Computing dependencies for dsniff:info:main .:debug:main dsniff has no conflicts
:debug:main Searching for dependency: libpcap
:debug:main Found Dependency: receipt exists for libpcap
:debug:main Searching for dependency: openssl
:debug:main Found Dependency: receipt exists for openssl
:debug:main Searching for dependency: libnids
:debug:main Found Dependency: receipt exists for libnids
:debug:main Searching for dependency: xorg-libXmu
:debug:main Found Dependency: receipt exists for xorg-libXmu
:debug:main Executing org.macports.main (dsniff)
:debug:main dropping privileges: euid changed to 502, egid changed to 502.
:debug:archivefetch archivefetch phase started at Fri May 21 23:55:04 CEST 2021
:msg:archivefetch --->  Fetching archive for dsniff
:debug:archivefetch Executing org.macports.archivefetch (dsniff)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 502/502
:info:archivefetch --->  dsniff-2.4b1_2.darwin_14.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch dsniff-2.4b1_2.darwin_14.x86_64.tbz2 from https://mse.uk.packages.macports.org/dsniff
:debug:archivefetch Fetching archive failed: SSL peer handshake failed, the server most likely requires a client certificate to connect
:msg:archivefetch --->  Attempting to fetch dsniff-2.4b1_2.darwin_14.x86_64.tbz2 from https://fra.de.packages.macports.org/dsniff
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch dsniff-2.4b1_2.darwin_14.x86_64.tbz2 from http://fco.it.packages.macports.org/dsniff
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.fetch (dsniff)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.checksum (dsniff)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.extract (dsniff)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.patch (dsniff)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.configure (dsniff)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Fri May 21 23:55:05 CEST 2021
:notice:build --->  Building dsniff
:debug:build Executing org.macports.build (dsniff)
:debug:build port disallows a parallel build, setting build jobs to 1
:debug:build port disallows a parallel build, setting build jobs to 1
:debug:build Environment: 
:debug:build CC_PRINT_OPTIONS='YES'
:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_dsniff/dsniff/work/.CC_PRINT_OPTIONS'
:debug:build CPATH='/opt/local/include'
:debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools'
:debug:build LIBRARY_PATH='/opt/local/lib'
:debug:build MACOSX_DEPLOYMENT_TARGET='10.10'
:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_dsniff/dsniff/work/dsniff-2.4" && /usr/bin/make -j1 -w all 
:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_dsniff/dsniff/work/dsniff-2.4" && /usr/bin/make -j1 -w all 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_dsniff/dsniff/work/dsniff-2.4'
:info:build /usr/bin/clang -pipe -Os -DBIND_8_COMPAT -arch x86_64 -D_BSD_SOURCE -DHAVE_SOCKADDR_SA_LEN -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include  -I/opt/local/include  -I./missing -c ./dnsspoof.c
:info:build In file included from ./dnsspoof.c:28:
:info:build ./pcaputil.h:14:9: error: conflicting types for 'pcap_init'
:info:build pcap_t *pcap_init(char *intf, char *filter, int snaplen);
:info:build         ^
:info:build /opt/local/include/pcap/pcap.h:386:14: note: previous declaration is here
:info:build PCAP_API int    pcap_init(unsigned int, char *);
:info:build                 ^
:info:build ./dnsspoof.c:226:10: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
:info:build                 if ((q = dns_lookup_ptr(name)) == NULL)
:info:build                        ^ ~~~~~~~~~~~~~~~~~~~~
:info:build ./dnsspoof.c:230:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
:info:build                 anslen = dn_comp(q, p + 12, 256, NULL, NULL);
:info:build                                  ^
:info:build /usr/include/resolv.h:452:31: note: passing argument to parameter here
:info:build int             dn_comp __P((const char *, u_char *, int, u_char **, u_char **));
:info:build                                          ^
:info:build /usr/include/sys/cdefs.h:92:21: note: expanded from macro '__P'
:info:build #define __P(protos)     protos          /* full-blown ANSI C */
:info:build                         ^
:info:build ./dnsspoof.c:299:28: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations]
:info:build         if (dev == NULL && (dev = pcap_lookupdev(buf)) == NULL)
:info:build                                   ^
:info:build /opt/local/include/pcap/pcap.h:394:16: note: 'pcap_lookupdev' has been explicitly marked deprecated here
:info:build PCAP_API char   *pcap_lookupdev(char *)
:info:build                  ^
:info:build ./dnsspoof.c:311:37: error: too many arguments to function call, expected 2, have 3
:info:build         if ((pcap_pd = pcap_init(dev, buf, 128)) == NULL)
:info:build                        ~~~~~~~~~           ^~~
:info:build /opt/local/include/pcap/pcap.h:386:1: note: 'pcap_init' declared here
:info:build PCAP_API int    pcap_init(unsigned int, char *);
:info:build ^
:info:build /opt/local/include/pcap/funcattrs.h:147:31: note: expanded from macro 'PCAP_API'
:info:build #define PCAP_API        PCAP_API_DEF extern
:info:build                                      ^
:info:build 3 warnings and 2 errors generated.
:info:build make: *** [dnsspoof.o] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_dsniff/dsniff/work/dsniff-2.4'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_dsniff/dsniff/work/dsniff-2.4" && /usr/bin/make -j1 -w all 
:info:build Exit code: 2
:error:build Failed to build dsniff: command execution failed
:debug:build Error code: CHILDSTATUS 10551 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_dsniff/dsniff/main.log for details.

Can you help me to install dsniff package?

Change History (4)

comment:1 Changed 3 years ago by jmroot (Joshua Root)

Description: modified (diff)
Port: dsniff added
Summary: How to install dsniff on Mac OSX 10.10.-.Yosemitedsniff @2.4b1_2 build failure on Mac OSX 10.10.-.Yosemite

comment:2 Changed 3 years ago by jmroot (Joshua Root)

For future reference, please add log files as attachments rather than pasting in the ticket description.

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

Summary: dsniff @2.4b1_2 build failure on Mac OSX 10.10.-.Yosemitedsniff @2.4b1_2: error: conflicting types for 'pcap_init'

The libpcap port was updated to version 1.10.0 in December 2020. This version introduces a pcap_init function. dsniff already defined a different function of that name, which now conflicts with libpcap's, so dsniff's must be renamed.

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

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In 073f504db792fe9b221b5c81fdc19e053c781e41/macports-ports (master):

dsniff: Use openssl 1.0; fix libpcap build failure

Use openssl 1.0 because this code is not compatible with openssl 1.1.

Closes: #59969

Rename local pcap_init function for compatibility with libpcap 1.10 and
later which introduced its own pcap_init function.

Closes: #62950

Add size to checksums. Fix permissions of extracted files for easier
development. Fix implicit declaration of functions.

Note: See TracTickets for help on using tickets.