Summary: | net-wireless/aircrack-ng-1.1 - In function `wi_open': osdep.c:(.text+0x664): undefined reference to `wi_open_osdep' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Gentoo Netmon project <netmon> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | crypto+disabled, zerochaos |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Build log |
Description
Diego Elio Pettenò (RETIRED)
![]() This is even better https://tinderboxlogs.s3.amazonaws.com/tbamd64.excelsior.flameeyes.eu/net-wireless%3Aaircrack-ng-1.1%3A20120618-132234.html (In reply to comment #1) > This is even better > > https://tinderboxlogs.s3.amazonaws.com/tbamd64.excelsior.flameeyes.eu/net- > wireless%3Aaircrack-ng-1.1%3A20120618-132234.html I've noticed -j1 solidly fixes all build issues for me :-( If anyone has a fix patches welcome. -ZC Ah it makes sense, it uses -Losdep -losdep but the ar/ranlib for osdep happen _after_ the error. Can you add -j1 to the ebuild, keeping this bug open? I'll look into it today. Fixed with a simple makefile patch. Upstream's trac is offline so I can't submit it right now. (In reply to comment #4) > Fixed with a simple makefile patch. Upstream's trac is offline so I can't > submit it right now. I apologize for the trac being offline, there was a security incident and it was all taken offline for precaution. Please consider this reported to upstream and I'll get it fixed by the time the trac is back up. Thanks a lot for your patch, I am not very good at resolving such things. Not a problem :) For future reference, the reason why this was failing is that there were two rules doing the same thing ($(MAKE) -C osdep); since the two were called at different times (one is called as a co-dependency of "make all", the other as a dependency of the tools themselves), they were going to have a race to the end of them, as neither file existed. The problem is that the sequence was: - entered src; - need to make aircrack-ng, thus make in osdep; - make in osdep; - create the file in osdep (for aircrack-ng); - start linking aircrack-ng; - create the file in osdep (for the 'make all' rule). So when the linker was trying to get the .a file it got the truncated second-creation of it. |