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.devel Subject: Re: Emacs master build broken [GNU/Linux?] Date: Tue, 03 Dec 2024 05:28:56 +0200 Message-ID: <86jzch30nb.fsf@gnu.org> References: 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="17293"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Angelo Graziosi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 03 04:29:30 2024 Return-path: Envelope-to: ged-emacs-devel@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 1tIJbO-0004J5-2J for ged-emacs-devel@m.gmane-mx.org; Tue, 03 Dec 2024 04:29:30 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tIJb1-0004a5-Ic; Mon, 02 Dec 2024 22:29:09 -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 1tIJay-0004ZG-KE for emacs-devel@gnu.org; Mon, 02 Dec 2024 22:29: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 1tIJay-0003y1-8Y; Mon, 02 Dec 2024 22:29:04 -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=axO68raMM7GrsWF+OHPps/Cl8cwGHgaFz5EjvSWJlnU=; b=k9HE9BIHweYKWLnSJsqT 9+WitMezuXTqh+4ncIbuHRMZy02fWgaHFmq1stAKsm6haXttaBZcVORnTCe5HZOhvgo5eqxdvxT0y dRA6Yi9PpMUmqPMDCHpTlBff2Sn9o6tvSaiVyqH5x2HBi8yoKSwQtRH3OwU3W5LlrpgBexQnfoxh2 YAoRgp1tRPzjFamyo04QcmzQkn9NUIrat7ledquMfZEyw5glxcvwDgDxDpo4M+tYoGFb1zvAgOwbB gyLtPH/SJnIR3peOY503RmDHMxjkzbHdOW5m3hzP3lx7gntp29oneVtJOImA+y+Or70PmwC3v2U+o /Ya1sQhD/PzMew==; In-Reply-To: (message from Angelo Graziosi on Mon, 2 Dec 2024 23:42:47 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:325963 Archived-At: > Date: Mon, 2 Dec 2024 23:42:47 +0100 > From: Angelo Graziosi > > At least on GNU/Linux Mint the build of Emacs from master is broken: > > > [...] > CC lastfile.o > image.c: In function ‘svg_load_image’: > image.c:12358:12: warning: 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:10: warning: assignment to ‘GdkPixbuf *’ {aka ‘struct > _GdkPixbuf *’} from ‘int’ makes pointer from integer without a cast > [-Wint-conversion] > 12358 | pixbuf = rsvg_handle_get_pixbuf_and_error (rsvg_handle, &err); > | ^ > CCLD temacs > GEN ../etc/DOC > /usr/bin/ld: image.o: in function `svg_load_image': > image.c:(.text+0x7d88): undefined reference to > `rsvg_handle_get_pixbuf_and_error' > collect2: error: ld returned 1 exit status > make[2]: *** [Makefile:745: temacs] Errore 1 > make[2]: uscita dalla directory «/tmp/emacs-master/src» > make[1]: *** [Makefile:554: src] Errore 2 > make[1]: uscita dalla directory «/tmp/emacs-master» > make[1]: ingresso nella directory «/tmp/emacs-master» > *** > *** "make all" failed with exit status 2. > *** > *** You could try to: > *** - run "make bootstrap", which might fix the problem > *** - run "make V=1", which displays the full commands invoked by make, > *** to further investigate the problem > *** > make[1]: *** [Makefile:418: advice-on-failure] Errore 2 > make[1]: uscita dalla directory «/tmp/emacs-master» > make: *** [Makefile:374: all] Errore 2 > Error: Failure running MAKE > > I always do a clean build from > https://git.savannah.gnu.org/cgit/emacs.git/snapshot/emacs-master.tar.gz. This was fixed on the emacs-30 branch yesterday, so wait for a few days for it to be merged to master.