Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 682480 - sci-electronics/kicad-5.0.1 - ninja error build.ninja:14874: multiple rules generate pcbnew/_pcbnew.so [-w dupbuild=err]
Summary: sci-electronics/kicad-5.0.1 - ninja error build.ninja:14874: multiple rules g...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Zoltan Puskas
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-04-04 03:50 UTC by A Schenck
Modified: 2020-05-14 10:35 UTC (History)
1 user (show)

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


Attachments
Failing build.log (build.log,8.49 KB, text/x-log)
2019-04-06 02:24 UTC, A Schenck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description A Schenck 2019-04-04 03:50:41 UTC
-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -Wall -O2 -march=native -msse -msse2 -mmmx -m3dnow -fomit-frame-pointer -pipe
C++             -Wall -O2 -march=native -msse -msse2 -mmmx -m3dnow -fomit-frame-pointer -pipe -Wsuggest-override -Wno-unused-local-typedefs -Wno-strict-aliasing -pthread
Linker flags:
Executable      -Wl,-O1 -Wl,--as-needed
Module          -Wl,--no-undefined -Wl,-Bsymbolic
Shared          -Wl,--no-undefined -Wl,-Bsymbolic
-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/sci-electronics/kicad-5.0.1/work/kicad-5.0.1_build
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sci-electronics/kicad-5.0.1/work/kicad-5.0.1 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/sci-electronics/kicad-5.0.1/work/kicad-5.0.1_build"
ninja -v -j3 -l0
ninja: error: build.ninja:14874: multiple rules generate pcbnew/_pcbnew.so [-w dupbuild=err]
 * ERROR: sci-electronics/kicad-5.0.1::gentoo failed (compile phase):
 *   ninja -v -j3 -l0 failed


gen5 /etc/portage $ emerge --info 
Portage 2.3.62 (python 2.7.16-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-8.3.0, glibc-2.28-r5, 4.19.1-gentoo x86_64)
=================================================================
System uname: Linux-4.19.1-gentoo-x86_64-AMD_Phenom-tm-_II_P860_Triple-Core_Processor-with-gentoo-2.6
KiB Mem:     9967648 total,    268176 free
KiB Swap:    4192948 total,   2381760 free
Timestamp of repository gentoo: Wed, 03 Apr 2019 00:45:01 +0000
Head commit of repository gentoo: 5ca791dc9548206ee011fb51dc393ce819186bf1
sh bash 5.0_p2
ld GNU ld (Gentoo 2.32 p1) 2.32.0
app-shells/bash:          5.0_p2::gentoo
dev-lang/perl:            5.28.0::gentoo
dev-lang/python:          2.7.16::gentoo, 3.6.8::gentoo, 3.7.3::gentoo
dev-util/cmake:           3.14.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.15::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1-r4::gentoo, 2.32::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo, 8.2.0-r2::gentoo, 8.3.0::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.20::gentoo (virtual/os-headers)
sys-libs/glibc:           2.28-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.namerica.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

hsoft
    location: /var/lib/layman/hsoft
    masters: gentoo
    priority: 50

kde
    location: /var/lib/layman/kde
    masters: gentoo
    priority: 50

tox-overlay
    location: /var/lib/layman/tox-overlay
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA Introversion AdobeFlash-11.x Google-TOS LOKI-EULA CAPYBARA-EULA MakeMKV-EULA Gameplay-Group-EULA skype-4.0.0.7-copyright"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -msse -msse2 -mmmx -m3dnow -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -msse -msse2 -mmmx -m3dnow -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="rsync://gentoo.gossamerhost.com/gentoo-distfiles/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.mirror.web4u.cz/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en-US.utf8 ja_JP en ja"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 ass avahi bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt custom-cflags custom-optimization cxx dbus declarative dlna dri dts dvd dvdr emboss encode exif fam fbsplash flac fortran gdbm gif git glamor gpm iconv ipv6 jpeg kde kipi kwallet lcms libass libav libnotify libtirpc lzma mad mng mp3 mp4 mpeg multilib musicbrainz ncurses nls nptl offensive ogg opengl openmp pam pango pcre pdf pgo phonon plasma png policykit ppds qml qt5 readline samba sdl seccomp semantic-desktop sms spell srt ssl startup-notification subversion svg taglib tcpd theora tiff truetype udev udisks unicode upnp upower usb vaapi vdpau vim-syntax vlc vorbis widgets wifi wxwidgets x264 xattr xcb xcomposite xml xv xvid zeroconf zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" L10N="en-US.utf8 ja_JP en ja" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="fbdev radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Zoltan Puskas 2019-04-05 07:10:54 UTC
Based on repo hash the version of ninja seems to be ninja-1.8.2-r2, is that correct?
Comment 2 Zoltan Puskas 2019-04-05 08:06:51 UTC
Cannot reproduce, I've built kicad-5.0.1 with multiple USE flag combinations successfully.

