From owner-freebsd-ports-bugs@freebsd.org Thu Jul 9 03:16:45 2020 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BA83835DB71 for ; Thu, 9 Jul 2020 03:16:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4B2Ltj4bxLz4Qs7 for ; Thu, 9 Jul 2020 03:16:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 9C21235DB70; Thu, 9 Jul 2020 03:16:45 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9BE7735DB6F for ; Thu, 9 Jul 2020 03:16:45 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B2Ltj3lHnz4Qdr for ; Thu, 9 Jul 2020 03:16:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 63F69AAA7 for ; Thu, 9 Jul 2020 03:16:45 +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 0693GjfQ023261 for ; Thu, 9 Jul 2020 03:16:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0693GjWP023260 for ports-bugs@FreeBSD.org; Thu, 9 Jul 2020 03:16:45 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 247863] devel/sdl20: build error with HIDAPI - "Need a hid.c for this platform" Date: Thu, 09 Jul 2020 03:16:45 +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: edenist-fbz@edenist.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: amdmi3@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 flagtypes.name 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.33 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jul 2020 03:16:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247863 Bug ID: 247863 Summary: devel/sdl20: build error with HIDAPI - "Need a hid.c for this platform" Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: amdmi3@FreeBSD.org Reporter: edenist-fbz@edenist.net Assignee: amdmi3@FreeBSD.org Flags: maintainer-feedback?(amdmi3@FreeBSD.org) Building with poudriere, version 2.0.10_1 was building fine with the same options. The move to 2.0.12 is now causing the build to fail on SDL_hidapi.c with "Need a hid.c for this platform!" Full log at: https://bsd.to/AtsB *** Relevant error and options: /wrkdirs/usr/ports/devel/sdl20/work/SDL2-2.0.12/src/hidapi/SDL_hidapi.c:101= :2: error: Need a hid.c for this platform! #error Need a hid.c for this platform! ^ /wrkdirs/usr/ports/devel/sdl20/work/SDL2-2.0.12/src/hidapi/SDL_hidapi.c:452= :9: warning: unused variable 'err' [-Wunused-variable] int err; ^ /wrkdirs/usr/ports/devel/sdl20/work/SDL2-2.0.12/src/hidapi/SDL_hidapi.c:547= :43: warning: unused variable 'last' [-Wunused-variable] struct hid_device_info *devs =3D NULL, *last =3D NULL, *new_dev; ^ /wrkdirs/usr/ports/devel/sdl20/work/SDL2-2.0.12/src/hidapi/SDL_hidapi.c:547= :57: warning: unused variable 'new_dev' [-Wunused-variable] struct hid_device_info *devs =3D NULL, *last =3D NULL, *new_dev; ^ /wrkdirs/usr/ports/devel/sdl20/work/SDL2-2.0.12/src/hidapi/SDL_hidapi.c:625= :17: warning: unused variable 'pDevice' [-Wunused-variable] hid_device *pDevice =3D NULL; ^ /wrkdirs/usr/ports/devel/sdl20/work/SDL2-2.0.12/src/hidapi/SDL_hidapi.c:652= :17: warning: unused variable 'pDevice' [-Wunused-variable] hid_device *pDevice =3D NULL; ^ 5 warnings and 1 error generated. gmake[1]: *** [Makefile:722: build/SDL_hidapi.lo] Error 1 gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/sdl20/work/SDL2-2.0.1= 2' *** Error code 1 Stop. make: stopped in /usr/ports/devel/sdl20 =3D>> Cleaning up wrkdir =3D=3D=3D> Cleaning for sdl2-2.0.12 build of devel/sdl20 | sdl2-2.0.12 ended at Wed Jul 8 22:29:07 AEST 2020 build time: 442834:12:35 !!! build failure encountered !!! ---Begin OPTIONS List--- =3D=3D=3D> The following configuration options are available for sdl2-2.0.1= 2: ALSA=3Doff: Audio output via the ALSA audio architecture ASM=3Don: Use optimized assembly code DLOPEN=3Don: Use dlopen for loading 3rd party libraries HIDAPI=3Don: Use HIDAPI for low level joystick drivers JACK=3Doff: Audio output via the JackD sound server NAS=3Doff: Audio output via the Network Audio System OSS=3Don: Audio output via the Open Sound System PTHREADS=3Don: Use POSIX threads for multi-threading PULSEAUDIO=3Doff: Audio output via the PulseAudio sound server SAMPLERATE=3Doff: Audio rate conversion via libsamplerate SDL_ATOMIC=3Don: Enable the SDL Atomic subsystem SDL_AUDIO=3Don: Enable the SDL Audio subsystem SDL_CPUINFO=3Don: Enable the SDL CPUinfo subsystem SDL_EVENTS=3Don: Enable the SDL Events subsystem SDL_FILE=3Don: Enable the SDL File subsystem SDL_HAPTIC=3Don: Enable the SDL Haptic subsystem SDL_JOYSTICK=3Don: Enable the SDL Joystick subsystem SDL_LOADSO=3Don: Enable the SDL Loadso subsystem SDL_POWER=3Don: Enable the SDL Power subsystem SDL_RENDER=3Don: Enable the SDL Render subsystem SDL_THREADS=3Don: Enable the SDL Threads subsystem SDL_TIMERS=3Don: Enable the SDL Timers subsystem SDL_VIDEO=3Don: Enable the SDL Video subsystem SNDIO=3Doff: Sndio audio support UDEV=3Don: Use udev for input device detection VIDEO_KMSDRM=3Don: KMSDRM display support VIDEO_OPENGL=3Don: OpenGL rendering support VIDEO_OPENGLES2=3Don: OpenGL ES 2.x rendering support VIDEO_WAYLAND=3Don: Wayland display support VIDEO_X11=3Don: X11 display support =3D=3D=3D> Use 'make config' to modify these settings ---End OPTIONS List--- --=20 You are receiving this mail because: You are the assignee for the bug.=