Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 585116 - dev-util/electron-0.36.12-r2: automagic dependency on net-print/cups
Summary: dev-util/electron-0.36.12-r2: automagic dependency on net-print/cups
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Elvis Pranskevichus
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-05 18:15 UTC by Petr Šabata
Modified: 2016-06-12 22:11 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,24.11 KB, text/plain)
2016-06-05 18:15 UTC, Petr Šabata
Details
Full build.log (build.log.xz,366.69 KB, application/x-xz)
2016-06-07 13:59 UTC, Petr Šabata
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Šabata 2016-06-05 18:15:58 UTC
Created attachment 436574 [details]
build.log

Building electron fails on linking against CUPS which I don't have installed.  The `cups' USE flag is disabled as well, both for this package and globally.

Note I have the `custom-cflags' USE flag enabled but I don't think it's relevant in this case.

dev-util/electron-0.36.12-r2:0/36::gentoo  USE="custom-cflags -cups -gnome -gnome-keyring -hidpi -kerberos -lto (-neon) -pic -proprietary-codecs -pulseaudio (-selinux) -system-ffmpeg -tcmalloc {-test}" LINGUAS="-am -ar -bg -bn -ca -cs -da -de -el -en_GB -es -es_419 -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -ms -nb -nl -pl -pt_BR -pt_PT -ro -ru -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh_CN -zh_TW


# emerge --info
Portage 2.3.0_rc1 (python 3.5.1-final-0, default/linux/amd64/13.0, gcc-5.3.0, glibc-2.23-r2, 4.5.2-gentooovecka x86_64)
=================================================================
System uname: Linux-4.5.2-gentooovecka-x86_64-Intel-R-_Core-TM-_i5-5200U_CPU_@_2.20GHz-with-gentoo-2.2
KiB Mem:     7870032 total,   2189648 free
KiB Swap:    4194300 total,   4158168 free
Timestamp of repository gentoo: Sun, 05 Jun 2016 13:30:01 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r2::gentoo
dev-lang/perl:            5.24.0::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.5.1-r2::gentoo
dev-util/cmake:           3.5.2-r1::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.21::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2-r2::gentoo
sys-kernel/linux-headers: 4.6::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
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/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
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 alsa amd64 asm bzip2 cairo cjk crypt curl custom-cflags custom-optimization dri drm egl evdev fontconfig gif graphite harfbuzz iconv icu idn infinality inotify ipv6 ithreads jpeg kmod lzma mime netifrc nls nocxx nptl offensive ogg opengl openmp openrc pango pcre png readline smp ssl svg theora threads truetype udev unicode v4l vim-syntax vorbis webp xcb zlib" ABI_X86="64" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Michael 'veremitz' Everitt 2016-06-07 13:47:43 UTC
Please post a full build.log as what you've provided doesn't give enough information about the build process, only the failure message you've already stated. Thanks.
Comment 2 Petr Šabata 2016-06-07 13:59:40 UTC
Created attachment 436768 [details]
Full build.log
Comment 3 Patrice Clement gentoo-dev 2016-06-12 22:11:42 UTC
commit d0e3063815f3a4ae8ea583593f9d4eef3d53e460 (HEAD -> master, origin/master, origin/HEAD)
Author:     Elvis Pranskevichus <elvis@magic.io>
AuthorDate: Sun Jun 12 17:05:27 2016 -0400
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: Sun Jun 12 21:41:49 2016 +0000

dev-util/electron: Build node executable, fix automagic cups dependency.

Electron and apps based on it cannot rely on system NodeJS
for compatibility reasons. Fix this by building and using
a nodejs executable based on bundled nodejs code.

Additionally, fix automagic dependency on libcups and remove dependency on
system nodejs

Gentoo-Bug: https://bugs.gentoo.org/585116
Gentoo-Bug: https://bugs.gentoo.org/585490
Gentoo-Bug: https://bugs.gentoo.org/585464

Package-Manager: portage-2.2.28
Closes: https://github.com/gentoo/gentoo/pull/1664
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>

app-editors/atom/atom-1.7.4-r2.ebuild                         | 405 ----------------------------------------------------------
app-editors/atom/atom-1.7.4-r3.ebuild                         | 420 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
dev-util/electron/electron-0.36.12-r2.ebuild                  | 721 -------------------------------------------------------------------------------------------------------
dev-util/electron/electron-0.36.12-r3.ebuild                  | 722 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
dev-util/electron/files/brightray-gentoo-build-fixes-r1.patch |  37 +++++-
dev-util/electron/files/electron-gentoo-build-fixes.patch     | 127 +++++++++++++++++--
dev-util/electron/files/node-external-snapshots.patch         | 116 +++++++++++++++++
dev-util/electron/files/node-gentoo-build-fixes.patch         |  95 +++++++++++---
8 files changed, 1478 insertions(+), 1165 deletions(-)
delete mode 100644 app-editors/atom/atom-1.7.4-r2.ebuild
create mode 100644 app-editors/atom/atom-1.7.4-r3.ebuild
delete mode 100644 dev-util/electron/electron-0.36.12-r2.ebuild
create mode 100644 dev-util/electron/electron-0.36.12-r3.ebuild
create mode 100644 dev-util/electron/files/node-external-snapshots.patch