Please attach full build log and USE flags used on kicad.
Comment 3 A Schenck 2019-04-06 02:21:24 UTC
(In reply to Zoltan Puskas from comment #1)
> Based on repo hash the version of ninja seems to be ninja-1.8.2-r2, is that
> correct?

Yes.


(In reply to Zoltan Puskas from comment #2)
> Cannot reproduce, I've built kicad-5.0.1 with multiple USE flag combinations
> successfully.
> 
> Please attach full build log and USE flags used on kicad.


Sorry, I assumed it would be obvious since there have been similar issues with ninja js. make.  Here's the console output from emece ad the build.log is attached:
emerge -atv kicad

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild   R    ] sci-electronics/kicad-5.0.1::gentoo  USE="ngspice oce openmp python -doc -examples -github -occ" PYTHON_TARGETS="python2_7" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] 

>>> Verifying ebuild manifests
>>> Running pre-merge checks for sci-electronics/kicad-5.0.1
 * Checking for at least 800 MiB disk space at "/var/tmp/portage/sci-electronics/kicad-5.0.1/t [ ok ].

>>> Emerging (1 of 1) sci-electronics/kicad-5.0.1::gentoo
 * kicad-5.0.1.tar.xz BLAKE2B SHA512 size ;-) ...                                              [ ok ]

 * Requested wxWidgets:        3.0
 * Using wxWidgets:            gtk2-unicode-3.0

 * Checking for at least 800 MiB disk space at "/var/tmp/portage/sci-electronics/kicad-5.0.1/t [ ok ].
