From: Ugo Tomei <utomei@tiscali.it>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 74693-done@debbugs.gnu.org
Subject: bug#74693: error compiling emacs
Date: Sat, 07 Dec 2024 20:42:58 +0100 [thread overview]
Message-ID: <E1tK0hm-0007Py-Ax@debbugs.gnu.org> (raw)
In-Reply-To: <86a5d7in82.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 5338 bytes --]
Thanks now works! Best regards
-------- Messaggio originale --------Da: Eli Zaretskii <eliz@gnu.org> Data: 07/12/24 15:26 (GMT+01:00) A: utomei@tiscali.it Cc: 74693-done@debbugs.gnu.org Oggetto: Re: bug#74693: error compiling emacs > Cc: 74693@debbugs.gnu.org> Date: Wed, 04 Dec 2024 20:59:49 +0200> From: Eli Zaretskii <eliz@gnu.org>> > > 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.The fix was now merged to the master branch, and I'm therefore closingthis bug.
[-- Attachment #2: Type: text/html, Size: 7710 bytes --]
prev parent reply other threads:[~2024-12-07 19:42 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
2024-12-07 14:25 ` Eli Zaretskii
2024-12-07 19:42 ` Ugo Tomei [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1tK0hm-0007Py-Ax@debbugs.gnu.org \
--to=utomei@tiscali.it \
--cc=74693-done@debbugs.gnu.org \
--cc=eliz@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.