Bug#356107: fseries_221.10065-1(m68k/unstable/spice): ftbfs on m68k

2006-03-16 Thread Diethelm Wuertz

Dear all,

I took some time to look at the code, but I not really know what to do. 
The Fortran

program concerns the SQP algorithm written not by myself but with extension
added by me. I had also some problems to run it for the Mac and under
Windows with the Mingw gfortran/gf77 compilers but I think these were 
(hopefully)

solved.

I have not more time to spend on the (old) m68k, and I hope we can live 
with it.

Sorry, and many thanks


Diethelm


Prof Brian Ripley wrote:


On Thu, 9 Mar 2006, Dirk Eddelbuettel wrote:



Diethelm,

Any comment from your end?

-- The code only fails on m68k (which has historically had an 
above-average

share of troubles with Fortran).

-- The previous fSeries released passed so it may be the new Garch 
code in

  file 034B-GarchModelling.f



Yes, from the log

g77   -fPIC  -g -O2 -c 034B-GarchModelling.f -o 034B-GarchModelling.o
034B-GarchModelling.f: In subroutine `pc1f01':
In file included from 034B-GarchModelling.f:0:
034B-GarchModelling.f:2628: internal compiler error: in 
verify_initial_elim_offsets, at reload1.c:3297

Please submit a full bug report,

It's a compiler bug, and suggests sending a compiler bug report.  On 
such a minority platform (I last used m68k in the 1980s) and with an 
end-of-line gcc version I can see you might not want to do so.


Generally g77 is still more reliable than gfortran at building R 
packages, but with 4.0.2 and 4.1.0 the gap has closed a lot.  I will 
probably migrate to 4.1.0 on Linux/Solaris shortly (MinGW is another 
story).


-- According to Stephen, gfortran 4.0 compiles it fine so maybe once 
I turn
  from gcc/g77 3.4 to gcc/gfortran 4.0 (and soon 4.1) the problems 
will go

  away by itself. I will also CC Brian as he probably has the best
  understanding of the interactions between R and the various gcc 
releases.


Regards,  Dirk

On 9 March 2006 at 13:21, Stephen R Marenka wrote:
| Package: fseries
| Version: 221.10065-1
| Severity: important
|
|
| fseries fails to build from source due to a gcc-3.4 ICE on m68k. For
| what it's worth, I built the package with gfortran-4.0 and it built 
fine.

|
| I'm not sure of the other implications involved with a change of
| compiler.
|
| You are welcomed to do whatever you want to with this bug report. :)
|
| Here are selected excerpts from the buildd log.
|
|
| | Automatic build of fseries_221.10065-1 on spice by sbuild/m68k 85
| | Build started at 20060221-2154
| | 
** 


|
|  [...]
|
| | ** Using build dependencies supplied by package:
| | Build-Depends: debhelper ( 4.1.0), r-base-dev (= 2.0.0), cdbs, 
r-cran-fbasics (= 201.10059), r-cran-fcalendar, r-cran-mgcv (= 
1.1.5), r-cran-vr (= 7.2.8)

|
|  [...]
|
| | Checking correctness of source dependencies...
| | Toolchain package versions: libc6-dev_2.3.5-12 
linux-kernel-headers_2.6.13+0rc3-2 gcc-4.0_4.0.2-8 g++-4.0_4.0.2-8 
binutils_2.16.1cvs20060117-1 libstdc++6-4.0-dev_4.0.2-8 
libstdc++6_4.0.2-8

|
|  [...]
|
| | g77   -fPIC  -g -O2 -c 034B-GarchModelling.f -o 
034B-GarchModelling.o

| | 034B-GarchModelling.f: In subroutine `pc1f01':
| | In file included from 034B-GarchModelling.f:0:
| | 034B-GarchModelling.f:2628: internal compiler error: in 
verify_initial_elim_offsets, at reload1.c:3297

