unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Ugo Tomei <utomei@tiscali.it>
Cc: 74693@debbugs.gnu.org
Subject: bug#74693: error compiling emacs
Date: Wed, 04 Dec 2024 20:59:49 +0200	[thread overview]
Message-ID: <86frn3z32y.fsf@gnu.org> (raw)
In-Reply-To: <042471a7-897d-46bb-8eea-52646bc8fb07@tiscali.it> (message from Ugo Tomei on Wed, 4 Dec 2024 19:36:29 +0100)

> Date: Wed, 4 Dec 2024 19:36:29 +0100
> From: Ugo Tomei <utomei@tiscali.it>
> 
> > i have always compile succesfully emacs with this command:
> >
> > git clone https://github.com/emacs-mirror/emacs.git
> > cd /app/emacs
> > git reset --hard
> > git pull
> > sudo make uninstall
> > sudo make clean
> > git checkout default
> > git submodule update --init --recursive
> > ./autogen.sh
> > ./configure
> > make bootstrap -j 32
> > sudo make install
> >
> >
> > but now i have this error:
> >
> >
> > [code]
> >
> >   CC       xgselect.o
> >   CC       terminfo.o
> >   CC       lastfile.o
> > image.c: In function ‘svg_load_image’:
> > image.c:12358:12: error: 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:12: warning: nested extern declaration of 
> > ‘rsvg_handle_get_pixbuf_and_error’ [-Wnested-externs]
> > image.c:12358:10: error: assignment to ‘GdkPixbuf *’ from ‘int’ makes 
> > pointer from integer without a cast [-Wint-conversion]
> > 12358 |   pixbuf = rsvg_handle_get_pixbuf_and_error (rsvg_handle, &err);
> >       |          ^
> > make[3]: *** [Makefile:457: image.o] Errore 1
> > make[3]: *** Attesa per i processi non terminati....
> > make[3]: uscita dalla directory «/app/emacs/src»
> > make[2]: *** [Makefile:554: src] Errore 2
> > make[2]: uscita dalla directory «/app/emacs»
> > make[1]: *** [Makefile:1299: actual-bootstrap] Errore 2
> > make[1]: uscita dalla directory «/app/emacs»
> > make[1]: ingresso nella directory «/app/emacs»
> > ***
> > *** "make bootstrap" failed with exit status 2.
> > ***
> > *** You could try to:
> > *** - run "make extraclean" and run "make" again (or, equivalently, run
> > ***   "make bootstrap configure=default"), to rebuild Emacs with the
> > ***   default configuration options, which might fix the problem
> > *** - run "git clean -fdx" and run "make bootstrap" again, which might
> > ***   fix the problem if "make bootstrap configure=default" did not
> > ***   !BEWARE! "git clean -fdx" deletes all files that are not under
> > ***   !BEWARE! version control, which means that all changes to such
> > ***   !BEWARE! files will be lost and cannot be restored later
> > *** - run "make V=1", which displays the full commands invoked by make,
> > ***   to further investigate the problem
> > *** - report the problem and ask for help by sending an email to
> > *** bug-gnu-emacs@gnu.org, mentioning at least the build error
> > ***   message, the platform, and the repository revision displayed by
> > ***   "git rev-parse HEAD"
> > ***
> > make[1]: *** [Makefile:418: advice-on-failure] Errore 2
> > make[1]: uscita dalla directory «/app/emacs»
> > make: *** [Makefile:1282: bootstrap] Errore 2
> > make -C lib all
> > make[1]: ingresso nella directory «/app/emacs/lib»
> > make[1]: Nessuna operazione da eseguire per «all».
> > make[1]: uscita dalla directory «/app/emacs/lib»
> > make -C lib-src all
> > make[1]: ingresso nella directory «/app/emacs/lib-src»
> > make[1]: Nessuna operazione da eseguire per «all».
> > make[1]: uscita dalla directory «/app/emacs/lib-src»
> > make -C src BIN_DESTDIR='/usr/local/bin/' \
> >          ELN_DESTDIR='/usr/local/lib/emacs/31.0.50/' all
> > make[1]: ingresso nella directory «/app/emacs/src»
> >   CC       image.o
> > image.c: In function ‘svg_load_image’:
> > image.c:12358:12: error: 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:12: warning: nested extern declaration of 
> > ‘rsvg_handle_get_pixbuf_and_error’ [-Wnested-externs]
> > image.c:12358:10: error: assignment to ‘GdkPixbuf *’ from ‘int’ makes 
> > pointer from integer without a cast [-Wint-conversion]
> > 12358 |   pixbuf = rsvg_handle_get_pixbuf_and_error (rsvg_handle, &err);
> >       |          ^
> > make[1]: *** [Makefile:457: image.o] Errore 1
> > make[1]: uscita dalla directory «/app/emacs/src»
> > make: *** [Makefile:554: src] Errore 2

Thais was already fixed on the emacs-30 branch, and will be merged to
master in a day or two.

> > how can i solve it?

Wait for a few days.





  reply	other threads:[~2024-12-04 18:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-30 10:59 bug#61174: error compiling emacs Ugo Tomei
2023-01-30 14:53 ` Eli Zaretskii
2023-01-30 15:09   ` Ugo Tomei
2023-01-30 17:20 ` Eli Zaretskii
2024-12-04 18:36 ` bug#74693: " Ugo Tomei
2024-12-04 18:59   ` Eli Zaretskii [this message]
2024-12-07 14:25     ` Eli Zaretskii
2024-12-07 19:42       ` Ugo Tomei

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=86frn3z32y.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=74693@debbugs.gnu.org \
    --cc=utomei@tiscali.it \
    /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).