From owner-freebsd-gecko@FreeBSD.ORG Wed May 25 03:52:30 2011 Return-Path: Delivered-To: gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3307D106564A; Wed, 25 May 2011 03:52:30 +0000 (UTC) (envelope-from epopen@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id D05CF8FC08; Wed, 25 May 2011 03:52:25 +0000 (UTC) Received: by qyk27 with SMTP id 27so5022696qyk.13 for ; Tue, 24 May 2011 20:52:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:from:date:message-id:subject:to:cc :content-type:content-transfer-encoding; bh=qmTUcItDlk8g6QuPYIwigjye96paDaazsK+QqyDu8b4=; b=q+Nth4GsyHD/kOtjtZwDSYolIjI+kQkSmWxFEQB1AFfoUEjbGY2hdw1as8SesPpi2o /ofFcxF1zt1t79ADcvE9z1THJZytYvqjgOBRQLECyeBSXs/gxNmLzBKLyJv43MhyEwVG GFe4nT0fXPJovv5ILCWnYW3a0XhGFRBlyTieQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; b=NbffY+R8QJfVTSPBb4jos9LWpA4WqENijB6ADKck0F8n/qRwYlzhvI4wQwfisn6mAk A14LEUmKB+4aZrWiC+FNUuiHBL9Bmh+b7auiBT7fTH2G9a88F5jLV8SeGkIcUw3WhGsM RrgVtDlKNMhKTVO8AEXlbt5n8vzLM3x0W/Wks= Received: by 10.229.7.137 with SMTP id d9mr3252266qcd.251.1306293790066; Tue, 24 May 2011 20:23:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.239.80 with HTTP; Tue, 24 May 2011 20:22:50 -0700 (PDT) From: Neko Chang Date: Wed, 25 May 2011 11:22:50 +0800 Message-ID: To: gecko@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-ports@freebsd.org Subject: Firefox 4 with PGO compile error X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 May 2011 03:52:30 -0000 Hi FreeBSD team :D I tried build firefox 4 with PGO support via ports under GNOME 2.32.1(ordinary user, but build firefox by root), but build fail. Later I posted the problem to FreeBSD support forums,(http://forums.freebsd.org/showthread.php?t=3D23827) But can't solve it. So I write the mail :D Please help me.... * Output from 'uname -a'. FreeBSD epopen.com 8.2-STABLE FreeBSD 8.2-STABLE #0: Sat Apr 23 16:23:23 CST 2011 localhost:/usr/obj/usr/src/sys/Kernel amd64 * Output from 'ident /usr/ports/www/firefox/Makefile' /usr/ports/www/firefox/Makefile: $FreeBSD: ports/www/firefox/Makefile,v 1.240 2011/04/29 06:31:39 flo E= xp $ * Where/when did the problem occur: configuring, building, or running firef= ox Build. * How can you reproduce the problem? If turn-on PGO in "make config" Under is error message.... if test -d ../../../../dist/bin ; then touch ../../../../dist/bin/.purgecaches ; fi gmake[5]: Leaving directory `/usr/ports/www/firefox/work/mozilla-2.0/obj-amd64-unknown-freebsd8.2/other= -licenses/branding/firefox/locales' hg: not found Making langpack /usr/ports/www/firefox/work/mozilla-2.0/obj-amd64-unknown-freebsd8.2/browse= r/locales/../../dist/install/firefox-4.0.1.en-US.langpack.xpi /usr/ports/www/firefox/work/mozilla-2.0/obj-amd64-unknown-freebsd8.2/config= /nsinstall -D ../../dist/install/ /usr/local/bin/perl5.12.3 /usr/ports/www/firefox/work/mozilla-2.0/config/preprocessor.pl -DOSTYPE=3D\"FreeBSD8\" -DOSARCH=3DFreeBSD -DAB_CD=3Den-US -DMOZ_LANGPACK_EID=3Dlangpack-en-US@firefox.mozilla.org -DMOZ_APP_VERSION=3D4.0.1 -DLOCALE_SRCDIR=3D/usr/ports/www/firefox/work/mozilla-2.0/browser/locales/e= n-US -DPKG_BASENAME=3D"firefox-4.0.1.en-US.freebsd8.2-amd64" -DPKG_INST_BASENAME=3D"firefox-4.0.1.en-US.freebsd8.2-amd64.installer" -DDLL_PREFIX=3Dlib -DDLL_SUFFIX=3D.so -DBIN_SUFFIX=3D -DHAVE_64BIT_OS=3D1 -DMOZILLA_VERSION=3D\"2.0.1\" -DMOZILLA_VERSION_U=3D2.0.1 -DD_INO=3Dd_ino -DSTDC_HEADERS=3D1 -DHAVE_SSIZE_T=3D1 -DHAVE_ST_BLKSIZE=3D1 -DHAVE_SIGINFO_T=3D1 -DHAVE_INT16_T=3D1 -DHAVE_INT32_T=3D1 -DHAVE_INT64_T= =3D1 -DHAVE_UINT=3D1 -DHAVE_UINT16_T=3D1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=3D1 -DHAVE_VISIBILITY_ATTRIBUTE=3D1 -DHAVE_DIRENT_H=3D1 -DHAVE_GETOPT_H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_NL_TYPES_H=3D1 -DHAVE_X11_XKBLIB_H=3D1 -DHAVE_SYS_STATVFS_H=3D1 -DHAVE_MMINTRIN_H=3D1 -DHAVE_SYS_CDEFS_H=3D1 -DHAVE_DLOPEN=3D1 -DHAVE_DLADDR=3D1 -DFUNCPROTO=3D15 -DHAVE_XSHM=3D1 -DHAVE_LIBXSS=3D1 -DHAVE_FT_BITMAP_SIZE_Y_PPEM=3D1 -DHAVE_FT_GLYPHSLOT_EMBOLDEN=3D1 -DHAVE_FT_LOAD_SFNT_TABLE=3D1 -DHAVE_FT_SELECT_SIZE=3D1 -D_REENTRANT=3D1 -D_THREAD_SAFE=3D1 -DHAVE_RANDOM=3D1 -DHAVE_STRERROR=3D1 -DHAVE_LCHOWN=3D1 -DHAVE_FCHMOD=3D1 -DHAVE_SNPRINTF=3D1 -DHAVE_MEMMOVE=3D1 -DHAVE_SETBUF=3D1 -DHAVE_ISATTY=3D1 -DHAVE_FLOCKFILE=3D1 -DHAVE_LOCALTIME_R=3D1 -DHAVE_STRTOK_R=3D1 -DHAVE_CLOCK_MONOTONIC=3D1 -DHAVE_LANGINFO_CODESET=3D1 -DVA_COPY=3Dva_copy -DHAVE_VA_COPY=3D1 -DHAVE_VA_LIST_AS_ARRAY=3D1 -DHAVE_THREAD_TLS_KEYWORD=3D= 1 -DMALLOC_H=3D\ -DHAVE_STRNDUP=3D1 -DHAVE_POSIX_MEMALIGN=3D1 -DHAVE_VALLOC=3D1 -DHAVE_I18N_LC_MESSAGES=3D1 -DHAVE_LOCALECONV=3D1 -DNS_ALWAYS_INLINE=3D__attribute__\(\(always_inline\)\) -DNS_ATTR_MALLOC=3D__attribute__\(\(malloc\)\) -DNS_WARN_UNUSED_RESULT=3D__attribute__\(\(warn_unused_result\)\) -DNS_NORETURN=3D__attribute__\(\(noreturn\)\) -DMOZ_PHOENIX=3D1 -DMOZ_BUILD_APP=3Dbrowser -DMOZ_X11=3D1 -DMOZ_WIDGET_GTK2=3D1 -DMOZ_PDF_PRINTING=3D1 -DMOZ_ENABLE_XREMOTE=3D1 -DMOZ_OFFICIAL_BRANDING=3D1 -DMOZ_DISTRIBUTION_ID=3D\"org.mozilla\" -DMOZ_PANGO=3D1 -DMOZ_ENABLE_GNOMEVFS=3D1 -DMOZ_ENABLE_GCONF=3D1 -DMOZ_ENABLE_LIBNOTIFY=3D1 -DMOZ_ENABLE_GNOMEUI=3D1 -DMOZ_ENABLE_DBUS=3D1 -DIBMBIDI=3D1 -DMOZ_VIEW_SOURCE=3D1 -DACCESSIBILITY=3D1 -DMOZ_JSLOADER=3D1 -DNS_PRINTING= =3D1 -DNS_PRINT_PREVIEW=3D1 -DMOZ_OGG=3D1 -DATTRIBUTE_ALIGNED_MAX=3D64 -DMOZ_WEBM=3D1 -DVPX_X86_ASM=3D1 -DMOZ_WAVE=3D1 -DMOZ_SYDNEYAUDIO=3D1 -DMOZ_MEDIA=3D1 -DMOZ_VORBIS=3D1 -DMOZ_XTF=3D1 -DMOZ_CRASHREPORTER_ENABLE_PERCENT=3D100 -DMOZ_MATHML=3D1 -DMOZ_SVG=3D1 -DMOZ_SMIL=3D1 -DMOZ_UPDATE_CHANNEL=3Ddefault -DMOZ_FEEDS=3D1 -DMOZ_STORAGE=3D1 -DMOZ_SAFE_BROWSING=3D1 -DMOZ_URL_CLASSIFIER=3D1 -DNS_DISABLE_LOGGING=3D1 -DHAVE___CXA_DEMANGLE=3D1 -DMOZ_CHROME_FILE_FORMAT_JAR=3D1 -DMOZ_DEFAULT_MOZILLA_FIVE_HOME=3D\"/usr/local/lib/firefox\" -DMOZ_USER_DIR=3D\".mozilla\" -DMOZ_STATIC_JS=3D1 -DMOZ_ENABLE_LIBXUL=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_INTTYPES_H=3D1 -DMOZ_XUL=3D1 -DMOZ_PROFILELOCKING=3D1 -DMOZ_RDF=3D1 -DBUILD_CTYPES=3D1 -DMOZ_MORKREADER= =3D1 -DMOZ_PLACES=3D1 -DMOZ_SERVICES_SYNC=3D1 -DMOZ_APP_UA_NAME=3D\"\" -DMOZ_APP_UA_VERSION=3D\"4.0.1\" -DMOZ_UA_FIREFOX_VERSION=3D\"4.0.1\" -DMOZ_UA_BUILDID=3D\"20100101\" -DMOZ_DLL_SUFFIX=3D\".so\" -DHAVE_FONTCONFIG_FCFREETYPE_H=3D1 -DXP_UNIX=3D1 -DUNIX_ASYNC_DNS=3D1 -DMOZ_ACCESSIBILITY_ATK=3D1 -DATK_MAJOR_VERSION=3D1 -DATK_MINOR_VERSION=3D3= 2 -DATK_REV_VERSION=3D0 -I/usr/ports/www/firefox/work/mozilla-2.0/toolkit/locales/en-US/defines.inc -I/usr/ports/www/firefox/work/mozilla-2.0/browser/locales/en-US/defines.inc /usr/ports/www/firefox/work/mozilla-2.0/browser/locales/generic/install.rdf > ../../dist/xpi-stage/locale-en-US/install.rdf cd ../../dist/xpi-stage/locale-en-US && \ /usr/local/bin/zip -r9D /usr/ports/www/firefox/work/mozilla-2.0/obj-amd64-unknown-freebsd8.2/browse= r/locales/../../dist/install/firefox-4.0.1.en-US.langpack.xpi install.rdf chrome chrome.manifest -x chrome/en-US.manifest adding: install.rdf (deflated 50%) adding: chrome/en-US.jar (deflated 75%) adding: chrome.manifest (deflated 78%) gmake[4]: Leaving directory `/usr/ports/www/firefox/work/mozilla-2.0/obj-amd64-unknown-freebsd8.2/brows= er/locales' gmake[3]: Leaving directory `/usr/ports/www/firefox/work/mozilla-2.0/obj-amd64-unknown-freebsd8.2/brows= er/installer' gmake tools gmake[3]: Entering directory `/usr/ports/www/firefox/work/mozilla-2.0/obj-amd64-unknown-freebsd8.2/brows= er/installer' gmake[3]: Nothing to be done for `tools'. gmake[3]: Leaving directory `/usr/ports/www/firefox/work/mozilla-2.0/obj-amd64-unknown-freebsd8.2/brows= er/installer' if test -d ../../dist/bin ; then touch ../../dist/bin/.purgecaches ; fi hg: not found gmake[2]: Leaving directory `/usr/ports/www/firefox/work/mozilla-2.0/obj-amd64-unknown-freebsd8.2/brows= er/installer' gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla-2.0/obj-amd64-unknown-freebsd8.2' OBJDIR=3Dobj-amd64-unknown-freebsd8.2 /usr/local/bin/python2.7 obj-amd64-unknown-freebsd8.2/_profile/pgo/profileserver.py args: ['/usr/ports/www/firefox/work/mozilla-2.0/obj-amd64-unknown-freebsd8.= 2/dist/firefox/firefox-bin', '-no-remote', '-profile', '/usr/ports/www/firefox/work/mozilla-2.0/obj-amd64-unknown-freebsd8.2/_prof= ile/pgo/pgoprofile/', 'http://127.0.0.1:8888/index.html'] INFO | automation.py | Application pid: 95151 (firefox-bin:95151): GnomeUI-WARNING **: While connecting to session manage= r: None of the authentication protocols specified are supported. ** GLib-GIO:ERROR:gdbusconnection.c:2270:initable_init: assertion failed: (connection->initialization_error =3D=3D NULL) TEST-UNEXPECTED-FAIL | automation.py | Exited with code -6 during test run INFO | automation.py | Application ran for: 0:00:03.279356 INFO | automation.py | Reading PID log: /tmp/tmpJZSM19pidlog gmake: *** [profiledbuild] Error 250 *** Error code 1 Stop in /usr/ports/www/firefox. *** Error code 1 Stop in /usr/ports/www/firefox. [/usr/ports/www/firefox]# =EF=BC=9D=EF=BC=9D=EF=BC=9D=EF=BC=9D Make start, System print-out under message To build Firefox with PGO support you need a running X server and build this port with an user who could access the X server! During the build a Firefox instance will start and run some test. Do not interrupt or close Firefox during this tests! The message and error log, I think firefox need connect a daemon (localhost:8888) if PGO support ON when build. But I don't know what daemon need, even Google..... If I help to debug, Please tell me. Thanks your hard work, Let us good firefox :D --=20 Regards, Wei-Jen Chang =E5=81=B6=E7=9A=84=E8=B2=93=E5=92=AA=E6=8E=A8=E5=80=92=E7=AB=99 http://www.= epopen.com XD