| | Please submit a full bug report,
| | with preprocessed source if appropriate.
| | See URL:http://gcc.gnu.org/bugs.html for instructions.
| | For Debian GNU/Linux specific bug reporting instructions,
| | see URL:file:///usr/share/doc/gcc-3.4/README.Bugs.
| | make[1]: *** [034B-GarchModelling.o] Error 1
| | make[1]: Leaving directory `/build/buildd/fseries-221.10065/src'
| | ERROR: compilation failed for package 'fSeries'
| | ** Removing 
'/build/buildd/fseries-221.10065/debian/r-cran-fseries/usr/lib/R/site-library/fSeries' 


| | make: *** [R_any_arch] Error 1
| | 
** 


| | Build finished at 20060221-2216
| | FAILED [dpkg-buildpackage died]
|
|
| A full buildd log is available at
| 
http://buildd.debian.org/build.php?pkg=fseriesver=221.10065-1arch=m68k 


|
| Other buildd logs may be available at
| http://buildd.debian.org/build.php?arch=pkg=fseries
|
| --
| Stephen R. Marenka If life's not fun, you're not doing it right!
| [EMAIL PROTECTED]
|








--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#356107: fseries_221.10065-1(m68k/unstable/spice): ftbfs on m68k

2006-03-16 Thread Dirk Eddelbuettel

On 16 March 2006 at 08:46, Diethelm Wuertz wrote:
| Dear all,
| 
| I took some time to look at the code, but I not really know what to do. 
| The Fortran
| program concerns the SQP algorithm written not by myself but with extension
| added by me. I had also some problems to run it for the Mac and under
| Windows with the Mingw gfortran/gf77 compilers but I think these were 
| (hopefully)
| solved.
| 
| I have not more time to spend on the (old) m68k, and I hope we can live 
| with it.
| Sorry, and many thanks


Yes, we concluded that it's probably most gcc's fault as Fortran support
really sucks on some architectures (on which no sane person would run
numerically challenging code -- arm, m68k and the like which is why this will
probably never get much better than it is).  

Reducing optimisation one level to -O1 fixes the issue as Stephen confirmed.
That's a fair compromise as we can't and wouldn't expect you to rewrite this
is a modern language

Cheers, Dirk

-- 
Hell, there are no rules here - we're trying to accomplish something. 
  -- Thomas A. Edison


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#356107: fseries_221.10065-1(m68k/unstable/spice): ftbfs on m68k

2006-03-13 Thread Stephen R Marenka
On Sat, Mar 11, 2006 at 10:16:22PM -0600, Dirk Eddelbuettel wrote:
 
 Try this, please:

Ends up with the following command line, which fails.

| g77  -w -O0 -fPIC  -g -O2 -c 034B-GarchModelling.f -o 034B-GarchModelling.o

BTW: I'm uploading the package I built with 034B-GarchModelling.f
compiled with -O1 by hand. I'll leave my test stuff in place if you want
me to try some other patches.

-- 
Stephen R. Marenka If life's not fun, you're not doing it right!
[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Bug#356107: fseries_221.10065-1(m68k/unstable/spice): ftbfs on m68k

2006-03-13 Thread Dirk Eddelbuettel


On 13 March 2006 at 07:50, Stephen R Marenka wrote:
| On Sat, Mar 11, 2006 at 10:16:22PM -0600, Dirk Eddelbuettel wrote:
|  
|  Try this, please:
| 
| Ends up with the following command line, which fails.
| 
| | g77  -w -O0 -fPIC  -g -O2 -c 034B-GarchModelling.f -o 034B-GarchModelling.o

I was afraid of that. I noticed in my tests that PKG_FFLAGS gets added to the
existing hard-coded flags from /etc/R/Makeconf. There must be a way to
override them, but I haven't found it.  Will talk to to upstream. Actually,
before CCing upstream I just googled and found eg this from the R-devel list

http://tolstoy.newcastle.edu.au/R/devel/05/02/2173.html

so you could try the 'if m68k' line in debian/rules to start as 
MAKEFLAGS=CFLAGS=-O1 R CMD INSTALL 
where  is everything we currently have behind INSTALL.

| BTW: I'm uploading the package I built with 034B-GarchModelling.f
| compiled with -O1 by hand. I'll leave my test stuff in place if you want
| me to try some other patches.

Super, thanks. I really appreciate the manual help!

Cheers, Dirk

-- 
Hell, there are no rules here - we're trying to accomplish something. 
  -- Thomas A. Edison


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#356107: fseries_221.10065-1(m68k/unstable/spice): ftbfs on m68k

2006-03-13 Thread Dirk Eddelbuettel

On 13 March 2006 at 09:02, Stephen R Marenka wrote:
| On Mon, Mar 13, 2006 at 08:23:34AM -0600, Dirk Eddelbuettel wrote:
| 
|  so you could try the 'if m68k' line in debian/rules to start as 
|  MAKEFLAGS=CFLAGS=-O1 R CMD INSTALL 
|  where  is everything we currently have behind INSTALL.
| 
| If you mean:
| | MAKEFLAGS=CFLAGS=-O1 R CMD INSTALL -l $(debRlib) --clean .
| 
| then you get
| | g77   -fPIC  -g -O2 -c 034B-GarchModelling.f -o 034B-GarchModelling.o

Apologies, I did of course mean to write in terms of FFLAGS, not
CFLAGS. Could you try

 MAKEFLAGS=FFLAGS=-O1 R CMD INSTALL -l $(debRlib) --clean .

Thanks, Dirk

-- 
Hell, there are no rules here - we're trying to accomplish something. 
  -- Thomas A. Edison


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#356107: fseries_221.10065-1(m68k/unstable/spice): ftbfs on m68k

2006-03-13 Thread Stephen R Marenka
On Mon, Mar 13, 2006 at 08:23:34AM -0600, Dirk Eddelbuettel wrote:

 so you could try the 'if m68k' line in debian/rules to start as 
   MAKEFLAGS=CFLAGS=-O1 R CMD INSTALL 
 where  is everything we currently have behind INSTALL.

If you mean:
| MAKEFLAGS=CFLAGS=-O1 R CMD INSTALL -l $(debRlib) --clean .

then you get
| g77   -fPIC  -g -O2 -c 034B-GarchModelling.f -o 034B-GarchModelling.o

-- 
Stephen R. Marenka If life's not fun, you're not doing it right!
[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Bug#356107: fseries_221.10065-1(m68k/unstable/spice): ftbfs on m68k

2006-03-13 Thread Dirk Eddelbuettel

Ok, I tested the debian/rules and it works. One thing I have figured out is
how to pass more than one argument to FFLAGS which seems to fail -- I am
probably running into some issues with quoting.

Dirk



#!/usr/bin/make -f
#   -*- makefile -*-
# debian/rules file for the Debian/GNU Linux r-cran-fseries package
# Copyright 2003-2006 by Dirk Eddelbuettel [EMAIL PROTECTED]

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/langcore.mk

# package name, also forced lower case
cranName:= $(shell grep Package: DESCRIPTION | cut -f2 -d )
cranNameLC  := $(shell echo $(cranName) | tr [A-Z] [a-z] )
## which we can use to build the package directory 
package := r-cran-$(cranNameLC)
## which we use for the to-be-installed-in directory
debRlib :=$(CURDIR)/debian/$(package)/usr/lib/R/site-library

## edd 11 Mar 2006  need to special for m68k and its Fortran compiler
arch:= $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU)

common-install-indep:: R_any_arch
common-install-arch:: R_any_arch

R_any_arch:
dh_installdirs  usr/lib/R/site-library
ifeq ($(arch),m68k)
MAKEFLAGS=FFLAGS=-O1 R CMD INSTALL -l $(debRlib) --clean .
else
R CMD INSTALL -l $(debRlib) --clean . 
endif
rm -vf $(debRlib)/R.css $(debRlib)/*/COPYING 


-- 
Hell, there are no rules here - we're trying to accomplish something. 
  -- Thomas A. Edison


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#356107: fseries_221.10065-1(m68k/unstable/spice): ftbfs on m68k

2006-03-13 Thread Stephen R Marenka
On Mon, Mar 13, 2006 at 10:47:13AM -0600, Dirk Eddelbuettel wrote:
 
 Ok, I tested the debian/rules and it works. One thing I have figured out is
 how to pass more than one argument to FFLAGS which seems to fail -- I am
 probably running into some issues with quoting.

This one works fine.

-- 
Stephen R. Marenka If life's not fun, you're not doing it right!
[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Bug#356107: fseries_221.10065-1(m68k/unstable/spice): ftbfs on m68k

2006-03-13 Thread Dirk Eddelbuettel

| On Mon, Mar 13, 2006 at 10:47:13AM -0600, Dirk Eddelbuettel wrote:
|  
|  Ok, I tested the debian/rules and it works. One thing I have figured out is
|  how to pass more than one argument to FFLAGS which seems to fail -- I am
|  probably running into some issues with quoting.
| 
| This one works fine.

Thanks for confirming, and of course your upload. We'll go with this now
tested and confirmed debian/rules as per the next revision; I'll mark the
bug pending. Ok?

Thanks again, Dirk

-- 
Hell, there are no rules here - we're trying to accomplish something. 
  -- Thomas A. Edison


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#356107: fseries_221.10065-1(m68k/unstable/spice): ftbfs on m68k

2006-03-13 Thread Stephen R Marenka
On Mon, Mar 13, 2006 at 02:37:08PM -0600, Dirk Eddelbuettel wrote:

 Thanks for confirming, and of course your upload. We'll go with this now
 tested and confirmed debian/rules as per the next revision; I'll mark the
 bug pending. Ok?

Works for me.

-- 
Stephen R. Marenka If life's not fun, you're not doing it right!
[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Bug#356107: fseries_221.10065-1(m68k/unstable/spice): ftbfs on m68k

2006-03-11 Thread Stephen R Marenka
On Fri, Mar 10, 2006 at 08:31:31AM -0600, Dirk Eddelbuettel wrote:

 Great!  We have a long and shameful history of suppressing optimisation on
 arm and m68k to enable complete compilation, so I will go back to -O1 for
 m68k.  Could you possibly push a manual build of the package?  I don't really
 want to force it through all the builders given that it just built everywhere
 else and the only change would be conditional on m68k anyway.

Sure, I'll get it built forthwith. At least the good news is we might
survive the jump to gfortran-4.0. :)

Thanks,

Stephen

-- 
Stephen R. Marenka If life's not fun, you're not doing it right!
[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Bug#356107: fseries_221.10065-1(m68k/unstable/spice): ftbfs on m68k

2006-03-11 Thread Dirk Eddelbuettel

(Diethelm and Brian trimmed)

On 11 March 2006 at 20:59, Stephen R Marenka wrote:
| On Fri, Mar 10, 2006 at 08:31:31AM -0600, Dirk Eddelbuettel wrote:
| 
|  Great!  We have a long and shameful history of suppressing optimisation on
|  arm and m68k to enable complete compilation, so I will go back to -O1 for
|  m68k.  Could you possibly push a manual build of the package?  I don't 
really
|  want to force it through all the builders given that it just built 
everywhere
|  else and the only change would be conditional on m68k anyway.
| 
| Sure, I'll get it built forthwith. At least the good news is we might
| survive the jump to gfortran-4.0. :)

Cool, thanks.

As you'll see the debian/rules is the usual super-short stanza based on
cdbs. I am not yet sure how best to tell to set -O1 (or even -O0).

I guess 
DEB_BUILD_OPTIONS=noopt
would do, no?  (Conditional of m68k, of course).

Even then langcore.mk only sets CFLAGS and CXXFLAGS :-/

Thoughts?

Dirk

-- 
Hell, there are no rules here - we're trying to accomplish something. 
  -- Thomas A. Edison


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#356107: fseries_221.10065-1(m68k/unstable/spice): ftbfs on m68k

2006-03-11 Thread Dirk Eddelbuettel

On 11 March 2006 at 21:37, Dirk Eddelbuettel wrote:
| 
| (Diethelm and Brian trimmed)
| 
| On 11 March 2006 at 20:59, Stephen R Marenka wrote:
| | On Fri, Mar 10, 2006 at 08:31:31AM -0600, Dirk Eddelbuettel wrote:
| | 
| |  Great!  We have a long and shameful history of suppressing optimisation on
| |  arm and m68k to enable complete compilation, so I will go back to -O1 for
| |  m68k.  Could you possibly push a manual build of the package?  I don't 
really
| |  want to force it through all the builders given that it just built 
everywhere
| |  else and the only change would be conditional on m68k anyway.
| | 
| | Sure, I'll get it built forthwith. At least the good news is we might
| | survive the jump to gfortran-4.0. :)
| 
| Cool, thanks.
| 
| As you'll see the debian/rules is the usual super-short stanza based on
| cdbs. I am not yet sure how best to tell to set -O1 (or even -O0).
| 
| I guess 
|   DEB_BUILD_OPTIONS=noopt
| would do, no?  (Conditional of m68k, of course).
| 
| Even then langcore.mk only sets CFLAGS and CXXFLAGS :-/
| 
| Thoughts?

Got it. R listens to its own PKG_FFLAGS, so prepending the R CMD INSTALL does
it :

PKG_FFLAGS=-w -O0 R CMD INSTALL -l $(debRlib) --clean . 

which even activates the unused-as-set-in-FLAGS-instead-of-PKG_FFLAGS switch
-w from src/Makevars :)

Now we only need to wrap this in a test for m68k. Give me another minutes or
two.

Dirk

-- 
Hell, there are no rules here - we're trying to accomplish something. 
  -- Thomas A. Edison


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#356107: fseries_221.10065-1(m68k/unstable/spice): ftbfs on m68k

2006-03-11 Thread Dirk Eddelbuettel

Try this, please:

-
#!/usr/bin/make -f
#   -*- makefile -*-
# debian/rules file for the Debian/GNU Linux r-cran-fseries package
# Copyright 2003-2006 by Dirk Eddelbuettel [EMAIL PROTECTED]

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/langcore.mk

# package name, also forced lower case
cranName:= $(shell grep Package: DESCRIPTION | cut -f2 -d )
cranNameLC  := $(shell echo $(cranName) | tr [A-Z] [a-z] )
## which we can use to build the package directory 
package := r-cran-$(cranNameLC)
## which we use for the to-be-installed-in directory
debRlib :=$(CURDIR)/debian/$(package)/usr/lib/R/site-library

## edd 11 Mar 2006  need to special for m68k and its Fortran compiler
arch:= $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU)

common-install-indep:: R_any_arch
common-install-arch:: R_any_arch

R_any_arch:
dh_installdirs  usr/lib/R/site-library
ifeq ($(arch),m68k)
PKG_FFLAGS=-w -O0 R CMD INSTALL -l $(debRlib) --clean . 
else
R CMD INSTALL -l $(debRlib) --clean . 
endif
rm -vf $(debRlib)/R.css $(debRlib)/*/COPYING 

-

Dirk

-- 
Hell, there are no rules here - we're trying to accomplish something. 
  -- Thomas A. Edison


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#356107: fseries_221.10065-1(m68k/unstable/spice): ftbfs on m68k

2006-03-10 Thread Prof Brian Ripley

On Thu, 9 Mar 2006, Dirk Eddelbuettel wrote:



Diethelm,

Any comment from your end?

-- The code only fails on m68k (which has historically had an above-average
share of troubles with Fortran).

-- The previous fSeries released passed so it may be the new Garch code in
  file 034B-GarchModelling.f


Yes, from the log

g77   -fPIC  -g -O2 -c 034B-GarchModelling.f -o 034B-GarchModelling.o
034B-GarchModelling.f: In subroutine `pc1f01':
In file included from 034B-GarchModelling.f:0:
034B-GarchModelling.f:2628: internal compiler error: in 
verify_initial_elim_offsets, at reload1.c:3297

