Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 604696 - www-client/firefox, mail-client/thunderbird with =sys-apps/sed-4.3: configure: error: cannot determine icu version number from uvernum.h header file
Summary: www-client/firefox, mail-client/thunderbird with =sys-apps/sed-4.3: configure...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
: 604724 604734 604856 605150 611232 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-01-04 20:37 UTC by Toralf Förster
Modified: 2017-02-28 18:47 UTC (History)
14 users (show)

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


Attachments
emerge-history.txt (emerge-history.txt,320.34 KB, text/plain)
2017-01-04 20:37 UTC, Toralf Förster
Details
environment (environment,224.31 KB, text/plain)
2017-01-04 20:37 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.34 KB, application/x-bzip)
2017-01-04 20:37 UTC, Toralf Förster
Details
www-client:firefox-50.1.0:20170104-203040.log (www-client:firefox-50.1.0:20170104-203040.log,28.47 KB, text/plain)
2017-01-04 20:37 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-01-04 20:37:14 UTC
checking _FONTCONFIG_LIBS... -lfontconfig -lfreetype  
sed: character class syntax is [[:space:]], not [:space:]
configure: error: cannot determine icu version number from uvernum.h header file 
DEBUG: <truncated - see config.log for full output>
DEBUG: configure:20682: /usr/bin/x86_64-pc-linux-gnu-gcc -std=gnu99 -shared -Wl,-z,defs -lpthread -Wl,-O1 -Wl,--as-needed -Wl,-rpath=/usr/lib64/firefox,--enable-new-dtags -Wl,-z,noexecstack -Wl,-z,text -o libconftest.so -Wl

  -----------------------------------------------------------------

  This is an unstable amd64 chroot image (named gnome-systemd-unstable_20161228-205023) at a hardened host acting as a tinderbox.

  -----------------------------------------------------------------
  from make.conf:
USE="  pax_kernel xtpax -cdinstall -oci8 -bindist ssp avformat btrfs clang dvb -eglfs fax ftp gif -gtk help -infinality inifile mpeg2 mysqli ois osc pam -qt5 semantic-desktop sqlite -system-libevent -thinkpad usbredir vorbis x265 -xcb -xz"

gcc-config -l:
 [1] x86_64-pc-linux-gnu-5.4.0 *
llvm-config --version:
3.9.1
Available Java Virtual Machines:
  [1]   icedtea-7 
  [2]   icedtea-bin-7  system-vm
  [3]   icedtea-bin-8 
Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.5 (fallback)
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
1)	IcedTea JDK 7.2.6.8 [icedtea-7]
*)	IcedTea JDK 7.2.6.8 [icedtea-bin-7]
3)	IcedTea JDK 3.2.0 [icedtea-bin-8]
  -----------------------------------------------------------------



$ cat emerge-info.txt
Portage 2.3.3 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-5.4.0, glibc-2.24, 4.8.15-hardened x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.8.15-hardened-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.3
KiB Mem:    65285560 total,   1040020 free
KiB Swap:   67108860 total,  67076016 free
Timestamp of repository gentoo: Wed, 04 Jan 2017 20:04:37 +0000
sh bash 4.4_p5-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.4_p5-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1_rc4::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo, 3.5.2::gentoo
dev-util/cmake:           3.7.1::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.23::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.9.6-r4::gentoo, 1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo, 2.27::gentoo
sys-devel/gcc:            5.4.0-r2::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.9::gentoo (virtual/os-headers)
sys-libs/glibc:           2.24::gentoo
Repositories:

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

tinderbox
    location: /tmp/tb/data/portage
    masters: gentoo
    priority: 2

