Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 548916 - www-client/firefox-37.0.2: firefox-37.0.2/work/mozilla-release/configure: line 10105: test: : integer expression expected
Summary: www-client/firefox-37.0.2: firefox-37.0.2/work/mozilla-release/configure: lin...
Status: RESOLVED OBSOLETE
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:
Depends on:
Blocks:
 
Reported: 2015-05-08 13:41 UTC by Martin Mokrejš
Modified: 2017-08-26 17:55 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,258.57 KB, text/x-log)
2015-05-09 20:01 UTC, Martin Mokrejš
Details
elibtool.log (elibtool.log,42.05 KB, text/x-log)
2015-05-09 20:02 UTC, Martin Mokrejš
Details
configure (configure,924.20 KB, application/x-shellscript)
2015-05-09 20:02 UTC, Martin Mokrejš
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2015-05-08 13:41:15 UTC
I see this during configure:

checking for 64-bit OS... yes
checking for valid debug flags... yes
checking whether the C++ compiler (x86_64-pc-linux-gnu-g++ -march=native -ggdb  -mno-avx -fno-exceptions -fno-strict-aliasing -fno-rtti -Wl,-O1 -Wl,--as-needed -Wl,-z,noexecstack -Wl,-z,text) actually is a C++ compiler... yes
/var/tmp/portage/www-client/firefox-37.0.2/work/mozilla-release/configure: line 10105: test: : integer expression expected
checking for ANSI C header files... yes
checking for working const... yes


While looking at the generated configure I think the problem is actually missing 'if' at about line 10088 or the 'fi' at 10096 should be dropped.


10087 fi
10088 
10089 echo "$ac_t""$GC_SECTIONS_BREAKS_DEBUG_RANGES" 1>&6
10090          if test "$GC_SECTIONS_BREAKS_DEBUG_RANGES" = no; then
10091              DSO_LDOPTS="$DSO_LDOPTS -Wl,--gc-sections"
10092          fi
10093     else
10094         DSO_LDOPTS="$DSO_LDOPTS -Wl,--gc-sections"
10095     fi
10096 fi
10097 
10098 # bionic in Android < 4.1 doesn't support PIE
10099 # On OSX, the linker defaults to building PIE programs when targetting OSX 10.7+,
10100 # but not when targetting OSX < 10.7. OSX < 10.7 doesn't support running PIE
10101 # programs, so as long as support for OSX 10.6 is kept, we can't build PIE.
10102 # Even after dropping 10.6 support, MOZ_PIE would not be useful since it's the
10103 # default (and clang says the -pie option is not used).
10104 # On other Unix systems, some file managers (Nautilus) can't start PIE programs
10105 if test -n "$gonkdir" -a "$ANDROID_VERSION" -ge 16; then
10106     MOZ_PIE=1
10107 else
10108     MOZ_PIE=
10109 fi





checking MOZ_DBUS_GLIB_CFLAGS... -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include 
checking MOZ_DBUS_GLIB_LIBS... -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 
/var/tmp/portage/www-client/firefox-37.0.2/work/mozilla-release/configure: line 20163: test: : integer expression expected
checking __attribute__ ((aligned ())) support... trying 64
64
checking for vpx >= 1.3.0... yes

Here the line brings me again to a line with "$ANDROID_VERSION" variable. maybe it is empty and hence the broken comparison syntax? Maybe the previous issue at line 10105 was also an issue with empty "$ANDROID_VERSION"?

20153 if test -n "$MOZ_WEBRTC"; then
20154     case "$target" in
20155     *-linux*|*-mingw*|*-darwin*|*-android*|*-linuxandroid*|*-dragonfly*|*-freebsd*|*-netbsd*|*-openbsd*)
20156                 ;;
20157     *)
20158                 MOZ_WEBRTC=
20159         ;;
20160     esac
20161 fi
20162 
20163 if test -n "$gonkdir" -a "$ANDROID_VERSION" -ge 21; then
20164     MOZ_WEBRTC=
20165 fi



