From nobody Fri Dec 27 12:35:48 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 4YKQ2b2XQ5z5jgq2 for ; Fri, 27 Dec 2024 12:35:51 +0000 (UTC) (envelope-from bapt@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 4YKQ2b1bV0z4J8k; Fri, 27 Dec 2024 12:35:51 +0000 (UTC) (envelope-from bapt@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735302951; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=O3n62uSRsRYn9CYsSVSWVDriDKRyOI4SOj9QNekALik=; b=Z+iwyDm7pwsxcfTmckFZouUZZG6otoQJljWcCm7rsMtnASs3CjaSPOU5HupuACLtDgbxWe eKlOO/uDEZit1aDQi24KbkIs6AwhlKZJZVojTfmSYsnd7H+dTuYbnMTurLIVtcP07OS7zY DzDmYlgnhxGGTemmBVMJ5q/it/LKD+lDEcJvQgJPYicncTFLpn8elGnq41ua7NB07QyQ3S ThpBGNp0TiIo3qDQ4AcC9CCFoWSFkJ1JKIosaWQt9GNGoGaekdB9/s/ZBJKaOt/P0y6EJr I0cCPRo7UdSbqyFnhkx6PcrIcKH7tvOsgiNcofBFo1StxKGPWq/aIgx9KG70bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735302951; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=O3n62uSRsRYn9CYsSVSWVDriDKRyOI4SOj9QNekALik=; b=BTGkVyml7HtL2CPOcZoZXqx1aFvnxpb5q7zg4tbyvTefXacqNpdmUIABy3Te2LFqT1qKVj JU8Q9aBrvoZtZmyzQW6TAg0H4fNy1BVmeGwCwSfzZXYGvzyhYKaw4GLz2hQd4NjiSkwNO3 E3UwKL63LQU/9F9UvGQAROU6c+5SPyjJ80oqZnPUTIRwSB7XkMmBgq2NhhODUVlUy11gtp BjI31Svn4O/DWleJy2jKIAYfr/ul03FFbrZvGvAXzdayZ+xIjmwWr5wKPSUuCv9gBr/Cmc 6TJjtB2A8qd8xP1+bvM2YfpoD0BrT9YvdFe5xDw2dJh3aaii98zPvmS23PX9Og== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735302951; a=rsa-sha256; cv=none; b=NCOfSv32h0zUaZ9mnBsA+kXWbq1prZ/WBKYuSEUGb6cuqsqOo0fb6tnFlsokPpDxCu1sTe GXNCY/kPOckQMw1UsZmqt1Vu81W9rTIZHRJmXf9FCBkhZRrbSHHz2tpsz5LyEXTJIDRuhe NncamO8foLer8/yLywWCFZoO9hp9hEk1WZvg9IGm44ZNtAibglJPntf7NltWjTKpJQo04X a0KURLuWysv3xP8gqsIhnpI9IEcOLtqXHNqOMOWyjxAuYS6grORroqyIPwU37CcVaZMna0 7vdmlWhSOxbJYtLHl2JEdpbbYcEt1G73ODiuiyp5o7QPed1w6mXQZFXuRUP4vw== Received: from aniel.nours.eu (nours.eu [176.31.115.77]) (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) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 4YKQ2Z70drzfQD; Fri, 27 Dec 2024 12:35:50 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: from mail.nours.eu (nours.eu [IPv6:2001:41d0:8:3a4d::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aniel.nours.eu (Postfix) with ESMTPSA id DB5F51526A7; Fri, 27 Dec 2024 13:35:48 +0100 (CET) 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 Date: Fri, 27 Dec 2024 12:35:48 +0000 Content-Type: multipart/alternative; boundary="84f1a892-aa2a-4cd3-912f-c15655f5c6d8-1" From: "Baptiste Daroussin" Message-ID: TLS-Required: No Subject: Re: base64.h problems with rtorent port To: "Nuno Teixeira" , "FreeBSD CURRENT" In-Reply-To: References: --84f1a892-aa2a-4cd3-912f-c15655f5c6d8-1 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 27 d=C3=A9cembre 2024 =C3=A0 13:13 "Nuno Teixeira" a =C3=A9crit: >=20 >=20Hello, >=20 >=20Looking for help to figure out a base64.h and tinyxml2: > https://github.com/rakshasa/rtorrent/issues/1353 >=20 >=20Any help is welcome, thanks >=20 >=20``` > --- rpc/xmlrpc_tinyxml2.o --- > rpc/xmlrpc_tinyxml2.cc:129:35: error: no member named 'decode_base64' i= n namespace 'utils' > =C2=A0 129 | =C2=A0 =C2=A0 return torrent::Object(utils::decode_base64(= utils::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~~~~~~~^ > rpc/xmlrpc_tinyxml2.cc:129:56: error: no member named 'remove_newlines'= in namespace 'utils' > =C2=A0 129 | =C2=A0 =C2=A0 return torrent::Object(utils::decode_base64(= utils::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/lo= cal/include =C2=A0-O2 -pipe -fstack-protector-strong -isystem /usr/local/= include -fno-strict-aliasing =C2=A0-isystem /usr/local/include =C2=A0-DND= EBUG -Wall -pthread =C2=A0-I/usr/local/include -I/usr/local/include -MT d= isplay/window.o -MD -MP -MF $depbase.Tpo -c -o display/window.o display/w= indow.cc && mv -f $depbase.Tpo $depbase.Po > --- rpc/xmlrpc_tinyxml2.o --- > 1 warning and 2 errors generated. > *** [rpc/xmlrpc_tinyxml2.o] Error code 1 > ``` > --=20 >=20 > Nuno Teixeira > FreeBSD UNIX:=C2=A0 =C2=A0 =C2=A0Web:=C2=A0 https:= //FreeBSD.org https://freebsd.org/ >=20 the=20utils/base64.h you are looking for is part of the rtorrent sources,= it 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 --84f1a892-aa2a-4cd3-912f-c15655f5c6d8-1 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable


27 d=C3=A9c= embre 2024 =C3=A0 13:13 "Nuno Teixeira" <eduardo@freebsd.org> a =C3=A9crit:

=
Hello,

Looking= for help to figure out a base64.h and tinyxml2:
Any help is welcome, thanks

```
--- rpc/xmlrpc_tinyxml2.o ---
rpc/xmlrpc_tinyxml2.cc:129:35: er= ror: no member named 'decode_base64' in namespace 'utils'
=C2=A0 129 |= =C2=A0 =C2=A0 return torrent::Object(utils::decode_base64(utils::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~~~~~~~^
rpc/xmlrpc_tinyxml2.cc:129:56:= error: no member named 'remove_newlines' in namespace 'utils'
=C2=A0 = 129 | =C2=A0 =C2=A0 return torrent::Object(utils::decode_base64(utils::re= move_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 displa= y/window.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; c++ -std=3Dc++14 -DHA= VE_CONFIG_H -I. -I.. =C2=A0 -I. -I.. -isystem /usr/local/include =C2=A0-O= 2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-= 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 warn= ing and 2 errors generated.
*** [rpc/xmlrpc_tinyxml2.o] Error code 1
```

--
Nuno Teixeira
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 rtorren= t sources, it has nothing to do with include/base64.h


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

Bapt
--84f1a892-aa2a-4cd3-912f-c15655f5c6d8-1--