Comment 2 for bug 2066896

Revision history for this message
Emanuele Alfano (alfystar) wrote :

Ok, I'm currently trying to update brew formula and share with the world, but I need your help...

After my formula update, I encounter this error:

```
18:55:19 /opt/homebrew/Library/Taps/homebrew/homebrew-core (master)
└─▶ $ HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source homebank
==> Fetching homebank
==> Downloading https://www.gethomebank.org/public/sources/homebank-5.8.1.tar.gz
Already downloaded: /Users/ea_enel/Library/Caches/Homebrew/downloads/744171c6cd9fec755f91af1a936a4d25b11f2b99e05ae75076caf53d54aec639--homebank-5.8.1.tar.gz
==> ./configure --with-ofx
==> make install
Last 15 lines from /Users/ea_enel/Library/Logs/Homebrew/homebank/02.make:
        gchar *name;
        ^
rep-budget.c:262:22: error: use of undeclared identifier 'name'
                        LST_BUDGET_NAME, &name,
                                          ^
rep-budget.c:265:34: error: use of undeclared identifier 'name'
                g_object_set(renderer, "text", name, NULL);
                                               ^
rep-budget.c:266:10: error: use of undeclared identifier 'name'
                g_free(name);
                       ^
4 errors generated.
make[1]: *** [rep-budget.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [install-recursive] Error 1
```

I try to download and install from home url:

  url "https://www.gethomebank.org/public/sources/homebank-5.8.1.tar.gz"
  sha256 "60c35feafe341aec8fed9de4b0a875dc0f5c1674c5f5804ff7190a6c6c53dc01"

And to build I send this command (same to the original):

    system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", "--with-ofx"
    chmod 0755, "./install-sh"
    system "make", "install"

I read from changelog you update glib, and for this reason i add this dependency:

  depends_on "glib"

Can you please help me to undestand why make fail to build `rep-qbudget.c`