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: Sat, 07 Dec 2024 16:25:49 +0200 Message-ID: <86a5d7in82.fsf@gnu.org> References: <792a519f-2851-9efc-0513-8fec1e6c0370@tiscali.it> <042471a7-897d-46bb-8eea-52646bc8fb07@tiscali.it> <86frn3z32y.fsf@gnu.org> 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="11579"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74693-done@debbugs.gnu.org To: utomei@tiscali.it Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 07 15:27:16 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 1tJvm7-0002nj-ML for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 Dec 2024 15:27:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJvlw-00038S-QW; Sat, 07 Dec 2024 09:27:04 -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 1tJvlu-000388-Us for bug-gnu-emacs@gnu.org; Sat, 07 Dec 2024 09:27:03 -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 1tJvlu-0002Mg-L8 for bug-gnu-emacs@gnu.org; Sat, 07 Dec 2024 09:27: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=FPusvRNSpkaKrwbC3SF+A6f+m1pk44Dbwg3+9hxRGzY=; b=qRxvgavQgTVNuCFhnSVYXZfXcE1DPa8SkK5dWc+KQv4QWCtAaPnnX+Xx9jdZnGn8ScqhKXzy1ncuV91Xh/IH6cl1o23qa3eeAExNTeIT1fxByvmLhQ/KzEhK+ObG7duE48ugSa779rsJDDhEMdNFIJufDhvQ27tD0KzIrelYSiwJjnVgIrINFsX0ZNWedC75TNc+FXRNqLgjgX2Zt8FoZqeWgEOg+5WOJJR/uABTXaOUMXtBZp4qXNwA45mi2TQWdGxAdbdnG2yIFrx8Ix6jS26rts2TO7b63rTwZuxcXNnerRpf9JeNrmxDE4TE248rDflWrRZiq4IHfYFDwOto2w==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tJvlu-0008Hh-6P for bug-gnu-emacs@gnu.org; Sat, 07 Dec 2024 09:27:02 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 Dec 2024 14:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 74693 X-GNU-PR-Package: emacs Mail-Followup-To: 74693@debbugs.gnu.org, eliz@gnu.org, utomei@tiscali.it Original-Received: via spool by 74693-done@debbugs.gnu.org id=D74693.173358156731751 (code D ref 74693); Sat, 07 Dec 2024 14:27:01 +0000 Original-Received: (at 74693-done) by debbugs.gnu.org; 7 Dec 2024 14:26:07 +0000 Original-Received: from localhost ([127.0.0.1]:46085 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJvl0-0008G2-NE for submit@debbugs.gnu.org; Sat, 07 Dec 2024 09:26:07 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48962) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJvkv-0008FZ-3M for 74693-done@debbugs.gnu.org; Sat, 07 Dec 2024 09:26:04 -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 1tJvkm-0002Jv-HW; Sat, 07 Dec 2024 09:25:52 -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=FPusvRNSpkaKrwbC3SF+A6f+m1pk44Dbwg3+9hxRGzY=; b=ccka9qtLc2g8bg8qawoA IB8mAOLBwqtFWwNhbNrZs4vkfYf8SfsZvEKbzjTZz3bAPIT9rfwOoN8sZugJhor+HTlep7PhT+HxE E0sSjXS+EHYYQWiRAbcaeFceNCCP8SAq7GGdj+jxdGDgolVi0bQRVXJ8X01nMZmO3PhaT+kreKFnF WffCBPS6n/sL9nVtdG3+FN3XepG3Ua4j/PpZf7iMGGjZ2I8JGlxYzMYZCNfm2uQXc4eheeB4bjCP2 DzeSVkyNWlLAeuBcHA8tar1UkBZjpZN6avEuZjeI+wlH3wV7UC+ye18GX47lUIkrhCrIVsaWSc6Ob E2/qzsijZ3pi2g==; In-Reply-To: <86frn3z32y.fsf@gnu.org> (message from Eli Zaretskii on Wed, 04 Dec 2024 20:59:49 +0200) 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:296572 Archived-At: > Cc: 74693@debbugs.gnu.org > Date: Wed, 04 Dec 2024 20:59:49 +0200 > From: Eli Zaretskii > > > 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. The fix was now merged to the master branch, and I'm therefore closing this bug.