local
    location: /usr/local/portage
    masters: gentoo
    priority: 99

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -Wall"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/omega.conf /etc/stunnel/stunnel.conf /opt/openfire/resources/security/ /usr/lib64/fax /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf /usr/share/qpsmtpd/plugins /var/lib/hsqldb /var/spool/fax/etc /var/yp/Makefile"
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"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/var/tmp/distfiles"
EMERGE_DEFAULT_OPTS="--verbose --verbose-conflicts --color=n --nospinner --tree --quiet-build"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox parallel-fetch preserve-libs protect-owned sandbox sfperms strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo rsync://mirror.netcologne.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gor.bytemark.co.uk/gentoo/ rsync://ftp.snt.utwente.nl/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
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 acl acpi alsa amd64 avformat berkdb bluetooth branding btrfs bzip2 cairo cdda cdr clang cli colord cracklib crypt cups cxx dbus dri dts dvb dvd dvdr eds emboss encode evo exif fam fax firefox flac fortran ftp gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer help iconv inifile introspection ipv6 jpeg lcms ldap libnotify libsecret mad mmx mmxext mng modules mp3 mp4 mpeg mpeg2 multilib mysqli nautilus ncurses nls nptl ogg ois opengl openmp osc pam pango pax_kernel pcre pdf png policykit ppds pulseaudio qt3support qt4 readline sdl seccomp semantic-desktop session spell sqlite sse sse2 ssl ssp startup-notification svg systemd tcpd tiff tracker truetype udev udisks unicode upower usb usbredir vorbis wxwidgets x264 x265 xattr xml xtpax xv xvid zlib" ABI_X86="64" 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="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="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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="evdev synaptics" KERNEL="linux" L10N="cak ff sk zh" 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" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Toralf Förster gentoo-dev 2017-01-04 20:37:17 UTC
Created attachment 458778 [details]
emerge-history.txt
Comment 2 Toralf Förster gentoo-dev 2017-01-04 20:37:20 UTC
Created attachment 458780 [details]
environment
Comment 3 Toralf Förster gentoo-dev 2017-01-04 20:37:24 UTC
Created attachment 458782 [details]
etc.portage.tbz2
Comment 4 Toralf Förster gentoo-dev 2017-01-04 20:37:27 UTC
Created attachment 458784 [details]
www-client:firefox-50.1.0:20170104-203040.log
Comment 5 Toralf Förster gentoo-dev 2017-01-04 21:14:04 UTC
same sed failure for mail-client/thunderbird-45.6.0
Comment 6 Toralf Förster gentoo-dev 2017-01-05 09:39:29 UTC
 www-client/seamonkey-2.46 too
Comment 7 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-01-05 14:50:29 UTC
*** Bug 604734 has been marked as a duplicate of this bug. ***
Comment 8 Aidan Marks 2017-01-05 21:25:58 UTC
Same failure here.  Breaks firefox-45.6.0, firefox-50.1.0.  Workaround?
Comment 9 Toralf Förster gentoo-dev 2017-01-05 21:32:44 UTC
(In reply to Aidan Marks from comment #8)
echo =sys-apps/sed-4.3 >> /etc/portage/package.mask/miau
Comment 10 Aidan Marks 2017-01-05 21:37:01 UTC
Thanks.  Compile is progressing ok with sed-4.2.2.
Comment 11 Ian Stakenvicius (RETIRED) gentoo-dev 2017-01-06 03:10:43 UTC
Whatever this bug is, it doesn't seem trivial.  The line works on the commandline fine with both old sed and sed-4.3, so whatever the issue is must have to do with the environment within autoconf it's getting called with.  We're working on it but it won't be the quickest fix ever, unfortunately.
Comment 12 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-01-06 18:59:55 UTC
*** Bug 604856 has been marked as a duplicate of this bug. ***
Comment 13 Olaf Lessenich 2017-01-06 21:25:32 UTC
(In reply to Ian Stakenvicius from comment #11)
> The line works on the commandline fine with both old sed and sed-4.3

For me, 4.3 doesn't work on the command line:
# sed -n 's/^[:space:]*#[[:space:]]*define[[:space:]][[:space:]]*U_ICU_VERSION_MAJOR_NUM[[:space:]][[:space:]]*\([0-9][0-9]*\)[[:space:]]*$/\1/p' ./intl/icu/source/common/unicode/uvernum.h
sed: character class syntax is [[:space:]], not [:space:]
# echo $?
4
Comment 14 Olaf Lessenich 2017-01-06 21:37:30 UTC
There seems to be a related unconfirmed upstream bugreport with a suggestion of a fix: https://bugzilla.mozilla.org/show_bug.cgi?id=1329252

I'm no m4 expert, so maybe someone with more knowledge can tell whether this is the correct way to handle it.
Comment 15 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-01-07 01:24:35 UTC
commit 422df34e40a8ed9f0a17d509a12baa69f3fa7fe5
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Sat Jan 7 02:22:27 2017

    www-client/seamonkey: Added a fix for an configure issue with sed-4.3

    This fixes Gentoo bug #604696

    Furthermore added a patch so the package works reliably with nss-3.28
    This fixes Gentoo bug #603622

    Both fixes don't affect stable so no revbump necessary.


The patch should also work for firefox and thunderbird with some path adjustment beong done in the patch.
Comment 16 Olaf Lessenich 2017-01-07 03:13:54 UTC
Another duplicate of this is bug 604724
Comment 17 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-01-07 03:16:59 UTC
*** Bug 604724 has been marked as a duplicate of this bug. ***
Comment 18 Jory A. Pratt gentoo-dev 2017-01-08 21:43:39 UTC
I have just pushed -r1 for esr builds and latest ~arch. Please allow mirrors to populate and you will be good to go.
Comment 19 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-01-09 09:30:38 UTC
*** Bug 605150 has been marked as a duplicate of this bug. ***
Comment 20 Ian Stakenvicius (RETIRED) gentoo-dev 2017-02-28 18:47:24 UTC
*** Bug 611232 has been marked as a duplicate of this bug. ***