Received: from mailout02.platinum-mail.de (mx02.platinum-mail.de [89.58.18.167]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id C88A02235D7 for <~alpine/users@lists.alpinelinux.org>; Tue, 19 Aug 2025 20:20:26 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (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) (No client certificate requested) by mailout02.platinum-mail.de (Mail Service) with ESMTPS id 2BE6C9A0B0B for <~alpine/users@lists.alpinelinux.org>; Tue, 19 Aug 2025 20:20:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; d=achill.org; s=mail; c=relaxed/simple; t=1755634825; h=date:message-id:subject:from:to; bh=YoQx9byDBToRC3jMcWYNkVQf7yG6AufTZ2vABknNBJU=; b=RQ9CwF+hCblnV+Tvm6nVolcJI0VMH5NkW66bkXp3JEByVhy/k+QhuafXqf3XokT+swJhc6tT6Fx GFP8nlZCbNjLAg75od+l2OtykjHP7SdqqxZEyVyXTq/AY4U+QY0MUNu2+APhWsN3rpWqo8aTdHxO/ g0qZsQyW20x4aq/KttfJ1BY21QXOT5y40ivXPmPYom1qr6IhoW9jthBM79r/nPG/Qw7p8Ga28wLbX sGHGpPqMZGlhuByGND0blweEmqbNReXReDR6kJHGP6/YhqVjZUIom+ZpXwjil6QfXdRDuDLwJSdwW 2dslepYT07IvKuzEZINt4T6eYreIlUxwiUlw== Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Date: Tue, 19 Aug 2025 22:20:24 +0200 Message-Id: Subject: Re: issue compiling libstagefright of ArcticFox on Alpine 64bit From: "Achill Gilgenast" To: "Riccardo Mottola" , "~alpine/users" <~alpine/users@lists.alpinelinux.org> X-Greeting: Hi mom! Look, I'm in somebodys mail client! X-Mailer: aerc 0.20.1-0-g2ecb8770224a-dirty References: In-Reply-To: Content-Type: text/plain; charset=utf-8 On Tue Aug 19, 2025 at 10:16 PM CEST, Riccardo Mottola wrote: > Hi, > > I am unable to compile ArcticFox on amd64 Alpine Linux. It fails > > 65:34.45 In file included from=20 > /home/multix/code/Arctic-Fox/media/libstagefright/frameworks/av/media/lib= stagefright/include/MPEG4Extractor.h:23,=20 > > 65:34.45=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 from=20 > /home/multix/code/Arctic-Fox/media/libstagefright/binding/MP4Metadata.cpp= :5,=20 > > 65:34.45=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 from=20 > /home/multix/code/Arctic-Fox/obj-x86_64-pc-linux-gnu/media/libstagefright= /Unified_cpp_media_libstagefright0.cpp:65:=20 > > 65:34.45=20 > /home/multix/code/Arctic-Fox/media/libstagefright/frameworks/av/include/m= edia/stagefright/DataSource.h:=20 > At global scope: > 65:34.45=20 > /home/multix/code/Arctic-Fox/media/libstagefright/frameworks/av/include/m= edia/stagefright/DataSource.h:43:28:=20 > error: 'off64_t' has not been declared > 65:34.45=C2=A0=C2=A0=C2=A0 43 |=C2=A0=C2=A0=C2=A0=C2=A0 virtual ssize_t r= eadAt(off64_t offset, void *data,=20 > size_t size) =3D 0; > 65:34.45=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | ^~~~~~~ > 65:34.46=20 > /home/multix/code/Arctic-Fox/media/libstagefright/frameworks/av/include/m= edia/stagefright/DataSource.h:46:20:=20 > error: 'off64_t' has not been declared > 65:34.46=C2=A0=C2=A0=C2=A0 46 |=C2=A0=C2=A0=C2=A0=C2=A0 bool getUInt16(of= f64_t offset, uint16_t *x); > 65:34.46=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 ^~~~~~~ > > does this error look familiar to you? I expect that Firefox 52 or so=20 > might have the same issue. Maybe you had a local patch or a fix on=20 > bugzilla I might import? > > to track this on AF: > https://github.com/rmottola/Arctic-Fox/issues/270 > > > Riccardo DataSource.h needs a "#include " since thats what provides off64_t.=