OS X 10.7 testers needed

80 views
Skip to first unread message

Jeroen Demeyer

unread,
Apr 3, 2012, 9:11:48 AM4/3/12
to sage-devel
Could somebody with an OS X 10.7 machine please try to build the
following from source, preferably with SAGE_CHECK=yes:

http://boxen.math.washington.edu/home/jdemeyer/release/sage-5.0.beta12-gcc/sage-5.0.beta12-gcc.tar

Dima Pasechnik

unread,
Apr 3, 2012, 11:53:39 AM4/3/12
to sage-...@googlegroups.com

needless to say, sqrt5.cs.washington.edu is down again...

Justin C. Walker

unread,
Apr 3, 2012, 6:00:34 PM4/3/12
to sage-...@googlegroups.com

Just tried to download this; it stopped downloading (w/o an error) at 146MB. Trying again.

Justin

--
Justin C. Walker, Curmudgeon-At-Large, Director
Institute for the Enhancement of the Director's Income
--------
The path of least resistance:
it's not just for electricity any more.
--------

Justin C. Walker

unread,
Apr 3, 2012, 7:08:44 PM4/3/12
to sage-...@googlegroups.com

On Apr 3, 2012, at 06:11 , Jeroen Demeyer wrote:

Second download worked.

The build (with "-j8") failed in MPIR, because "could not find a working compiler".

I can provide the log if needed.

Justin

--
Justin C. Walker, Curmudgeon at Large
Institute for the Absorption of Federal Funds
-----------
I'm beginning to like the cut of his jibberish.
-----------

Jeroen Demeyer

unread,
Apr 3, 2012, 7:26:58 PM4/3/12
to sage-...@googlegroups.com
On 2012-04-04 01:08, Justin C. Walker wrote:
>
> On Apr 3, 2012, at 06:11 , Jeroen Demeyer wrote:
>
>> Could somebody with an OS X 10.7 machine please try to build the
>> following from source, preferably with SAGE_CHECK=yes:
>>
>> http://boxen.math.washington.edu/home/jdemeyer/release/sage-5.0.beta12-gcc/sage-5.0.beta12-gcc.tar
>
> Second download worked.
>
> The build (with "-j8") failed in MPIR, because "could not find a working compiler".
>
> I can provide the log if needed.
I'll probably need the config.log file from
spkg/build/mpir-2.1.3.p10/src

Justin C. Walker

unread,
Apr 3, 2012, 8:02:34 PM4/3/12
to sage-...@googlegroups.com