Please submit a full bug report,

It's a compiler bug, and suggests sending a compiler bug report.  On such 
a minority platform (I last used m68k in the 1980s) and with an 
end-of-line gcc version I can see you might not want to do so.


Generally g77 is still more reliable than gfortran at building R packages, 
but with 4.0.2 and 4.1.0 the gap has closed a lot.  I will probably 
migrate to 4.1.0 on Linux/Solaris shortly (MinGW is another story).



-- According to Stephen, gfortran 4.0 compiles it fine so maybe once I turn
  from gcc/g77 3.4 to gcc/gfortran 4.0 (and soon 4.1) the problems will go
  away by itself. I will also CC Brian as he probably has the best
  understanding of the interactions between R and the various gcc releases.

Regards,  Dirk

On 9 March 2006 at 13:21, Stephen R Marenka wrote:
| Package: fseries
| Version: 221.10065-1
| Severity: important
|
|
| fseries fails to build from source due to a gcc-3.4 ICE on m68k. For
| what it's worth, I built the package with gfortran-4.0 and it built fine.
|
| I'm not sure of the other implications involved with a change of
| compiler.
|
| You are welcomed to do whatever you want to with this bug report. :)
|
| Here are selected excerpts from the buildd log.
|
|
| | Automatic build of fseries_221.10065-1 on spice by sbuild/m68k 85
| | Build started at 20060221-2154
| | 
**
|
|  [...]
|
| | ** Using build dependencies supplied by package:
| | Build-Depends: debhelper ( 4.1.0), r-base-dev (= 2.0.0), cdbs, r-cran-fbasics 
(= 201.10059), r-cran-fcalendar, r-cran-mgcv (= 1.1.5), r-cran-vr (= 7.2.8)
|
|  [...]
|
| | Checking correctness of source dependencies...
| | Toolchain package versions: libc6-dev_2.3.5-12 
linux-kernel-headers_2.6.13+0rc3-2 gcc-4.0_4.0.2-8 g++-4.0_4.0.2-8 
binutils_2.16.1cvs20060117-1 libstdc++6-4.0-dev_4.0.2-8 libstdc++6_4.0.2-8
|
|  [...]
|
| | g77   -fPIC  -g -O2 -c 034B-GarchModelling.f -o 034B-GarchModelling.o
| | 034B-GarchModelling.f: In subroutine `pc1f01':
| | In file included from 034B-GarchModelling.f:0:
| | 034B-GarchModelling.f:2628: internal compiler error: in 
verify_initial_elim_offsets, at reload1.c:3297
| | Please submit a full bug report,
| | with preprocessed source if appropriate.
| | See URL:http://gcc.gnu.org/bugs.html for instructions.
| | For Debian GNU/Linux specific bug reporting instructions,
| | see URL:file:///usr/share/doc/gcc-3.4/README.Bugs.
| | make[1]: *** [034B-GarchModelling.o] Error 1
| | make[1]: Leaving directory `/build/buildd/fseries-221.10065/src'
| | ERROR: compilation failed for package 'fSeries'
| | ** Removing 
'/build/buildd/fseries-221.10065/debian/r-cran-fseries/usr/lib/R/site-library/fSeries'
| | make: *** [R_any_arch] Error 1
| | 
**
| | Build finished at 20060221-2216
| | FAILED [dpkg-buildpackage died]
|
|
| A full buildd log is available at
| http://buildd.debian.org/build.php?pkg=fseriesver=221.10065-1arch=m68k
|
| Other buildd logs may be available at
| http://buildd.debian.org/build.php?arch=pkg=fseries
|
| --
| Stephen R. Marenka If life's not fun, you're not doing it right!
| [EMAIL PROTECTED]
|




