Attach the logs to the bug ticket
From Gentoo Wiki
- Paste the output of to the comment box.
emerge --info <category/packagename>
- Attach the logfile in /var/tmp/portage/<category>/<packagename>/temp/build.log
- Compress large logfiles: and upload the build.log.xz. Attachments are limited to 1 MB per file. Ask developers how to proceed, if the compressed file is larger.
xz -9 /var/tmp/portage/<category>/<packagename>/temp/build.log
- Do not paste files into comments, because the ticket gets difficult to read. Developers often use tools to handle attachments.
- Do not upload files to pastebins. It is often important to read about a bug some years later. Links to external pages are not archived by Gentoo and the information is lost. Some developers use tools to work on bugs and can not open external websites easily.