Not sure if I should upload a 900kB configure script. Try to reproduce it on your side first.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2015-05-09 19:41:14 UTC
Please attach the full build log and emerge --info.
Comment 2 Martin Mokrejš 2015-05-09 20:01:39 UTC
Created attachment 402910 [details]
build.log
Comment 3 Martin Mokrejš 2015-05-09 20:02:22 UTC
Created attachment 402912 [details]
elibtool.log
Comment 4 Martin Mokrejš 2015-05-09 20:02:44 UTC
Created attachment 402914 [details]
configure
Comment 5 Martin Mokrejš 2015-05-09 20:02:58 UTC
# emerge --info
Portage 2.2.18 (python 2.7.9-final-0, default/linux/amd64/13.0, gcc-4.9.2, glibc-2.20-r2, 3.19.0-default-pciehp x86_64)
=================================================================
System uname: Linux-3.19.0-default-pciehp-x86_64-Intel-R-_Core-TM-_i7-2640M_CPU_@_2.80GHz-with-gentoo-2.2
KiB Mem:    16362440 total,   8417668 free
KiB Swap:   16776188 total,  16776188 free
Timestamp of repository gentoo: Fri, 08 May 2015 12:00:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.25 p1.0) 2.25
app-shells/bash:          4.3_p33-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r2::gentoo, 3.2.5-r6::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.2.1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.15::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25::gentoo
sys-devel/gcc:            4.3.6-r1::gentoo, 4.4.7::gentoo, 4.6.4::gentoo, 4.7.4::gentoo, 4.8.4::gentoo, 4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.0::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

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

science
    location: /home/mmokrejs/proj/sci
    masters: gentoo
    priority: 0

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

layman
    location: /var/lib/layman
    masters: gentoo
    priority: 2

haskell
    location: /var/lib/layman/haskell
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm Oracle-BCLA-JavaSE IBM-J1.6 skype-eula Nero-EULA-US AdobeFlash-10.3 skype-4.0.0.7-copyright AdobeFlash-11.x"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -maes -mpclmul -mpopcnt -mavx -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.2/conf /var/bind /var/lib/hsqldb /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/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 -pipe -maes -mpclmul -mpopcnt -mavx -march=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news nostrip parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="rsync://ftp.fi.muni.cz/pub/linux/gentoo/ rsync://gentoo.mirror.dkm.cz/gentoo/ ftp://gentoo.mirror.web4u.cz/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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 acpi alsa amd64 amr apache apache2 apulse avx berkdb bindist bluetooth boost bzip2 cairo cgi cli cracklib crypt cryptlib cups cxx dbus device-mapper dhcp directfb dri drm dvd emboss encode fax fbcon ffmpeg flac fontconfig fortran gbm gd gdbm geoip gimp gnutls gpm gtk gudev hal hpijs hwdb iconv id3tag imaging innodb java jce jpeg jpg keymap ladspa lapack laptop lcms libnotify lm_sensors mad matroska mmx mmxext modules mpi mpich2 multilib mysql ncurses nfs nls nptl nptlonly nsplugin ntfsprogs ocr ogg opengl openmp pam parport pcre pdf perl php png ppds pppd python qt3support readline rendering resolvconf scanner server session slideshow sndfile sqlite sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 suexec svg syslog tcl tcpd threads tiff tk truetype udev unicode usb v4l v4l2 vim-syntax wavpack wifi x11 xcb xml xorg xrandr xv xvid xvmc zlib" ABI_X86="64 32" 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="alias authz_host auth_basic auth_digest cgi cgid deflate dir env filter include info mem_cache mime mime_magic negotiation remoteip setenvif status userdir vhost_alias rewrite usertrack cache file_cache disk_cache charset_lite log_config log_forensic" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US en_GB cs cz" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4 php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="vesa vmware fbdev intel i915 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"
USE_PYTHON="2.7"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Ian Stakenvicius (RETIRED) gentoo-dev 2015-05-11 14:40:40 UTC
*** Bug 548992 has been marked as a duplicate of this bug. ***
Comment 7 Jory A. Pratt gentoo-dev 2017-08-26 17:55:56 UTC
If you feel I have closed your bug and it is still a current issue, please reopen and update it completely. We will not work bugs that have no ebuild in tree any longer or can not be reproduced with a current system.

Thank You for your support and understanding
The Mozilla Team