Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 718022

Summary: xfce-base/libxfce4ui has parallel make issue in install phase: libxfce4ui.h: File exists
Product: Gentoo Linux Reporter: Rafael Kitover <rkitover>
Component: Current packagesAssignee: XFCE Team <xfce>
Status: CONFIRMED ---    
Severity: normal CC: atoth, jstein, polynomial-c
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
emerge -pqv
build log

Description Rafael Kitover 2020-04-18 09:37:32 UTC
make  install-am                                                                                                                                                                                                    make[2]: Entering directory '/var/tmp/portage/xfce-base/libxfce4ui-4.15.2/work/libxfce4ui-4.15.2/libxfce4ui'                                                                                                        make[3]: Entering directory '/var/tmp/portage/xfce-base/libxfce4ui-4.15.2/work/libxfce4ui-4.15.2/libxfce4ui'                                                                                                         /bin/mkdir -p '/var/tmp/portage/xfce-base/libxfce4ui-4.15.2/image/usr/lib64'                                                                                                                                        /bin/mkdir -p '/var/tmp/portage/xfce-base/libxfce4ui-4.15.2/image/usr/share/gir-1.0'                                                                                                                                /bin/mkdir -p '/var/tmp/portage/xfce-base/libxfce4ui-4.15.2/image/usr/include/xfce4/libxfce4ui-2/libxfce4ui'                                                                                                        /bin/mkdir -p '/var/tmp/portage/xfce-base/libxfce4ui-4.15.2/image/usr/include/xfce4/libxfce4ui-2/libxfce4ui'                                                                                                        /bin/mkdir -p '/var/tmp/portage/xfce-base/libxfce4ui-4.15.2/image/usr/lib64/pkgconfig'                                                                                                                              /bin/mkdir -p '/var/tmp/portage/xfce-base/libxfce4ui-4.15.2/image/usr/lib64/girepository-1.0'                                                                                                                       /bin/sh ../libtool   --mode=install /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c   libxfce4ui-2.la '/var/tmp/portage/xfce-base/libxfce4ui-4.15.2/image/usr/lib64'                                     /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c -m 644 libxfce4ui-2.0.gir '/var/tmp/portage/xfce-base/libxfce4ui-4.15.2/image/usr/share/gir-1.0'                                                         /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c -m 644 libxfce4ui.h libxfce4ui-config.h libxfce4ui-enum-types.h xfce-dialogs.h xfce-gdk-extensions.h xfce-gtk-extensions.h xfce-spawn.h xfce-filename-input.h xfce-titled-dialog.h xfce-sm-client.h '/var/tmp/portage/xfce-base/libxfce4ui-4.15.2/image/usr/include/xfce4/libxfce4ui-2/libxfce4ui'                                                                           /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c -m 644 libxfce4ui.h libxfce4ui-config.h libxfce4ui-enum-types.h xfce-dialogs.h xfce-gdk-extensions.h xfce-gtk-extensions.h xfce-spawn.h xfce-filename-input.h xfce-titled-dialog.h xfce-sm-client.h '/var/tmp/portage/xfce-base/libxfce4ui-4.15.2/image/usr/include/xfce4/libxfce4ui-2/libxfce4ui'                                                                           /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c -m 644 libxfce4ui-2.pc '/var/tmp/portage/xfce-base/libxfce4ui-4.15.2/image/usr/lib64/pkgconfig'
 /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c -m 644 libxfce4ui-2.0.typelib '/var/tmp/portage/xfce-base/libxfce4ui-4.15.2/image/usr/lib64/girepository-1.0'                                           /usr/bin/install: cannot create regular file '/var/tmp/portage/xfce-base/libxfce4ui-4.15.2/image/usr/include/xfce4/libxfce4ui-2/libxfce4ui/libxfce4ui.h': File exists                                               /usr/bin/install: cannot create regular file '/var/tmp/portage/xfce-base/libxfce4ui-4.15.2/image/usr/include/xfce4/libxfce4ui-2/libxfce4ui/libxfce4ui-config.h': File exists                                        /usr/bin/install: cannot create regular file '/var/tmp/portage/xfce-base/libxfce4ui-4.15.2/image/usr/include/xfce4/libxfce4ui-2/libxfce4ui/libxfce4ui-enum-types.h': File exists                                    /usr/bin/install: cannot create regular file '/var/tmp/portage/xfce-base/libxfce4ui-4.15.2/image/usr/include/xfce4/libxfce4ui-2/libxfce4ui/xfce-dialogs.h': File exists                                             /usr/bin/install: cannot create regular file '/var/tmp/portage/xfce-base/libxfce4ui-4.15.2/image/usr/include/xfce4/libxfce4ui-2/libxfce4ui/xfce-gdk-extensions.h': File exists                                      /usr/bin/install: cannot create regular file '/var/tmp/portage/xfce-base/libxfce4ui-4.15.2/image/usr/include/xfce4/libxfce4ui-2/libxfce4ui/xfce-gtk-extensions.h': File exists                                      /usr/bin/install: cannot create regular file '/var/tmp/portage/xfce-base/libxfce4ui-4.15.2/image/usr/include/xfce4/libxfce4ui-2/libxfce4ui/xfce-spawn.h': File exists                                               /usr/bin/install: cannot create regular file '/var/tmp/portage/xfce-base/libxfce4ui-4.15.2/image/usr/include/xfce4/libxfce4ui-2/libxfce4ui/xfce-filename-input.h': File exists                                      /usr/bin/install: cannot create regular file '/var/tmp/portage/xfce-base/libxfce4ui-4.15.2/image/usr/include/xfce4/libxfce4ui-2/libxfce4ui/xfce-titled-dialog.h': File exists                                       /usr/bin/install: cannot create regular file '/var/tmp/portage/xfce-base/libxfce4ui-4.15.2/image/usr/include/xfce4/libxfce4ui-2/libxfce4ui/xfce-sm-client.h': File exists                                           make[3]: *** [Makefile:1121: install-libxfce4ui_includeHEADERS] Error 1                                                                                                                                             make[3]: *** Waiting for unfinished jobs....

Reproducible: Always
Comment 1 Rafael Kitover 2020-04-18 09:38:21 UTC
Created attachment 633540 [details]
emerge --info
Comment 2 Rafael Kitover 2020-04-18 09:38:42 UTC
Created attachment 633542 [details]
emerge -pqv
Comment 3 Rafael Kitover 2020-04-18 09:39:05 UTC
Created attachment 633544 [details]
build log
Comment 4 Rafael Kitover 2020-04-18 09:51:13 UTC
I've tracked this down to the --skip-build in distutils-r1.eclass.

Related bug:

https://bugs.gentoo.org/717886
Comment 5 Attila Tóth 2020-06-09 21:46:50 UTC
(In reply to Rafael Kitover from comment #4)
> I've tracked this down to the --skip-build in distutils-r1.eclass.
> 
> Related bug:
> 
> https://bugs.gentoo.org/717886

Isn't this bug rather related to this bug in exo:
https://bugs.gentoo.org/725882
Comment 6 Rafael Kitover 2020-06-09 21:49:50 UTC
I don't know for sure, but when I changed the eclass to remove that flag I was able to merge successfully. It could be a coincidence of course.
Comment 7 Attila Tóth 2020-06-10 13:34:05 UTC
(In reply to Rafael Kitover from comment #6)
> I don't know for sure, but when I changed the eclass to remove that flag I
> was able to merge successfully. It could be a coincidence of course.

It merges with -j1. That's why I guess it is a parallel make race condition, like it is for exo. Your findings with the eclass are also interesting...