Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 563338 - www-client/lynx-2.8.8_p2: fails to build with "subs-1.sed line 28: unterminated `s' command"
Summary: www-client/lynx-2.8.8_p2: fails to build with "subs-1.sed line 28: unterminat...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tim Harder
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-17 18:00 UTC by Marco Ziebell
Modified: 2019-01-04 06:21 UTC (History)
2 users (show)

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


Attachments
build.log of www-client/lynx-2.8.8_p2 (build.log,19.41 KB, patch)
2015-10-17 18:02 UTC, Marco Ziebell
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Ziebell 2015-10-17 18:00:31 UTC
emerging lynx-2.8.8_p2 fails with:

sed: file /var/tmp/portage/www-client/lynx-2.8.8_p2/temp/csAbznZd/subs-1.sed line 28: unterminated `s' command
config.status: creating WWW/Library/Implementation/makefile
sed: file /var/tmp/portage/www-client/lynx-2.8.8_p2/temp/csAbznZd/subs-1.sed line 28: unterminated `s' command
config.status: creating src/makefile
sed: file /var/tmp/portage/www-client/lynx-2.8.8_p2/temp/csAbznZd/subs-1.sed line 28: unterminated `s' command
config.status: creating src/chrtrans/makefile
sed: file /var/tmp/portage/www-client/lynx-2.8.8_p2/temp/csAbznZd/subs-1.sed line 28: unterminated `s' command
config.status: creating po/makefile.in
sed: file /var/tmp/portage/www-client/lynx-2.8.8_p2/temp/csAbznZd/subs-1.sed line 28: unterminated `s' command
config.status: creating lynx_cfg.h
config.status: creating po/POTFILES
config.status: creating po/makefile
creating po/makefile
make: *** No targets.  Stop.
 * ERROR: www-client/lynx-2.8.8_p2::gentoo failed (compile phase):
 *   emake failed

Everything works fine with "lynx-2.8.9_pre6"

Reproducible: Always
Comment 1 Marco Ziebell 2015-10-17 18:00:47 UTC
Portage 2.2.20.1 (python 2.7.10-final-0, default/linux/amd64/13.0, gcc-4.9.3, glibc-2.20-r2, 4.2.2-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.2.2-gentoo-x86_64-AMD_A6-4400M_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.2
KiB Mem:     3449164 total,     46784 free
KiB Swap:    8190972 total,   8190972 free
Timestamp of repository gentoo: Sat, 17 Oct 2015 14:45:01 +0000
sh dash 0.5.8.2
ld GNU gold (Gentoo 2.25.1 p1.1 2.25.1) 1.11
ccache version 3.1.9 [disabled]
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.4.3::gentoo
dev-util/ccache:          3.1.9-r4::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo, 5.2.0::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

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

local-crossdev
    location: /usr/local/portage-crossdev
    masters: gentoo
    priority: 0

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 1

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -pipe -fuse-linker-plugin -flto=1 -ffat-lto-objects -g0 -O3 -ftree-vectorize -funroll-loops -fomit-frame-pointer -fgcse-sm -fgcse-las -fmodulo-sched -fmodulo-sched-allow-regmoves -fbranch-target-load-optimize -flive-range-shrinkage -mfpmath=sse -mvzeroupper -minline-all-stringops -momit-leaf-frame-pointer -fira-loop-pressure -ftree-loop-im  -ftree-loop-ivcanon"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -mtune=native -pipe -fuse-linker-plugin -flto=1 -ffat-lto-objects -g0 -O3 -ftree-vectorize -funroll-loops -fomit-frame-pointer -fgcse-sm -fgcse-las -fmodulo-sched -fmodulo-sched-allow-regmoves -fbranch-target-load-optimize -flive-range-shrinkage -mfpmath=sse -mvzeroupper -minline-all-stringops -momit-leaf-frame-pointer -fira-loop-pressure -ftree-loop-im  -ftree-loop-ivcanon"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.utf8"
LDFLAGS="-Wl,--as-needed -Wl,--icf=all -Wl,-O1 -Wl,--hash-style=gnu -march=native -mtune=native -pipe -fuse-linker-plugin -flto=1 -ffat-lto-objects -g0 -O3 -ftree-vectorize -funroll-loops -fomit-frame-pointer -fgcse-sm -fgcse-las -fmodulo-sched -fmodulo-sched-allow-regmoves -fbranch-target-load-optimize -flive-range-shrinkage -mfpmath=sse -mvzeroupper -minline-all-stringops -momit-leaf-frame-pointer -fira-loop-pressure -ftree-loop-im  -ftree-loop-ivcanon"
MAKEOPTS="-j2"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl alsa amd64 branding gpl hdaps ipv6 nls nptl openmp pic seccomp ssl threads truetype unicode vdpau vim-syntax" ABI_X86="64" CPU_FLAGS_X86="aes avx fma3 fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LIBREOFFICE_EXTENSIONS="presenter-console pdfimport presenter-minimizer" LINGUAS="de de_DE en en_GB en_US" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20" USERLAND="GNU" VIDEO_CARDS="r600 radeon radeonsi amdgpu" XFCE_PLUGINS="trash clock battery power"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Marco Ziebell 2015-10-17 18:02:00 UTC
Created attachment 414786 [details, diff]
build.log of www-client/lynx-2.8.8_p2
Comment 3 tharvik 2016-10-19 09:04:44 UTC
Just found out it was because of have dash as default sh, it is working with bash.
Comment 4 tharvik 2016-12-07 16:20:32 UTC
If the bug is indeed the use of dash instead of bash, it is fixed in newer version (tested with =www-client/lynx-2.8.9_pre9).
Comment 5 Tim Harder gentoo-dev 2019-01-04 06:21:32 UTC
(In reply to tharvik from comment #4)
> If the bug is indeed the use of dash instead of bash, it is fixed in newer
> version (tested with =www-client/lynx-2.8.9_pre9).

Closing as fixed due to this.