bugGNU Octave - Bugs: bug #34378, build fails on Fedora 15

 
 

bug #34378: build fails on Fedora 15

Submitted by:  Michael Godfrey <godfrey>
Submitted on:  Sat 24 Sep 2011 08:59:47 PM UTC  
 
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: FixedAssigned to: None
Originator Name: godfreyOpen/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Wed 28 Sep 2011 04:46:12 AM UTC, comment #6:

I have reported that the gnulib bug to the gnulib ML.

http://old.nabble.com/_GL_CXXALIAS_SYS-%28raise%2C-int%2C-%28int-sig%29%29--in-signal.h-may-give-complie-error-in-C%2B%2B-source.-to32545775.html

The bug has been fixed and complie of f77-extern.cc can be passed with the recently updated gnulib components.

I think that this post are able to be closed now.

Tatsuro MATSUOKA <tmacchant>
Tue 27 Sep 2011 05:07:25 AM UTC, comment #5:

Situation seems to be the same in the MinGW build.

After I commented out one of the duplicate lines in signal.h, compile of libcruft/misc/f77-extern.cc went well.

Tatsuro MATSUOKA <tmacchant>
Sun 25 Sep 2011 04:42:48 AM UTC, comment #4:

John,

This seems correct. In the meantime it is easy to
comment out one of the duplicate lines, and the build then
works normally.

Michael

Michael Godfrey <godfrey>
Project Member
Sun 25 Sep 2011 04:29:41 AM UTC, comment #3:

I'm fairly sure this is a bug in gnulib, so needs to be fixed there. There shouldn't be two

lines in the libgnu/signal.h file, or if there are, they should be fixed so that they don't conflict. But in any case, that's something for the gnulib developers to fix.

John W. Eaton <jwe>
Project Administrator
Sat 24 Sep 2011 11:25:51 PM UTC, comment #2:

Sorry, I meant fails on FC14, too.

Michael

Michael Godfrey <godfrey>
Project Member
Sat 24 Sep 2011 11:24:52 PM UTC, comment #1:

Update: Fails on FC15 too. I had not done a complete
reinstall. This appears to be a gnulib problem.

Michael

Michael Godfrey <godfrey>
Project Member
Sat 24 Sep 2011 08:59:47 PM UTC, original submission:

As of a recent update, build fails at:
/libcruft_la-f77-extern.lo `test -f 'misc/f77-extern.cc' || echo './'`misc/f77-extern.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../libgnu -I../libgnu -g -O2 -DHAVE_CONFIG_H -I/usr/include/freetype2 -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -pthread -g -O2 -MT misc/libcruft_la-f77-extern.lo -MD -MP -MF misc/.deps/libcruft_la-f77-extern.Tpo -c misc/f77-extern.cc -fPIC -DPIC -o misc/.libs/libcruft_la-f77-extern.o
In file included from misc/quit.h:33:0,
from misc/f77-fcn.h:26,
from misc/f77-extern.cc:28:
../libgnu/signal.h:629:48: error: redefinition of 'int (* gnulib::raise)(int)'
../libgnu/signal.h:481:33: error: 'int (* gnulib::raise)(int)' previously defined here
=============================================
The same Octave devel level builds correctly on Fedora 14, so this
problem is due to some change in Fedora 15, possibly a newer version of gfortran
On fc14: gcc-gfortran-4.5.1-4.fc14.x86_64
On fc15: gcc-gfortran-4.6.0-10.fc15.x86_64
============================================
After commenting out libgnu/signal.h line 629
the system builds OK. But, since signal.h is auto-generated,
this is not a solution.

Tell me if config logs or other information is needed.

Michael Godfrey <godfrey>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -unavailable- added by tmacchant (Posted a comment)
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by godfrey (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 29 Sep 2011 03:55:01 PM UTCjweStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Tue 27 Sep 2011 01:36:38 AM UTCjweDependencies-=>bugs #34404 is dependent

    Back to the top


    Powered by Savane 3.1-cleanup1