[Fink-devel] pls help in debugging seamonkey-2.0.

2010-03-22 Thread Jean-François Mertens
There is info+patch file for seamonkey-2.0.3 in
http://fink.cvs.sourceforge.net/viewvc/fink/experimental/jfmertens/crypto/finkinfo/
It builds, apparently correctly, on 10.5/32bit.

On 10.5/64bit, I get :

> jsregexp.cpp
> c++ -o jsregexp.o -c -fvisibility=hidden -DFEATURE_NANOJIT - 
> DJS_TRACER -DOSTYPE=\"Darwin9.8.0\" -DOSARCH=Darwin -DEXPORT_JS_API   
> -DJS_USE_SAFE_ARENA  -I. -I.  -I./../../dist/include   -I./../../ 
> dist/include/js -I/sw64/bld/seamonkey-2.0.3-1/comm-1.9.1/mozilla/ 
> dist/include/nspr -I/sdk/include -I.-fPIC  -I/sw64/lib/pango- 
> ft219/include-pango-1.0 -I/sw64/lib/pango-ft219/include -I/sw64/ 
> include/freetype2 -I/sw64/lib/fontconfig2/include  -fno-rtti -fno- 
> exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno- 
> ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid- 
> offsetof -Wno-long-long -fno-strict-aliasing -fpascal-strings -fno- 
> common -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -Os  -I/sw64/ 
> lib/pango-ft219/include-pango-1.0 -I/sw64/lib/pango-ft219/include -I/ 
> sw64/include/freetype2 -I/sw64/lib/fontconfig2/include  - 
> DMOZILLA_CLIENT -include ./mozilla-config.h -Wp,-MD,.deps/ 
> jsregexp.pp jsregexp.cpp
> {standard input}:8257:suffix or operands invalid for `call'
> make[4]: *** [jsregexp.o] Error 1

[  Instead of, under 32bit :
> jsregexp.cpp
> c++ -o jsregexp.o -c -I./../../dist/include/system_wrappers_js - 
> include ./config/gcc_hidden.h -DFEATURE_NANOJIT -DJS_TRACER -DOSTYPE= 
> \"Darwin9.8.0\" -DOSARCH=Darwin -DEXPORT_JS_API  - 
> DJS_USE_SAFE_ARENA  -I. -I.  -I./../../dist/include   -I./../../dist/ 
> include/js -I/sw32/bld/seamonkey-2.0.3-1/comm-1.9.1/mozilla/dist/ 
> include/nspr -I/sdk/include -I.-fPIC  -I/sw/lib/pango-ft219/ 
> include-pango-1.0 -I/sw/lib/pango-ft219/include -I/sw/include/ 
> freetype2 -I/sw/lib/fontconfig2/include  -fno-rtti -fno-exceptions - 
> Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor- 
> privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof - 
> Wno-long-long -fno-strict-aliasing -fpascal-strings -fno-common - 
> fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -Os  -I/sw/lib/pango- 
> ft219/include-pango-1.0 -I/sw/lib/pango-ft219/include -I/sw/include/ 
> freetype2 -I/sw/lib/fontconfig2/include  -DMOZILLA_CLIENT -include ./ 
> mozilla-config.h -Wp,-MD,.deps/jsregexp.pp jsregexp.cpp
]

Re-running the command manually, preceded by
> env CCACHE_DISABLE=1 MACOSX_DEPLOYMENT_TARGET=10.5 PATH=/sw64/var/ 
> lib/fink/path-prefix-10.6:/sw64/share/melina/bin:/sw64/bin:/sw64/ 
> sbin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:.

, and with -pipe replaced by -save-temps, yields the slightly more  
explicit msg :

> jsregexp.s:8257:suffix or operands invalid for `call'

where the relevant lines in jsregexp.s are :
>   8251L1429:
>   8252movq-224(%rbp), %rdx
>   8253movq(%rdx), %rax
>   8254movq%rdx, %rcx
>   8255movq%r12, %rdx
>   8256movq%rax, 32(%r12)
>   8257call *%esi
>   8258movq%rax, %rsi
>   8259movq32(%r12), %rax
>   8260subq-216(%rbp), %rax
>   8261sarq%rax
>   8262movq%rax, 32(%r12)
>   8263jmp L1431


Do I understand correctly that c++ is generating invalid asm code ?
Any idea how to debug/fix this ? (The error persists when replacing
-Os  by  -O0).
This is with
i686-apple-darwin9-g++-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5493)

Thanks !

Jean-Francois Mertens


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] pls help in debugging seamonkey-2.0.

