all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jim Myhrberg <jimehgeek@gmail.com>
To: Angelo Graziosi <angelo.g0@libero.it>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: Emacs master build broken [GNU/Linux?]
Date: Mon, 2 Dec 2024 23:34:09 +0000	[thread overview]
Message-ID: <CAGaZ61sWv=ZuK3ENKTa6rTVNZ8YTMTHfOauAY=p1BN2yV4Syfg@mail.gmail.com> (raw)
In-Reply-To: <eee50768-788e-49fa-939e-395bed8c018d@libero.it>

[-- Attachment #1: Type: text/plain, Size: 2529 bytes --]

If it helps at all, it's broken on macOS as well, both x86_64 and arm64.

My nightly build just failed from commit
f9e7f57f5710fe929fce468f8875a7310e73be05. Build log is available here:
https://github.com/jimeh/emacs-builds/actions/runs/12129499436/job/33818102923

The most recent change to line yielding the error is
commit 748b19e56e87fab44cb5474613502f8e96064a46 "Update to version 2.58 of
librsvg API (bug#74606)".

My nightly build environment has librsvg v2.58.3 installed, so all things
seem to line up :)

On Mon, Dec 2, 2024 at 10:44 PM Angelo Graziosi <angelo.g0@libero.it> wrote:

> At least on GNU/Linux Mint the build of Emacs from master is broken:
>
>
> [...]
>    CC       lastfile.o
> image.c: In function ‘svg_load_image’:
> image.c:12358:12: warning: implicit declaration of function
> ‘rsvg_handle_get_pixbuf_and_error’; did you mean
> ‘rsvg_handle_get_pixbuf_sub’? [-Wimplicit-function-declaration]
> 12358 |   pixbuf = rsvg_handle_get_pixbuf_and_error (rsvg_handle, &err);
>        |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>        |            rsvg_handle_get_pixbuf_sub
> image.c:12358:10: warning: assignment to ‘GdkPixbuf *’ {aka ‘struct
> _GdkPixbuf *’} from ‘int’ makes pointer from integer without a cast
> [-Wint-conversion]
> 12358 |   pixbuf = rsvg_handle_get_pixbuf_and_error (rsvg_handle, &err);
>        |          ^
>    CCLD     temacs
>    GEN      ../etc/DOC
> /usr/bin/ld: image.o: in function `svg_load_image':
> image.c:(.text+0x7d88): undefined reference to
> `rsvg_handle_get_pixbuf_and_error'
> collect2: error: ld returned 1 exit status
> make[2]: *** [Makefile:745: temacs] Errore 1
> make[2]: uscita dalla directory «/tmp/emacs-master/src»
> make[1]: *** [Makefile:554: src] Errore 2
> make[1]: uscita dalla directory «/tmp/emacs-master»
> make[1]: ingresso nella directory «/tmp/emacs-master»
> ***
> *** "make all" failed with exit status 2.
> ***
> *** You could try to:
> *** - run "make bootstrap", which might fix the problem
> *** - run "make V=1", which displays the full commands invoked by make,
> ***   to further investigate the problem
> ***
> make[1]: *** [Makefile:418: advice-on-failure] Errore 2
> make[1]: uscita dalla directory «/tmp/emacs-master»
> make: *** [Makefile:374: all] Errore 2
> Error: Failure running MAKE
>
> I always do a clean build from
> https://git.savannah.gnu.org/cgit/emacs.git/snapshot/emacs-master.tar.gz.
>
> Ciao,
>   Angelo.
>
>
>

[-- Attachment #2: Type: text/html, Size: 3362 bytes --]

  reply	other threads:[~2024-12-02 23:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-02 22:42 Emacs master build broken [GNU/Linux?] Angelo Graziosi
2024-12-02 23:34 ` Jim Myhrberg [this message]
2024-12-03  2:30   ` Jim Myhrberg
2024-12-03  3:28 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGaZ61sWv=ZuK3ENKTa6rTVNZ8YTMTHfOauAY=p1BN2yV4Syfg@mail.gmail.com' \
    --to=jimehgeek@gmail.com \
    --cc=angelo.g0@libero.it \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.