Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 579184 - app-editors/atom-1.6.2: eapply_user (or default) must be called in src_prepare()!
Summary: app-editors/atom-1.6.2: eapply_user (or default) must be called in src_prepar...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Elvis Pranskevichus
URL:
Whiteboard:
Keywords:
: 579392 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-04-06 21:36 UTC by manwe
Modified: 2016-05-19 16:53 UTC (History)
11 users (show)

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


Attachments
log (atom.log.xz,141.85 KB, text/plain)
2016-04-07 18:36 UTC, manwe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description manwe 2016-04-06 21:36:12 UTC
* Package:    app-editors/atom-1.6.2
 * Repository: gentoo
 * Maintainer: cynede@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking 1.6.2.tar.gz to /var/tmp/portage/app-editors/atom-1.6.2/work
>>> Source unpacked in /var/tmp/portage/app-editors/atom-1.6.2/work
>>> Preparing source in /var/tmp/portage/app-editors/atom-1.6.2/work/atom-1.6.2 ...
 * Applying atom-python.patch ...
 [ ok ]
 * ERROR: app-editors/atom-1.6.2::gentoo failed (prepare phase):
 *   eapply_user (or default) must be called in src_prepare()!
 * 
 * Call stack:
 *            ebuild.sh, line  780:  Called __ebuild_main 'prepare'
 *   phase-functions.sh, line 1005:  Called __dyn_prepare
 *   phase-functions.sh, line  380:  Called die
 * The specific snippet of code:
 *              die "eapply_user (or default) must be called in src_prepare()!"



Reproducible: Always




# emerge --ignore-default-opts --info
Portage 2.2.28 (python 3.4.3-final-0, default/linux/amd64/13.0, gcc-4.9.3, glibc-2.22-r4, 4.5.0-gentoo-r1-dtop-v1 x86_64)
=================================================================
System uname: Linux-4.5.0-gentoo-r1-dtop-v1-x86_64-Intel-R-_Core-TM-_i7-4790K_CPU_@_4.00GHz-with-gentoo-2.2
KiB Mem:    16177056 total,  12786276 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of repository gentoo: Wed, 06 Apr 2016 21:00:01 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.3_p42-r2::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo
dev-util/cmake:           3.5.1::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.20.5::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:            4.9.3::gentoo, 5.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.5::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

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

manwe
    location: /usr/portages/layman/manwe
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=corei7 -mtune=generic"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /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/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=corei7 -mtune=generic"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--verbose --ask --tree --keep-going --usepkg --with-bdeps y --buildpkg --jobs 2"
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 xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl_PL.utf8"
LC_ALL="pl_PL.utf8"
LDFLAGS="-Wl,--as-needed -Wl,-O1"
MAKEOPTS="-j5"
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 aalib acl acpi aiglx alsa amd64 apm bash-completion bcmath berkdb bluetooth bmp branding browserplugin bzip2 calendar cdinstall cdr cleartype cli cracklib crypt cups cxx dbus directfb dri dvd dvdr dvdread encode fbcon ffmpeg flac fortran ftp gd-exteral gdbm gif glut gpm gtk2 gtk3 http2 iconv ieee1394 jabber javascript jpeg libnotify libwww mmx mmxext modules mozilla mp3 mpd mpeg3 multilib mysql ncurses newspr nls nptl nptlonly nsplugin nvidia ogg opengl openmp pam pcre pdf perl php png pulseaudio readline seccomp session smp soap spell sse sse2 sse3 sse4_1 ssl ssse3 svg tcpd threads tiff truetype truetype-fonts unicode usb userlocales vdpau vhosts vim wifi win32codecs with-x wmf xattr xcomposite xinerama xml xmpp xorg xosd xv xvid zlib" ABI_X86="64" ALSA_CARDS="usb-audio hda-intel" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="gnutls" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="mouse keyboard evdev synaptics" KERNEL="linux" LCD_DEVICES="g15" LINGUAS="pl" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_req limit_conn map memcached gzip_static proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi addition fancyindex geoip upload upload_progress stub_status headers_more echo sub spdy metrics auth_request enmemcache tcpproxy v2 set_misc ndk gunzip lua lua_upstream redis upstream_hash upstream_keepalive upstream_least_conn upstream_zone" NGINX_MODULES_MAIL="imap pop3 smtp" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3 php5-5 php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby20 ruby21 ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="nvidia nv fbdev intel i965" 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, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Mike Gilbert gentoo-dev 2016-04-06 22:34:01 UTC
Was this ebuild tested?
Comment 2 Adam Feldman gentoo-dev 2016-04-06 23:04:21 UTC
I dropped a message in IRC, but I'll duplicate here in case it was missed.

We currently have https://github.com/gentoo/gentoo/pull/1200 in progress which would allow this to be built completely from source, using electron as a dependency, Do you have any thoughts on just reverting/masking this for now and holding off until we can get an ebuild based on electron?
Comment 3 manwe 2016-04-07 18:36:54 UTC
Created attachment 429868 [details]
log

I seen new ebuild. We're getting somewhere but still needs some work. Build log is almost empty because everything is printed on terminal, so I'm attaching that. 

Error message:

/usr/bin/install: cannot stat '/var/tmp/portage/app-editors/atom-1.6.2/temp/Atom/*': No such file or directory
!!! doins: /var/tmp/portage/app-editors/atom-1.6.2/temp/Atom/* does not exist
Comment 4 Kobboi 2016-04-08 13:34:08 UTC
(In reply to Mike Gilbert from comment #1)
> Was this ebuild tested?

I guess not:

>>> Install atom-1.6.2 into /var/tmp/portage/app-editors/atom-1.6.2/image/ category app-editors
 * ERROR: app-editors/atom-1.6.2::gentoo failed (install phase):
 *   dosym: two arguments needed
Comment 5 manwe 2016-04-08 13:36:45 UTC
I don't get it. How is it that someone can send completly untested ebuild to production?
Comment 6 Kobboi 2016-04-08 13:38:00 UTC
Also, could it be that all these node dependencies are installed during compilation?
Comment 7 manwe 2016-04-08 14:02:10 UTC
OK, works after last commit 5ef36ff699cb6343c0f1207d84cf52a66c91c6bc.

With over 2k files in node modules. IMO those modules should be moved to separate ebuilds.
Comment 8 Adam Feldman gentoo-dev 2016-04-10 21:35:38 UTC
*** Bug 579392 has been marked as a duplicate of this bug. ***
Comment 9 Andrey Grozin gentoo-dev 2016-04-12 20:29:09 UTC
For me it hangs after printing the line

Installing background-tips@0.26.0
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2016-05-19 16:53:25 UTC
Seems to be all right in 1.7.3-r1.