View previous topic :: View next topic |
Author |
Message |
BANANMANX47 n00b
Joined: 01 May 2018 Posts: 7
|
Posted: Mon Dec 03, 2018 8:45 pm Post subject: Mujs fails to emerge [SOLVED] |
|
|
During recent world update (emerge -avuDN --with-bdeps=y @world) mujs was added as a dependency for mupdf and mpv, but it fails to emerge, error seems to be:
mv: failed to access '/var/tmp/portage/dev-lang/mujs-1.0.4/homedir/Archive/': No such file or directory
Note1: In order to update the other software I have updated without mujs. To do so I disabled javascript useflag for mpv, mupdf and reverted mupdf to an older version as the new version required mujs regardless, and excluded mupdf from world update with --exclude.
Note2: cups is failing to emerge now as well, with the same error (mv: failed to access '/var/tmp/portage/net-print/cups-2.2.7/homedir/Archive/': No such file or directory). I will post logs as well if requested but given cups depends on mupdf it is probably caused by me not updating mupdf?
Mujs emerge --info output:
emerge --info '=dev-lang/mujs-1.0.4::gentoo'
Code: | Portage 2.3.51 (python 3.5.5-final-0, default/linux/amd64/17.0/desktop, gcc-7.3.0, glibc-2.27-r6, 4.14.83-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-4.14.83-gentoo-x86_64-Intel-R-_Core-TM-_i5-3470_CPU_@_3.20GHz-with-gentoo-2.6
KiB Mem: 8122968 total, 5910320 free
KiB Swap: 8191996 total, 8191996 free
Timestamp of repository gentoo: Mon, 03 Dec 2018 19:00:01 +0000
Head commit of repository gentoo: 0aaec72a8df6a65829366fffe125c50567adac21
sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p5) 2.30.0
app-shells/bash: 4.4_p12::gentoo
dev-lang/perl: 5.24.3-r1::gentoo
dev-lang/python: 2.7.15::gentoo, 3.5.5::gentoo, 3.6.5::gentoo
dev-util/cmake: 3.9.6::gentoo
dev-util/pkgconfig: 0.29.2::gentoo
sys-apps/baselayout: 2.6-r1::gentoo
sys-apps/openrc: 0.38.3::gentoo
sys-apps/sandbox: 2.13::gentoo
sys-devel/autoconf: 2.69-r4::gentoo
sys-devel/automake: 1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils: 2.30-r4::gentoo
sys-devel/gcc: 7.3.0-r3::gentoo
sys-devel/gcc-config: 1.8-r1::gentoo
sys-devel/libtool: 2.4.6-r3::gentoo
sys-devel/make: 4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc: 2.27-r6::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-verify-metamanifest: no
sync-rsync-verify-jobs: 1
sync-rsync-extra-opts:
sync-rsync-verify-max-age: 24
ACCEPT_KEYWORDS="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/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"
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-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict 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="ftp://mirror.mdfnet.se/gentoo http://mirror.mdfnet.se/gentoo"
LANG="da_DK.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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 acpi alsa amd64 bzip2 cairo cdda cdr cli crypt cups cxx dri dts dvd dvdr emboss encode exif fam flac fortran gif glamor iconv ipv6 jpeg lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nptl nvidia ogg opengl openmp pango pcre pdf png ppds readline sdl seccomp snmp spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vdpau vorbis wxwidgets x264 xattr xcb xml xv xvid 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 plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" 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="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" 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="ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS |
Output of emerge -pqv '=dev-lang/mujs-1.0.4::gentoo':
Code: | [ebuild N ] dev-lang/mujs-1.0.4 USE="-static-libs" |
Build log:
Code: | [32;01m * [39;49;00mPackage: dev-lang/mujs-1.0.4
[32;01m * [39;49;00mRepository: gentoo
[32;01m * [39;49;00mMaintainer: vdupras@gentoo.org
[32;01m * [39;49;00mUpstream: https://github.com/ccxvii/mujs/issues
[32;01m * [39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
[32;01m * [39;49;00mFEATURES: preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking mujs-1.0.4.tar.xz to /var/tmp/portage/dev-lang/mujs-1.0.4/work
>>> Source unpacked in /var/tmp/portage/dev-lang/mujs-1.0.4/work
>>> Preparing source in /var/tmp/portage/dev-lang/mujs-1.0.4/work/mujs-1.0.4 ...
[32;01m*[0m Applying mujs-1.0.4-gentoo.patch ...
[A[97C [34;01m[ [32;01mok[34;01m ][0m
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-lang/mujs-1.0.4/work/mujs-1.0.4 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-lang/mujs-1.0.4/work/mujs-1.0.4 ...
make -j5 VERSION=1.0.4 prefix=/usr shared
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fPIC -Wl,-soname=libmujs.so.1.0.4 -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter -Os -DHAVE_READLINE -o build/release/libmujs.o -c one.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fPIC -Wl,-soname=libmujs.so.1.0.4 -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter -Os -DHAVE_READLINE -o build/release/pp.o -c pp.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fPIC -Wl,-soname=libmujs.so.1.0.4 -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter -Os -DHAVE_READLINE -o build/release/main.o -c main.c
Creating build/release/mujs.pc
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fPIC -Wl,-soname=libmujs.so.1.0.4 -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter -Os -DHAVE_READLINE -fPIC -shared -o build/release/libmujs.so one.c -lm
[01m[Kpp.c:[m[K In function '[01m[Kmain[m[K':
[01m[Kpp.c:88:6:[m[K [01;35m[Kwarning: [m[Kvariable '[01m[Kminify[m[K' might be clobbered by '[01m[Klongjmp[m[K' or '[01m[Kvfork[m[K' [[01;35m[K-Wclobbered[m[K]
int [01;35m[Kminify[m[K = 0;
[01;35m[K^~~~~~[m[K
In file included from [01m[Kone.c:22:0[m[K:
[01m[Kjsstring.c:[m[K In function '[01m[KSp_replace_regexp[m[K':
[01m[Kjsstring.c:429:13:[m[K [01;35m[Kwarning: [m[Kthis statement may fall through [[01;35m[K-Wimplicit-fallthrough=[m[K]
case 0: [01;35m[K--r[m[K; /* end of string; back up and fall through */
[01;35m[K^~~[m[K
[01m[Kjsstring.c:430:5:[m[K [01;36m[Knote: [m[Khere
[01;36m[Kcase[m[K '$': js_putc(J, &sb, '$'); break;
[01;36m[K^~~~[m[K
[01m[Kjsstring.c:[m[K In function '[01m[KSp_replace_string[m[K':
[01m[Kjsstring.c:525:13:[m[K [01;35m[Kwarning: [m[Kthis statement may fall through [[01;35m[K-Wimplicit-fallthrough=[m[K]
case 0: [01;35m[K--r[m[K; /* end of string; back up and fall through */
[01;35m[K^~~[m[K
[01m[Kjsstring.c:526:5:[m[K [01;36m[Knote: [m[Khere
[01;36m[Kcase[m[K '$': js_putc(J, &sb, '$'); break;
[01;36m[K^~~~[m[K
In file included from [01m[Kone.c:24:0[m[K:
[01m[Kregexp.c:[m[K In function '[01m[Knextrune[m[K':
[01m[Kregexp.c:113:11:[m[K [01;35m[Kwarning: [m[Kthis statement may fall through [[01;35m[K-Wimplicit-fallthrough=[m[K]
case 0: [01;35m[Kdie(g, "unterminated escape sequence")[m[K;
[01;35m[K^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[m[K
[01m[Kregexp.c:114:3:[m[K [01;36m[Knote: [m[Khere
[01;36m[Kcase[m[K 'f': g->yychar = '\f'; return 0;
[01;36m[K^~~~[m[K
In file included from [01m[Kone.c:22:0[m[K:
[01m[Kjsstring.c:[m[K In function '[01m[KSp_replace_regexp[m[K':
[01m[Kjsstring.c:429:13:[m[K [01;35m[Kwarning: [m[Kthis statement may fall through [[01;35m[K-Wimplicit-fallthrough=[m[K]
case 0: [01;35m[K--r[m[K; /* end of string; back up and fall through */
[01;35m[K^~~[m[K
[01m[Kjsstring.c:430:5:[m[K [01;36m[Knote: [m[Khere
[01;36m[Kcase[m[K '$': js_putc(J, &sb, '$'); break;
[01;36m[K^~~~[m[K
[01m[Kjsstring.c:[m[K In function '[01m[KSp_replace_string[m[K':
[01m[Kjsstring.c:525:13:[m[K [01;35m[Kwarning: [m[Kthis statement may fall through [[01;35m[K-Wimplicit-fallthrough=[m[K]
case 0: [01;35m[K--r[m[K; /* end of string; back up and fall through */
[01;35m[K^~~[m[K
[01m[Kjsstring.c:526:5:[m[K [01;36m[Knote: [m[Khere
[01;36m[Kcase[m[K '$': js_putc(J, &sb, '$'); break;
[01;36m[K^~~~[m[K
In file included from [01m[Kone.c:24:0[m[K:
[01m[Kregexp.c:[m[K In function '[01m[Knextrune[m[K':
[01m[Kregexp.c:113:11:[m[K [01;35m[Kwarning: [m[Kthis statement may fall through [[01;35m[K-Wimplicit-fallthrough=[m[K]
case 0: [01;35m[Kdie(g, "unterminated escape sequence")[m[K;
[01;35m[K^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[m[K
[01m[Kregexp.c:114:3:[m[K [01;36m[Knote: [m[Khere
[01;36m[Kcase[m[K 'f': g->yychar = '\f'; return 0;
[01;36m[K^~~~[m[K
In file included from [01m[Kone.c:3:0[m[K:
[01m[Kjsbuiltin.c:[m[K In function '[01m[KEncode[m[K':
[01m[Kjsbuiltin.c:100:45:[m[K [01;35m[Kwarning: [m[Kargument '[01m[Kstr[m[K' might be clobbered by '[01m[Klongjmp[m[K' or '[01m[Kvfork[m[K' [[01;35m[K-Wclobbered[m[K]
static void Encode(js_State *J, const char *[01;35m[Kstr[m[K, const char *unescaped)
[01;35m[K^~~[m[K
In file included from [01m[Kone.c:3:0[m[K:
[01m[Kjsbuiltin.c:[m[K In function '[01m[KEncode[m[K':
[01m[Kjsbuiltin.c:100:45:[m[K [01;35m[Kwarning: [m[Kargument '[01m[Kstr[m[K' might be clobbered by '[01m[Klongjmp[m[K' or '[01m[Kvfork[m[K' [[01;35m[K-Wclobbered[m[K]
static void Encode(js_State *J, const char *[01;35m[Kstr[m[K, const char *unescaped)
[01;35m[K^~~[m[K
[01m[Kjsbuiltin.c:[m[K In function '[01m[KDecode[m[K':
[01m[Kjsbuiltin.c:128:45:[m[K [01;35m[Kwarning: [m[Kargument '[01m[Kstr[m[K' might be clobbered by '[01m[Klongjmp[m[K' or '[01m[Kvfork[m[K' [[01;35m[K-Wclobbered[m[K]
static void Decode(js_State *J, const char *[01;35m[Kstr[m[K, const char *reserved)
[01;35m[K^~~[m[K
[01m[Kjsbuiltin.c:[m[K In function '[01m[KDecode[m[K':
[01m[Kjsbuiltin.c:128:45:[m[K [01;35m[Kwarning: [m[Kargument '[01m[Kstr[m[K' might be clobbered by '[01m[Klongjmp[m[K' or '[01m[Kvfork[m[K' [[01;35m[K-Wclobbered[m[K]
static void Decode(js_State *J, const char *[01;35m[Kstr[m[K, const char *reserved)
[01;35m[K^~~[m[K
In file included from [01m[Kone.c:16:0[m[K:
[01m[Kjson.c:[m[K In function '[01m[KJSON_stringify[m[K':
[01m[Kjson.c:327:18:[m[K [01;35m[Kwarning: [m[Kvariable '[01m[Kgap[m[K' might be clobbered by '[01m[Klongjmp[m[K' or '[01m[Kvfork[m[K' [[01;35m[K-Wclobbered[m[K]
const char *s, *[01;35m[Kgap[m[K;
[01;35m[K^~~[m[K
In file included from [01m[Kone.c:16:0[m[K:
[01m[Kjson.c:[m[K In function '[01m[KJSON_stringify[m[K':
[01m[Kjson.c:327:18:[m[K [01;35m[Kwarning: [m[Kvariable '[01m[Kgap[m[K' might be clobbered by '[01m[Klongjmp[m[K' or '[01m[Kvfork[m[K' [[01;35m[K-Wclobbered[m[K]
const char *s, *[01;35m[Kgap[m[K;
[01;35m[K^~~[m[K
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o build/release/mujs-pp build/release/libmujs.o build/release/pp.o -lm
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o build/release/mujs build/release/libmujs.o build/release/main.o -lreadline -lm
ar cr build/release/libmujs.a build/release/libmujs.o
mv: failed to access '/var/tmp/portage/dev-lang/mujs-1.0.4/homedir/Archive/': No such file or directory
make: *** [Makefile:76: build/release/libmujs.a] Error 1
make: *** Waiting for unfinished jobs....
[31;01m*[0m ERROR: dev-lang/mujs-1.0.4::gentoo failed (compile phase):
[31;01m*[0m emake failed
[31;01m*[0m
[31;01m*[0m If you need support, post the output of `emerge --info '=dev-lang/mujs-1.0.4::gentoo'`,
[31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-lang/mujs-1.0.4::gentoo'`.
[31;01m*[0m The complete build log is located at '/var/tmp/portage/dev-lang/mujs-1.0.4/temp/build.log'.
[31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-lang/mujs-1.0.4/temp/environment'.
[31;01m*[0m Working directory: '/var/tmp/portage/dev-lang/mujs-1.0.4/work/mujs-1.0.4'
[31;01m*[0m S: '/var/tmp/portage/dev-lang/mujs-1.0.4/work/mujs-1.0.4' |
[Moderator edit: added [code] tags to preserve output layout. -Hu]
Last edited by BANANMANX47 on Thu Dec 06, 2018 10:04 am; edited 2 times in total |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30894 Location: here
|
Posted: Tue Dec 04, 2018 6:26 am Post subject: |
|
|
You can post build.log with wgetpaste when you run emerge -d1 mujs command? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
BANANMANX47 n00b
Joined: 01 May 2018 Posts: 7
|
|
Back to top |
|
|
BANANMANX47 n00b
Joined: 01 May 2018 Posts: 7
|
Posted: Thu Dec 06, 2018 10:04 am Post subject: |
|
|
I think I fixed it myself, it was due to user error on my part so sorry for wasting peoples time.
It seems a shell script I had made was being executed due to bad naming by me, and having modified my root path as well as uncommented the line in /etc/profile that unsets the ROOTPATH, or at least that is what I think but I already removed my script that was causing a problem as it was outdated anyway so I am not sure. Lesson learned to be more careful with naming and probably start using aliases. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|