--
Brian D. Ripley,  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel:  +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UKFax:  +44 1865 272595


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#356107: fseries_221.10065-1(m68k/unstable/spice): ftbfs on m68k

2006-03-10 Thread Stephen R Marenka
On Thu, Mar 09, 2006 at 03:19:13PM -0600, Dirk Eddelbuettel wrote:

 As a general rule, I can expect to successfully mix code from gcc 3.4 and
 4.0, right? 
 
 In which case, could I create a -2 upload with gcc/gfortran 4.0 even though
 the rest of R and the couple dozen R-dependent packages are all built with
 3.4?  I had not yet enforced gcc 4.* for R. 

 | I'm not sure of the other implications involved with a change of
 | compiler.

I wish I could tell you the right answer. It seems like the point of
gcc-3.4 and gcc-4.0 was to make migration easier.

 If you do 'apt-cache rdepends r-base-core' you get an idea. Not all of these
 packages use compiled code, and even fewer use Fortran. 
 
 On the other hand, would the ICE go away for this package with less (or no)
 optimization ? 

034B-GarchModelling.f compiles fine with -01.

 | You are welcomed to do whatever you want to with this bug report. :)
 
 Can I tag it 'm68k-only' and make it less than 'important' severity to not
 hold up all the working arches? It has built everywhere else ...

