Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218183 - net-dialup/capi4k-utils-20050718-r3: syntax of /etc/init.d/capi incompatible with sys-apps/openrc-0.2.2
Summary: net-dialup/capi4k-utils-20050718-r3: syntax of /etc/init.d/capi incompatible ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stefan Briesenick (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-17 22:20 UTC by Martin von Gagern
Modified: 2011-06-15 07:47 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2008-04-17 22:20:42 UTC
* Caching service dependencies ...
/etc/init.d/capi: line 47: syntax error near unexpected token `<'
/etc/init.d/capi: line 47: `    done < <(/bin/sed 2>/dev/null -n "s:^[0-9]\+ \+\([^ ]\+\).*\$:\1:p" /proc/capi/controller)'

/etc/init.d/capi belongs to net-dialup/capi4k-utils-20050718-r3,
the error message happened ever since updating to OpenRC.
Comment 1 Stefan Briesenick (RETIRED) gentoo-dev 2008-04-21 00:18:50 UTC
fixed. please re-emerge.
Comment 2 Thomas Beutin 2011-06-15 06:25:06 UTC
the problem still exists:

# /etc/init.d/capi start
/etc/init.d/capi: line 47: syntax error near unexpected token `<'
/etc/init.d/capi: line 47: `	done < <(/bin/sed 2>/dev/null -n "s:^[0-9]\+ \+\([^ ]\+\).*\$:\1:p" /proc/capi/controller)'
/etc/init.d/capi: line 47: warning: syntax errors in . or eval will cause future versions of the shell to abort as Posix requires
 * capi: error loading /etc/init.d/capi
 * ERROR: capi failed to start

# emerge --info
Portage 2.1.9.42 (default/linux/x86/10.0/server, gcc-4.4.5, libc-0-r0, 2.6.38-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.38-gentoo-r6-i686-Pentium_II_-Deschutes-with-gentoo-2.0.2
Timestamp of tree: Mon, 13 Jun 2011 05:30:01 +0000
app-shells/bash:     4.1_p9
dev-lang/python:     2.4.6, 2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13::<unknown repository>, 2.65-r1
sys-devel/automake:  1.4_p6-r1, 1.5-r1, 1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.12.2
virtual/os-headers:  0
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -mtune=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/fax /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/bind /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.2/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cli-php5.2/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 -march=i686 -mtune=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.mirror.solnet.ch http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.ynet.sk/pub http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.romnet.org/gentoo/ http://gentoo.ITDNet.net/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.intergenia.de http://ftp.du.se/pub/os/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en_IE en_GB en"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /usr/local/portage"
SYNC="rsync://portage/gentoo-portage"
USE="aac apache2 avahi bash-completion bcmath berkdb bzip2 calendar caps cdr cgi clamd cli cracklib crypt ctype cups curl curlwrappers cxx dbus dri encode ethereal exif expat fastcgi ffmpeg flac flatfile fontconfig foomaticdb fortran fpx ftp gd gdbm geoip gif gmp graphviz gs hardened hardenedphp iconv idled imagemagick imap imlib inifile innodb ipv6 jbig jpeg jpeg2k kpathsea lame latex lcms ldap libwww logrotate logwatch lzo mad mhash milter mmap mmx mng modules mp3 mpeg mudflap mysql mysqli ncurses netpbm nls nptl nptlonly oav ogg openmp pam parse-clocks pcntl pcntpl pcre pdf pdflib perl php pic pie png pnp posix postgres ppds pppd python quicktime radius raw readline ruby samba sasl session sharedext sharedmem simplexml slp snmp snortsam soap sockets sox speex spell sqlite sqlite3 ssl subversion svg sysfs syslog sysvipc tcpd theora tidy tiff transparent-proxy truetype truetype-fonts trusted type1-fonts unicode usb userlocales v4l vhosts vim-syntax virus-scan vorbis wddx wmf x264 x86 xine xinetd xml xml2 xmlrpc xorg xpm xsl xvid yaz zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="access auth auth_basic authn_dbm dbd ident imagemap authn_dbd authn_file authn_default authz_groupfile authn_alias authn_anon authz_dbm authz_owner authz_default authz_user auth_digest authz_host alias file_cache echo charset_lite cache disk_cache mem_cache ext_filter case_filter case-filter-in deflate filter mime_magic cern_meta proxy_ajp proxy_balancer expires headers usertrack proxy proxy_connect proxy_ftp proxy_http info include cgi cgid dav dav_lock dav_fs vhost_alias speling rewrite log_config logio env setenvif mime status substitute autoindex asis negotiation dir imap actions userdir so unique_id" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en_IE en_GB en" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Thomas Beutin 2011-06-15 07:47:18 UTC
(In reply to comment #2)
> the problem still exists:

Oops, in net-dialup/capi4k-utils-20050718-r5 this is fixed - i forgot to update the /etc files ...