Here `tis; seems identical to the failure I had with beta10-gcc.

config.log

Jeroen Demeyer

unread,
Apr 4, 2012, 2:34:42 AM4/4/12
to sage-...@googlegroups.com
Also send me spkg/logs/mpir-2.1.3.p10.log

Did you set CFLAGS="-march=native"?

David Joyner

unread,
Apr 4, 2012, 6:26:41 AM4/4/12
to sage-...@googlegroups.com

It finally finished the build fine. (This is on an old ibook just
barely fast enough to be running lion.)
I'm starting the testall now.

> --
> To post to this group, send an email to sage-...@googlegroups.com
> To unsubscribe from this group, send an email to sage-devel+...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org

Jeroen Demeyer

unread,
Apr 4, 2012, 7:21:40 AM4/4/12
to sage-...@googlegroups.com
On 2012-04-04 12:26, David Joyner wrote:
> On Tue, Apr 3, 2012 at 9:11 AM, Jeroen Demeyer <jdem...@cage.ugent.be> wrote:
>> Could somebody with an OS X 10.7 machine please try to build the
>> following from source, preferably with SAGE_CHECK=yes:
>>
>> http://boxen.math.washington.edu/home/jdemeyer/release/sage-5.0.beta12-gcc/sage-5.0.beta12-gcc.tar
>>
>
> It finally finished the build fine.
With or without SAGE_CHECK=yes ?

David Joyner

unread,
Apr 4, 2012, 7:32:59 AM4/4/12
to sage-...@googlegroups.com

with

John H Palmieri

unread,
Apr 4, 2012, 10:50:06 AM4/4/12
to sage-...@googlegroups.com

On one machine, with SAGE_CHECK unset, all tests passed.

On another machine, with SAGE_CHECK=yes, self-tests failed for zn_poly, as they do sometime when the system is heavily loaded. After working around that, all tests passed.

--
John

David Joyner

unread,
Apr 4, 2012, 12:40:45 PM4/4/12
to sage-...@googlegroups.com
On Wed, Apr 4, 2012 at 6:26 AM, David Joyner <wdjo...@gmail.com> wrote:
> On Tue, Apr 3, 2012 at 9:11 AM, Jeroen Demeyer <jdem...@cage.ugent.be> wrote:
>> Could somebody with an OS X 10.7 machine please try to build the
>> following from source, preferably with SAGE_CHECK=yes:
>>
>> http://boxen.math.washington.edu/home/jdemeyer/release/sage-5.0.beta12-gcc/sage-5.0.beta12-gcc.tar
>>
>
> It finally finished the build fine. (This is on an old ibook just
> barely fast enough to be running lion.)
> I'm starting the testall now.
>

Finished sage -testall. All tests passed on the ibook.

Justin C. Walker

unread,
Apr 4, 2012, 4:10:08 PM4/4/12
to sage-...@googlegroups.com
Hi, David,

On Apr 4, 2012, at 09:40 , David Joyner wrote:

> On Wed, Apr 4, 2012 at 6:26 AM, David Joyner <wdjo...@gmail.com> wrote:
>> On Tue, Apr 3, 2012 at 9:11 AM, Jeroen Demeyer <jdem...@cage.ugent.be> wrote:
>>> Could somebody with an OS X 10.7 machine please try to build the
>>> following from source, preferably with SAGE_CHECK=yes:
>>>
>>> http://boxen.math.washington.edu/home/jdemeyer/release/sage-5.0.beta12-gcc/sage-5.0.beta12-gcc.tar
>>>
>>
>> It finally finished the build fine. (This is on an old ibook just
>> barely fast enough to be running lion.)
>> I'm starting the testall now.
>>
>
> Finished sage -testall. All tests passed on the ibook.

What version of 10.7 are you running? I'm on 10.7.1, and can't get it to build with the "stock" tarball.

Justin

--
Justin C. Walker, Curmudgeon-At-Large


Director
Institute for the Enhancement of the Director's Income
--------

"Weaseling out of things is what separates us from the animals.
Well, except the weasel."
- Homer J Simpson
--------


David Joyner

unread,
Apr 4, 2012, 4:14:02 PM4/4/12
to sage-...@googlegroups.com
On Wed, Apr 4, 2012 at 4:10 PM, Justin C. Walker <jus...@mac.com> wrote:
> Hi, David,
>
> On Apr 4, 2012, at 09:40 , David Joyner wrote:
>
>> On Wed, Apr 4, 2012 at 6:26 AM, David Joyner <wdjo...@gmail.com> wrote:
>>> On Tue, Apr 3, 2012 at 9:11 AM, Jeroen Demeyer <jdem...@cage.ugent.be> wrote:
>>>> Could somebody with an OS X 10.7 machine please try to build the
>>>> following from source, preferably with SAGE_CHECK=yes:
>>>>
>>>> http://boxen.math.washington.edu/home/jdemeyer/release/sage-5.0.beta12-gcc/sage-5.0.beta12-gcc.tar
>>>>
>>>
>>> It finally finished the build fine. (This is on an old ibook just
>>> barely fast enough to be running lion.)
>>> I'm starting the testall now.
>>>
>>
>> Finished sage -testall. All tests passed on the ibook.
>
> What version of 10.7 are you running?  I'm on 10.7.1, and can't get it to build with the "stock" tarball.


10.7.3. But I think it's on the slowest oldest ibook that will run lion:-)

>
> Justin
>
> --
> Justin C. Walker, Curmudgeon-At-Large
> Director
> Institute for the Enhancement of the Director's Income
> --------
> "Weaseling out of things is what separates us from the animals.
>  Well, except the weasel."
>      - Homer J Simpson
> --------
>
>

Justin C. Walker

unread,
Apr 4, 2012, 4:16:33 PM4/4/12
to sage-...@googlegroups.com

On Apr 4, 2012, at 13:14 , David Joyner wrote:

> On Wed, Apr 4, 2012 at 4:10 PM, Justin C. Walker <jus...@mac.com> wrote:
>> Hi, David,
>>
>> On Apr 4, 2012, at 09:40 , David Joyner wrote:
>>
>>> On Wed, Apr 4, 2012 at 6:26 AM, David Joyner <wdjo...@gmail.com> wrote:
>>>> On Tue, Apr 3, 2012 at 9:11 AM, Jeroen Demeyer <jdem...@cage.ugent.be> wrote:
>>>>> Could somebody with an OS X 10.7 machine please try to build the
>>>>> following from source, preferably with SAGE_CHECK=yes:
>>>>>
>>>>> http://boxen.math.washington.edu/home/jdemeyer/release/sage-5.0.beta12-gcc/sage-5.0.beta12-gcc.tar
>>>>>
>>>>
>>>> It finally finished the build fine. (This is on an old ibook just
>>>> barely fast enough to be running lion.)
>>>> I'm starting the testall now.
>>>>
>>>
>>> Finished sage -testall. All tests passed on the ibook.
>>
>> What version of 10.7 are you running? I'm on 10.7.1, and can't get it to build with the "stock" tarball.
>
>
> 10.7.3. But I think it's on the slowest oldest ibook that will run lion:-)

Newer 10.7 OS on older system; I'm the reverse. What does 'About This Mac' say your processor is?

Justin

--


Justin C. Walker, Curmudgeon at Large
Institute for the Absorption of Federal Funds
--

Democracy is two wolves and a lamb
voting on what to have for lunch.
Liberty is a well-armed lamb contesting
the vote.

Justin C. Walker

unread,
Apr 4, 2012, 4:19:10 PM4/4/12
to sage-...@googlegroups.com

On Apr 3, 2012, at 23:34 , Jeroen Demeyer wrote:

> Also send me spkg/logs/mpir-2.1.3.p10.log

Enclosed.

> Did you set CFLAGS="-march=native"?

I did not set it explicitly.

Following (finally) Leif's suggestion from the b10 thread, I restarted the b12 build ( after removing spkg/build/mpir...). It got farther, with the mpir build completing successfully. It's ongoing, and I'll report the results here when the build+test have completed.

BTW, the specific suggestion I followed was to change the ".._supported" function to return an empty string.

I'm enclosing both logs (-clean is the unmodified version; -leif is the latter).

BTW2: is "SAGE_CHECK=yes" used during the build or testing?

Justin


logs.tbz2

Jeroen Demeyer

unread,
Apr 4, 2012, 4:52:59 PM4/4/12
to sage-...@googlegroups.com
Something else to try:

Enter a sage shell:

$ ./sage --sh

Now manually extract the mpir spkg and ./configure it:

$ cd spkg/standard
$ tar xjf mpir-2.1.3.p10.spkg
$ cd mpir-2.1.3.p10/src
$ ./configure

Send me the output and config.log

bump

unread,
Apr 4, 2012, 5:17:54 PM4/4/12
to sage-devel
> > 10.7.3. But I think it's on the slowest oldest ibook that will run lion:-)
>
> Newer 10.7 OS on older system; I'm the reverse.  What does 'About This Mac' say your processor is?

I am running 10.7.3 on a newer Macbook Pro (2.2 GHz i7) and I get a
build failure with 5.0beta1.

Like Justin, I have a configure error building MPIR:

configure: error: could not find a working compiler, see config.log
for details.

Dan

Justin C. Walker

unread,
Apr 4, 2012, 5:25:42 PM4/4/12
to sage-...@googlegroups.com

I'll take a wild guess that this is directed toward me.

Here are the log and the output from "./configure", in a tarball.

Justin

conf.tgz

David Joyner

unread,
Apr 4, 2012, 6:18:39 PM4/4/12
to sage-...@googlegroups.com
On Wed, Apr 4, 2012 at 4:16 PM, Justin C. Walker <jus...@mac.com> wrote:
>
> On Apr 4, 2012, at 13:14 , David Joyner wrote:
>
>> On Wed, Apr 4, 2012 at 4:10 PM, Justin C. Walker <jus...@mac.com> wrote:
>>> Hi, David,
>>>
>>> On Apr 4, 2012, at 09:40 , David Joyner wrote:
>>>
>>>> On Wed, Apr 4, 2012 at 6:26 AM, David Joyner <wdjo...@gmail.com> wrote:
>>>>> On Tue, Apr 3, 2012 at 9:11 AM, Jeroen Demeyer <jdem...@cage.ugent.be> wrote:
>>>>>> Could somebody with an OS X 10.7 machine please try to build the
>>>>>> following from source, preferably with SAGE_CHECK=yes:
>>>>>>
>>>>>> http://boxen.math.washington.edu/home/jdemeyer/release/sage-5.0.beta12-gcc/sage-5.0.beta12-gcc.tar
>>>>>>
>>>>>
>>>>> It finally finished the build fine. (This is on an old ibook just
>>>>> barely fast enough to be running lion.)
>>>>> I'm starting the testall now.
>>>>>
>>>>
>>>> Finished sage -testall. All tests passed on the ibook.
>>>
>>> What version of 10.7 are you running?  I'm on 10.7.1, and can't get it to build with the "stock" tarball.
>>
>>
>> 10.7.3. But I think it's on the slowest oldest ibook that will run lion:-)
>
> Newer 10.7 OS on older system; I'm the reverse.  What does 'About This Mac' say your processor is?
>


2Ghz intel core 2 duo
I think I should win a prize or something:-)


> Justin
>
> --
> Justin C. Walker, Curmudgeon at Large
> Institute for the Absorption of Federal Funds
> --
> Democracy is two wolves and a lamb
>   voting on what to have for lunch.
> Liberty is a well-armed lamb contesting
>   the vote.
>
>
>

Jeroen Demeyer

unread,
Apr 5, 2012, 2:36:38 AM4/5/12
to sage-...@googlegroups.com
I guessed you missed this part:
>> $ ./sage --sh

The log file you sent me is with Apple's compiler, not Sage's GCC.

Jeroen Demeyer

unread,
Apr 5, 2012, 2:43:36 AM4/5/12
to sage-...@googlegroups.com
On 2012-04-05 08:36, Jeroen Demeyer wrote:
> I guessed you missed this part:
>>> $ ./sage --sh

To clarify: this should be done within the Sage install which failed to
build MPIR before. It seems that GCC has been built successfully, but
that MPIR cannot be built with that new GCC. So I would like to see
what vanilla MPIR does when compiled with that GCC.

Could you also send me the output of
$ gcc -print-prog-name=as
$ as --version

Jason Grout

unread,
Apr 5, 2012, 10:23:55 AM4/5/12
to sage-...@googlegroups.com


I have a student who is trying to build on 10.7 on a 2-year old laptop.
Does he need to define SAGE_PORT=yes when trying to compile this
version? I assume he needs to use this version rather than the normal
beta12, right?

Thanks,

Jason


William Stein

unread,
Apr 5, 2012, 10:32:58 AM4/5/12
to sage-...@googlegroups.com
On Thu, Apr 5, 2012 at 7:23 AM, Jason Grout <jason...@creativetrax.com> wrote:
> On 4/3/12 8:11 AM, Jeroen Demeyer wrote:
>>
>> Could somebody with an OS X 10.7 machine please try to build the
>> following from source, preferably with SAGE_CHECK=yes:
>>
>>
>> http://boxen.math.washington.edu/home/jdemeyer/release/sage-5.0.beta12-gcc/sage-5.0.beta12-gcc.tar
>>
>
>
> I have a student who is trying to build on 10.7 on a 2-year old laptop.

It may depend on the version of XCode he has installed.

>  Does he need to define SAGE_PORT=yes when trying to compile this version?

If it immediately fails, then obviously yes.

>  I assume he needs to use this version rather than the normal beta12, right?

I think he could build the normal beta12, but he would be testing
something completely different, right? (The normal one would likely
build, but fail a lot of tests due to compiler bugs, depending on
XCode version.) Jereon's specifically interested in having this
tarball tested.

william

> Thanks,
>
> Jason


>
>
>
> --
> To post to this group, send an email to sage-...@googlegroups.com
> To unsubscribe from this group, send an email to
> sage-devel+...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org

--
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

Bruce Cohen

unread,
Apr 6, 2012, 12:34:40 AM4/6/12
to sage-...@googlegroups.com
I ran a make last night, but it did not work.  I'm attaching
config.log and an edited version of install.log.  The original
install.log is too big to mail.  The error appears to be
********************************************
Error installing package mpir-2.1.3.p10
********************************************

If it would be helpful, I can do another run this weekend after you
make some suggestions for getting this to work.

Thanks

-Bruce

SAGE_CHECK=yes
MAKE=make -j4

gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)

Mac OS X Lion 10.7.3 (11D50b)
Processor  2.3 GHz Intel Core i5

bash-3.2$ gcc -print-prog-name=as
/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/as
bash-3.2$ as --version
FATAL:/Developer/usr/bin/../libexec/as/x86_64/as: I don't understand '-' flag!

-----------------------------------


On Apr 3, 6:11 am, Jeroen Demeyer <jdeme...@cage.ugent.be> wrote:
> Could somebody with an OS X 10.7 machine please try to build the
> following from source, preferably with SAGE_CHECK=yes:
>

> http://boxen.math.washington.edu/home/jdemeyer/release/sage-5.0.beta1...

config.log
install.log-edited-down

William Stein

unread,
Apr 6, 2012, 11:01:11 AM4/6/12
to sage-...@googlegroups.com
On Thu, Apr 5, 2012 at 9:34 PM, Bruce Cohen <math....@gmail.com> wrote:
> I ran a make last night, but it did not work.  I'm attaching

For me it fails much earlier:

checking for x86_64-apple-darwin11.3.0-gcc...
/Users/wstein/sage/install/sage-5.0.beta12-gcc/spkg/build/gcc-4.6.3/gcc-build/./gcc/xgcc
-B/Users/wstein/sage/install/sage-5.0.beta12-gcc/spkg/build/gcc-4.6.3/gcc-build/./gcc/
-B/Users/wstein/sage/install/sage-5.0.beta12-gcc/local/x86_64-apple-darwin11.3.0/bin/
-B/Users/wstein/sage/install/sage-5.0.beta12-gcc/local/x86_64-apple-darwin11.3.0/lib/
-isystem /Users/wstein/sage/install/sage-5.0.beta12-gcc/local/x86_64-apple-darwin11.3.0/include
-isystem /Users/wstein/sage/install/sage-5.0.beta12-gcc/local/x86_64-apple-darwin11.3.0/sys-include
checking for suffix of object files... configure: error: in
`/Users/wstein/sage/install/sage-5.0.beta12-gcc/spkg/build/gcc-4.6.3/gcc-build/x86_64-apple-darwin11.3.0/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[4]: *** [configure-stage1-target-libgcc] Error 1
make[3]: *** [stage1-bubble] Error 2
make[2]: *** [all] Error 2