Important won't cause you any problems, but feel free to change the
severity and tag it anyway you'd like.

-- 
Stephen R. Marenka If life's not fun, you're not doing it right!
[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Bug#356107: fseries_221.10065-1(m68k/unstable/spice): ftbfs on m68k

2006-03-10 Thread Dirk Eddelbuettel

(Re-added CCs for Diethelm and Brian as heads-ups)

On 10 March 2006 at 08:02, Stephen R Marenka wrote:
| On Thu, Mar 09, 2006 at 03:19:13PM -0600, Dirk Eddelbuettel wrote:
| 
|  As a general rule, I can expect to successfully mix code from gcc 3.4 and
|  4.0, right? 
|  
|  In which case, could I create a -2 upload with gcc/gfortran 4.0 even though
|  the rest of R and the couple dozen R-dependent packages are all built with
|  3.4?  I had not yet enforced gcc 4.* for R. 
| 
|  | I'm not sure of the other implications involved with a change of
|  | compiler.
| 
| I wish I could tell you the right answer. It seems like the point of
| gcc-3.4 and gcc-4.0 was to make migration easier.

That was my understanding too.

|  If you do 'apt-cache rdepends r-base-core' you get an idea. Not all of these
|  packages use compiled code, and even fewer use Fortran. 
|  
|  On the other hand, would the ICE go away for this package with less (or no)
|  optimization ? 
| 
| 034B-GarchModelling.f compiles fine with -01.

Great!  We have a long and shameful history of suppressing optimisation on
arm and m68k to enable complete compilation, so I will go back to -O1 for
m68k.  Could you possibly push a manual build of the package?  I don't really
want to force it through all the builders given that it just built everywhere
else and the only change would be conditional on m68k anyway.

Thanks for your help!

Dirk

|  | You are welcomed to do whatever you want to with this bug report. :)
|  
|  Can I tag it 'm68k-only' and make it less than 'important' severity to not
|  hold up all the working arches? It has built everywhere else ...
| 
| Important won't cause you any problems, but feel free to change the
| severity and tag it anyway you'd like.
| 
| -- 
| Stephen R. Marenka If life's not fun, you're not doing it right!
| [EMAIL PROTECTED]

