bugGNU Octave - Bugs: bug #55904, [mxe-octave] build failure of gdb...


bug #55904: [mxe-octave] build failure of gdb for native linux

Submitted by:  Tatsuro MATSUOKA <tmacchant>
Submitted on:  Wed 13 Mar 2019 05:45:08 AM UTC  
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  None
Originator Name:  Tatsuro MATSUOKA Open/Closed:  Closed
Release:  5.1.0 Operating System:  GNU/Linux

Add a New Comment (Rich Markup)

You are not logged in

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


Wed 13 Mar 2019 09:57:22 PM UTC, comment #4: 

I have confirmed the fix.

Tatsuro MATSUOKA <tmacchant>
Wed 13 Mar 2019 08:32:31 AM UTC, comment #3: 
John W. Eaton <jwe>
Project Administrator
Wed 13 Mar 2019 07:43:45 AM UTC, comment #2: 

I can duplicate this problem on my Debian system.  Maybe I can find a fix.

John W. Eaton <jwe>
Project Administrator
Wed 13 Mar 2019 06:22:08 AM UTC, comment #1: 

May guess is this is happening because the gdb build is somehow mixing the system ncurses library and header files with the ones installed by mxe-octave.

John W. Eaton <jwe>
Project Administrator
Wed 13 Mar 2019 05:45:08 AM UTC, original submission:  

$ cat HG-ID
building method : clean build
Distro Ubunutu 16.04
configure :
./configure --enable-native-build --with-ccache --enable-devel-tools --enable-pic-flag --enable-lib64-directory --enable-binary-packages --enable-64 --disable-system-gcc --disable-system-x11-libs --enable-openblas --disable-system-opengl --enable-octave=release gnu-linux


  CXXLD  gdb
/home/mousei7/work/octave/mxe-octave/linux/mxe-octave2/usr/lib/gcc/x86_64-pc-ux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: /home/mousei7/work/octavxe-octave/linux/mxe-octave2/usr/lib/python2.7/config/libpython2.7.a(posixmoduo): in function `posix_tmpnam':
/home/mousei7/work/octave/mxe-octave/linux/mxe-octave2/tmp-build-python/Pytho.7.15/Modules/posixmodule.c:7648: warning: the use of `tmpnam_r' is dangerousetter use `mkstemp'
/home/mousei7/work/octave/mxe-octave/linux/mxe-octave2/usr/lib/gcc/x86_64-pc-ux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: /home/mousei7/work/octavxe-octave/linux/mxe-octave2/usr/lib/python2.7/config/libpython2.7.a(posixmoduo): in function `posix_tempnam':
/home/mousei7/work/octave/mxe-octave/linux/mxe-octave2/tmp-build-python/Pytho.7.15/Modules/posixmodule.c:7595: warning: the use of `tempnam' is dangerous,tter use `mkstemp'
/home/mousei7/work/octave/mxe-octave/linux/mxe-octave2/usr/lib/gcc/x86_64-pc-ux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: tui/tui.o: undefined refnce to symbol 'cbreak@@NCURSES6_TINFO_5.0.19991023'
/home/mousei7/work/octave/mxe-octave/linux/mxe-octave2/usr/lib/gcc/x86_64-pc-ux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: /home/mousei7/work/octavxe-octave/linux/mxe-octave2/usr/lib/libtinfow.so.6: error adding symbols: DSOssing from command line
collect2: error: ld returned 1 exit status
Makefile:1921: recipe for target 'gdb' failed
make[4]: *** [gdb] Error 1
make[4]: Leaving directory '/home/mousei7/work/octave/mxe-octave/linux/mxe-oce2/tmp-gdb/gdb-8.2.1/gdb'
Makefile:9126: recipe for target 'all-gdb' failed
make[3]: *** [all-gdb] Error 2
make[3]: Leaving directory '/home/mousei7/work/octave/mxe-octave/linux/mxe-oce2/tmp-gdb/gdb-8.2.1'
Makefile:849: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/mousei7/work/octave/mxe-octave/linux/mxe-oce2/tmp-gdb/gdb-8.2.1'
/home/mousei7/work/octave/mxe-octave/linux/mxe-octave2/Makefile:934: recipe ftarget 'build-only-gdb' failed
make[1]: *** [build-only-gdb] Error 2

The log file and config.log (xz compressed) are attached.

Tatsuro MATSUOKA <tmacchant>


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

Attach Files:

Attached Files
file #46514:  config.log.gdb.tar.xz added by tmacchant (5KiB - application/octet-stream)
file #46515:  gdb_log.tar.xz added by tmacchant (25KiB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


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

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

    Only project members can vote.




    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-03-29 lostbard StatusNone => Fixed
        Open/ClosedOpen => Closed
    2019-03-13 tmacchant Attached File- => Added config.log.gdb.tar.xz, #46514
        Attached File- => Added gdb_log.tar.xz, #46515

    Back to the top

    Powered by Savane 3.5