Re: [wip] Firefox 29.0b5

2014-04-25 Thread Fred

On 04/23/14 22:31, Landry Breuil wrote:


git checkout release ; git pull - and retry ? I merged the fix for llvm
fuckup...
You could have also said what was not building any longer :)

Landry



Hi Landry,

make build is failing with:

port:fred /usr/ports/mystuff/www/mozilla-firefox make build
===  Patching for firefox-29.0
Running autoconf-2.13 in /usr/ports/pobj/firefox-29.0/mozilla-release
===  Configuring for firefox-29.0
Using /usr/ports/pobj/firefox-29.0/config.site (generated)
cd /usr/ports/pobj/firefox-29.0/mozilla-release/js/src  /usr/bin/env 
-i 
PATH=/usr/ports/pobj/firefox-29.0/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/bin:/usr/X11R6/bin 
AUTOCONF_VERSION=2.13 autoconf
perl /usr/ports/infrastructure/bin/pkg_subst -DMODPY_PYCACHE= 
-DMODPY_COMMENT=\@comment\ \ -DMODPY_PYC_MAGIC_TAG= 
-DMODPY_BIN=/usr/local/bin/python2.7 -DMODPY_EGG_VERSION= 
-DMODPY_VERSION=2.7 -DMODPY_BIN_SUFFIX= -DMODPY_PY_PREFIX=py- 
-DMOZILLA_PROJECT=firefox -DMOZILLA_VER=29.0 -DMOZILLA_VERSION=29.0 
-DMODCLANG_VERSION=3.5.20140228 -DLIBbrowsercomps_VERSION=47.0 
-DLIBmozalloc_VERSION=47.0 -DLIBmozgnome_VERSION=47.0 
-DLIBxul_VERSION=47.0 -DMACHINE_ARCH=amd64 -DARCH=amd64 
-DHOMEPAGE=http://www.mozilla.org/projects/firefox -D^PREFIX=/usr/local 
-D^SYSCONFDIR=/etc -DFLAVOR_EXT= -DFULLPKGNAME=firefox-29.0 
-DMAINTAINER=Landry\ Breuil\ \lan...@openbsd.org\ 
-D^BASE_PKGPATH=www/mozilla-firefox -D^LOCALBASE=/usr/local 
-D^X11BASE=/usr/X11R6 -D^TRUEPREFIX=/usr/local -D^RCDIR=/etc/rc.d 
-D^LOCALSTATEDIR=/var 
/usr/ports/pobj/firefox-29.0/mozilla-release//extensions/spellcheck/hunspell/src/mozHunspell.cpp
cp: /usr/ports/pobj/firefox-29.0/mozilla-release//js/src/build/autoconf: 
No such file or directory
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2668 
'/usr/ports/pobj/firefox-29.0/build-amd64/.configure_done')
*** Error 1 in /usr/ports/mystuff/www/mozilla-firefox 
(/usr/ports/infrastructure/mk/bsd.port.mk:2419 'build')


Which is fixed by:

port:fred /usr/ports mkdir -p 
pobj/firefox-29.0/mozilla-release/js/src/build/autoconf


It then fails with:

/usr/ports/pobj/firefox-29.0/build-amd64/_virtualenv/bin/python -m 
mozbuild.action.webidl 
/usr/ports/pobj/firefox-29.0/mozilla-release/dom/bindings

Traceback (most recent call last):
  File /usr/local/lib/python2.7/runpy.py, line 162, in 
_run_module_as_main

__main__, fname, loader, pkg_name)
  File /usr/local/lib/python2.7/runpy.py, line 72, in _run_code
exec code in run_globals
  File 
/usr/ports/pobj/firefox-29.0/mozilla-release/python/mozbuild/mozbuild/action/webidl.py, 
line 7, in module

from mozwebidlcodegen import BuildSystemWebIDL
  File 
/usr/ports/pobj/firefox-29.0/mozilla-release/dom/bindings/mozwebidlcodegen/__init__.py, 
line 20, in module

from mozbuild.base import MozbuildObject
  File 
/usr/ports/pobj/firefox-29.0/mozilla-release/python/mozbuild/mozbuild/base.py, 
line 17, in module

from mach.mixin.process import ProcessExecutionMixin
  File 
/usr/ports/pobj/firefox-29.0/mozilla-release/python/mach/mach/mixin/process.py, 
line 29, in module

