Trying to update to exo-4.15.1 fails in the install phase with e.g.: /usr/bin/install: cannot create regular file '/tmp/portage/xfce-base/exo-4.15.1/image/usr/include/exo-2/exo/exo-binding.h': File exists Reproducible: Always Steps to Reproduce: 1. try to emerge exo-4.15.1 2. probably failure 3. Actual Results: The exact failure varies between runs; see below for explanation. Expected Results: Successful installation This turned out to be a problem with my MAKEOPTS"-j8 -l8". emerging with MAKEOPTS=-j1 lets it repeatably install successfully. It seems the upstream Makefile trips over its own feet.
Created attachment 642366 [details] log of failed installation
Thank you for the report. We need to have all information at hand before ticket assignment. That is why I ask you to * paste the emerge info as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket Please reopen this ticket (Status:UNCONFIRMED) afterwards.
Created attachment 642374 [details] emerge --info
Hmm, my guess is that they have leftover duplicate libexo_headers.
Seems we have to wait for the upstream to fix it.
https://gitlab.xfce.org/xfce/exo/-/commit/d3f3232eb53a052711029d2fafc36e23da971b35(In reply to younky.yang from comment #5) > Seems we have to wait for the upstream to fix it. https://gitlab.xfce.org/xfce/exo/-/commit/d3f3232eb53a052711029d2fafc36e23da971b35 Works for me.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=358fa544c31daa667725a389bced6d6c8a536fe1 commit 358fa544c31daa667725a389bced6d6c8a536fe1 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2020-06-03 10:11:24 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2020-06-03 10:23:59 +0000 xfce-base/exo: Backport parallel make fix Closes: https://bugs.gentoo.org/725882 Signed-off-by: Michał Górny <mgorny@gentoo.org> xfce-base/exo/exo-4.15.1.ebuild | 4 ++ xfce-base/exo/files/exo-4.15.1-parallel-make.patch | 66 ++++++++++++++++++++++ 2 files changed, 70 insertions(+)
Looks like the problem still exists. >>> Install xfce-base/exo-4.15.1 into /var/tmp/portage/xfce-base/exo-4.15.1/image make -j9 DESTDIR=/var/tmp/portage/xfce-base/exo-4.15.1/image install Making install in exo make[1]: Entering directory '/var/tmp/portage/xfce-base/exo-4.15.1/work/exo-4.15.1/exo' make install-am make[2]: Entering directory '/var/tmp/portage/xfce-base/exo-4.15.1/work/exo-4.15.1/exo' make[3]: Entering directory '/var/tmp/portage/xfce-base/exo-4.15.1/work/exo-4.15.1/exo' /bin/mkdir -p '/var/tmp/portage/xfce-base/exo-4.15.1/image/usr/lib64' /bin/mkdir -p '/var/tmp/portage/xfce-base/exo-4.15.1/image/usr/include/exo-2/exo' /bin/mkdir -p '/var/tmp/portage/xfce-base/exo-4.15.1/image/usr/include/exo-2/exo' /bin/mkdir -p '/var/tmp/portage/xfce-base/exo-4.15.1/image/usr/lib64/pkgconfig' /bin/sh ../libtool --mode=install /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c libexo-2.la '/var/tmp/portage/xfce-base/exo-4.15.1/image/usr/lib64' /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c -m 644 exo.h exo-binding.h exo-config.h exo-execute.h exo-gdk-pixbuf-extensions.h exo-gtk-extensions.h exo-gobject-extensions.h exo-job.h exo-simple-job.h exo-string.h exo-utils.h exo-icon-chooser-dialog.h exo-icon-chooser-model.h exo-icon-view.h exo-enum-types.h exo-cell-renderer-icon.h exo-thumbnail.h exo-thumbnail-preview.h exo-tree-view.h '/var/tmp/portage/xfce-base/exo-4.15.1/image/usr/include/exo-2/exo' /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c -m 644 exo-2.pc '/var/tmp/portage/xfce-base/exo-4.15.1/image/usr/lib64/pkgconfig' /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c -m 644 exo-enum-types.h exo-binding.h exo-cell-renderer-icon.h exo-execute.h exo-gdk-pixbuf-extensions.h exo-gtk-extensions.h exo-gobject-extensions.h exo-icon-chooser-dialog.h exo-icon-view.h exo-job.h exo-simple-job.h exo-string.h exo-tree-view.h exo-utils.h exo.h exo-config.h '/var/tmp/portage/xfce-base/exo-4.15.1/image/usr/include/exo-2/exo' /usr/bin/install: cannot change permissions of '/var/tmp/portage/xfce-base/exo-4.15.1/image/usr/include/exo-2/exo/exo-job.h': No such file or directory /usr/bin/install: cannot change permissions of '/var/tmp/portage/xfce-base/exo-4.15.1/image/usr/include/exo-2/exo/exo-simple-job.h': No such file or directory /usr/bin/install: cannot create regular file '/var/tmp/portage/xfce-base/exo-4.15.1/image/usr/include/exo-2/exo/exo-utils.h': File exists make[3]: *** [Makefile:1096: install-libexoincludeHEADERS] Error 1 make[3]: *** Waiting for unfinished jobs.... libtool: install: /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c .libs/libexo-2.so.0.1.0 /var/tmp/portage/xfce-base/exo-4.15.1/image/usr/lib64/libexo-2.so.0.1.0 libtool: install: (cd /var/tmp/portage/xfce-base/exo-4.15.1/image/usr/lib64 && { ln -s -f libexo-2.so.0.1.0 libexo-2.so.0 || { rm -f libexo-2.so.0 && ln -s libexo-2.so.0.1.0 libexo-2.so.0; }; }) libtool: install: (cd /var/tmp/portage/xfce-base/exo-4.15.1/image/usr/lib64 && { ln -s -f libexo-2.so.0.1.0 libexo-2.so || { rm -f libexo-2.so && ln -s libexo-2.so.0.1.0 libexo-2.so; }; }) libtool: install: /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c .libs/libexo-2.lai /var/tmp/portage/xfce-base/exo-4.15.1/image/usr/lib64/libexo-2.la libtool: warning: remember to run 'libtool --finish /usr/lib64' make[3]: Leaving directory '/var/tmp/portage/xfce-base/exo-4.15.1/work/exo-4.15.1/exo' make[2]: *** [Makefile:1383: install-am] Error 2 make[2]: Leaving directory '/var/tmp/portage/xfce-base/exo-4.15.1/work/exo-4.15.1/exo' make[1]: *** [Makefile:1377: install] Error 2 make[1]: Leaving directory '/var/tmp/portage/xfce-base/exo-4.15.1/work/exo-4.15.1/exo' make: *** [Makefile:522: install-recursive] Error 1 * ERROR: xfce-base/exo-4.15.1::gentoo failed (install phase): * emake failed * * If you need support, post the output of `emerge --info '=xfce-base/exo-4.15.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=xfce-base/exo-4.15.1::gentoo'`. * The complete build log is located at '/var/tmp/portage/xfce-base/exo-4.15.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/xfce-base/exo-4.15.1/temp/environment'. * Working directory: '/var/tmp/portage/xfce-base/exo-4.15.1/work/exo-4.15.1' * S: '/var/tmp/portage/xfce-base/exo-4.15.1/work/exo-4.15.1'
Please attach the complete build log.
Created attachment 645736 [details] build log (no such file)
Created attachment 645738 [details] emerge --info (Davide)
Created attachment 645740 [details] build log (variation 2)
I'm getting this issue as well. Build succeded on 5th time so I guess it may be difficult to reproduce. The errors can be different (I attached two) but it's always coming from the same install command.
Ok, I think I found the culprit. Will commit in a minute.
(In reply to Davide Palma from comment #13) > I'm getting this issue as well. Build succeded on 5th time so I guess it may > be difficult to reproduce. The errors can be different (I attached two) but > it's always coming from the same install command. It goes with make -j1.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a067e98971fa1155d1d1f56b98e040b7f449f2a commit 0a067e98971fa1155d1d1f56b98e040b7f449f2a Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2020-06-22 15:35:20 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2020-06-22 15:35:39 +0000 xfce-base/exo: Patch Makefile.in too Closes: https://bugs.gentoo.org/725882 Signed-off-by: Michał Górny <mgorny@gentoo.org> xfce-base/exo/files/exo-4.15.1-parallel-make.patch | 153 +++++++++++++++++++++ 1 file changed, 153 insertions(+)