From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Matto Fransen Newsgroups: gmane.emacs.devel Subject: make bootstrap crashes on incompatible integer to pointer conversion Date: Tue, 03 Dec 2024 16:23:35 +0000 Message-ID: <86o71spwfs.fsf@emacsjail.tradesystem.nl> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36370"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 03 17:24:48 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 1tIVhe-0009Fm-QH for ged-emacs-devel@m.gmane-mx.org; Tue, 03 Dec 2024 17:24:46 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tIVh0-0004Xe-SR; Tue, 03 Dec 2024 11:24:06 -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 1tIVgq-0004W3-MI for emacs-devel@gnu.org; Tue, 03 Dec 2024 11:23:58 -0500 Original-Received: from 195-240-159-36.fixed.kpn.net ([195.240.159.36] helo=imap-server.tradesystem.nl) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tIVgo-0007UR-7b for emacs-devel@gnu.org; Tue, 03 Dec 2024 11:23:56 -0500 Original-Received: from emacsjail.tradesystem.nl.tradesystem.nl (emacsjail.tradesystem.nl [192.168.2.37]) by imap-server.tradesystem.nl (8.18.1/8.18.1) with ESMTPS id 4B3GNZCO099508 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Tue, 3 Dec 2024 17:23:41 +0100 (CET) (envelope-from matto@matto.nl) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; d=matto.nl; s=default; t=1733243021; bh=CzF/nkqNYekF5UMYdkZpcPeZqHQ=; h=From:To:Subject:Date; b=GlaEkQrCKB96waea3r4U0lP+MDTUhd0G+upOb3HHZ3D/IxkHSLuUQmns2ohP4E+zH 7O4z4VOzo+w0gZn19+LSrqI8myH7NKJTWNuZOyUADkPx/2hpgp8I96xrEWdP+SJz7P jkYiL0WWc6jbP0Pz51Pe5wTPf6monOJui7pd36IA= Received-SPF: pass client-ip=195.240.159.36; envelope-from=matto@matto.nl; helo=imap-server.tradesystem.nl X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, TVD_RCVD_IP=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:325993 Archived-At: Hi, I am trying to compile Emacs on FreeBSD 14-2 with the latest source from Git. These are the first steps: git pull git clean -dxf ./autogen.sh ./configure --with-x-toolkit=lucid make bootstrap make boostrap crashes on image.c: image.c:12358:12: warning: call to undeclared function 'rsvg_handle_get_pixbuf_and_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 12358 | pixbuf = rsvg_handle_get_pixbuf_and_error (rsvg_handle, &err); | ^ image.c:12358:10: error: incompatible integer to pointer conversion assigning to 'GdkPixbuf *' (aka 'struct _GdkPixbuf *') from 'int' [-Wint-conversion] 12358 | pixbuf = rsvg_handle_get_pixbuf_and_error (rsvg_handle, &err); This doesn't depend on the x-toolkit: either --with-x-toolkit=lucid, --with-x-toolkit=gtk3, --with-x-toolkit=gtk2, or --with-x-toolkit=no result in the same error. It builds fine when configured with: --with-x-toolkit=lucid --without-rsvg Best regards, Matto