[MacPorts] #38665: Dsniff fails to build on 10.7

MacPorts noreply at macports.org
Thu Apr 4 00:30:19 PDT 2013


#38665: Dsniff fails to build on 10.7
-----------------------------+-------------------
  Reporter:  michael.komm@…  |      Owner:  cal@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.1.3
Resolution:                  |   Keywords:
      Port:  dsniff          |
-----------------------------+-------------------
Changes (by ryandesign@…):

 * owner:  macports-tickets@… => cal@…


Old description:

> Dsniff fails to compile on Lion.  I think the problem is somewhere in DB
> library
>

> port install dsniff
> --->  Computing dependencies for dsniff
> --->  Building dsniff
> 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
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets
> Error: Processing of port dsniff failed
>

> When I run make manually, I get errors linked to the DB library:
>

> /record.c:130:30: error: use of undeclared identifier 'R_NOOVERWRITE'
>         if (db->put(db, key, &data, R_NOOVERWRITE) == 0)
>                                     ^
> ./record.c:143:13: error: no member named 'seq' in 'struct __db'
>         while (db->seq(db, &key, &data, R_NEXT) == 0) {
>                ~~  ^
> ./record.c:143:34: error: use of undeclared identifier 'R_NEXT'
>         while (db->seq(db, &key, &data, R_NEXT) == 0) {
>

> and also some linked to NFS:
>

> In file included from ./filesnarf.c:28:
> ./nfs_prot.h:6:2: error: unterminated conditional directive
> #ifndef _NFS_PROT_H_RPCGEN
>  ^
> ./filesnarf.c:38:12: error: use of undeclared identifier 'NFS3_FHSIZE'
>         u_char fh[NFS3_FHSIZE];

New description:

 Dsniff fails to compile on Lion.  I think the problem is somewhere in DB
 library

 {{{
 port install dsniff
 --->  Computing dependencies for dsniff
 --->  Building dsniff
 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
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port dsniff failed
 }}}

 When I run make manually, I get errors linked to the DB library:

 {{{
 /record.c:130:30: error: use of undeclared identifier 'R_NOOVERWRITE'
         if (db->put(db, key, &data, R_NOOVERWRITE) == 0)
                                     ^
 ./record.c:143:13: error: no member named 'seq' in 'struct __db'
         while (db->seq(db, &key, &data, R_NEXT) == 0) {
                ~~  ^
 ./record.c:143:34: error: use of undeclared identifier 'R_NEXT'
         while (db->seq(db, &key, &data, R_NEXT) == 0) {
 }}}

 and also some linked to NFS:

 {{{
 In file included from ./filesnarf.c:28:
 ./nfs_prot.h:6:2: error: unterminated conditional directive
 #ifndef _NFS_PROT_H_RPCGEN
  ^
 ./filesnarf.c:38:12: error: use of undeclared identifier 'NFS3_FHSIZE'
         u_char fh[NFS3_FHSIZE];
 }}}

--

Comment:

 The log is incomplete; please
 [http://guide.macports.org/chunked/project.html#project.tickets.prerequisites
 clean and try again].

 I don't think anybody has been able to build dsniff for years; see #23971,
 though your errors look different.

 Try dsniff-devel instead.

-- 
Ticket URL: <https://trac.macports.org/ticket/38665#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list