-- 
Hell, there are no rules here - we're trying to accomplish something. 
  -- Thomas A. Edison


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#356107: fseries_221.10065-1(m68k/unstable/spice): ftbfs on m68k

2006-03-09 Thread Stephen R Marenka
Package: fseries
Version: 221.10065-1
Severity: important


fseries fails to build from source due to a gcc-3.4 ICE on m68k. For 
what it's worth, I built the package with gfortran-4.0 and it built fine.

I'm not sure of the other implications involved with a change of
compiler.

You are welcomed to do whatever you want to with this bug report. :)

Here are selected excerpts from the buildd log.


| Automatic build of fseries_221.10065-1 on spice by sbuild/m68k 85
| Build started at 20060221-2154
| **

 [...]

| ** Using build dependencies supplied by package:
| Build-Depends: debhelper ( 4.1.0), r-base-dev (= 2.0.0), cdbs, 
r-cran-fbasics (= 201.10059), r-cran-fcalendar, r-cran-mgcv (= 1.1.5), 
r-cran-vr (= 7.2.8)

 [...]

| Checking correctness of source dependencies...
| Toolchain package versions: libc6-dev_2.3.5-12 
linux-kernel-headers_2.6.13+0rc3-2 gcc-4.0_4.0.2-8 g++-4.0_4.0.2-8 
binutils_2.16.1cvs20060117-1 libstdc++6-4.0-dev_4.0.2-8 libstdc++6_4.0.2-8

 [...]

