Date: Fri, 27 Dec 2024 12:48:54 +0000 From: Nuno Teixeira <eduardo@freebsd.org> To: Baptiste Daroussin <bapt@freebsd.org> Cc: FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: Re: base64.h problems with rtorent port Message-ID: <CAFDf7U%2BLkfSXDCP0kw8jvd-6Xue0ge1mubrDBOotCq9cuMP3aA@mail.gmail.com> In-Reply-To: <e794b549374b282f1b5211f703a86a8682215fde@freebsd.org> References: <CAFDf7UJ3uc0jUasWwOUK1cQkWV65Za9uR=z6kcPCaD36QwcX1A@mail.gmail.com> <e794b549374b282f1b5211f703a86a8682215fde@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <bapt@freebsd.org> escreveu (sexta, 27/12/2024 =C3=A0(s) 12:35): > > > 27 d=C3=A9cembre 2024 =C3=A0 13:13 "Nuno Teixeira" <eduardo@freebsd.org > <eduardo@freebsd.org?to=3D%22Nuno%20Teixeira%22%20%3Ceduardo%40freebsd.or= g%3E>> > 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: <eduardo@FreeBSD.org> Web: https://FreeBSD.org > <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: <eduardo@FreeBSD.org> Web: https://FreeBSD.org --0000000000006458cd062a3fe3d8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Hello Baptiste,</div><div><br></div><div>Yes, this pr= oves that my C skills are awesome :)</div><div><br></div><div>Upstream spot= ted it too, and in fact, base64.h is missing from tarball.<br></div><div>No= w I'm waiting on upstream to find the best and fast way to include miss= ing file so I can test build.<br><br></div><div>Thanks very much,<br></div>= </div><br><div class=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr"= class=3D"gmail_attr">Baptiste Daroussin <<a href=3D"mailto:bapt@freebsd= .org">bapt@freebsd.org</a>> escreveu (sexta, 27/12/2024 =C3=A0(s) 12:35)= :<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.= 8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u><div><d= iv><br><br></div><p>27 d=C3=A9cembre 2024 =C3=A0 13:13 "Nuno Teixeira&= quot; <<a href=3D"mailto:eduardo@freebsd.org?to=3D%22Nuno%20Teixeira%22%= 20%3Ceduardo%40freebsd.org%3E" target=3D"_blank">eduardo@freebsd.org</a>>= ; a =C3=A9crit:</p><blockquote><div dir=3D"ltr"><div>Hello,</div><div><br><= /div><div>Looking for help to figure out a base64.h and tinyxml2:</div><div= ><a href=3D"https://github.com/rakshasa/rtorrent/issues/1353" target=3D"_bl= ank">https://github.com/rakshasa/rtorrent/issues/1353</a></div><div><br></d= iv><div>Any help is welcome, thanks</div><div><br></div><div>```</div><div>= --- rpc/xmlrpc_tinyxml2.o ---<br>rpc/xmlrpc_tinyxml2.cc:129:35: error: no m= ember named 'decode_base64' in namespace 'utils'<br>=C2=A0 = 129 | =C2=A0 =C2=A0 return torrent::Object(utils::decode_base64(utils::remo= ve_newlines(child_element->ToText()->Value())));<br>=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~~~~~~~^<br>rpc/xmlrpc_tinyxml2.cc:129:56: erro= r: no member named 'remove_newlines' in namespace 'utils'<b= r>=C2=A0 129 | =C2=A0 =C2=A0 return torrent::Object(utils::decode_base64(ut= ils::remove_newlines(child_element->ToText()->Value())));<br>=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 ~~~~~~~^<br>--- input/manager.o ---<br>3= warnings generated.<br>--- display/window.o ---<br>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<br>--- rpc/xmlrpc_tinyxml2.o ---<br>1 warning a= nd 2 errors generated.<br>*** [rpc/xmlrpc_tinyxml2.o] Error code 1</div><di= v>```</div><br><span>-- </span><br><div dir=3D"ltr"><div dir=3D"ltr"><div><= span style=3D"color:rgb(136,136,136)">Nuno Teixeira</span></div><div><div><= span style=3D"color:rgb(136,136,136)"> FreeBSD UNIX:=C2=A0 <eduardo@FreeBSD.org>=C2=A0 =C2=A0Web:=C2=A0 <a h= ref=3D"https://freebsd.org/" target=3D"_blank">https://FreeBSD.org</a></spa= n></div></div></div></div></div></blockquote><div><br></div><div>the utils/= base64.h you are looking for is part of the rtorrent sources, it has nothin= g to do with include/base64.h</div><div><br></div><div><a href=3D"https://g= ithub.com/rakshasa/rtorrent/blob/master/src/utils/base64.h" target=3D"_blan= k">https://github.com/rakshasa/rtorrent/blob/master/src/utils/base64.h</a><= /div><div><br></div><div>The problem is to figure out why it is not found, = not to change its path.</div><div><br></div><div>Bapt<br></div></div></bloc= kquote></div><div><br clear=3D"all"></div><br><span class=3D"gmail_signatur= e_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><div dir= =3D"ltr"><div><font color=3D"#888888">Nuno Teixeira</font></div><div><div><= font color=3D"#888888"> FreeBSD UNIX:=C2=A0 <eduardo@FreeBSD.org>=C2=A0 =C2=A0Web:=C2=A0 <a h= ref=3D"https://FreeBSD.org" rel=3D"noreferrer" target=3D"_blank">https://Fr= eeBSD.org</a><br></font></div></div></div></div> --0000000000006458cd062a3fe3d8--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7U%2BLkfSXDCP0kw8jvd-6Xue0ge1mubrDBOotCq9cuMP3aA>