2010-03-22 Thread Hanspeter Niederstrasser
On 3/22/10 11:07 AM, Jean-François Mertens wrote:
> There is info+patch file for seamonkey-2.0.3 in
> http://fink.cvs.sourceforge.net/viewvc/fink/experimental/jfmertens/crypto/finkinfo/
> It builds, apparently correctly, on 10.5/32bit.
>
> On 10.5/64bit, I get :

 From your .info file:

51: SourceDirectory: comm-1.9.1

Code from the 1.9.1 and 1.9.2 branches won't build on 64-bit OS X.  My 
local hg mozilla-central repository only started building successfully 
as 64bit as of approximately 1.9.3.

Hanspeter

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] pls help in debugging seamonkey-2.0.

2010-03-22 Thread Hanspeter Niederstrasser
On 3/22/10 11:34 AM, Hanspeter Niederstrasser wrote:

> Code from the 1.9.1 and 1.9.2 branches won't build on 64-bit OS X.  My
> local hg mozilla-central repository only started building successfully
> as 64bit as of approximately 1.9.3.

Just to clarify: there's no release of anything that's tagged as 1.9.3 
code (firefox 3.6 is 1.9.2 gecko, seamonkey 2.0.3 is 1.9.1 gecko). 
1.9.3 is just the probable current internal value for gecko in the code 
repository tip.

Hanspeter

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] pls help in debugging seamonkey-2.0.

2010-03-22 Thread Jean-François Mertens

On 22 Mar 2010, at 16:43, Hanspeter Niederstrasser wrote:

> On 3/22/10 11:34 AM, Hanspeter Niederstrasser wrote:
>
>> Code from the 1.9.1 and 1.9.2 branches won't build on 64-bit OS X.   
>> My
>> local hg mozilla-central repository only started building  
>> successfully
>> as 64bit as of approximately 1.9.3.
>
> Just to clarify: there's no release of anything that's tagged as 1.9.3
> code (firefox 3.6 is 1.9.2 gecko, seamonkey 2.0.3 is 1.9.1 gecko).
> 1.9.3 is just the probable current internal value for gecko in the  
> code
> repository tip.

Thanks for the info !
( Doesn't explain still that c++ generates invalid asm ...)

JF

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] SCons in stable

2010-03-22 Thread Vincent Beffara

Hi list,

Not sure whom to contact about this - my SCons 1.2 package was recently 
promoted into the stable tree, but unfortunately the patch file 
associated to it (devel/scons.patch) was not included. So SCons does not 
build in the stable confguration, which is not optimal.

Can somebody here fix it ? If not, who do I talk to about it ?

[I can't, as I don't have write access to the tree.]

Thanks in advance,

  /v

-- 
Vincent Beffara
UMPA - ENS-Lyon
46 allée d'Italie
69364 Lyon Cedex 07
Tél : 04 72 72 85 25

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] SCons in stable

2010-03-22 Thread Hanspeter Niederstrasser
On 3/22/10 9:16 AM, Vincent Beffara wrote:
>
> Hi list,
>
> Not sure whom to contact about this - my SCons 1.2 package was recently
> promoted into the stable tree, but unfortunately the patch file
> associated to it (devel/scons.patch) was not included. So SCons does not
> build in the stable confguration, which is not optimal.
>
> Can somebody here fix it ? If not, who do I talk to about it ?

Done.

Hanspeter


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] SCons in stable

2010-03-22 Thread Alexander Hansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3/22/10 5:21 PM, Hanspeter Niederstrasser wrote:
> On 3/22/10 9:16 AM, Vincent Beffara wrote:
>>
>> Hi list,
>>
>> Not sure whom to contact about this - my SCons 1.2 package was recently
>> promoted into the stable tree, but unfortunately the patch file
>> associated to it (devel/scons.patch) was not included. So SCons does not
>> build in the stable confguration, which is not optimal.
>>
>> Can somebody here fix it ? If not, who do I talk to about it ?
> 
> Done.
> 
> Hanspeter
> 
> 

Fink-devel is a good option when things like this happen, or you can
email the jerk who left part of the package out. ;-)

- -- 
Alexander Hansen
Fink User Liaison
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuoCEcACgkQB8UpO3rKjQ/fhACfeQInkeYL1WYuNa7xj5CqSFgt
TRsAmgM2/j3nNQFMZ+LCE6FVEtAxUOV3
=DDpE
-END PGP SIGNATURE-

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] Help testing Mercurial 1.5

2010-03-22 Thread Pepe Barbe
I am building the new package for Mercurial 1.5 and I am having some issues and 
I would appreciate some help testing.

It seems when doing a test build under the fink, for some reason during the 
Test Phase things get botched and a lot of tests fail.

