Opened 2 years ago

Closed 20 months ago

Last modified 19 months ago

#24692 closed enhancement (fixed)

Upgrade GDB

Reported by: jdemeyer Owned by:
Priority: major Milestone: sage-8.5
Component: packages: optional Keywords:
Cc: fbissey Merged in:
Authors: Jeroen Demeyer Reviewers: Dima Pasechnik
Report Upstream: N/A Work issues:
Branch: 6769112 (Commits) Commit: 6769112217df0b829130a66adc08886928ecf8fa
Dependencies: Stopgaps:

Change History (18)

comment:1 Changed 2 years ago by jdemeyer

  • Branch set to u/jdemeyer/upgrade_gdb

comment:2 Changed 2 years ago by git

  • Commit set to d9a5b6f3b0d0d148f56c0c41f3b8e7151edc5c84

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

d9a5b6fUpgrade GDB

comment:3 Changed 2 years ago by jdemeyer

  • Status changed from new to needs_review

comment:4 Changed 2 years ago by git

  • Commit changed from d9a5b6f3b0d0d148f56c0c41f3b8e7151edc5c84 to 56b9a605f28bd400444398e22768fc11538c747b

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

56b9a60Upgrade GDB

comment:5 Changed 2 years ago by jdemeyer

  • Cc fbissey added

comment:6 follow-ups: Changed 2 years ago by fbissey

I am not convinced that the --with-gmp... stuff is useful.It just happens that the top configure file is shared with gcc so the top options are the same. Do we want to add some configuration options for the python used? Is this picked up automagically?

comment:7 in reply to: ↑ 6 Changed 2 years ago by jdemeyer

Replying to fbissey:

I am not convinced that the --with-gmp... stuff is useful.

At least it doesn't hurt, right?

Do we want to add some configuration options for the python used? Is this picked up automagically?

Let me have a look.

comment:8 in reply to: ↑ 6 Changed 2 years ago by jdemeyer

Replying to fbissey:

Do we want to add some configuration options for the python used? Is this picked up automagically?

Seems to work automagically:

checking whether to use python... auto
checking for python... /usr/local/src/sage-config/local/bin/python
checking for python2.7... yes

comment:9 follow-up: Changed 2 years ago by jdemeyer

And I don't see any configure options regarding Python.

comment:10 in reply to: ↑ 9 Changed 2 years ago by fbissey

Replying to jdemeyer:

And I don't see any configure options regarding Python.

Ok full automagic or, more likely, possibly it is actually in one of the "sub-configure". It looks like standard autotools detection, so setting PYTHON would change the result.

comment:11 Changed 23 months ago by gh-timokau

Just fyi, for nixos I noticed that the cysignals tests fail for reasons that appear to be related with gdb 8. I didn't look into it any further.

comment:12 Changed 20 months ago by jdemeyer

  • Description modified (diff)

comment:13 Changed 20 months ago by git

  • Commit changed from 56b9a605f28bd400444398e22768fc11538c747b to 80beebb270881c5384cb01d7aadae6076bb6477b

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

80beebbUpgrade GDB

comment:14 Changed 20 months ago by dimpase

does this work without makeinfo installed?

comment:15 Changed 20 months ago by dimpase

In fact it fails (on stable x86_64 Debian, nothing special)

