From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Dec 5 05:30:07 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EE31E16A417 for ; Tue, 5 Dec 2006 05:30:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34BD443CA3 for ; Tue, 5 Dec 2006 05:29:30 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kB55U6oG094733 for ; Tue, 5 Dec 2006 05:30:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kB55U6MR094731; Tue, 5 Dec 2006 05:30:06 GMT (envelope-from gnats) Resent-Date: Tue, 5 Dec 2006 05:30:06 GMT Resent-Message-Id: <200612050530.kB55U6MR094731@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, pluknet Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 201E016A407 for ; Tue, 5 Dec 2006 05:25:00 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9351743CA6 for ; Tue, 5 Dec 2006 05:24:22 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id kB55Ox7x018570 for ; Tue, 5 Dec 2006 05:24:59 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id kB55Ox8g018559; Tue, 5 Dec 2006 05:24:59 GMT (envelope-from nobody) Message-Id: <200612050524.kB55Ox8g018559@www.freebsd.org> Date: Tue, 5 Dec 2006 05:24:59 GMT From: pluknet To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: ports/106357: comms/openobex fails on build X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Dec 2006 05:30:08 -0000 >Number: 106357 >Category: ports >Synopsis: comms/openobex fails on build >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 05 05:30:06 GMT 2006 >Closed-Date: >Last-Modified: >Originator: pluknet >Release: 6.2-PRE, 7.0-CURRENT >Organization: n/a >Environment: FreeBSD notebook.h3 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #4: Wed Nov 15 04:05:58 MSK 2006 root@notebook.h3:/usr/src/sys/i386/compile/MYKERNEL i386 FreeBSD pl.h3 7.0-CURRENT FreeBSD 7.0-CURRENT #2: Thu Nov 23 23:26:51 MSK 2006 root@pl.h3:/usr/src/sys/i386/compile/MYKERNEL i386 >Description: It seems that comms/openobex was not completely patched on last commit 04 Dec 2006. Leastwise it fails in build-time on absent bluetooth/bluetooh.h and bluetooth/rfcomm.h and numerous incomplete types, which all are normally located in linux. This behavior repeats on both systems. .. Making all in lib gmake[2]: Entering directory `/var/ports/comms/openobex/work/openobex-1.3/lib' if /bin/sh /usr/local/bin/libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -fno-strict-aliasing -pipe -D_FORTIFY_SOURCE=2 -MT obex.lo -MD -MP -MF ".deps/obex.Tpo" -c -o obex.lo obex.c; \ then mv -f ".deps/obex.Tpo" ".deps/obex.Plo"; else rm -f ".deps/obex.Tpo"; exit 1; fi cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -fno-strict-aliasing -pipe -D_FORTIFY_SOURCE=2 -MT obex.lo -MD -MP -MF .deps/obex.Tpo -c obex.c -fPIC -DPIC -o .libs/obex.o In file included from obex_main.h:61, from obex.c:49: obex_transport.h:43:33: bluetooth/bluetooth.h: No such file or directory obex_transport.h:44:30: bluetooth/rfcomm.h: No such file or directory In file included from obex_main.h:61, from obex.c:49: obex_transport.h:58: error: field `rfcomm' has incomplete type In file included from obex.c:62: btobex.h:33: error: syntax error before "bdaddr_t" btobex.h:34: error: syntax error before "bdaddr_t" obex.c:1026: error: syntax error before "bdaddr_t" obex.c: In function `BtOBEX_ServerRegister': obex.c:1030: error: `self' undeclared (first use in this function) obex.c:1030: error: (Each undeclared identifier is reported only once obex.c:1030: error: for each function it appears in.) obex.c:1033: error: `src' undeclared (first use in this function) obex.c:1034: error: `BDADDR_ANY' undeclared (first use in this function) obex.c:1035: error: `channel' undeclared (first use in this function) obex.c: At top level: obex.c:1049: error: syntax error before "bdaddr_t" obex.c: In function `BtOBEX_TransportConnect': obex.c:1053: error: `self' undeclared (first use in this function) obex.c:1060: error: `dst' undeclared (first use in this function) obex.c:1063: error: `src' undeclared (first use in this function) obex.c:1064: error: `BDADDR_ANY' undeclared (first use in this function) obex.c:1065: error: `channel' undeclared (first use in this function) gmake[2]: *** [obex.lo] Error 1 gmake[2]: Leaving directory `/var/ports/comms/openobex/work/openobex-1.3/lib' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/var/ports/comms/openobex/work/openobex-1.3' gmake: *** [all] Error 2 *** Error code 2 >How-To-Repeat: `make` >Fix: in all corresponding places: 1) remove absent #include and #include ; 2) adapt Linux vars with analogous FreeBSD names via #define (for ex. #define BDADDR_ANY NG_HCI_BDADDR_ANY etc) >Release-Note: >Audit-Trail: >Unformatted: