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

 
 

bug #34378: build fails on Fedora 15

Submitter:  Michael Godfrey <godfrey>
Submitted:  Sat 24 Sep 2011 08:59:47 PM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  None
Originator Name:  godfrey Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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


_GL_CXXALIAS_SYS (raise, int, (int sig));


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>
Group administrator
Sat 24 Sep 2011 11:25:51 PM UTC, comment #2: 

Sorry, I meant fails on FC14, too.

Michael

Michael Godfrey <godfrey>
Group 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>
Group 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>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-09-29 jwe StatusNone Fixed
        Open/ClosedOpen Closed
    2011-09-27 jwe Dependencies- bugs #34404 is dependent

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code