Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 709740 - media-gfx/entangle-2.0 - In file included from ../entangle-2.0/src/entangle-main.c:30: ../entangle-2.0/src/backend/entangle-colour-profile.h:27:10: fatal error: entangle-colour-profile-enums.h: No such file or directory
Summary: media-gfx/entangle-2.0 - In file included from ../entangle-2.0/src/entangle-m...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-15 19:19 UTC by Giuseppe Foti
Modified: 2020-03-16 07:35 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,26.58 KB, text/plain)
2020-02-15 19:19 UTC, Giuseppe Foti
Details
Disabling parallel build to fix compile phase. (disable_parallel_build.patch,381 bytes, patch)
2020-03-15 19:12 UTC, Jan-Matthias Braun
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Giuseppe Foti 2020-02-15 19:19:00 UTC
Created attachment 613956 [details]
build.log

Entangle-2.0 fails to build with this error:

 * ERROR: media-gfx/entangle-2.0::gentoo failed (compile phase):
 *   ninja -v -j8 -l0 -C /var/tmp/portage/media-gfx/entangle-2.0/work/entangle-2.0-build failed
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_compile
 *   environment, line 2551:  Called meson_src_compile
 *   environment, line 1551:  Called eninja '-C' '/var/tmp/portage/media-gfx/entangle-2.0/work/entangle-2.0-build'
 *   environment, line  906:  Called die
 * The specific snippet of code:
 *       "$@" || die "${nonfatal_args[@]}" "${*} failed"


Looking in the build.log the problem seems to be:

In file included from ../entangle-2.0/src/frontend/entangle-preferences.h:27,
                 from ../entangle-2.0/src/frontend/entangle-application.h:27,
                 from ../entangle-2.0/src/entangle-main.c:30:
../entangle-2.0/src/backend/entangle-colour-profile.h:27:10: fatal error: entangle-colour-profile-enums.h: No such file or directory
   27 | #include "entangle-colour-profile-enums.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Comment 1 Jan-Matthias Braun 2020-03-15 19:12:35 UTC
Created attachment 619988 [details, diff]
Disabling parallel build to fix compile phase.

This might be another parallel build issue. At least for me, disabling parallel builds for this ebuild allowed repetitive merging.

Several dozen merges of the original ebuild failed, but with serialised compilation, four of four merges were successful.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-03-16 07:34:01 UTC
This is fixed upstream in:

https://gitlab.com/entangle/entangle/-/commit/1f90242c66d473801305fce12500666b2a95b39b

However, I think I'll go with a cheap hack until upstream makes a new release.
Comment 3 Larry the Git Cow gentoo-dev 2020-03-16 07:35:56 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72ce3559a0b4e1a483606faaa4f660abbb031be7

commit 72ce3559a0b4e1a483606faaa4f660abbb031be7
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-03-16 07:27:10 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-03-16 07:35:50 +0000

    media-gfx/entangle: Prebuild enum targets to fix race condition
    
    Closes: https://bugs.gentoo.org/709740
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 media-gfx/entangle/entangle-2.0.ebuild | 5 +++++
 1 file changed, 5 insertions(+)