From owner-freebsd-gecko@FreeBSD.ORG Mon Oct 20 17:26:11 2014 Return-Path: Delivered-To: gecko@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3B9A5DCC for ; Mon, 20 Oct 2014 17:26:11 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 27CACD41 for ; Mon, 20 Oct 2014 17:26:11 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s9KHQBfp040116 for ; Mon, 20 Oct 2014 17:26:11 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: gecko@FreeBSD.org Subject: maintainer-feedback requested: [Bug 194490] www/firefox 33.0 does not build under poudriere Date: Mon, 20 Oct 2014 17:26:10 +0000 X-Bugzilla-Type: request Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2014 17:26:11 -0000 Don Lewis has asked gecko@FreeBSD.org for maintainer-feedback: Bug 194490: www/firefox 33.0 does not build under poudriere https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194490 --- Description --- 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/configu re 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,cal l oc:calloc,aligned_alloc:aligned_alloc,posix_memalign:posix_memalign,malloc:mall o 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 --- Auto-assigned to maintainer gecko@FreeBSD.org