real 4m10.944s
user 6m58.470s
sys 1m27.258s
************************************************************************
Error installing package gcc-4.6.3

---

deep:sage-5.0.beta12-gcc wstein$ gcc --version
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc.
build 5658) (LLVM build 2335.15.00)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

See:

http://wstein.org/home/wstein/tmp/install-5.0.beta12-gcc.log

Jeroen Demeyer

unread,
Apr 6, 2012, 11:49:47 AM4/6/12
to sage-...@googlegroups.com
On 2012-04-06 17:01, William Stein wrote:
> On Thu, Apr 5, 2012 at 9:34 PM, Bruce Cohen <math....@gmail.com> wrote:
>> I ran a make last night, but it did not work. I'm attaching
>
> For me it fails much earlier:
Please try

$ export CC=clang
$ make

and report whether that works.

William Stein

unread,
Apr 6, 2012, 3:32:07 PM4/6/12
to sage-...@googlegroups.com

It works! The build completed fine, and I just ran the tests in
libs/pari and they all passed. I'm waiting for the docs to build and
the rest of "make ptestlong" to run.

William

William Stein

unread,
Apr 6, 2012, 6:21:45 PM4/6/12
to sage-...@googlegroups.com
Hi,

There is exactly one test failure in running the full "make ptestlong"
test suite after a clean build of Sage on OS X 10.7! It's in Polybori
(see below). That's it. Absolutely everything else passes. This
means the goal of getting Sage ported to 10.7 enough for the Sage-5.0
release is "99.999999%" there.