| g77   -fPIC  -g -O2 -c 034B-GarchModelling.f -o 034B-GarchModelling.o
| 034B-GarchModelling.f: In subroutine `pc1f01':
| In file included from 034B-GarchModelling.f:0:
| 034B-GarchModelling.f:2628: internal compiler error: in 
verify_initial_elim_offsets, at reload1.c:3297
| Please submit a full bug report,
| with preprocessed source if appropriate.
| See URL:http://gcc.gnu.org/bugs.html for instructions.
| For Debian GNU/Linux specific bug reporting instructions,
| see URL:file:///usr/share/doc/gcc-3.4/README.Bugs.
| make[1]: *** [034B-GarchModelling.o] Error 1
| make[1]: Leaving directory `/build/buildd/fseries-221.10065/src'
| ERROR: compilation failed for package 'fSeries'
| ** Removing 
'/build/buildd/fseries-221.10065/debian/r-cran-fseries/usr/lib/R/site-library/fSeries'
| make: *** [R_any_arch] Error 1
| **
| Build finished at 20060221-2216
| FAILED [dpkg-buildpackage died]


A full buildd log is available at 
http://buildd.debian.org/build.php?pkg=fseriesver=221.10065-1arch=m68k

Other buildd logs may be available at 
http://buildd.debian.org/build.php?arch=pkg=fseries

--
Stephen R. Marenka If life's not fun, you're not doing it right!
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#356107: fseries_221.10065-1(m68k/unstable/spice): ftbfs on m68k

2006-03-09 Thread Dirk Eddelbuettel

Hi Stephen,

On 9 March 2006 at 13:21, Stephen R Marenka wrote:
| Package: fseries
| Version: 221.10065-1
| Severity: important
| 
| 
| fseries fails to build from source due to a gcc-3.4 ICE on m68k. For 

Ahh, the joys of Fortran on m68k ... :-/

| what it's worth, I built the package with gfortran-4.0 and it built fine.
 
As a general rule, I can expect to successfully mix code from gcc 3.4 and
4.0, right? 

In which case, could I create a -2 upload with gcc/gfortran 4.0 even though
the rest of R and the couple dozen R-dependent packages are all built with
3.4?  I had not yet enforced gcc 4.* for R. 

| I'm not sure of the other implications involved with a change of
| compiler.

If you do 'apt-cache rdepends r-base-core' you get an idea. Not all of these
packages use compiled code, and even fewer use Fortran. 

On the other hand, would the ICE go away for this package with less (or no)
optimization ? 

| You are welcomed to do whatever you want to with this bug report. :)

Can I tag it 'm68k-only' and make it less than 'important' severity to not
hold up all the working arches? It has built everywhere else ...

Dirk
 
| Here are sected excerpts from the buildd log.
| 
| 
| | Automatic build of fseries_221.10065-1 on spice by sbuild/m68k 85
| | Build started at 20060221-2154
| | 
**
| 
|  [...]
| 
| | ** Using build dependencies supplied by package:
| | Build-Depends: debhelper ( 4.1.0), r-base-dev (= 2.0.0), cdbs, 
r-cran-fbasics (= 201.10059), r-cran-fcalendar, r-cran-mgcv (= 1.1.5), 
r-cran-vr (= 7.2.8)
| 
|  [...]
| 
| | Checking correctness of source dependencies...
| | Toolchain package versions: libc6-dev_2.3.5-12 
linux-kernel-headers_2.6.13+0rc3-2 gcc-4.0_4.0.2-8 g++-4.0_4.0.2-8 
binutils_2.16.1cvs20060117-1 libstdc++6-4.0-dev_4.0.2-8 libstdc++6_4.0.2-8
| 
|  [...]
| 
| | g77   -fPIC  -g -O2 -c 034B-GarchModelling.f -o 034B-GarchModelling.o
| | 034B-GarchModelling.f: In subroutine `pc1f01':
| | In file included from 034B-GarchModelling.f:0:
| | 034B-GarchModelling.f:2628: internal compiler error: in 
verify_initial_elim_offsets, at reload1.c:3297
| | Please submit a full bug report,
| | with preprocessed source if appropriate.
| | See URL:http://gcc.gnu.org/bugs.html for instructions.
| | For Debian GNU/Linux specific bug reporting instructions,
| | see URL:file:///usr/share/doc/gcc-3.4/README.Bugs.
| | make[1]: *** [034B-GarchModelling.o] Error 1
| | make[1]: Leaving directory `/build/buildd/fseries-221.10065/src'
| | ERROR: compilation failed for package 'fSeries'
| | ** Removing 
'/build/buildd/fseries-221.10065/debian/r-cran-fseries/usr/lib/R/site-library/fSeries'
| | make: *** [R_any_arch] Error 1
| | 
**
| | Build finished at 20060221-2216
| | FAILED [dpkg-buildpackage died]
| 
| 
| A full buildd log is available at 
| http://buildd.debian.org/build.php?pkg=fseriesver=221.10065-1arch=m68k
| 
| Other buildd logs may be available at 
| http://buildd.debian.org/build.php?arch=pkg=fseries
| 
| --
| Stephen R. Marenka If life's not fun, you're not doing it right!
| [EMAIL PROTECTED]
| 

