From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74693: error compiling emacs Date: Wed, 04 Dec 2024 20:59:49 +0200 Message-ID: <86frn3z32y.fsf@gnu.org> References: <792a519f-2851-9efc-0513-8fec1e6c0370@tiscali.it> <042471a7-897d-46bb-8eea-52646bc8fb07@tiscali.it> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27320"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74693@debbugs.gnu.org To: Ugo Tomei Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 04 20:01:39 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tIud0-0006oc-M8 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 04 Dec 2024 20:01:38 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tIucp-0000YA-4m; Wed, 04 Dec 2024 14:01:28 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tIucR-0000U8-59 for bug-gnu-emacs@gnu.org; Wed, 04 Dec 2024 14:01:04 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tIucQ-0001mE-Rl for bug-gnu-emacs@gnu.org; Wed, 04 Dec 2024 14:01:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=1CwQUWuNZ8xuNi6Z6M++TNJnLkp8vMqFR5Zp3mkI/3Q=; b=edp353ao73cFl/kPao3nRvLXR9w9GndILkHDOU34IqbklWZasvulTpEw00CxwRZpnrhmXsAzYvQBMZ0ANYjpPVAU6NOfPF6vwHnfoPZYFPyLj6gguwJjk9DjprrqzmuzAptL6o11LXT/HGlSNQkqOWPOKenAVmpk7bmAyUsLjdA+7T+rVHHsUxEl36Hnfv1KnqLdCagqkb3QABB60yIkCmeKri9sDajT/PwDTISLcDr9D7O3vgJJeBY5G/+M1+zAbuAOOL26y4sDwktYGq/gV/LgGWNisfiyMmyWgQ4nL9vzRlOVAIJmV1C6l+U9cFTpJebfOi+XW9DgMKA8jHPcOQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tIucP-0001ae-Tc for bug-gnu-emacs@gnu.org; Wed, 04 Dec 2024 14:01:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 Dec 2024 19:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74693 X-GNU-PR-Package: emacs Original-Received: via spool by 74693-submit@debbugs.gnu.org id=B74693.17333388516080 (code B ref 74693); Wed, 04 Dec 2024 19:01:01 +0000 Original-Received: (at 74693) by debbugs.gnu.org; 4 Dec 2024 19:00:51 +0000 Original-Received: from localhost ([127.0.0.1]:36861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIucE-0001a0-W4 for submit@debbugs.gnu.org; Wed, 04 Dec 2024 14:00:51 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47496) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIucC-0001Zi-Eq for 74693@debbugs.gnu.org; Wed, 04 Dec 2024 14:00:49 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tIuc4-0008VM-EA; Wed, 04 Dec 2024 14:00:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=1CwQUWuNZ8xuNi6Z6M++TNJnLkp8vMqFR5Zp3mkI/3Q=; b=oqbfrk1pdXiIcrI4PAHz 5ZUnUUktg8GDEhWwaOSGAimiq/JTqZjn95QfyVITvanVx4eZJPxVDjVawLKieiijBiEGqFJO4Yy4w gHjfTc1hFLBE+kwY2EKYSxX3K+ATN2buKjzqFnR5uz3QBbkgGu0YlfYAl50J9fFZ/5DZ+solGAz2O zjDuqcohbEOx9AE6C+SE1qWb3gXlhq8XimuK8BJkNKYwaQd+ieC3fdIm90DslIwevwRpUU/OZEq18 NW7//ow2K2zBOdce5iVg21/M023O00OfBaR2ZyxANPXNOB5cwmYgZwO/AIpvebHlCTtQ/JrPXpKO9 SaUhUmUOb7Tadg==; In-Reply-To: <042471a7-897d-46bb-8eea-52646bc8fb07@tiscali.it> (message from Ugo Tomei on Wed, 4 Dec 2024 19:36:29 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:296428 Archived-At: > Date: Wed, 4 Dec 2024 19:36:29 +0100 > From: Ugo Tomei > > > 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.