From nobody Fri Dec 27 12:48:54 2024 X-Original-To: freebsd-current@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 4YKQKv2skLz5jhgj for ; Fri, 27 Dec 2024 12:49:07 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YKQKv2CJVz4LX4; Fri, 27 Dec 2024 12:49:07 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735303747; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7YBRxOivXCUBMGr26juhTvMTnfDr+6gQDBID5u2oJSM=; b=sx1qgo2KEuXBkVA16K71uLduRXGn+OLoCqUaa3MIO7b44drilIsWX7qGvRpJg9mx5L/8PT yczgHvnIQHyXBoxjXsSf1NZ/Qb51euVCD2cvEsmsRVn9tcTz8QrHKFaWKfkfWP/apLGYZl 8XE/KWl+2eLo1XODrYqdcfIZpg2RC/Lyba5G0DDX4lNhcnBz8uC6Ydqh7lZhJjOeniHlFG 9L2yVecugBAvsE5Khp6yxBT0OIw4r3GfGW7cmUPTmDQx2bE+9XZu7+xapoML6lwmt+z6qf EX1zRxlJHkd9D+SvHaGUWDDEJzaLMf6IXGZVlfq27JhuuzO//r+t35eGNLP9OQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735303747; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7YBRxOivXCUBMGr26juhTvMTnfDr+6gQDBID5u2oJSM=; b=NnhBvGkiU9Se/WFCUUypneHa5ZyhZFEaIyxz4M6SKEzTI3nDGEqDwUkgxwl6IXabcyHq4J 8c6p8Nb9CgyqbTK7729dH9vjPNiLb1871UeLq/Rwd0dtJYZ8tfOtNAvHowNS3e4NrKtKu0 UJk+X2g9OWlc2y8NwNRBPkA6HUgAtvgH1bC5MrC5Ya0MZ+nq3XtRLedtykHtEX1h502Jfm 4ZkxJaZ4T4sTHgPY7+m2PuT7IAnEhx5FxXMUTA/aTrcBXmyoZQsHQUtiUk7BfmISHQBBZS vMv3csDOtDhoSIKizeCXoJdDXTXrErUZDie0R3/KytKuvi3XvESY3wUJBzjeAQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735303747; a=rsa-sha256; cv=none; b=I+cwPWsY1P9tGaUkheSWV3hGFfTBZTRD9g3+2CTgoecRbF/kxGWv/zpoSv7LqHKhpBJCRt 9/16LE+AfjPMFaQX8wJQMib5L+WlsWMBLaRUgdsVOrWmUPZyZA3Qe/TgA8rorHwIMCHhOB GJ3VYdEWGzy6ncV1ZBGa0jUrDFlrgSWO+2+/S6/fIA9puYlmF+hZYIb+xZM5q7IJFElmyz DKUVI/dGm6w7lOvRL4A8AWy0gIW5mVV0z1IUn1MRw/gOTHjAcHApRw8Egea+2vE+78OP7c JPsLBU6pBdibXNCVjTM9paZn/OuxXwe9/tCvDJdQRrsxuJuQGG5wYRuPwmC3OA== Received: from mail-qv1-f53.google.com (mail-qv1-f53.google.com [209.85.219.53]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4YKQKv1fw7zgT1; Fri, 27 Dec 2024 12:49:07 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-qv1-f53.google.com with SMTP id 6a1803df08f44-6dafe70ccd6so8077706d6.1; Fri, 27 Dec 2024 04:49:07 -0800 (PST) X-Gm-Message-State: AOJu0YzIWuxF4HXHCX7hJKHoNe2t3t4W4QbEze0CHcueojrQhDwL+Zws BvQaVkCofC3A1nKt5ZBc2lh5ihRaKFMlpNk37mqyrM50f/F9h5B74DpBB5PjRhnUjJ+LzQcNb+d ZIjhnC5PyNf4dWNyILUGp0H7wciA= X-Google-Smtp-Source: AGHT+IHcvJoe0uU3cJqmVnX//vyFSHLj+7ckB4FZI73gE0+CLtBH1occUocMAjIlQUp0ba5t7SdJ/rdnmFuUDZYONA4= X-Received: by 2002:a05:622a:1997:b0:460:fe2a:2311 with SMTP id d75a77b69052e-46a4a8e82bemr166331301cf.7.1735303746572; Fri, 27 Dec 2024 04:49:06 -0800 (PST) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Nuno Teixeira Date: Fri, 27 Dec 2024 12:48:54 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: base64.h problems with rtorent port To: Baptiste Daroussin Cc: FreeBSD CURRENT Content-Type: multipart/alternative; boundary="0000000000006458cd062a3fe3d8" --0000000000006458cd062a3fe3d8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello Baptiste, Yes, this proves that my C skills are awesome :) Upstream spotted it too, and in fact, base64.h is missing from tarball. Now I'm waiting on upstream to find the best and fast way to include missing file so I can test build. Thanks very much, Baptiste Daroussin escreveu (sexta, 27/12/2024 =C3=A0(s) 12:35): > > > 27 d=C3=A9cembre 2024 =C3=A0 13:13 "Nuno Teixeira" > > a =C3=A9crit: > > Hello, > > Looking for help to figure out a base64.h and tinyxml2: > https://github.com/rakshasa/rtorrent/issues/1353 > > Any help is welcome, thanks > > ``` > --- rpc/xmlrpc_tinyxml2.o --- > rpc/xmlrpc_tinyxml2.cc:129:35: error: no member named 'decode_base64' in > namespace 'utils' > 129 | return > torrent::Object(utils::decode_base64(utils::remove_newlines(child_element= ->ToText()->Value()))); > | ~~~~~~~^ > rpc/xmlrpc_tinyxml2.cc:129:56: error: no member named 'remove_newlines' i= n > namespace 'utils' > 129 | return > torrent::Object(utils::decode_base64(utils::remove_newlines(child_element= ->ToText()->Value()))); > | ~~~~~~~^ > --- input/manager.o --- > 3 warnings generated. > --- display/window.o --- > depbase=3D`echo display/window.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; c++ > -std=3Dc++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -isystem /usr/local/incl= ude > -O2 -pipe -fstack-protector-strong -isystem /usr/local/include > -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -Wall -pthrea= d > -I/usr/local/include -I/usr/local/include -MT display/window.o -MD -MP -= MF > $depbase.Tpo -c -o display/window.o display/window.cc && mv -f $depbase.T= po > $depbase.Po > --- rpc/xmlrpc_tinyxml2.o --- > 1 warning and 2 errors generated. > *** [rpc/xmlrpc_tinyxml2.o] Error code 1 > ``` > > -- > Nuno Teixeira > FreeBSD UNIX: Web: https://FreeBSD.org > > > > the utils/base64.h you are looking for is part of the rtorrent sources, i= t > has nothing to do with include/base64.h > > https://github.com/rakshasa/rtorrent/blob/master/src/utils/base64.h > > The problem is to figure out why it is not found, not to change its path. > > Bapt > --=20 Nuno Teixeira FreeBSD UNIX: Web: https://FreeBSD.org --0000000000006458cd062a3fe3d8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Baptiste,