...
[gdb-8.2] mv GDBvn.new GDBvn.texi
[gdb-8.2] /home/dimpase/sage/local/var/tmp/sage/build/gdb-8.2/src/missing makeinfo --split-size=5000000 --split-size=5000000   -I ./../../readline/doc -I ./../mi -I . \
[gdb-8.2]       -o gdb.info ./gdb.texinfo
[gdb-8.2] /home/dimpase/sage/local/var/tmp/sage/build/gdb-8.2/src/missing: 81: /home/dimpase/sage/local/var/tmp/sage/build/gdb-8.2/src/missing: makeinfo: not found
[gdb-8.2] WARNING: 'makeinfo' is missing on your system.
[gdb-8.2]          You should only need it if you modified a '.texi' file, or
[gdb-8.2]          any other file indirectly affecting the aspect of the manual.
[gdb-8.2]          You might want to install the Texinfo package:
[gdb-8.2]          <http://www.gnu.org/software/texinfo/>
[gdb-8.2]          The spurious makeinfo call might also be the consequence of
[gdb-8.2]          using a buggy 'make' (AIX, DU, IRIX), in which case you might
[gdb-8.2]          want to install GNU make:
[gdb-8.2]          <http://www.gnu.org/software/make/>
[gdb-8.2] Makefile:486: recipe for target 'gdb.info' failed
[gdb-8.2] Makefile:1741: recipe for target 'install-only' failed
[gdb-8.2] make[5]: *** [install-only] Error 2
[gdb-8.2] make[5]: Leaving directory '/home/dimpase/sage/local/var/tmp/sage/build/gdb-8.2/src/gdb'
[gdb-8.2] Makefile:1738: recipe for target 'install' failed
[gdb-8.2] make[4]: *** [install] Error 2
[gdb-8.2] make[4]: Leaving directory '/home/dimpase/sage/local/var/tmp/sage/build/gdb-8.2/src/gdb'
[gdb-8.2] Makefile:9155: recipe for target 'install-gdb' failed
[gdb-8.2] make[3]: *** [install-gdb] Error 2
[gdb-8.2] make[3]: Leaving directory '/home/dimpase/sage/local/var/tmp/sage/build/gdb-8.2/src'
[gdb-8.2] Makefile:2222: recipe for target 'install' failed
[gdb-8.2] make[2]: *** [install] Error 2
[gdb-8.2] make[2]: Leaving directory '/home/dimpase/sage/local/var/tmp/sage/build/gdb-8.2/src'
[gdb-8.2] ********************************************************************************
[gdb-8.2] Error installing gdb-8.2
[gdb-8.2] ********************************************************************************
[gdb-8.2]
[gdb-8.2] real  10m22.381s
[gdb-8.2] user  8m18.012s
[gdb-8.2] sys   1m5.912s
[gdb-8.2] ************************************************************************
[gdb-8.2] Error installing package gdb-8.2
[gdb-8.2] ************************************************************************
[gdb-8.2] Please email sage-devel (http://groups.google.com/group/sage-devel)
[gdb-8.2] explaining the problem and including the log file
[gdb-8.2]   /home/dimpase/sage/logs/pkgs/gdb-8.2.log
[gdb-8.2] Describe your computer, operating system, etc.
[gdb-8.2] If you want to try to fix the problem yourself, *don't* just cd to
[gdb-8.2] /home/dimpase/sage/local/var/tmp/sage/build/gdb-8.2 and type 'make' or whatever is appropriate.
[gdb-8.2] Instead, the following commands setup all environment variables
[gdb-8.2] correctly and load a subshell for you to debug the error:
[gdb-8.2]   (cd '/home/dimpase/sage/local/var/tmp/sage/build/gdb-8.2' && '/home/dimpase/sage/sage' --sh)
[gdb-8.2] When you are done debugging, you can type "exit" to leave the subshell.
[gdb-8.2] ************************************************************************
Makefile:2109: recipe for target '/home/dimpase/sage/local/var/lib/sage/installed/gdb-8.2' failed
make[1]: *** [/home/dimpase/sage/local/var/lib/sage/installed/gdb-8.2] Error 1
make[1]: Leaving directory '/home/dimpase/sage/build/make'

it is annoying, as e.g. I have no clue how people can get makeinfo on OSX. However, I'd be OK if it was mentioned in SPKG.txt that makeinfo is needed.

Last edited 20 months ago by dimpase (previous) (diff)

comment:16 Changed 20 months ago by dimpase

  • Branch changed from u/jdemeyer/upgrade_gdb to public/packages/optional/gdb82
  • Commit changed from 80beebb270881c5384cb01d7aadae6076bb6477b to 6769112217df0b829130a66adc08886928ecf8fa
  • Milestone changed from sage-8.2 to sage-8.4
  • Reviewers set to Dima Pasechnik
  • Status changed from needs_review to positive_review

I added a note in SPKG.txt about makeinfo. Good to go otherwise.

comment:17 Changed 20 months ago by vbraun

  • Branch changed from public/packages/optional/gdb82 to 6769112217df0b829130a66adc08886928ecf8fa
  • Resolution set to fixed
  • Status changed from positive_review to closed

comment:18 Changed 19 months ago by embray

  • Milestone changed from sage-8.4 to sage-8.5

This should be re-targeted for 8.5.

Note: See TracTickets for help on using tickets.