-- 
Hell, there are no rules here - we're trying to accomplish something. 
  -- Thomas A. Edison


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#356107: fseries_221.10065-1(m68k/unstable/spice): ftbfs on m68k

2006-03-09 Thread Dirk Eddelbuettel

Diethelm,

Any comment from your end?  

-- The code only fails on m68k (which has historically had an above-average
share of troubles with Fortran). 

-- The previous fSeries released passed so it may be the new Garch code in 
   file 034B-GarchModelling.f

-- According to Stephen, gfortran 4.0 compiles it fine so maybe once I turn
   from gcc/g77 3.4 to gcc/gfortran 4.0 (and soon 4.1) the problems will go
   away by itself. I will also CC Brian as he probably has the best
   understanding of the interactions between R and the various gcc releases.

Regards,  Dirk

On 9 March 2006 at 13:21, Stephen R Marenka wrote:
| Package: fseries
| Version: 221.10065-1
| Severity: important
| 
| 
| fseries fails to build from source due to a gcc-3.4 ICE on m68k. For 
| what it's worth, I built the package with gfortran-4.0 and it built fine.
| 
| I'm not sure of the other implications involved with a change of
| compiler.
| 
| You are welcomed to do whatever you want to with this bug report. :)
| 
| Here are selected excerpts from the buildd log.
| 
| 
| | Automatic build of fseries_221.10065-1 on spice by sbuild/m68k 85
| | Build started at 20060221-2154
| | 
**
| 
|  [...]
| 
| | ** Using build dependencies supplied by package:
| | Build-Depends: debhelper ( 4.1.0), r-base-dev (= 2.0.0), cdbs, 
r-cran-fbasics (= 201.10059), r-cran-fcalendar, r-cran-mgcv (= 1.1.5), 
r-cran-vr (= 7.2.8)
| 
|  [...]
| 
| | Checking correctness of source dependencies...
| | Toolchain package versions: libc6-dev_2.3.5-12 
linux-kernel-headers_2.6.13+0rc3-2 gcc-4.0_4.0.2-8 g++-4.0_4.0.2-8 
binutils_2.16.1cvs20060117-1 libstdc++6-4.0-dev_4.0.2-8 libstdc++6_4.0.2-8
| 
|  [...]
| 
| | g77   -fPIC  -g -O2 -c 034B-GarchModelling.f -o 034B-GarchModelling.o
| | 034B-GarchModelling.f: In subroutine `pc1f01':
| | In file included from 034B-GarchModelling.f:0:
| | 034B-GarchModelling.f:2628: internal compiler error: in 
verify_initial_elim_offsets, at reload1.c:3297
| | Please submit a full bug report,
| | with preprocessed source if appropriate.
| | See URL:http://gcc.gnu.org/bugs.html for instructions.
| | For Debian GNU/Linux specific bug reporting instructions,
| | see URL:file:///usr/share/doc/gcc-3.4/README.Bugs.
| | make[1]: *** [034B-GarchModelling.o] Error 1
| | make[1]: Leaving directory `/build/buildd/fseries-221.10065/src'
| | ERROR: compilation failed for package 'fSeries'
| | ** Removing 
'/build/buildd/fseries-221.10065/debian/r-cran-fseries/usr/lib/R/site-library/fSeries'
| | make: *** [R_any_arch] Error 1
| | 
**
| | Build finished at 20060221-2216
| | FAILED [dpkg-buildpackage died]
| 
| 
| A full buildd log is available at 
| http://buildd.debian.org/build.php?pkg=fseriesver=221.10065-1arch=m68k
| 
| Other buildd logs may be available at 
| http://buildd.debian.org/build.php?arch=pkg=fseries
| 
| --
| Stephen R. Marenka If life's not fun, you're not doing it right!
| [EMAIL PROTECTED]
| 

-- 
Hell, there are no rules here - we're trying to accomplish something. 
  -- Thomas A. Edison


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]