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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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 à(s) 12:35): > > > 27 décembre 2024 à 13:13 "Nuno Teixeira" <eduardo@freebsd.org > <eduardo@freebsd.org?to=%22Nuno%20Teixeira%22%20%3Ceduardo%40freebsd.org%3E>> > a écrit: > > 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' in > 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=`echo display/window.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; c++ > -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -isystem /usr/local/include > -O2 -pipe -fstack-protector-strong -isystem /usr/local/include > -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -Wall -pthread > -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 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, 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 > -- Nuno Teixeira FreeBSD UNIX: <eduardo@FreeBSD.org> Web: https://FreeBSD.org [-- Attachment #2 --] <div dir="ltr"><div>Hello Baptiste,</div><div><br></div><div>Yes, this proves that my C skills are awesome :)</div><div><br></div><div>Upstream spotted it too, and in fact, base64.h is missing from tarball.<br></div><div>Now I'm waiting on upstream to find the best and fast way to include missing file so I can test build.<br><br></div><div>Thanks very much,<br></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">Baptiste Daroussin <<a href="mailto:bapt@freebsd.org">bapt@freebsd.org</a>> escreveu (sexta, 27/12/2024 à(s) 12:35):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u><div><div><br><br></div><p>27 décembre 2024 à 13:13 "Nuno Teixeira" <<a href="mailto:eduardo@freebsd.org?to=%22Nuno%20Teixeira%22%20%3Ceduardo%40freebsd.org%3E" target="_blank">eduardo@freebsd.org</a>> a écrit:</p><blockquote><div dir="ltr"><div>Hello,</div><div><br></div><div>Looking for help to figure out a base64.h and tinyxml2:</div><div><a href="https://github.com/rakshasa/rtorrent/issues/1353" target="_blank">https://github.com/rakshasa/rtorrent/issues/1353</a></div><div><br></div><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 member named 'decode_base64' in namespace 'utils'<br> 129 | return torrent::Object(utils::decode_base64(utils::remove_newlines(child_element->ToText()->Value())));<br> | ~~~~~~~^<br>rpc/xmlrpc_tinyxml2.cc:129:56: error: no member named 'remove_newlines' in namespace 'utils'<br> 129 | return torrent::Object(utils::decode_base64(utils::remove_newlines(child_element->ToText()->Value())));<br> | ~~~~~~~^<br>--- input/manager.o ---<br>3 warnings generated.<br>--- display/window.o ---<br>depbase=`echo display/window.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; c++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -Wall -pthread -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 and 2 errors generated.<br>*** [rpc/xmlrpc_tinyxml2.o] Error code 1</div><div>```</div><br><span>-- </span><br><div dir="ltr"><div dir="ltr"><div><span style="color:rgb(136,136,136)">Nuno Teixeira</span></div><div><div><span style="color:rgb(136,136,136)"> FreeBSD UNIX: <eduardo@FreeBSD.org> Web: <a href="https://freebsd.org/" target="_blank">https://FreeBSD.org</a></span></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 nothing to do with include/base64.h</div><div><br></div><div><a href="https://github.com/rakshasa/rtorrent/blob/master/src/utils/base64.h" target="_blank">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></blockquote></div><div><br clear="all"></div><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><font color="#888888">Nuno Teixeira</font></div><div><div><font color="#888888"> FreeBSD UNIX: <eduardo@FreeBSD.org> Web: <a href="https://FreeBSD.org" rel="noreferrer" target="_blank">https://FreeBSD.org</a><br></font></div></div></div></div>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7U%2BLkfSXDCP0kw8jvd-6Xue0ge1mubrDBOotCq9cuMP3aA>