sage -t --long -force_lib devel/sage/sage/rings/polynomial/pbori.pyx
^[[?1034h**********************************************************************
File "/Users/wstein/sage/install/sage-5.0.beta12-gcc/devel/sage-main/sage/rings/polynomial/pbori.pyx",
line 120:
sage: for f in I2.groebner_basis():
f
Exception raised:
Traceback (most recent call last):
File "/Users/wstein/sage/install/sage-5.0.beta12-gcc/local/bin/ncadoctest.py",
line 1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/Users/wstein/sage/install/sage-5.0.beta12-gcc/local/bin/sagedoctest.py",
line 38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example,
filename, compileflags)
File "/Users/wstein/sage/install/sage-5.0.beta12-gcc/local/bin/ncadoctest.py",
line 1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_0[12]>", line 1, in <module>
for f in I2.groebner_basis():###line 120:
sage: for f in I2.groebner_basis():
File "pbori.pyx", line 4852, in
sage.rings.polynomial.pbori.BooleanPolynomialIdeal.groebner_basis
(sage/rings/polynomial/pbori.cpp:28192)
sig_on()
RuntimeError: Aborted
**********************************************************************
File "/Users/wstein/sage/install/sage-5.0.beta12-gcc/devel/sage-main/sage/rings/polynomial/pbori.pyx",
line 4839:
sage: I.groebner_basis()
Exception raised:
Traceback (most recent call last):
File "/Users/wstein/sage/install/sage-5.0.beta12-gcc/local/bin/ncadoctest.py",
line 1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/Users/wstein/sage/install/sage-5.0.beta12-gcc/local/bin/sagedoctest.py",
line 38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example,
filename, compileflags)
File "/Users/wstein/sage/install/sage-5.0.beta12-gcc/local/bin/ncadoctest.py",
line 1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_152[11]>", line 1, in <module>
I.groebner_basis()###line 4839:
sage: I.groebner_basis()
File "pbori.pyx", line 4852, in
sage.rings.polynomial.pbori.BooleanPolynomialIdeal.groebner_basis
(sage/rings/polynomial/pbori.cpp:28192)
sig_on()
RuntimeError: Aborted

