Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Oct 2014 17:26:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   [Bug 194490] New: www/firefox 33.0 does not build under poudriere
Message-ID:  <bug-194490-21738@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194490

            Bug ID: 194490
           Summary: www/firefox 33.0 does not build under poudriere
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: gecko@FreeBSD.org
          Reporter: truckman@FreeBSD.org
          Assignee: gecko@FreeBSD.org
             Flags: maintainer-feedback?(gecko@FreeBSD.org)

I'm able to build www/firefox version 33.0 by running make in the port
directory, but if I attempt to build a package with poudriere, it fails during
the configure step.  The failure occurs in the configuration of jemalloc.


checking for memalign... no
checking for valloc... yes
checking configured backtracing method... N/A
checking for sbrk... yes
checking whether utrace(2) is compilable... yes
checking whether valgrind is compilable... no
checking STATIC_PAGE_SHIFT... configure: error: in
`/wrkdirs/usr/ports/www/firefox/work/mozilla-release/obj-i386-portbld-freebsd8.4/memory/jemalloc/src':
configure: error: cannot run test program while cross compiling
See `config.log' for more details
configure: error:
/wrkdirs/usr/ports/www/firefox/work/mozilla-release/memory/jemalloc/src/configure
failed for memory/jemalloc/src
===>  Script "../configure" failed unexpectedly.
Please report the problem to gecko@FreeBSD.org [maintainer] and attach the
"/wrkdirs/usr/ports/www/firefox/work/mozilla-release/obj-i386-portbld-freebsd8.4/config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

The problem appears to be that the configure script thinks a cross compile is
being done even though this is an 8.4-STABLE i386 jail on an 8.4-STABLE i386
host.  A bit earlier in the configure output:

checking build system type... i386-portbld-freebsd8.4
checking host system type... i386-unknown-freebsd8.4

These are both passed to configure:
configuring in memory/jemalloc/src
running /bin/sh
/wrkdirs/usr/ports/www/firefox/work/mozilla-release/memory/jemal
loc/src/configure  --build=i386-portbld-freebsd8.4
--host=i386-unknown-freebsd8.
4 --enable-stats --with-jemalloc-prefix=je_
--with-mangling=malloc_usable_size:m
alloc_usable_size,valloc:valloc,memalign:memalign,free:free,realloc:realloc,call
oc:calloc,aligned_alloc:aligned_alloc,posix_memalign:posix_memalign,malloc:mallo
c AS='$(CC)' CC='gcc48' CXX='g++48' CPP='cpp48' LD='/usr/local/bin/ld'
AR='/usr/
local/bin/ar' RANLIB='/usr/local/bin/ranlib' STRIP='strip'
CPPFLAGS='-isystem/us
r/local/include -I/usr/local/include' EXTRA_CFLAGS='-Wall -Wpointer-arith
-Wdecl
aration-after-statement -Werror=return-type -Werror=int-to-pointer-cast
-Wtype-l
imits -Wempty-body -Wsign-compare -Wno-unused -Wcast-align -O2 -pipe -O3
-Wl,-rp
ath=/usr/local/lib/gcc48 -fno-strict-aliasing -std=gnu99 -fgnu89-inline
-fno-str
ict-aliasing -ffunction-sections -fdata-sections -fno-math-errno -pipe'
LDFLAGS=
'-pthread -L/usr/local/lib -Wl,-rpath,/usr/local/lib/firefox
-Wl,-rpath=/usr/loc
al/lib/gcc48 -L/usr/local/lib/gcc48 -Wl,-z,noexecstack -Wl,-z,text
-Wl,--build-i
d'
--cache-file=/wrkdirs/usr/ports/www/firefox/work/mozilla-release/obj-i386-por
tbld-freebsd8.4/memory/jemalloc/src/config.cache
--srcdir=/wrkdirs/usr/ports/www
/firefox/work/mozilla-release/memory/jemalloc/src

which compares them to detect cross building:

# FIXME: To remove some day.
if test "x$host_alias" != x; then
  if test "x$build_alias" = x; then
    cross_compiling=maybe
  elif test "x$build_alias" != "x$host_alias"; then
    cross_compiling=yes
  fi
fi

--- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> ---
Auto-assigned to maintainer gecko@FreeBSD.org

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-194490-21738>