<div>Already done that.. calling -g , flag to compiler won't call the debug symbols... </div><div>g approach seems not working.. sadly</div><br><br><div><font style="font-family:monospace"><span style="color:rgb(24, 178, 24)">Esecuzione(%build) in corso: /bin/sh -e /var/tmp/rpm-tmp.YExN6U</span></font></div><div><font style="font-family:monospace"><span style="color:rgb(24, 178, 24)">+ umask 022 </span></font></div><div><font style="font-family:monospace"><span style="color:rgb(24, 178, 24)">+ cd /home/symbianflo/rpmbuild/BUILD </span></font></div><div><font style="font-family:monospace"><span style="color:rgb(24, 178, 24)">+ cd joshuto-0.9.3 </span></font></div><div><font style="font-family:monospace"><span style="color:rgb(24, 178, 24)">+ '[' 1 -eq 1 ']' </span></font></div><div><font style="font-family:monospace"><span style="color:rgb(24, 178, 24)">+ '[' 1 -eq 1 ']' </span></font></div><div><font style="font-family:monospace"><span style="color:rgb(24, 178, 24)">++ pwd </span></font></div><div><font style="font-family:monospace"><span style="color:rgb(24, 178, 24)">+ export CARGO_HOME=/home/symbianflo/rpmbuild/BUILD/joshuto-0.9.3/.cargo </span></font></div><div><font style="font-family:monospace"><span style="color:rgb(24, 178, 24)">+ CARGO_HOME=/home/symbianflo/rpmbuild/BUILD/joshuto-0.9.3/.cargo</span></font></div><div><font style="font-family:monospace"><span style="color:rgb(24, 178, 24)">+ RUSTFLAGS=-g </span></font></div><div><font style="font-family:monospace"><span style="color:rgb(24, 178, 24)">+ cargo build --release --offline --frozen</span></font></div><div><font style="font-family:monospace"><span style="color:rgb(24, 178, 24)">###############################################</span></font></div><br><div><font style="font-family:monospace"><span style="color:rgb(24, 178, 24)">Elaborazione file: joshuto-debugsource-0.9.3-1.x86_64</span></font></div><div><font style="font-family:monospace"><span style="color:rgb(24, 178, 24)">errore: Empty %files file /home/symbianflo/rpmbuild/BUILD/joshuto-0.9.3/debugsourcefiles.list</span></font></div><div><font style="font-family:monospace"><span style="color:rgb(24, 178, 24)">Elaborazione file: joshuto-debuginfo-0.9.3-1.x86_64</span></font></div><div><font style="font-family:monospace"><span style="color:rgb(24, 178, 24)">Provides: debuginfo(build-id) = c186b59ac92054e9e44615e473326b5f3041f4a9 joshuto-debuginfo = 0.9.3-1 joshuto-debuginfo(x86-64) = 0.9.3-1</span></font></div><div><font style="font-family:monospace"><span style="color:rgb(24, 178, 24)">Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1</span></font></div><div><font style="font-family:monospace"><span style="color:rgb(24, 178, 24)">Recommends: joshuto-debugsource(x86-64) = 0.9.3-1</span></font></div><div><font style="font-family:monospace"><span style="color:rgb(24, 178, 24)">Controllo per file non pacchettizzati in corso: /usr/lib/rpm/check-files /home/symbianflo/rpmbuild/BUILDROOT/joshuto-0.9.3-1.x86_64</span></font></div><br><br><div><font style="font-family:monospace"><span style="color:rgb(24, 178, 24)">Errori di compilazione RPM:</span></font></div><div><font style="font-family:monospace"><span style="color:rgb(24, 178, 24)"> Empty %files file /home/symbianflo/rpmbuild/BUILD/joshuto-0.9.3/debugsourcefiles.list</span></font></div><br><br><div><font style="font-family:monospace">I would wait for advice before push rust apps in contrib, with no debugging.</font></div><br><div><font style="font-family:monospace">THANKS.</font></div><br><br><div><signature id="initial"><div><table cellpadding="0" cellspacing="0"><tbody><tr><td colspan="2"><div style="padding-bottom:15px"><div><strong>Symbianflo</strong></div><div>= MRB ain't no shit. Keep safe use Linux.=</div></div></td></tr><tr><td style="vertical-align:top"><img alt="" src="https://user-generated.getmailspring.com/asset/N2NjZjM5ZmMtNDlmMS00NzUxLTg5NjYtYWNkZmIzNmI1NWQwL3NpZy1pbml0aWFsLnBuZw.png?t=1623269216573&msw=225&msh=225" width="60" height="60" style="max-width:200px;max-height:60px"></td><td><div style="font-size:0.9em;white-space:nowrap;border-left:2px solid gray;margin-left:20px;padding-left:20px"><div><div></div><div><span>W: </span><a href=" = https://abf.io/platforms/rosalinuxro_personal =">= https://abf.io/platforms/rosalinuxro_personal =</a></div><div></div></div></div></td></tr></tbody></table></div></signature></div><div class="gmail_quote_attribution">On mag 28 2022, at 10:09 pm, Mikhail Novosyolov <m.novosyolov@rosalinux.ru> wrote:</div><blockquote><div> </div><div><div>Try RUSTFLAGS=-g cargo build</div></div><br><div class="moz-cite-prefix"><div>28.05.2022 23:01, abf only пишет:</div></div><blockquote><br><div>Yes , of course, none of cargo build /install won't create debug/debuginfo, at least not for me.</div><div>Also , since rust is coming up strong ( see kernel.org), some rust/cargo macros would be needed,</div><div>IMHO.</div><div>Thx for reply</div><br><div><div><div><table cellspacing="0" cellpadding="0"><tbody><tr><td colspan="2"><div style="padding-bottom:15px"><div><strong>Symbianflo</strong></div><div>= MRB ain't no shit. Keep safe use Linux.=</div></div></td></tr><tr><td style="vertical-align:top"><img alt="" src="https://user-generated.getmailspring.com/asset/N2NjZjM5ZmMtNDlmMS00NzUxLTg5NjYtYWNkZmIzNmI1NWQwL3NpZy1pbml0aWFsLnBuZw.png?t=1623269216573&msw=225&msh=225" style="max-width:200px;max-height:60px" width="60" height="60"></td> <td><div style="font-size:0.9em;white-space:nowrap;border-left:2px
solid gray;margin-left:20px;padding-left:20px"><div><div><span>W: </span><a href=" =
https://abf.io/platforms/rosalinuxro_personal
=" class="moz-txt-link-freetext">= https://abf.io/platforms/rosalinuxro_personal =</a></div></div></div></td></tr></tbody></table></div></div></div><div class="gmail_quote_attribution">On mag 28 2022, at 9:56 pm, Mikhail Novosyolov <a href="mailto:m.novosyolov@rosalinux.ru" title="mailto:m.novosyolov@rosalinux.ru"><m.novosyolov@rosalinux.ru></a> wrote:</div><blockquote><div><div>28.05.2022 15:27, abf only пишет:</div><div>> Hi</div><div>> Do we have somebody wich can help with rust, ( cargo build),</div><div>> I really don't know how to enable debugging in cargo.</div><div>> Please advice.</div><div>> Thanks.</div><div>Hi! Do you mean debuginfo subpackages?</div><div>_______________________________________________</div><div>Devel-en mailing list</div><div><a href="mailto:Devel-en@lists.rosalinux.ru" title="mailto:Devel-en@lists.rosalinux.ru">Devel-en@lists.rosalinux.ru</a></div><div><a href="http://lists.rosalinux.ru/mailman/listinfo/devel-en" title="http://lists.rosalinux.ru/mailman/listinfo/devel-en">http://lists.rosalinux.ru/mailman/listinfo/devel-en</a></div></div></blockquote></blockquote></blockquote>