------------------------------------------------------------------------

--

Bruce Cohen

unread,
Apr 7, 2012, 1:33:32 PM4/7/12
to sage-devel, Bruce Cohen

Francis Clarke

unread,
Apr 8, 2012, 5:12:37 AM4/8/12
to sage-...@googlegroups.com


On Friday, 6 April 2012 23:21:45 UTC+1, William wrote:
Hi,

There is exactly one test failure in running the full "make ptestlong"
test suite after a clean build of Sage on OS X 10.7!  It's in Polybori

On my MacBook Pro [OS 10.7.3, 2.66 GHz Intel Core 2 Duo, 4 GB] it built fine (after 12 hours), and "make ptestlong" gave rise to no failures at all.  In particular,

sage -t --long -force_lib "devel/sage/sage/rings/polynomial/pbori.pyx"
[7.0 s]
 
----------------------------------------------------------------------
All tests passed!
Total time for all tests: 7.0 seconds

Francis Clarke

William Stein

unread,
Apr 8, 2012, 9:01:35 AM4/8/12
to sage-...@googlegroups.com
On Sun, Apr 8, 2012 at 2:12 AM, Francis Clarke
<francis....@gmail.com> wrote:
>
>
> On Friday, 6 April 2012 23:21:45 UTC+1, William wrote:
>>
>> Hi,
>>
>> There is exactly one test failure in running the full "make ptestlong"
>> test suite after a clean build of Sage on OS X 10.7!  It's in Polybori
>

