View previous topic :: View next topic |
Author |
Message |
deelkar n00b

Joined: 27 Aug 2004 Posts: 8
|
Posted: Mon Nov 05, 2018 8:11 am Post subject: OpenRC issue |
|
|
in various contexts I get the error:
Code: | /lib/rc/sh/rc-functions.sh: line 153: shell_var: command not found |
I googled this problem and found that
should fix said issue on gentoo. However it does not.
there is one warning while compiling
Code: | x86_64-pc-linux-gnu-gcc -fPIC -DPIC -I../includes -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200809L -march=native -O2 -pipe -std=c99 -Wall -Wextra -Wimplicit -Wshadow -Wformat=2 -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wnested-externs -Winline -Wwrite-strings -Wcast-align -Wcast-qual -Wpointer-arith -Wdeclaration-after-statement -Wsequence-point -Werror=implicit-function-declaration -c librc-stringlist.c -o librc-stringlist.So
librc-misc.c: In function ‘rc_config_kcl’:
librc-misc.c:280:9: warning: variable ‘len’ set but not used [-Wunused-but-set-variable]
size_t len = 0;
^~~
|
and then
Code: | >>> Regenerating /etc/ld.so.cache...
>>> Original instance of package unmerged safely.
/lib/rc/sh/rc-functions.sh: line 153: shell_var: command not found
* Caching service dependencies ... [ ok ]
>>> sys-apps/openrc-0.38.3 merged.
>>> Regenerating /etc/ld.so.cache...
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date.
|
This Gentoo system has been installed in 2004 originally and migrated from hardware to hardware since then. Re-Installing from scratch is currently not an option.
Emerge command: Code: | emerge -v1 openrc
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] sys-apps/openrc-0.38.3::gentoo USE="ncurses netifrc pam unicode -audit -debug -newnet (-prefix) (-selinux) -static-libs" 0 KiB
Total: 1 package (1 reinstall), Size of downloads: 0 KiB
|
I'm afraid I don't have sufficient knowledge to do any sensible poking or prodding to find out what's actually going wrong here. |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31497 Location: here
|
Posted: Mon Nov 05, 2018 8:18 am Post subject: |
|
|
You can post also emerge --info? You have file /lib64/rc/bin/shell_var? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
Fitzcarraldo Advocate


Joined: 30 Aug 2008 Posts: 2056 Location: United Kingdom
|
Posted: Mon Nov 05, 2018 9:30 am Post subject: |
|
|
I've seen that error message during boot once on my ~amd64 installation. Apparently it is sporadic. I believe it is related to a bug in OpenRC: https://bugs.gentoo.org/553978 . _________________ Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC systemd-utils[udev] elogind KDE on both.
My blog |
|
Back to top |
|
 |
deelkar n00b

Joined: 27 Aug 2004 Posts: 8
|
Posted: Sun Nov 11, 2018 9:50 pm Post subject: |
|
|
fedeliallalinea wrote: | You can post also emerge --info? You have file /lib64/rc/bin/shell_var? |
to answer the latter first, yes, /lib64/rc/bin/shell_var is existent and executable, also about 6kbyte in size.
Code: | # emerge --info
Portage 2.3.49 (python 3.6.5-final-0, default/linux/amd64/17.0, gcc-7.3.0, glibc-2.27-r6, 4.9.95-gentoo x86_64)
=================================================================
System uname: Linux-4.9.95-gentoo-x86_64-Intel-R-_Core-TM-_i5-4570_CPU_@_3.20GHz-with-gentoo-2.4.1
KiB Mem: 16072152 total, 4668240 free
KiB Swap: 7999484 total, 7996316 free
Timestamp of repository gentoo: Fri, 02 Nov 2018 07:00:01 +0000
Head commit of repository gentoo: 92cc7c28132dd325318abd0f1150e96a9e631036
sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p5) 2.30.0
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash: 4.4_p12::gentoo
dev-java/java-config: 2.2.0-r4::gentoo
dev-lang/perl: 5.24.3-r1::gentoo
dev-lang/python: 2.7.15::gentoo, 3.6.5::gentoo
dev-util/cmake: 3.9.6::gentoo
dev-util/pkgconfig: 0.29.2::gentoo
sys-apps/baselayout: 2.4.1-r2::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-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
perl-experimental
location: /usr/local/perl-overlay
masters: gentoo
priority: 1
sunrise
location: /var/lib/layman/sunrise
masters: gentoo
priority: 50
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
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 /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.1/ext-active/ /etc/php/apache2-php7.2/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY 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="http://localhost/ http://gentoo.inode.at/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ rsync://mirrors.sec.informatic.tu-darmstadt.de/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en"
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="64bit 7zip S3TC X a52 aac aalib acl acpi adns alsa amd64 amr amuled apache apache2 async audiofile bash-completion berkdb bonobo bootsplash bri bzip2 cairo cdparanoia cgi cjk cli consolekit crypt cscope cups curl cxx dbus dedicated dga directfb discouraged divx4linux dlz dri dts dv dvb dvd dvdr dvdread effects encode ethereal exif fastcgi fbcon fbdev ffmpeg flac flash font-server fontconfig fortran fpx freetds ftp fuse gd gdbm ggi gif gimp gimpprint gnome gphoto2 graphviz gtk gtkhtml gudev guile hddtemp http iconv icq id3tag idea idn imagemagick imap imlib inkjar innodb ipppd ipv6 java javascript jbig jikes jpeg keymap ladspa lcms libcaca libevent libmpeg2 libtirpc lirc live logrotate lua lzo mad maildir matroska mbox mcal memlimit mhash mng motif mozilla mpeg mpg123 mpi mplayer mschap multilib munin-apache munin-dhcp munin-squid mysql mythtv nas ncurses netboot network networking nls nowin nptl ntfs ogg openal opengl openmp openssh oscar oss pam pcre pdf pdo perl plotutils plugin png postgres ppds python qmail qt3 qt3support qt4 rdesktop readline reiserfs remote rrdcgi rrdtool rtc samba sasl savedefault scanner sdl seccomp sensord sguil slang slp smp sndfile speex spell sqlite sse-filters ssl svg tcl tcltk tcpd tga theora tiff truetype tty-helpers twolame unicode usb userlocales v4l v4l2 vboxwebsrv vnc vorbis wavpack wifi wmf wxgtk1 wxwindows xattr xine xml xml2 xprint xrandr xv xvid yaz zip zlib" ABI_X86="64 32" ALSA_CARDS="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="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="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" USERLAND="GNU" VIDEO_CARDS="vesa fbdev i810 intel none" 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
|
|
|
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
|
|