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)
Change History (10)
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to snc@… |
---|---|
Port: | kismet added |
Changed 12 years ago by varlog82@…
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:6 Changed 12 years ago by nerdling (Jeremy Lavergne)
Status: | new → assigned |
---|
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: | assigned → closed |
Fixed in r98802.
Please attach the main.log so we can see what went wrong.