all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ugo Tomei <utomei@tiscali.it>
To: 74693@debbugs.gnu.org
Subject: bug#74693: error compiling emacs
Date: Wed, 4 Dec 2024 19:36:29 +0100	[thread overview]
Message-ID: <042471a7-897d-46bb-8eea-52646bc8fb07@tiscali.it> (raw)
In-Reply-To: <792a519f-2851-9efc-0513-8fec1e6c0370@tiscali.it>

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

> Hi all,
>
> 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
>
> [/code]
>
>
> how can i solve it?
>
> best regards
>

[-- Attachment #2.1: Type: text/html, Size: 6122 bytes --]

[-- Attachment #2.2: yC01ZcK9YLqZ0vzE.png --]
[-- Type: image/png, Size: 655500 bytes --]

  parent reply	other threads:[~2024-12-04 18:36 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 ` Ugo Tomei [this message]
2024-12-04 18:59   ` bug#74693: " Eli Zaretskii
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

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

  git send-email \
    --in-reply-to=042471a7-897d-46bb-8eea-52646bc8fb07@tiscali.it \
    --to=utomei@tiscali.it \
    --cc=74693@debbugs.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.