I spoke with upstream and, at least, under Snow Leopard no test failures are 
expected. I have tested mercurial with the native Python and indeed there are 
no problems. Building and testing manually with Fink's Python also returned few 
to no issues.

I think the problem is related to whatever shell settings and permissions are 
present when the TestPhase is executed.

While I have been able to test with few errors, Hanspeter who was reviewing the 
package is getting a lot on 10.5. So I would appreciate if some other people in 
different platforms could also run the tests and give me the logs of any of the 
failures you might see.

To perform the test you need to first build and install the new mercurial 
package and then also extract the source. Within the source you need to run the 
following command inside the 'tests' directory:

~/mercurial-1.5/tests> /sw/bin/python run-tests.py --with-hg=/sw/bin/hg -v

Of all the tests performed, there are a couple that fail intermittently related 
to hgweb. I would disregard those since I presume it's related to some network 
timing issue and the test is not robustly written. Using he previous method I 
have had 100% coverage on Python 2.6.4 on 10.6.2 both i386 and x86_64 versions.

Let me know what are your experiences.

Thanks,
Pepe



mercurial-py.info
Description: Binary data


mercurial-py.patch
Description: Binary data
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Re: [Fink-devel] Help testing Mercurial 1.5

2010-03-22 Thread Hanspeter Niederstrasser
On 3/22/10 11:54 PM, Pepe Barbe wrote:
> I am building the new package for Mercurial 1.5 and I am having some
> issues and I would appreciate some help testing.
>
> It seems when doing a test build under the fink, for some reason
> during the Test Phase things get botched and a lot of tests fail.
>
> I spoke with upstream and, at least, under Snow Leopard no test
> failures are expected. I have tested mercurial with the native Python
> and indeed there are no problems. Building and testing manually with
> Fink's Python also returned few to no issues.
>
> I think the problem is related to whatever shell settings and
> permissions are present when the TestPhase is executed.

It's a permissions issue.

All the following examples are with Fink's mercurial-py26-1.5-1 
installed and using this command: /sw/bin/python run-tests.py 
--with-hg=/sw/bin/hg -v


Running the tests as an admin $USER from a clean source extract in 
/src/mercurial-1.5:
# Ran 368 tests, 34 skipped, 0 failed.


Running the the tests in a clean source extract in /src/mercurial-1.5 as 
root by prefixing the above command with sudo:
# Running "/src/mercurial-1.5/tests/test-backwards-remove"
# Ret was: 0

ERROR: /src/mercurial-1.5/tests/test-backwards-remove output changed
--- /src/mercurial-1.5/tests/test-backwards-remove.out
+++ /src/mercurial-1.5/tests/test-backwards-remove.err
@@ -1,3 +1,5 @@
+.hg
  a
  0 files updated, 0 files merged, 1 files removed, 0 files unresolved
+.hg
  a
...
other failures like this one
...
# Ran 368 tests, 34 skipped, 14 failed.


Running the test as an admin $USER in %b/tests that's leftover from 
'fink -m -Kk install mercurial-py26':
# Test test-backwards-remove
# Cleaning up HGTMP 
/private/var/folders/VJ/VJI1GqIRGmOqqRYrL1IClU+++TI/-Tmp-/hgtests.soCjpV
Traceback (most recent call last):
   File "run-tests.py", line 948, in 
 main()
   File "run-tests.py", line 943, in main
 runtests(options, tests)
   File "run-tests.py", line 791, in runtests
 ret = runone(options, test, skips, fails)
   File "run-tests.py", line 529, in runone
 os.remove(err)   # Remove any previous output files
OSError: [Errno 13] Permission denied: 
'/sw/src/fink.build/mercurial-py26-1.5-1/mercurial-1.5/tests/test-backwards-remove.err'


Running the tests in %b/tests as root by prefixing the tests command 
with sudo (run from an admin $USER):
# Test test-backwards-remove
# Running 
"/sw/src/fink.build/mercurial-py26-1.5-1/mercurial-1.5/tests/test-backwards-remove"
# Ret was: 0

ERROR: 
/sw/src/fink.build/mercurial-py26-1.5-1/mercurial-1.5/tests/test-backwards-remove
 
output changed
--- 
/sw/src/fink.build/mercurial-py26-1.5-1/mercurial-1.5/tests/test-backwards-remove.out
 

+++ 
/sw/src/fink.build/mercurial-py26-1.5-1/mercurial-1.5/tests/test-backwards-remove.err
 

@@ -1,3 +1,5 @@
+.hg
  a
  0 files updated, 0 files merged, 1 files removed, 0 files unresolved
+.hg
  a
...
(other failures with same result: "output changed")
...
# Ran 368 tests, 34 skipped, 14 failed.


Hanspeter

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel