From nobody Sat Mar 29 22:51:48 2025 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ZQCLs3sLXz5sCpf for ; Sat, 29 Mar 2025 22:51:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZQCLs03nJz3Vy5 for ; Sat, 29 Mar 2025 22:51:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1743288709; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Xp/6HjhwLSaNR6hNq27GdTuif+5LBa2AZauLgGeA3Ow=; b=Fx4PgLwL1Qxci1Lfd1g/glFBP0aqAvbejpyGs8v8rhDzGnOSRhsTA7xwAW0xG8Tpyf9ypD 5N3PbL9XFKIhy+x1pW7MDTQVgGD4tmQBk2B/1hOl4i9kQFd39EDj1wOh5GoqFJ31uoRffZ 2if85NH1wPUWBBBis0KWBOnMLvAU6/XzaRtYvfXyuFurO2mvOTGIvHjVd+znkQC8wvysfb T7LsHGvA2AKB+i6lX2jVsrGi/c6nQQoQT3ez+t46vK5VRfMb39Sq1R7LEBrHQCXPJTyeby Y9Ie3dvNjgOsyvz2GOUbERWwSpYJKX0qMLcur+7NDjOM8J9zNTVC25nllECoaA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1743288709; a=rsa-sha256; cv=none; b=ZtwV9rDhnzACtJrNVpZc1IkL1seXJ2cq+nMC0iPNW3x2DIiqz43BNyuJQ/1JgjpBoP6bGn t3e+ZOjUzsjSTQjaA3u0nJv+0rF1T/77BPsmssWLNXPLR+C8Gj/6BD0+00l/jMgltQ0Sy4 SFNyhM1bUCa3jVjxKKVLejNuGy1AMawu2Wwwr4+AEiOxzRxphKsll6PBrOChDBLPO06TTk 84mkEZAHtSRHGPidQKs4vwya+LCXCjTpJWGfFP3oAlk0grtKbmxSn5GS5eTSCWUlMVdQsj icPppM3fr8O9B+mX/V+OuX68w9HtZwjRubbyH2z+Ki42HSparKrmHaHczQtKbA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1743288709; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Xp/6HjhwLSaNR6hNq27GdTuif+5LBa2AZauLgGeA3Ow=; b=VJWtDcMXWd59qI2reb8cunH3CQPDA6fTotMFckGScr5EZQbE9nb7UX/zjt3fc7n/KyYap8 S7izLuGY1BgCG77vxVByLnveW4NAwutrg5tayYTfiRKEETNFNqAfsvYiQQhsVsZqMWLCsa GONq2dQNEUKAtdeUl+8Du0Ie/vJrbygxTFxBpOIxmVMp7WhX+TbH5KG+4NGT2SfUbqN0a9 Ng/PUbfJOmj3se5/xXUY7aqD5K/n5jX7NQY6gzkvjTJQVhHz42TKHP6AoK5SXZlyQq8xeL 25+2FHO8ZJcu2HPHOISl2zpyFY6LYtj5wyPRiyk7FXP0w9AlvKvhn4UvwNXfVQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4ZQCLr6jgxzq32 for ; Sat, 29 Mar 2025 22:51:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 52TMpmSA091026 for ; Sat, 29 Mar 2025 22:51:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 52TMpmMB091025 for ports-bugs@FreeBSD.org; Sat, 29 Mar 2025 22:51:48 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 285764] net-mgmt/andwatch unknown type(s) error: ethernet.h, packet.c, andwatch.h Date: Sat, 29 Mar 2025 22:51:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: milios@ccsys.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D285764 Bug ID: 285764 Summary: net-mgmt/andwatch unknown type(s) error: ethernet.h, packet.c, andwatch.h Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: milios@ccsys.com CC: dennypage@me.com Flags: maintainer-feedback?(dennypage@me.com) CC: dennypage@me.com Created attachment 259170 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D259170&action= =3Dedit git -C /usr/ports diff i suspect it's because i'm on 13.5 rather than 14.x attached patch works for me, untested on 14.x error was as follows: =3D=3D=3D> Cleaning for andwatch-2.1.0 =3D=3D=3D> License BSD2CLAUSE accepted by the user =3D=3D=3D> andwatch-2.1.0 depends on file: /usr/local/sbin/pkg - found =3D=3D=3D> Fetching all distfiles required by andwatch-2.1.0 for building =3D=3D=3D> Extracting for andwatch-2.1.0 =3D> SHA256 Checksum OK for dennypage-andwatch-v2.1.0_GH0.tar.gz. =3D=3D=3D> Patching for andwatch-2.1.0 /usr/bin/sed -i.bak -e "/LIB_DIR/s,/var/lib,/var/db,"=20 /usr/ports/net-mgmt/andwatch/work/andwatch-2.1.0/andwatch.h /usr/bin/sed -i.bak -e 's/$(CC)/$(CC) $(CFLAGS) $(LDFLAGS)/'=20 /usr/ports/net-mgmt/andwatch/work/andwatch-2.1.0/Makefile =3D=3D=3D> andwatch-2.1.0 depends on shared library: libpcap.so - found (/usr/lib/libpcap.so) =3D=3D=3D> andwatch-2.1.0 depends on shared library: libsqlite3.so - found (/usr/local/lib/libsqlite3.so) =3D=3D=3D> andwatch-2.1.0 depends on shared library: libcurl.so - found (/usr/local/lib/libcurl.so) =3D=3D=3D> Configuring for andwatch-2.1.0 =3D=3D=3D> Building for andwatch-2.1.0 --- andwatchd.o --- --- util.o --- --- db.o --- --- pcap.o --- --- packet.o --- --- notify.o --- --- andwatch-query.o --- --- andwatch-query-ma.o --- --- andwatch-update-ma.o --- --- andwatchd.o --- cc -O2 -pipe -march=3Dopteron-sse3 -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -c andwatchd.c -o andwatchd.o --- util.o --- cc -O2 -pipe -march=3Dopteron-sse3 -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -c util.c -o util.o --- db.o --- cc -O2 -pipe -march=3Dopteron-sse3 -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -c db.c -o db.o --- pcap.o --- cc -O2 -pipe -march=3Dopteron-sse3 -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -c pcap.c -o pcap.o --- packet.o --- cc -O2 -pipe -march=3Dopteron-sse3 -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -c packet.c -o packet.o --- notify.o --- cc -O2 -pipe -march=3Dopteron-sse3 -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -c notify.c -o notify.o --- andwatch-query-ma.o --- cc -O2 -pipe -march=3Dopteron-sse3 -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -c andwatch-query-ma.c -o andwatch-query-ma.o --- andwatch-query.o --- cc -O2 -pipe -march=3Dopteron-sse3 -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -c andwatch-query.c -o andwatch-query.o --- andwatch-update-ma.o --- cc -O2 -pipe -march=3Dopteron-sse3 -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -c andwatch-update-ma.c -o andwatch-update-ma.o --- packet.o --- In file included from packet.c:33: /usr/include/net/ethernet.h:59:2: error: unknown type name 'u_char'; did you mean 'char'? 59 | u_char ether_dhost[ETHER_ADDR_LEN]; | ^ /usr/include/net/ethernet.h:60:2: error: unknown type name 'u_char'; did you mean 'char'? 60 | u_char ether_shost[ETHER_ADDR_LEN]; | ^ /usr/include/net/ethernet.h:61:2: error: unknown type name 'u_short'; did y= ou mean 'short'? 61 | u_short ether_type; | ^ /usr/include/net/ethernet.h:68:2: error: unknown type name 'u_char'; did you mean 'char'? 68 | u_char octet[ETHER_ADDR_LEN]; | ^ /usr/include/net/ethernet.h:85:2: error: unknown type name 'uint8_t' 85 | uint8_t evl_dhost[ETHER_ADDR_LEN]; | ^ /usr/include/net/ethernet.h:86:2: error: unknown type name 'uint8_t' 86 | uint8_t evl_shost[ETHER_ADDR_LEN]; | ^ /usr/include/net/ethernet.h:87:2: error: unknown type name 'uint16_t' 87 | uint16_t evl_encap_proto; | ^ /usr/include/net/ethernet.h:88:2: error: unknown type name 'uint16_t' 88 | uint16_t evl_tag; | ^ /usr/include/net/ethernet.h:89:2: error: unknown type name 'uint16_t' 89 | uint16_t evl_proto; | ^ In file included from packet.c:35: /usr/include/netinet/ip6.h:76:4: error: unknown type name 'u_int32_t' 76 | u_int32_t ip6_un1_flow; /* 20 bits of flow-= ID */ | ^ --- util.o --- In file included from util.c:37: In file included from ./andwatch.h:36: /usr/include/net/ethernet.h:59:2: error: unknown type name 'u_char'; did you mean 'char'? 59 | u_char ether_dhost[ETHER_ADDR_LEN]; | ^ --- packet.o --- /usr/include/netinet/ip6.h:77:4: error: unknown type name 'u_int16_t' 77 | u_int16_t ip6_un1_plen; /* payload length */ | ^ --- util.o --- /usr/include/net/ethernet.h:60:2: error: unknown type name 'u_char'; did you mean 'char'? 60 | u_char ether_shost[ETHER_ADDR_LEN]; | ^ --- packet.o --- /usr/include/netinet/ip6.h:78:4: error: unknown type name 'u_int8_t' 78 | u_int8_t ip6_un1_nxt; /* next header */ | ^ --- util.o --- /usr/include/net/ethernet.h:61:2: error: unknown type name 'u_short'; did y= ou mean 'short'? 61 | u_short ether_type; | ^ --- packet.o --- /usr/include/netinet/ip6.h:79:4: error: unknown type name 'u_int8_t' 79 | u_int8_t ip6_un1_hlim; /* hop limit */ | ^ --- util.o --- /usr/include/net/ethernet.h:68:2: error: unknown type name 'u_char'; did you mean 'char'? 68 | u_char octet[ETHER_ADDR_LEN]; | ^ --- packet.o --- /usr/include/netinet/ip6.h:81:3: error: unknown type name 'u_int8_t' 81 | u_int8_t ip6_un2_vfc; /* 4 bits version, top 4 bi= ts class */ | ^ --- util.o --- /usr/include/net/ethernet.h:85:2: error: unknown type name 'uint8_t' --- packet.o --- /usr/include/netinet/ip6.h:119:2: error: unknown type name 'u_int8_t' --- util.o --- 85 | uint8_t evl_dhost[ETHER_ADDR_LEN]; | ^ --- packet.o --- 119 | u_int8_t ip6e_nxt; | ^ --- util.o --- /usr/include/net/ethernet.h:86:2: error: unknown type name 'uint8_t' 86 | uint8_t evl_shost[ETHER_ADDR_LEN]; | ^ --- packet.o --- /usr/include/netinet/ip6.h:120:2: error: unknown type name 'u_int8_t' 120 | u_int8_t ip6e_len; | ^ --- util.o --- /usr/include/net/ethernet.h:87:2: error: unknown type name 'uint16_t' 87 | uint16_t evl_encap_proto; | ^ --- packet.o --- /usr/include/netinet/ip6.h:126:2: error: unknown type name 'u_int8_t' 126 | u_int8_t ip6h_nxt; /* next header */ | ^ --- util.o --- /usr/include/net/ethernet.h:88:2: error: unknown type name 'uint16_t' 88 | uint16_t evl_tag; | ^ --- packet.o --- /usr/include/netinet/ip6.h:127:2: error: unknown type name 'u_int8_t' 127 | u_int8_t ip6h_len; /* length in units of 8 octets */ | ^ --- util.o --- /usr/include/net/ethernet.h:89:2: error: unknown type name 'uint16_t' 89 | uint16_t evl_proto; | ^ --- packet.o --- /usr/include/netinet/ip6.h:134:2: error: unknown type name 'u_int8_t' 134 | u_int8_t ip6d_nxt; /* next header */ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=3D] --- db.o --- In file included from db.c:37: In file included from ./andwatch.h:36: /usr/include/net/ethernet.h:59:2: error: unknown type name 'u_char'; did you mean 'char'? 59 | u_char ether_dhost[ETHER_ADDR_LEN]; | ^ /usr/include/net/ethernet.h:60:2: error: unknown type name 'u_char'; did you mean 'char'? 60 | u_char ether_shost[ETHER_ADDR_LEN]; | ^ /usr/include/net/ethernet.h:61:2: error: unknown type name 'u_short'; did y= ou mean 'short'? 61 | u_short ether_type; | ^ /usr/include/net/ethernet.h:68:2: error: unknown type name 'u_char'; did you mean 'char'? 68 | u_char octet[ETHER_ADDR_LEN]; | ^ /usr/include/net/ethernet.h:85:2: error: unknown type name 'uint8_t' 85 | uint8_t evl_dhost[ETHER_ADDR_LEN]; | ^ /usr/include/net/ethernet.h:86:2: error: unknown type name 'uint8_t' 86 | uint8_t evl_shost[ETHER_ADDR_LEN]; | ^ /usr/include/net/ethernet.h:87:2: error: unknown type name 'uint16_t' 87 | uint16_t evl_encap_proto; | ^ /usr/include/net/ethernet.h:88:2: error: unknown type name 'uint16_t' 88 | uint16_t evl_tag; | ^ /usr/include/net/ethernet.h:89:2: error: unknown type name 'uint16_t' 89 | uint16_t evl_proto; | ^ --- util.o --- 9 errors generated. *** [util.o] Error code 1 make: stopped in /usr/ports/net-mgmt/andwatch/work/andwatch-2.1.0 --- db.o --- 9 errors generated. --- packet.o --- 20 errors generated. --- db.o --- *** [db.o] Error code 1 make: stopped in /usr/ports/net-mgmt/andwatch/work/andwatch-2.1.0 --- packet.o --- *** [packet.o] Error code 1 make: stopped in /usr/ports/net-mgmt/andwatch/work/andwatch-2.1.0 3 errors make: stopped in /usr/ports/net-mgmt/andwatch/work/andwatch-2.1.0 =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/net-mgmt/andwatch --=20 You are receiving this mail because: You are the assignee for the bug.=