Bug#536676: plink: FTBFS on MIPS.

2010-02-11 Thread Charles Plessy
severity 536676 important
thanks

Since there is no plink package in testing for MIPS, this bug is not a
regression, so I set the severity to important accordingly…

-- 
Charles Plessy
Debian Med packaging team,
http://www.debian.org/devel/debian-med
Tsurumi, Kanagawa, Japan



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#536676: plink: FTBFS on MIPS.

2009-07-15 Thread Adam D. Barratt
On Wed, 2009-07-15 at 13:19 +0900, Charles Plessy wrote:
 Le Tue, Jul 14, 2009 at 08:40:48AM -0700, David Daney a écrit :
 
  Can you file a bug report as per GCC bug reporting guidelines:  
  http://gcc.gnu.org/bugs.html
 
 Hi David,
 
 I wanted to build plink on the MIPS Debian porter box, but could not find vi,
 emacs, nano or joe in the sid dchroot to modify the upstream Makefile in order
 to pass ‘-v -save-temps’ to g++.

Generally, editors are installed on the host rather than in each chroot.
In the specific case of mahler (the MIPS porter box) the host has vi,
emacs and nano.

Regards,

Adam



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#536676: plink: FTBFS on MIPS.

2009-07-14 Thread David Daney

Charles Plessy wrote:

Le Tue, Jul 14, 2009 at 08:01:34AM +0200, Luk Claes a écrit :

Charles Plessy wrote:

How about trying to separate the issues of having a bug in GCC and having a
package that does not build on MIPS? I noticed that the package is built with
-O3, which probably unnecessary. Can somebody try to build plink with -O2 on
MIPS to see if it escapes the bug? The following patch in debian/rules would to
the job: 

You do know that you can try this yourself on mahler.d.o, right?


Sure, but since plink seems to be fine on other architectures, this bug seems
more relevant to MIPS than to plink. I do not think that anybody on Earth is
interested to use plink on MIPS. So if it helped you to find a MIPS-relevant
bug, I am happy, but if you (the MIPS porters) are not interested in solving
it, I would rather not distribute this package on MIPS than accept the
responsibility for managing a GCC bug, which is completely outside my field of
competence.

Said differently, if this bug is zero fun for everybody let's find a solution
that allow us to focus on what we care the most.


Can you file a bug report as per GCC bug reporting guidelines: 
http://gcc.gnu.org/bugs.html


We will try to fix it if it affects current GCC versions.

Especially helpful would be preprocessed source and the exact command 
line flags used.


Thanks,
David Daney



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#536676: plink: FTBFS on MIPS.

2009-07-14 Thread Charles Plessy
Le Tue, Jul 14, 2009 at 08:40:48AM -0700, David Daney a écrit :

 Can you file a bug report as per GCC bug reporting guidelines:  
 http://gcc.gnu.org/bugs.html

Hi David,

I wanted to build plink on the MIPS Debian porter box, but could not find vi,
emacs, nano or joe in the sid dchroot to modify the upstream Makefile in order
to pass ‘-v -save-temps’ to g++.

I hope that somebody on the debian-mips mailing list with better knowledge of
GCC and the Debian porting infractructure can help you to get more information
about this bug.

I updated the Debian plink package to use -O2, but it did not circumvent the
bug. Nevertheless, the build logs are also more verbose.
https://buildd.debian.org/fetch.cgi?pkg=plink;ver=1.06-4;arch=mips;stamp=1247627291

Have a nice day,

-- 
Charles Plessy
Debian Med packaging team,
http://www.debian.org/devel/debian-med
Tsurumi, Kanagawa, Japan



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#536676: plink: FTBFS on MIPS.