>>> Unpacking source...
>>> Unpacking kicad-5.0.1.tar.xz to /var/tmp/portage/sci-electronics/kicad-5.0.1/work
>>> Source unpacked in /var/tmp/portage/sci-electronics/kicad-5.0.1/work
>>> Preparing source in /var/tmp/portage/sci-electronics/kicad-5.0.1/work/kicad-5.0.1 ...
 * Applying kicad-5.0.0-curl.patch ...                                                         [ ok ]
 * Applying kicad-help-path.patch ...                                                          [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sci-electronics/kicad-5.0.1/work/kicad-5.0.1 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/sci-electronics/kicad-5.0.1/work/kicad-5.0.1_build"
cmake -C /var/tmp/portage/sci-electronics/kicad-5.0.1/work/kicad-5.0.1_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DKICAD_DOCS=/usr/share/doc/kicad-5.0.1 -DKICAD_HELP=/usr/share/doc/kicad-doc-5.0.1 -DBUILD_GITHUB_PLUGIN=no -DKICAD_SCRIPTING=yes -DKICAD_SCRIPTING_MODULES=yes -DKICAD_SCRIPTING_WXPYTHON=yes -DKICAD_SCRIPTING_ACTION_MENU=yes -DKICAD_SPICE=yes -DKICAD_USE_OCC=no -DKICAD_USE_OCE=yes -DKICAD_INSTALL_DEMOS=no -DPYTHON_DEST=/usr/lib64/python2.7/site-packages -DPYTHON_EXECUTABLE=/usr/bin/python2.7 -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 -DPYTHON_LIBRARY=/usr/lib64/libpython2.7.so -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sci-electronics/kicad-5.0.1/work/kicad-5.0.1_build/gentoo_toolchain.cmake  /var/tmp/portage/sci-electronics/kicad-5.0.1/work/kicad-5.0.1
loading initial cache file /var/tmp/portage/sci-electronics/kicad-5.0.1/work/kicad-5.0.1_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Kicad install dir: </usr>
-- Looking for malloc.h
-- Looking for malloc.h - found
-- Looking for iso646.h
-- Looking for iso646.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strncasecmp
-- Looking for strncasecmp - found
-- Looking for strtok_r
-- Looking for strtok_r - found
-- Looking for malloc
-- Looking for malloc - found
-- Looking for math.h
-- Looking for math.h - found
-- Looking for C++ include cmath
-- Looking for C++ include cmath - found
-- Looking for asinh
-- Looking for asinh - found
-- Looking for acosh
-- Looking for acosh - found
-- Looking for atanh
-- Looking for atanh - found
-- Performing Test HAVE_CMATH_ISINF
-- Performing Test HAVE_CMATH_ISINF - Success
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for getc_unlocked
-- Looking for getc_unlocked - found
-- Performing Test COMPILER_SUPPORTS_WSUGGEST_OVERRIDE
-- Performing Test COMPILER_SUPPORTS_WSUGGEST_OVERRIDE - Success
-- Performing Test COMPILER_SUPPORTS_WSHADOW
-- Performing Test COMPILER_SUPPORTS_WSHADOW - Success
-- Found wxWidgets: -L/usr/lib64;-pthread;;;-lwx_gtk2u_gl-3.0;-lwx_gtk2u_aui-3.0;-lwx_gtk2u_adv-3.0;-lwx_gtk2u_html-3.0;-lwx_gtk2u_core-3.0;-lwx_baseu_net-3.0;-lwx_baseu-3.0;-lwx_baseu_xml-3.0;-lwx_gtk2u_stc-3.0 (found suitable version "3.0.4", minimum required is "3.0.0") 
-- Found OpenGL: /usr/lib/libGL.so   
-- Found GLEW: /usr/include  
-- Check for installed GLEW -- found
-- Found GLM: /usr/include (found suitable version "0.9.9.2", minimum required is "0.9.5.1") 
-- Found PkgConfig: x86_64-pc-linux-gnu-pkg-config (found version "0.29.2") 
-- Checking for module 'cairo'
--   Found cairo, version 1.16.0
-- Found Cairo: /usr/lib64/libcairo.so (found suitable version "1.16.0", minimum required is "1.8.8") 
-- Checking for module 'pixman-1'
--   Found pixman-1, version 0.38.0
-- Found Pixman: /usr/lib64/libpixman-1.so (found suitable version "0.38.0", minimum required is "0.30") 
-- Boost version: 1.65.0
-- Found ngspice: /usr/include  
-- Found SWIG: /usr/bin/swig (found suitable version "3.0.12", minimum required is "3.0") 
-- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.16", minimum required is "2.6") 
-- Check for installed Python Interpreter -- found
-- Python module install path: /usr/lib64/python2.7/site-packages
-- Found PythonLibs: /usr/lib64/libpython2.7.so (found suitable version "2.7.16", minimum required is "2.6") 
-- wxPython version 3.0 found.
/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py:16629: UserWarning: wxPython/wxWidgets release number mismatch
  warnings.warn("wxPython/wxWidgets release number mismatch")
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- WARNING: Doxygen not found - doxygen-docs (Source Docs) target not created
-- Found OpenSSL: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so (found version "1.1.0j") 
-- S3DSG version: 2.0.0
-- Boost version: 1.65.0
-- Found the following Boost libraries:
--   unit_test_framework
-- Boost version: 1.65.0
-- Found the following Boost libraries:
--   unit_test_framework
-- Boost version: 1.65.0
-- Found the following Boost libraries:
--   unit_test_framework
-- Boost version: 1.65.0
-- Found the following Boost libraries:
--   unit_test_framework
-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -Wall -O2 -march=native -msse -msse2 -mmmx -m3dnow -fomit-frame-pointer -pipe
C++             -Wall -O2 -march=native -msse -msse2 -mmmx -m3dnow -fomit-frame-pointer -pipe -Wsuggest-override -Wno-unused-local-typedefs -Wno-strict-aliasing -pthread
Linker flags:
Executable      -Wl,-O1 -Wl,--as-needed
Module          -Wl,--no-undefined -Wl,-Bsymbolic
Shared          -Wl,--no-undefined -Wl,-Bsymbolic

-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/sci-electronics/kicad-5.0.1/work/kicad-5.0.1_build
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sci-electronics/kicad-5.0.1/work/kicad-5.0.1 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/sci-electronics/kicad-5.0.1/work/kicad-5.0.1_build"
ninja -v -j3 -l0
ninja: error: build.ninja:14874: multiple rules generate pcbnew/_pcbnew.so [-w dupbuild=err]

 * ERROR: sci-electronics/kicad-5.0.1::gentoo failed (compile phase):
 *   ninja -v -j3 -l0 failed
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_compile
 *   environment, line 4430:  Called cmake-utils_src_compile
 *   environment, line 1196:  Called cmake-utils_src_make
 *   environment, line 1377:  Called _cmake_ninja_src_make
 *   environment, line  430:  Called eninja
 *   environment, line 1707:  Called die
 * The specific snippet of code:
 *       "$@" || die "${nonfatal_args[@]}" "${*} failed"
 * 
 * If you need support, post the output of `emerge --info '=sci-electronics/kicad-5.0.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sci-electronics/kicad-5.0.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sci-electronics/kicad-5.0.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-electronics/kicad-5.0.1/temp/environment'.
 * Working directory: '/var/tmp/portage/sci-electronics/kicad-5.0.1/work/kicad-5.0.1_build'
 * S: '/var/tmp/portage/sci-electronics/kicad-5.0.1/work/kicad-5.0.1'

>>> Failed to emerge sci-electronics/kicad-5.0.1, Log file:

>>>  '/var/tmp/portage/sci-electronics/kicad-5.0.1/temp/build.log'

 * Messages for package sci-electronics/kicad-5.0.1:

 * ERROR: sci-electronics/kicad-5.0.1::gentoo failed (compile phase):
 *   ninja -v -j3 -l0 failed
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_compile
 *   environment, line 4430:  Called cmake-utils_src_compile
 *   environment, line 1196:  Called cmake-utils_src_make
 *   environment, line 1377:  Called _cmake_ninja_src_make
 *   environment, line  430:  Called eninja
 *   environment, line 1707:  Called die
 * The specific snippet of code:
 *       "$@" || die "${nonfatal_args[@]}" "${*} failed"
 * 
 * If you need support, post the output of `emerge --info '=sci-electronics/kicad-5.0.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sci-electronics/kicad-5.0.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sci-electronics/kicad-5.0.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-electronics/kicad-5.0.1/temp/environment'.
 * Working directory: '/var/tmp/portage/sci-electronics/kicad-5.0.1/work/kicad-5.0.1_build'
 * S: '/var/tmp/portage/sci-electronics/kicad-5.0.1/work/kicad-5.0.1'
Comment 4 A Schenck 2019-04-06 02:24:49 UTC
Created attachment 572010 [details]
Failing build.log
Comment 5 Zoltan Puskas 2019-05-23 09:06:25 UTC
Still cannot reproduce. Are you running a mix of stable and testing ebuilds? Did you do revdep-rebuild, etc? Maybe also rebuild ninja.
Comment 6 A Schenck 2019-05-30 00:30:44 UTC
(In reply to Zoltan Puskas from comment #5)
> Still cannot reproduce. Are you running a mix of stable and testing ebuilds?
> Did you do revdep-rebuild, etc? Maybe also rebuild ninja.

Sorry, I've been very distracted lately.  I think I tried rebuilding ninja and other build dependencies before, but will try again and try to look at other parts of my particular setup that could possibly have an effect.
Comment 7 Zoltan Puskas 2019-12-15 22:00:56 UTC
I've managed to reproduce this, ironically only on 5.1.5. Related upstream bug report: https://bugs.launchpad.net/kicad/+bug/1789468

It seems I will have to backport the patch.
Comment 8 Larry the Git Cow gentoo-dev 2020-05-14 10:35:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41cbc5c9a11f007e126063bc7b60e57b8ca24538

commit 41cbc5c9a11f007e126063bc7b60e57b8ca24538
Author:     Zoltan Puskas <zoltan@sinustrom.info>
AuthorDate: 2020-05-12 08:10:34 +0000
Commit:     Alexey Shvetsov <alexxy@gentoo.org>
CommitDate: 2020-05-14 10:34:15 +0000

    sci-electronics/kicad: Drop 5.0.1
    
    Closes: https://bugs.gentoo.org/682480
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Zoltan Puskas <zoltan@sinustrom.info>
    Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>

 sci-electronics/kicad/Manifest                     |   1 -
 sci-electronics/kicad/files/kicad-5.0.0-curl.patch |  23 ----
 sci-electronics/kicad/files/kicad-5.0.0-help.patch | 117 -------------------
 sci-electronics/kicad/kicad-5.0.1.ebuild           | 130 ---------------------
 4 files changed, 271 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eea69141f8a758b5205b69a1495332aff9e78e9

commit 0eea69141f8a758b5205b69a1495332aff9e78e9
Author:     Zoltan Puskas <zoltan@sinustrom.info>
AuthorDate: 2019-12-19 10:26:24 +0000
Commit:     Alexey Shvetsov <alexxy@gentoo.org>
CommitDate: 2020-05-14 10:34:07 +0000

    sci-electronics/kicad: Fix build failure and QA
    
    Fix recent build failure in KiCAD. Also apply backported
    patches from upstream to address QA issues that remained
    since introducing this version of the ebuild.
    
    Package-Manager: Portage-2.3.80, Repoman-2.3.19
    Signed-off-by: Zoltan Puskas <zoltan@sinustrom.info>
    Closes: https://bugs.gentoo.org/682480
    Closes: https://bugs.gentoo.org/722288
    Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>

 .../kicad/files/kicad-5.1.5-ninja-build.patch      |  6 +++---
 .../kicad/files/kicad-5.1.5-strict-aliasing.patch  | 25 ++++++++++++++++++++++
 .../kicad/files/kicad-algorithm-header.patch       | 11 ++++++++++
 sci-electronics/kicad/files/kicad-metainfo.patch   | 12 +++++++++++
 ...kicad-5.1.5-r1.ebuild => kicad-5.1.5-r2.ebuild} | 17 ++++++++++++++-
 5 files changed, 67 insertions(+), 4 deletions(-)