I just built on a "clean" 2009 Macbook Air with updated OS X 10.7.3
and the latest XCode, and it took 291 minutes, built fine, and passed
absolutely *all* tests (including polybori).

-- William

> On my MacBook Pro [OS 10.7.3, 2.66 GHz Intel Core 2 Duo, 4 GB] it built fine
> (after 12 hours), and "make ptestlong" gave rise to no failures at all.  In
> particular,
>
> sage -t --long -force_lib "devel/sage/sage/rings/polynomial/pbori.pyx"
> [7.0 s]
>
> ----------------------------------------------------------------------
> All tests passed!
> Total time for all tests: 7.0 seconds
>
> Francis Clarke
>

> --
> To post to this group, send an email to sage-...@googlegroups.com
> To unsubscribe from this group, send an email to
> sage-devel+...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org

--

Jeroen Demeyer

unread,
Apr 8, 2012, 1:01:30 PM4/8/12
to sage-...@googlegroups.com
On 2012-04-08 15:01, William Stein wrote:
> On Sun, Apr 8, 2012 at 2:12 AM, Francis Clarke
> <francis....@gmail.com> wrote:
>>
>>
>> On Friday, 6 April 2012 23:21:45 UTC+1, William wrote:
>>>
>>> Hi,
>>>
>>> There is exactly one test failure in running the full "make ptestlong"
>>> test suite after a clean build of Sage on OS X 10.7! It's in Polybori
>>
>
> I just built on a "clean" 2009 Macbook Air with updated OS X 10.7.3
> and the latest XCode, and it took 291 minutes, built fine, and passed
> absolutely *all* tests (including polybori).
As far as I can tell, there are currently some problems on OS X 10.7
with older versions of XCode, but newer versions seem to work well.
Except some development in the coming betas.

