Opened 12 years ago

Closed 12 years ago

#36933 closed defect (fixed)

port install for dsniff failed on 10.7.5

Reported by: sudhir.singh4@… Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: dsniff dnsiff-devel

Description

I have MAC OS X 10.7.5 I was trying to install dsniff. port search showed following two results:


dsniff @2.3 (net)

network auditing and penetration testing tools

dsniff-devel @2.4b1 (net)

network auditing and penetration testing tools


I tried installing both one by one using port install. Looks like there are some build errors in both the cases. Following is the error message that I got.


Error: org.macports.build for port dsniff returned: command execution failed Please see the log file for port dsniff for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_dsniff/dsniff/main.log


I will try to attach the log files.

Attachments (2)

main.log (59.0 KB) - added by sudhir.singh4@… 12 years ago.
logfile
main.2.log (80.4 KB) - added by sudhir.singh4@… 12 years ago.
log file for dsniff-devel

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by sudhir.singh4@…

Attachment: main.log added

logfile

Changed 12 years ago by sudhir.singh4@…

Attachment: main.2.log added

log file for dsniff-devel

comment:1 Changed 12 years ago by neverpanic (Clemens Lang)

Owner: changed from macports-tickets@… to cal@…
Port: dsniff added

libnids must be installed with the +libnet and without the +libnet11 variant. I've added some code in r99543 to check for this.

The same probably applies to dsniff-devel; I'll take a look.

comment:2 Changed 12 years ago by neverpanic (Clemens Lang)

Port: dnsiff-devel added
Resolution: fixed
Status: newclosed

It's the other way around with dsniff-devel. I've added code in r99545. Both ports now build fine for me (given libnids is installed with the correct variants). I'm closing this as fixed, but feel free to re-open if your problem persists after waiting 30 minutes, running selfupdate, cleaning dsniff and dsniff-devel and re-trying.

comment:3 Changed 12 years ago by quintas@…

Resolution: fixed
Status: closedreopened

After a fresh install of macports, installing dsniff-devel failed because it tried to use libnet11 instead of libnet. I had to uninstall libnet11 and specify the +libnet variant.

comment:4 Changed 12 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: reopenedclosed

dsniff-devel only works with libnet11, not libnet. The port currently checks whether libnids is installed with the +libnet11 variant and fails, if it isn't. You, however, are stating that you had to use libnet with dsniff-devel over libnet11? I'd expect this to be true for dsniff, but not dsniff-devel.

There's not a lot that can be done there, though, because MacPorts does not support dependencies on specific variants. There's no way to automatically install the correct variant of libnids depending on whether dsniff or dsniff-devel are to be installed.

Note: See TracTickets for help on using tickets.