raise Exception('Could not detect environment shell!')
Exception: Could not detect environment shell!
Makefile:72: recipe for target 'codegen.pp' failed
gmake[3]: *** [codegen.pp] Error 1
gmake[3]: Leaving directory 
'/usr/ports/pobj/firefox-29.0/build-amd64/dom/bindings'
/usr/ports/pobj/firefox-29.0/mozilla-release/config/recurse.mk:100: 
recipe for target 'dom/bindings/export' failed

gmake[2]: *** [dom/bindings/export] Error 2
gmake[2]: Leaving directory '/usr/ports/pobj/firefox-29.0/build-amd64'
/usr/ports/pobj/firefox-29.0/mozilla-release/config/recurse.mk:39: 
recipe for target 'export' failed

gmake[1]: *** [export] Error 2
gmake[1]: Leaving directory '/usr/ports/pobj/firefox-29.0/build-amd64'
/usr/ports/pobj/firefox-29.0/mozilla-release/config/rules.mk:596: recipe 
for target 'all' failed

gmake: *** [all] Error 2
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2691 
'/usr/ports/pobj/firefox-29.0/build-amd64/.build_done')
*** Error 1 in /usr/ports/mystuff/www/mozilla-firefox 
(/usr/ports/infrastructure/mk/bsd.port.mk:2419 'build')


Am I missing something obvious?

Cheers

Fred
--
dmesg:
OpenBSD 5.5-current (GENERIC.MP) #80: Tue Apr 22 08:36:02 MDT 2014
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8447131648 (8055MB)
avail mem = 8213544960 (7833MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xaafd (43 entries)
bios0: vendor TOSHIBA version Version 3.60 date 01/24/2012
bios0: TOSHIBA TOSHIBA
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET APIC MCFG ASF! TCPA BOOT SLIC SSDT SSDT 
SSDT SSDT
acpi0: wakeup devices LANC(S4) HDEF(S3) RP02(S4) PXSX(S4) RP04(S4) 
PXSX(S4) USBB(S4) USBC(S4) EHC1(S4) EHC2(S4) PWRB(S4) LID_(S4)

acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 

Re: [wip] Firefox 29.0b5

2014-04-25 Thread Landry Breuil
On Fri, Apr 25, 2014 at 05:42:49PM +0100, Fred wrote:
 On 04/23/14 22:31, Landry Breuil wrote:
 
 git checkout release ; git pull - and retry ? I merged the fix for llvm
 fuckup...
 You could have also said what was not building any longer :)
 
 Landry
 
 
 Hi Landry,
 
 make build is failing with:

You need the attached diff to mozilla.port.mk, last version of it.

Index: mozilla.port.mk
===
RCS file: /cvs/ports/www/mozilla/mozilla.port.mk,v
retrieving revision 1.68
diff -u -r1.68 mozilla.port.mk
--- mozilla.port.mk 23 Apr 2014 05:44:06 -  1.68
+++ mozilla.port.mk 24 Apr 2014 18:39:01 -
@@ -39,8 +39,9 @@
archivers/zip=2.3
 
 MODMOZ_LIB_DEPENDS =   x11/gtk+2 \
+   textproc/hunspell \
devel/nspr=4.10.3 \
-   security/nss=3.15.4
+   security/nss=3.16
 
 # bug #736961
 SEPARATE_BUILD =   Yes
@@ -56,7 +57,7 @@
gobject-2.0 gthread-2.0 gtk-x11-2.0 m \
nspr4 nss3 pango-1.0 pangocairo-1.0 pangoft2-1.0 \
plc4 plds4 pthread event kvm sqlite3=27 \
-   smime3 sndio nssutil3 ssl3 stdc++ z
+   smime3 sndio nssutil3 ssl3 stdc++ z hunspell-1.3
 
 # hack to build against systemwide sqlite3 (# 546162)
 CONFIGURE_ENV +=   ac_cv_sqlite_secure_delete=yes
@@ -87,6 +88,7 @@
--with-system-bz2=${LOCALBASE}  \
--with-system-nspr  \
--with-system-nss   \
+   --enable-system-hunspell\
--enable-system-sqlite  \
--enable-official-branding  \
--enable-gio\
@@ -124,15 +126,10 @@
 SUBST_VARS +=  MOZILLA_PROJECT MOZILLA_VER MOZILLA_VERSION
 
 MAKE_ENV +=MOZILLA_OFFICIAL=1 \
+   SHELL=/bin/sh \
SO_VERSION=${SO_VERSION}
 
 CONFIGURE_ENV +=   ${MAKE_ENV}
