unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Angelo Graziosi <angelo.g0@libero.it>
Cc: emacs-devel@gnu.org
Subject: Re: Emacs master build broken [GNU/Linux?]
Date: Tue, 03 Dec 2024 05:28:56 +0200	[thread overview]
Message-ID: <86jzch30nb.fsf@gnu.org> (raw)
In-Reply-To: <eee50768-788e-49fa-939e-395bed8c018d@libero.it> (message from Angelo Graziosi on Mon, 2 Dec 2024 23:42:47 +0100)

> Date: Mon, 2 Dec 2024 23:42:47 +0100
> From: Angelo Graziosi <angelo.g0@libero.it>
> 
> 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.

This was fixed on the emacs-30 branch yesterday, so wait for a few
days for it to be merged to master.



      parent reply	other threads:[~2024-12-03  3:28 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
2024-12-03  2:30   ` Jim Myhrberg
2024-12-03  3:28 ` Eli Zaretskii [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=86jzch30nb.fsf@gnu.org \
    --to=eliz@gnu.org \
    --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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).