Homebrew-core: gdb 7.12.1 update fails with '--with-guile' since guile-2.2.2 update

Created on 23 Apr 2017  路  6Comments  路  Source: Homebrew/homebrew-core

Please always follow these steps:

  • [x] Confirmed this is a problem with only one, specific formula and not Homebrew/brew? If it's a general Homebrew/brew problem please file this issue at https://github.com/Homebrew/brew/issues/new
  • [x] Ran brew update and retried your prior step?
  • [x] Ran brew doctor, fixed as many issues as possible and retried your prior step?
  • [ ] Ran brew gist-logs <formula> (where <formula> is the name of the formula that failed) and included the output link?
  • [ ] If brew gist-logs didn't work: ran brew config and brew doctor and included their output with your issue?

The gdb 7.12.1 update fails when recompiling from source and using with '--with-guile' since the guile-2.2.2 update.

23:15 [2461] $ brew upgrade
Updating Homebrew...
==> Upgrading 4 outdated packages, with result:
bmake 20170418, boost 1.64.0_1, gdb 7.12.1, guile 2.2.2
==> Upgrading bmake 
==> Downloading https://homebrew.bintray.com/bottles/bmake-20170418.sierra.bottl
######################################################################## 100.0%
==> Pouring bmake-20170418.sierra.bottle.tar.gz
铮棵济р埆  /usr/local/Cellar/bmake/20170418: 79 files, 556.2KB
==> Upgrading boost 
==> Downloading https://homebrew.bintray.com/bottles/boost-1.64.0_1.sierra.bottl
######################################################################## 100.0%
==> Pouring boost-1.64.0_1.sierra.bottle.tar.gz
铮棵济р埆  /usr/local/Cellar/boost/1.64.0_1: 12,628 files, 395.7MB
==> Upgrading gdb --with-python --with-all-targets --with-guile
==> Installing dependencies for gdb: guile
==> Installing gdb dependency: guile
==> Downloading https://homebrew.bintray.com/bottles/guile-2.2.2.sierra.bottle.t
######################################################################## 100.0%
==> Pouring guile-2.2.2.sierra.bottle.tar.gz
铮棵济р埆  /usr/local/Cellar/guile/2.2.2: 783 files, 51.2MB
==> Installing gdb --with-python --with-all-targets --with-guile
==> Using the sandbox
==> Downloading https://ftp.gnu.org/gnu/gdb/gdb-7.12.1.tar.xz
Already downloaded: /Users/gaw/Library/Caches/Homebrew/gdb-7.12.1.tar.xz
==> Downloading https://raw.githubusercontent.com/Homebrew/formula-patches/9d3db
Already downloaded: /Users/gaw/Library/Caches/Homebrew/gdb--patch-a71489440781ae133eeba5a3123996e55f72bd914dbfdd3af0b0700f6d0e4e08.patch
==> Patching
==> Applying 0001-darwin-nat.c-handle-Darwin-16-aka-Sierra.patch
patching file gdb/darwin-nat.c
==> ./configure --prefix=/usr/local/Cellar/gdb/7.12.1 --with-guile --enable-targ
==> make
Last 15 lines from /Users/gaw/Library/Logs/Homebrew/gdb/02.make:
/usr/local/Cellar/guile/2.2.2/include/guile/2.2/libguile/ports.h:82:16: note: forward declaration of 'scm_t_port'
typedef struct scm_t_port scm_t_port;
               ^
./guile/scm-ports.c:346:9: error: member access into incomplete type 'scm_t_port'
      pt->write_pos = pt->write_buf;
        ^
/usr/local/Cellar/guile/2.2.2/include/guile/2.2/libguile/ports.h:82:16: note: forward declaration of 'scm_t_port'
typedef struct scm_t_port scm_t_port;
               ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [scm-ports.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-gdb] Error 2
make: *** [all] Error 2

READ THIS: http://docs.brew.sh/Troubleshooting.html


upstream issue

All 6 comments

Please report this to upstream.

FYI, I won't be able to do that.

OK, I'll close this for now.

The correct solution would be to remove the feature that cannot possibly work.

@robohack If you're not willing to report issues to upstream when they are upstream issues: please do not report issues to Homebrew, thanks.

@robohack this should be fixed now (by #12829 which I just merged) if you brew update

Was this page helpful?
0 / 5 - 0 ratings