-
-MODGNU_CONFIG_GUESS_DIRS +=${WRKSRC}/${_MOZDIR}/build/autoconf \
-   ${WRKSRC}/${_MOZDIR}/js/src/build/autoconf
-
-# files to run SUBST_CMD on
-MOZILLA_SUBST_FILES += 
${_MOZDIR}/extensions/spellcheck/hunspell/src/mozHunspell.cpp \
 
 pre-configure:
 .for d in ${MOZILLA_AUTOCONF_DIRS}


Re: [wip] Firefox 29.0b5

2014-04-23 Thread Christian Weisgerber
On 2014-04-09, Landry Breuil lan...@rhaalovely.net wrote:

 If you already tried beta3, please test the beta5 in the git repo now,
 as it should fix the spellchecker feature (there are still some issues
 but being worked on). Report success or failure too ;)

Beta8 worked fine for me, too, but then I think my most challenging
browser usage is playing 2048.

That said, what's in git now doesn't build any longer on post-m2k14
-current.

-- 
Christian naddy Weisgerber  na...@mips.inka.de



Re: [wip] Firefox 29.0b5

2014-04-23 Thread Landry Breuil
On Wed, Apr 23, 2014 at 09:25:48PM +, Christian Weisgerber wrote:
 On 2014-04-09, Landry Breuil lan...@rhaalovely.net wrote:
 
  If you already tried beta3, please test the beta5 in the git repo now,
  as it should fix the spellchecker feature (there are still some issues
  but being worked on). Report success or failure too ;)
 
 Beta8 worked fine for me, too, but then I think my most challenging
 browser usage is playing 2048.
 
 That said, what's in git now doesn't build any longer on post-m2k14
 -current.

git checkout release ; git pull - and retry ? I merged the fix for llvm
fuckup...
You could have also said what was not building any longer :)

Landry



Re: [wip] Firefox 29.0b5

2014-04-13 Thread Landry Breuil
On Fri, Apr 11, 2014 at 10:33:36AM -0400, James Turner wrote:
 When Firefox 29 goes in we may want to add en-US to mozilla-dicts since
 we now rely on the system hunspell. Not sure if we will want to switch
 hunspells RUN_DEPEND from en-GB to en-US too.
 
 I pulled down the latest en-US.xpi which is attached, sthen will need to
 host it with the others. I forgot to bump mozilla-dicts but you get the
 idea.

I'd have preffered firefox to use the one it actually bundles; but atm
the code only checks for spellchecker.dictionary_path and not in
addition to the bundled path. Being discussed in
https://bugzilla.mozilla.org/show_bug.cgi?id=991253.
(Of course i dont object to reimporting en-US as a separate port, nor to
switch hunspell to depend on it. Actually i dont care :)

Landry



Re: [wip] Firefox 29.0b5

2014-04-13 Thread czarkoff
James Turner said:
 Not sure if we will want to switch hunspells RUN_DEPEND from en-GB to
 en-US too.

Given that this choice has no technical merit, I would prefer en-CA as
default option.  (OpenBSD is Canadian, isn't it?)

-- 
Dmitrij D. Czarkoff



Re: [wip] Firefox 29.0b5

2014-04-13 Thread Stuart Henderson
On 2014/04/13 23:58, czark...@gmail.com wrote:
 James Turner said:
  Not sure if we will want to switch hunspells RUN_DEPEND from en-GB to
  en-US too.
 
 Given that this choice has no technical merit, I would prefer en-CA as
 default option.  (OpenBSD is Canadian, isn't it?)
 
 -- 
 Dmitrij D. Czarkoff
 

Given that the maintainer of the hunspell port is from the UK, I think
the current setting is perfectly cromulent ;)



Re: [wip] Firefox 29.0b5

2014-04-13 Thread James Turner
On Sun, Apr 13, 2014 at 11:01:52PM +0100, Stuart Henderson wrote:
 On 2014/04/13 23:58, czark...@gmail.com wrote:
  James Turner said:
   Not sure if we will want to switch hunspells RUN_DEPEND from en-GB to
   en-US too.
  
  Given that this choice has no technical merit, I would prefer en-CA as
  default option.  (OpenBSD is Canadian, isn't it?)
  
  -- 
  Dmitrij D. Czarkoff
  
 
 Given that the maintainer of the hunspell port is from the UK, I think
 the current setting is perfectly cromulent ;)
 

Aw, I always forget we in the US aren't the only ones who matter.

All joking aside, en-GB works for me, I just made the suggestion mainly
based on firefox shipping en-US by default.

-- 
James Turner