Yes, this pr= oves that my C skills are awesome :)

Upstream spot= ted it too, and in fact, base64.h is missing from tarball.
No= w I'm waiting on upstream to find the best and fast way to include miss= ing file so I can test build.

Thanks very much,
=

Baptiste Daroussin <bapt@freebsd.org> escreveu (sexta, 27/12/2024 =C3=A0(s) 12:35)= :


27 d=C3=A9cembre 2024 =C3=A0 13:13 "Nuno Teixeira&= quot; <eduardo@freebsd.org>= ; a =C3=A9crit:

Hello,

<= /div>
Looking for help to figure out a base64.h and tinyxml2:
https://github.com/rakshasa/rtorrent/issues/1353

Any help is welcome, thanks

```
= --- rpc/xmlrpc_tinyxml2.o ---
rpc/xmlrpc_tinyxml2.cc:129:35: error: no m= ember named 'decode_base64' in namespace 'utils'
=C2=A0 = 129 | =C2=A0 =C2=A0 return torrent::Object(utils::decode_base64(utils::remo= ve_newlines(child_element->ToText()->Value())));
=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~~~~~~~^
rpc/xmlrpc_tinyxml2.cc:129:56: erro= r: no member named 'remove_newlines' in namespace 'utils'=C2=A0 129 | =C2=A0 =C2=A0 return torrent::Object(utils::decode_base64(ut= ils::remove_newlines(child_element->ToText()->Value())));
=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 =C2=A0 =C2=A0 ~~~~~~~^
--- input/manager.o ---
3= warnings generated.
--- display/window.o ---
depbase=3D`echo display= /window.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; c++ -std=3Dc++14= -DHAVE_CONFIG_H -I. -I.. =C2=A0 -I. -I.. -isystem /usr/local/include =C2= =A0-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-stri= ct-aliasing =C2=A0-isystem /usr/local/include =C2=A0-DNDEBUG -Wall -pthread= =C2=A0-I/usr/local/include -I/usr/local/include -MT display/window.o -MD -= MP -MF $depbase.Tpo -c -o display/window.o display/window.cc && mv = -f $depbase.Tpo $depbase.Po
--- rpc/xmlrpc_tinyxml2.o ---
1 warning a= nd 2 errors generated.
*** [rpc/xmlrpc_tinyxml2.o] Error code 1
```

--
<= span style=3D"color:rgb(136,136,136)">Nuno Teixeira
<= span style=3D"color:rgb(136,136,136)"> FreeBSD UNIX:=C2=A0 <eduardo@FreeBSD.org>=C2=A0 =C2=A0Web:=C2=A0 https://FreeBSD.org

the utils/= base64.h you are looking for is part of the rtorrent sources, it has nothin= g to do with include/base64.h

https://github.com/rakshasa/rtorrent/blob/master/src/utils/base64.h<= /div>

The problem is to figure out why it is not found, = not to change its path.

Bapt


--
Nuno Teixeira
<= font color=3D"#888888"> FreeBSD UNIX:=C2=A0 <eduardo@FreeBSD.org>=C2=A0 =C2=A0Web:=C2=A0 https://Fr= eeBSD.org
--0000000000006458cd062a3fe3d8--