Opened 12 years ago

Closed 12 years ago

#36486 closed defect (fixed)

kismet @2011-01-R1 build failure

Reported by: varlog82@… Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: mountainlion Cc: macports@…, quantum7@…
Port: kismet

Description

gnumake: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_kismet/kismet/work/kismet-2011-01-R1'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_kismet/kismet/work/kismet-2011-01-R1" && /usr/bin/gnumake -j8 -w all 
Exit code: 2
Error: org.macports.build for port kismet returned: command execution failed
Warning: targets not executed for kismet: org.macports.activate org.macports.build org.macports.destroot org.macports.install

Attachments (2)

main.log (26.5 KB) - added by varlog82@… 12 years ago.
kismet.log (37.1 KB) - added by macports@… 12 years ago.
Kismet build error

Download all attachments as: .zip

Change History (10)

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

Owner: changed from macports-tickets@… to snc@…
Port: kismet added

Please attach the main.log so we can see what went wrong.

Changed 12 years ago by varlog82@…

Attachment: main.log added

Changed 12 years ago by macports@…

Attachment: kismet.log added

Kismet build error

comment:2 Changed 12 years ago by macports@…

Cc: macports@… added

Cc Me!

comment:3 Changed 12 years ago by quantum7@…

I get this error as well, building on OS 10.8.2. I believe it is a configuration problem. The macro 'HAVE_SOCKLEN_T' is not being defined, even though the functions in /usr/include/sys/socket.h require a socklen_t.

The file config.h does has a commented-out line:

/* #undef HAVE_SOCKLEN_T */

This would be correct, but HAVE_SOCKLEN_T never seems to have been defined.

A workaround is to wait for the build to fail, then edit /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_kismet/kismet/work/kismet-2011-01-R1/config.h and add

#define HAVE_SOCKLEN_T 1

Now try to install kismet again and it should complete.

comment:4 Changed 12 years ago by macports@…

Great, Kismet is installing now.

Thanks quantum7.

Last edited 12 years ago by macports@… (previous) (diff)

comment:5 Changed 12 years ago by quantum7@…

Cc: quantum7@… added

Cc Me!

comment:6 Changed 12 years ago by nerdling (Jeremy Lavergne)

Status: newassigned

comment:7 Changed 12 years ago by nerdling (Jeremy Lavergne)

It looks like the missing definition is a side effect in the same test:

clang: error: argument unused during compilation: '-rdynamic'

comment:8 Changed 12 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: assignedclosed

Fixed in r98802.

Note: See TracTickets for help on using tickets.