2009-07-14 Thread Luk Claes
Charles Plessy wrote:
 Package: plink
 Version: 1.06-1
 Severity: serious
 Justification: no longer builds from source
 
 thanks
 
 
 Le Sat, Jul 11, 2009 at 12:06:21PM +0200, Luk Claes a écrit :
 Charles Plessy wrote:
 Le Fri, Jul 10, 2009 at 08:56:31PM +, DDPOMail robot a écrit :
 === plink:
 = Missing build(s) on mips,mipsel
   This might need manual action from your side.
   See http://buildd.debian.org/pkg.cgi?pkg=plink
 Dear MIPS porters,

 any idea of what makes plink fail to build on mips and mipsel?
 Seems to be a bug in the compiler from a first look, lets see if a retry
 still fails.
 
 Thank you very much for the rebuild. It reproduced the bug :(
 
 How about trying to separate the issues of having a bug in GCC and having a
 package that does not build on MIPS? I noticed that the package is built with
 -O3, which probably unnecessary. Can somebody try to build plink with -O2 on
 MIPS to see if it escapes the bug? The following patch in debian/rules would 
 to
 the job: 

You do know that you can try this yourself on mahler.d.o, right?

Cheers

Luk



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#536676: plink: FTBFS on MIPS.

2009-07-14 Thread Charles Plessy
Le Tue, Jul 14, 2009 at 08:01:34AM +0200, Luk Claes a écrit :
 Charles Plessy wrote:
  
  How about trying to separate the issues of having a bug in GCC and having a
  package that does not build on MIPS? I noticed that the package is built 
  with
  -O3, which probably unnecessary. Can somebody try to build plink with -O2 on
  MIPS to see if it escapes the bug? The following patch in debian/rules 
  would to
  the job: 
 
 You do know that you can try this yourself on mahler.d.o, right?

Sure, but since plink seems to be fine on other architectures, this bug seems
more relevant to MIPS than to plink. I do not think that anybody on Earth is
interested to use plink on MIPS. So if it helped you to find a MIPS-relevant
bug, I am happy, but if you (the MIPS porters) are not interested in solving
it, I would rather not distribute this package on MIPS than accept the
responsibility for managing a GCC bug, which is completely outside my field of
competence.

Said differently, if this bug is zero fun for everybody let's find a solution
that allow us to focus on what we care the most.

Cheers,

-- 
Charles Plessy
Tsurumi, Kanagawa, Japan



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#536676: plink: FTBFS on MIPS.

2009-07-12 Thread Charles Plessy
Package: plink
Version: 1.06-1
Severity: serious
Justification: no longer builds from source

thanks


Le Sat, Jul 11, 2009 at 12:06:21PM +0200, Luk Claes a écrit :
 Charles Plessy wrote:
  Le Fri, Jul 10, 2009 at 08:56:31PM +, DDPOMail robot a écrit :
  === plink:
  = Missing build(s) on mips,mipsel
This might need manual action from your side.
See http://buildd.debian.org/pkg.cgi?pkg=plink
  
  Dear MIPS porters,
  
  any idea of what makes plink fail to build on mips and mipsel?
 
 Seems to be a bug in the compiler from a first look, lets see if a retry
 still fails.

Thank you very much for the rebuild. It reproduced the bug :(

How about trying to separate the issues of having a bug in GCC and having a
package that does not build on MIPS? I noticed that the package is built with
-O3, which probably unnecessary. Can somebody try to build plink with -O2 on
MIPS to see if it escapes the bug? The following patch in debian/rules would to
the job: 

--- ../plink/debian/rules   2009-07-12 18:59:28.0 +0900
+++ plink-1.06/debian/rules 2009-07-12 19:21:28.0 +0900
@@ -5,9 +5,33 @@
 
 pkg=plink
 
+# DEB_BUILD_OPTIONS from Policy § 4.9.1
+CXXFLAGS = -Wall -g
+INSTALL = install
+INSTALL_FILE= $(INSTALL) -p-o root -g root  -m  644
+INSTALL_PROGRAM = $(INSTALL) -p-o root -g root  -m  755
+INSTALL_SCRIPT  = $(INSTALL) -p-o root -g root  -m  755
+INSTALL_DIR = $(INSTALL) -p -d -o root -g root  -m  755
+
+ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
+CXXFLAGS += -O0
+else
+CXXFLAGS += -O2
+endif
+ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
+INSTALL_PROGRAM += -s
+endif
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+NUMJOBS = $(patsubst parallel=%,%,$(filter 
parallel=%,$(DEB_BUILD_OPTIONS)))
+MAKEFLAGS += -j$(NUMJOBS)
+endif
+
+# This would be added by Upstream makefile, but we override CXXFLAGS…
+CXXFLAGS += -DUNIX -DWITH_R_PLUGINS
+
 build: patch build-stamp
 build-stamp:
-   $(MAKE) CXX_UNIX=g++ WITH_R_PLUGINS=1
+   $(MAKE) CXXFLAGS='$(CXXFLAGS)'
touch $@
 
 clean: unpatch


If it builds with -O2, we can upload a corrected package, and you can forward
this bug on GCC if you think it is worth (which I can not judge).

Have a nice day,

-- 
Charles Plessy
Debian Med packaging team,
http://www.debian.org/devel/debian-med
Tsurumi, Kanagawa, Japan



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org