From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jun 6 19:09:30 2014 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A0BA2FA3 for ; Fri, 6 Jun 2014 19:09:30 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6EE0C2409 for ; Fri, 6 Jun 2014 19:09:30 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s56J9Uu5035730 for ; Fri, 6 Jun 2014 20:09:30 +0100 (BST) (envelope-from bz-noreply@freebsd.org) From: bz-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 190725] New: aircrack-ng Makefile bug, wouldn't build with SQLITE option set. Date: Fri, 06 Jun 2014 19:09:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: clutton@zoho.com X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jun 2014 19:09:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D190725 Bug ID: 190725 Summary: aircrack-ng Makefile bug, wouldn't build with SQLITE option set. Product: Ports Tree Version: Latest Hardware: Any OS: Any Status: Needs Triage Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: clutton@zoho.com The nature of but is a build system: It includes common.mak from every single Makefile. So, from src/Makefile it would be included twice, and you'll see everything doubled: cc -O2 -pipe -march=3Dnative -fno-strict-aliasing -D_FILE_OFFSET_BITS=3D64 -D_REVISION=3D0 -I/usr/local/include -DHAVE_SQLITE -D_FILE_OFFSET_BITS=3D64 -D_REVISION=3D0 -I/usr/local/include -DHAVE_SQLITE -Iinclude=20 -Wl,-rpath,/usr/lib:/usr/local/lib tkiptun-ng.o common.o crypto.o osdep/radiotap/radiotap.o -o tkiptun-ng -Losdep -losdep -lssl -lcrypto=20 -Wl,-rpath,/usr/lib:/usr/local/lib >From src/osdep it'll be three times... But that is not the reason. src/osdep/file.c has #include "pcap.h" directive. And since pcap.h is in the src directory and not in the src/osdep directory, local include shouldn't w= ork. But clang =C2=ABmanages=C2=BB somehow to use local includes "", like it was= a system include <>. Then those -I comes, first wins. In this case /usr/local/include/pcap.h would be first. It'll be better to make it more clear though. But it'll require a lot of fi= xes in the build system. --=20 You are receiving this mail because: You are the assignee for the bug.=