Jeroen Demeyer

unread,
Apr 9, 2012, 9:32:16 AM4/9/12
to sage-devel
On 2012-04-06 17:01, William Stein wrote:
> For me it fails much earlier:
>
> checking for x86_64-apple-darwin11.3.0-gcc...
> /Users/wstein/sage/install/sage-5.0.beta12-gcc/spkg/build/gcc-4.6.3/gcc-build/./gcc/xgcc
> -B/Users/wstein/sage/install/sage-5.0.beta12-gcc/spkg/build/gcc-4.6.3/gcc-build/./gcc/
> -B/Users/wstein/sage/install/sage-5.0.beta12-gcc/local/x86_64-apple-darwin11.3.0/bin/
> -B/Users/wstein/sage/install/sage-5.0.beta12-gcc/local/x86_64-apple-darwin11.3.0/lib/
> -isystem /Users/wstein/sage/install/sage-5.0.beta12-gcc/local/x86_64-apple-darwin11.3.0/include
> -isystem /Users/wstein/sage/install/sage-5.0.beta12-gcc/local/x86_64-apple-darwin11.3.0/sys-include
> checking for suffix of object files... configure: error: in
> `/Users/wstein/sage/install/sage-5.0.beta12-gcc/spkg/build/gcc-4.6.3/gcc-build/x86_64-apple-darwin11.3.0/libgcc':
> configure: error: cannot compute suffix of object files: cannot compile
> See `config.log' for more details.
> make[4]: *** [configure-stage1-target-libgcc] Error 1
> make[3]: *** [stage1-bubble] Error 2
> make[2]: *** [all] Error 2

William, could you please post the output of the following commands on
that system:

$ which cc
$ which gcc
$ which clang
$ cc --version
$ gcc --version
$ clang --version

A fix for this problem should be #12820.

Jeroen Demeyer

unread,
Apr 9, 2012, 9:35:04 AM4/9/12
to sage-...@googlegroups.com
For those who can't install MPIR, please try the new spkg from #11616:

./sage -f
http://boxen.math.washington.edu/home/jdemeyer/spkg/mpir-2.4.0.p2.spkg

and send me spkg/logs/mpir-2.4.0.p2.log
(regardless of whether the install succeeded)

Justin C. Walker

unread,
Apr 10, 2012, 8:20:43 PM4/10/12
to sage-...@googlegroups.com

On Apr 8, 2012, at 06:01 , William Stein wrote:

> On Sun, Apr 8, 2012 at 2:12 AM, Francis Clarke
> <francis....@gmail.com> wrote:
>>
>>
>> On Friday, 6 April 2012 23:21:45 UTC+1, William wrote:
>>>
>>> Hi,
>>>
>>> There is exactly one test failure in running the full "make ptestlong"
>>> test suite after a clean build of Sage on OS X 10.7! It's in Polybori
>>
>
> I just built on a "clean" 2009 Macbook Air with updated OS X 10.7.3
> and the latest XCode, and it took 291 minutes, built fine, and passed
> absolutely *all* tests (including polybori).

I tried sage-b13-lion, and the build blew up at the ECM package (I'll send the log to Jeroen). I don't mind making the requirement that, for 10.7, the user must upgrade to 10.7.3/Xcode 4.3[.?]; but, personally, I can't make that move until I have a better understanding of the implications for my files and "the cloud".

I think that is the one potential gotcha in making the requirement, but it is necessary, given the poor state of the initial releases of the OS and Xcode.

The amount of effort that Sage developers have expended on this is impressive, and a credit to the team. If this works as well as it seems, I think it's high time to move on.

Justin

--
Justin C. Walker, Curmudgeon at Large
Institute for the Absorption of Federal Funds

-----------
I want to die, peacefully in my sleep, like my grandfather;
not screaming in terror, like his passengers.


Reply all
Reply to author
Forward
0 new messages