Opened 9 years ago

Closed 9 years ago

#45466 closed defect (fixed)

dsniff-devel build fails

Reported by: daviemontes@… Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: yosemite Cc: threepehr@…, daviemontes@…
Port: dsniff-devel

Description

I have cleaned dsniff-devel and tried many times but it keeps reporting an error and cannot be built. A log file is attached. Please help me fix it. Thanks.

sh-3.2# port clean dsniff dsniff-devel
--->  Cleaning dsniff
--->  Cleaning dsniff-devel
sh-3.2# port install dsniff-devel
--->  Computing dependencies for dsniff-devel
--->  Fetching archive for dsniff-devel
--->  Attempting to fetch dsniff-devel-2.4b1_5.darwin_14.x86_64.tbz2 from http://packages.macports.org/dsniff-devel
--->  Attempting to fetch dsniff-devel-2.4b1_5.darwin_14.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/dsniff-devel
--->  Attempting to fetch dsniff-devel-2.4b1_5.darwin_14.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/dsniff-devel
--->  Fetching distfiles for dsniff-devel
--->  Verifying checksums for dsniff-devel
--->  Extracting dsniff-devel
--->  Applying patches to dsniff-devel
--->  Configuring dsniff-devel
--->  Building dsniff-devel
Error: org.macports.build for port dsniff-devel returned: command execution failed
Please see the log file for port dsniff-devel for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_dsniff-devel/dsniff-devel/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port dsniff-devel failed
sh-3.2# 

Attachments (2)

main.log (191.4 KB) - added by daviemontes@… 9 years ago.
Log File
main.2.log (38.2 KB) - added by vlad.morales@… 9 years ago.

Download all attachments as: .zip

Change History (12)

Changed 9 years ago by daviemontes@…

Attachment: main.log added

Log File

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

Owner: changed from macports-tickets@… to cal@…

comment:2 in reply to:  description Changed 9 years ago by daviemontes@…

Nobody wants to review my ticket? :(

comment:3 Changed 9 years ago by neverpanic (Clemens Lang)

Sorry, I'm currently busy because I'm moving. I saw your ticket, but my internet connection is wonky at best, which doesn't give me the time I'd like to spend on this.

From looking at the log, the problem seems to be that csin is being redefined, possibly as a function, so I'd assume a patch that renamed the csin struct in the offending code parts might fix the issue.

Changed 9 years ago by vlad.morales@…

Attachment: main.2.log added

comment:4 Changed 9 years ago by vlad.morales@…

I'm also having this same/similar error (log attached). Any chance to have a look at this issue?

Thanks.

comment:5 Changed 9 years ago by threepehr@…

As a workaround, if you don't need sshmitm and webmitm, you can just remove them from the 'PROG' variable in the Makefile, and run sudo port build dsniff-devel once more. The rest of the files should be fine to build. The binaries will be in the same folder as the source files.

comment:6 Changed 9 years ago by threepehr@…

The real problem is also very easy to solve. Just rename all the 'csin' variables in 'sshmitm.c' and 'webmitm.c' to something different like 'cSin'. It should work. Remember that you should run 'sudo port build dsniff-devel', executing 'sudo port install dsniff-devel' will ruin all the changes you have made...

comment:7 Changed 9 years ago by threepehr@…

Cc: threepehr@… added

Cc Me!

comment:8 Changed 9 years ago by neverpanic (Clemens Lang)

Can somebody provide a patch for this change? Unfortunately I'm low on time to do it myself, but I can commit.

comment:9 Changed 9 years ago by daviemontes@…

Cc: daviemontes@… added

Cc Me!

comment:10 Changed 9 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: newclosed

Build fix in r132319 together with replacing dsniff by dsniff-devel and obsoleting dsniff-devel. I did not test further than building.

Dropped maintainership in r132320.

Note: See TracTickets for help on using tickets.