Hello, this turned up a couple of versions ago on my hardened x86 system. I have portage configured to log to syslog via PORTAGE_ELOG_CLASSES="warn error log" PORTAGE_ELOG_SYSTEM="mail_summary syslog" … in /etc/make.conf. My log daemon is app-admin/metalog-2, but I doubt that makes a difference I get log output as shown below. Reproducible: Always Steps to Reproduce: 1. Set portage to log to syslog as shown above. (You can remove the "mail_summary".) 2. emerge any package you want, provided it has some elog output. 3. When done, look at your system log file for that output. Actual Results: It should look something like this: Nov 18 23:30:39 [portage] sys-apps/portage-2.1.10.35: postinst: N Nov 18 23:30:39 [portage] sys-apps/portage-2.1.10.35: postinst: O Nov 18 23:30:39 [portage] sys-apps/portage-2.1.10.35: postinst: T Nov 18 23:30:39 [portage] sys-apps/portage-2.1.10.35: postinst: E Nov 18 23:30:39 [portage] sys-apps/portage-2.1.10.35: postinst: : Nov 18 23:30:39 [portage] sys-apps/portage-2.1.10.35: postinst: Nov 18 23:30:39 [portage] sys-apps/portage-2.1.10.35: postinst: B Nov 18 23:30:39 [portage] sys-apps/portage-2.1.10.35: postinst: e Nov 18 23:30:39 [portage] sys-apps/portage-2.1.10.35: postinst: g Nov 18 23:30:39 [portage] sys-apps/portage-2.1.10.35: postinst: i Nov 18 23:30:39 [portage] sys-apps/portage-2.1.10.35: postinst: n - Last output repeated twice - Nov 18 23:30:39 [portage] sys-apps/portage-2.1.10.35: postinst: i Nov 18 23:30:39 [portage] sys-apps/portage-2.1.10.35: postinst: n Nov 18 23:30:39 [portage] sys-apps/portage-2.1.10.35: postinst: g Nov 18 23:30:39 [portage] sys-apps/portage-2.1.10.35: postinst: Nov 18 23:30:39 [portage] sys-apps/portage-2.1.10.35: postinst: w Nov 18 23:30:39 [portage] sys-apps/portage-2.1.10.35: postinst: i Nov 18 23:30:39 [portage] sys-apps/portage-2.1.10.35: postinst: t Nov 18 23:30:39 [portage] sys-apps/portage-2.1.10.35: postinst: h Nov 18 23:30:39 [portage] sys-apps/portage-2.1.10.35: postinst: … and so on for hundreds or thousands of lines. Expected Results: Obviously, the output should be in one line, not one character per line. :) I have not seen such behavior on my ~amd64 desktop system.
This is fixed since 2.1.10.31 and 2.2.0_alpha71 by the following commit: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=12cb62465b130c21080281d78f7bfac077c17dfb
Ok, sorry but the title of my bug had the wrong version. As you can see in my bug report / first comment, the log output actually shows: Nov 18 23:30:39 [portage] sys-apps/portage-2.1.10.35: … So it was 2.1.10.35. Sorry for the mistake. I fixed the bug title. But I will verify that it still happens with 2.1.10.35, as it clearly shouldn’t happen anymore, before changing the status back from “RESOLVED”.
I've tested here with the latest version and it worked fine.
Ok, thanks. We’ll keep it closed unless I see it again in my log file, even with the current version…
Ok, I just got the behavior again. With sys-apps/portage-2.1.10.37. (In case it's relevant: I'm using app-admin/metalog-2 and hardened-sources-3.0.4-r4.) Example from a couple of minutes ago: Nov 25 19:50:51 [portage] net-dns/bind-9.7.4_p1: postinst: r Nov 25 19:50:51 [portage] net-dns/bind-9.7.4_p1: postinst: o - Last output repeated twice - Nov 25 19:50:51 [portage] net-dns/bind-9.7.4_p1: postinst: t Nov 25 19:50:51 [portage] net-dns/bind-9.7.4_p1: postinst: : Nov 25 19:50:51 [portage] net-dns/bind-9.7.4_p1: postinst: n Nov 25 19:50:51 [portage] net-dns/bind-9.7.4_p1: postinst: a Nov 25 19:50:51 [portage] net-dns/bind-9.7.4_p1: postinst: m Nov 25 19:50:51 [portage] net-dns/bind-9.7.4_p1: postinst: e Nov 25 19:50:51 [portage] net-dns/bind-9.7.4_p1: postinst: d Nov 25 19:50:51 [portage] net-dns/bind-9.7.4_p1: postinst: Nov 25 19:50:51 [portage] net-dns/bind-9.7.4_p1: postinst: / Nov 25 19:50:51 [portage] net-dns/bind-9.7.4_p1: postinst: { Nov 25 19:50:51 [portage] net-dns/bind-9.7.4_p1: postinst: e Nov 25 19:50:51 [portage] net-dns/bind-9.7.4_p1: postinst: t Nov 25 19:50:51 [portage] net-dns/bind-9.7.4_p1: postinst: c Nov 25 19:50:51 [portage] net-dns/bind-9.7.4_p1: postinst: , …
Correction: I’m not getting it “again”, but “still”.
This is fixed in git: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=9e6364fe049b5cc59e8cb54f683bbd11d45a7504
Ah, nice! Thanks, man!
This is fixed in 2.1.10.38 and 2.2.0_alpha78.