From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Myhrberg Newsgroups: gmane.emacs.devel Subject: Re: Emacs master build broken [GNU/Linux?] Date: Mon, 2 Dec 2024 23:34:09 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000e81143062851fcb8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13292"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel To: Angelo Graziosi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 03 00:35:17 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 1tIFwi-0003Ha-3A for ged-emacs-devel@m.gmane-mx.org; Tue, 03 Dec 2024 00:35:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tIFvv-00051D-EN; Mon, 02 Dec 2024 18:34:27 -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 1tIFvt-00050g-UI for emacs-devel@gnu.org; Mon, 02 Dec 2024 18:34:25 -0500 Original-Received: from mail-io1-xd36.google.com ([2607:f8b0:4864:20::d36]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tIFvs-00065D-0g for emacs-devel@gnu.org; Mon, 02 Dec 2024 18:34:25 -0500 Original-Received: by mail-io1-xd36.google.com with SMTP id ca18e2360f4ac-843df3c4390so161795639f.3 for ; Mon, 02 Dec 2024 15:34:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733182461; x=1733787261; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=8kawWvjCid7OD5cu6QS/+P6RTjSwwYCJAq6yxIDmJxI=; b=jV+22T1R2tCJLJb3Vd45bNEeHPeM7Xe91W22M5bSC/VOlzh4O1Y+zbpuyonF2OptAB 6l1LGcWluRSXHR6vB1By8Ufb62cLdG3u/Uh04CZKxZZvFmWyRvgeoZRYK7KD5lKyvAhL EA7gTIcB/V8U+8zcQFDIu9EmSVC0WNxOWA9pH4vy4Vd+M6P3YSoJb04IzlPcviM0EpmF MrIuN0UnUpWobNsAqWgCmdcK2z2ot0OJt7UKyZKwEqUiUOIFL1yHDpExQGNA0FyIX93F 6EyYYEpXeqFVLBMnfE0fYpafUOO6NQ5ldP4K0cjK+bvYLuIfG7MrM23jGhPg51tKZ0pA MPRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733182461; x=1733787261; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8kawWvjCid7OD5cu6QS/+P6RTjSwwYCJAq6yxIDmJxI=; b=eLmu6qEvr75uv3kV8FdoiF3Bju9nraQeSdYvrY/XSiGRpSqiJEn5rBIFnqIo7Z5WiP Pj4qStCuo4qlrZyA5E3VbKfY9Ecl6j6QFPCLruZqB/US4+DCM4HLKue0vrxYJs/7AyBR ghxpjrPDQ4Q8/77Rn+MQ6akaWjqkkdK6pUOGlXOkbBXxdrUJYHKezJGLt+WsC9AakSje Ce+cLP73xjJKjO6Y6MIBwOfMu9hNjLhRTuU2Qbunw3R30PPRApc8623Wylw/nL9sodkg OPfgx4b/kz3SyNx7fgeC4BezdIrmT1k2u64g1QO5Hhhid0Bm6tJ5km8gtpZHz2oLIDkY VB/A== X-Gm-Message-State: AOJu0Yxa44o29Bp0g2oATphkyyD2FCTcRf1j390AO7/sFAkMx/kPwq6p qdEVfDd5zUa2Ib4uAXofAyh+4uD33d2F/vCORegvb4QlyxjV7Pr6V2uLOfXunZUFQUzsT0P/NWx t0muqILCSv7t98g7Upl9ivYUXv9yVXuZrJPAxL3exiQu6bhj6EMxdkX4= X-Gm-Gg: ASbGncvlOPYLx+kiMGzBtGjymf62yj3Upprx2BInV9AQAqIO3EO2f18ABm3QUSQ2FUz SYFH4v7Ce8aDdB2VsZBrmLdgl98g0Q/OVg8bDaz8oITg= X-Google-Smtp-Source: AGHT+IE0OIXldfQbiwIqqSGcE+p6oNkdhTH8Kbx7G0ZmdT60GJbh6cYSDa7r5v2/NUp/+g6tSUmNpBVTmf2BxAheLxw= X-Received: by 2002:a05:6602:2d93:b0:83b:47:8d5 with SMTP id ca18e2360f4ac-8445b547093mr79735639f.3.1733182460784; Mon, 02 Dec 2024 15:34:20 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::d36; envelope-from=contact@jimeh.me; helo=mail-io1-xd36.google.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-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:325957 Archived-At: --000000000000e81143062851fcb8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable If it helps at all, it's broken on macOS as well, both x86_64 and arm64. My nightly build just failed from commit f9e7f57f5710fe929fce468f8875a7310e73be05. Build log is available here: https://github.com/jimeh/emacs-builds/actions/runs/12129499436/job/33818102= 923 The most recent change to line yielding the error is commit 748b19e56e87fab44cb5474613502f8e96064a46 "Update to version 2.58 of librsvg API (bug#74606)". My nightly build environment has librsvg v2.58.3 installed, so all things seem to line up :) On Mon, Dec 2, 2024 at 10:44=E2=80=AFPM Angelo Graziosi wrote: > At least on GNU/Linux Mint the build of Emacs from master is broken: > > > [...] > CC lastfile.o > image.c: In function =E2=80=98svg_load_image=E2=80=99: > image.c:12358:12: warning: implicit declaration of function > =E2=80=98rsvg_handle_get_pixbuf_and_error=E2=80=99; did you mean > =E2=80=98rsvg_handle_get_pixbuf_sub=E2=80=99? [-Wimplicit-function-declar= ation] > 12358 | pixbuf =3D rsvg_handle_get_pixbuf_and_error (rsvg_handle, &err)= ; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | rsvg_handle_get_pixbuf_sub > image.c:12358:10: warning: assignment to =E2=80=98GdkPixbuf *=E2=80=99 {a= ka =E2=80=98struct > _GdkPixbuf *=E2=80=99} from =E2=80=98int=E2=80=99 makes pointer from inte= ger without a cast > [-Wint-conversion] > 12358 | pixbuf =3D 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 =C2=AB/tmp/emacs-master/src=C2=BB > make[1]: *** [Makefile:554: src] Errore 2 > make[1]: uscita dalla directory =C2=AB/tmp/emacs-master=C2=BB > make[1]: ingresso nella directory =C2=AB/tmp/emacs-master=C2=BB > *** > *** "make all" failed with exit status 2. > *** > *** You could try to: > *** - run "make bootstrap", which might fix the problem > *** - run "make V=3D1", 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 =C2=AB/tmp/emacs-master=C2=BB > 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. > > Ciao, > Angelo. > > > --000000000000e81143062851fcb8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
If it helps at=C2=A0all, it's broken on macOS as well,= both x86_64 and arm64.

My nightly build just failed fro= m commit f9e7f57f5710fe929fce468f8875a7310e73be05. Build log is available h= ere:=C2=A0https://github.com/jimeh/emacs-builds/actions/run= s/12129499436/job/33818102923

The most recent change= to line yielding the error is commit=C2=A0748b19e56e87fab44cb5474613502f8e= 96064a46 "Update to version 2.58 of librsvg API (bug#74606)".

My nightly build environment has librsvg v2.58.3 inst= alled, so all things seem to line up :)

On= Mon, Dec 2, 2024 at 10:44=E2=80=AFPM Angelo Graziosi <angelo.g0@libero.it> wrote:
At least on GNU/Linux Mint the build of Emacs from master is broken= :


[...]
=C2=A0 =C2=A0CC=C2=A0 =C2=A0 =C2=A0 =C2=A0lastfile.o
image.c: In function =E2=80=98svg_load_image=E2=80=99:
image.c:12358:12: warning: implicit declaration of function
=E2=80=98rsvg_handle_get_pixbuf_and_error=E2=80=99; did you mean
=E2=80=98rsvg_handle_get_pixbuf_sub=E2=80=99? [-Wimplicit-function-declarat= ion]
12358 |=C2=A0 =C2=A0pixbuf =3D rsvg_handle_get_pixbuf_and_error (rsvg_handl= e, &err);
=C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^~~~~= ~~~~~~~~~~~~~~~~~~~~~~~~~~~
=C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 rsvg_= handle_get_pixbuf_sub
image.c:12358:10: warning: assignment to =E2=80=98GdkPixbuf *=E2=80=99 {aka= =E2=80=98struct
_GdkPixbuf *=E2=80=99} from =E2=80=98int=E2=80=99 makes pointer from intege= r without a cast
[-Wint-conversion]
12358 |=C2=A0 =C2=A0pixbuf =3D rsvg_handle_get_pixbuf_and_error (rsvg_handl= e, &err);
=C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^
=C2=A0 =C2=A0CCLD=C2=A0 =C2=A0 =C2=A0temacs
=C2=A0 =C2=A0GEN=C2=A0 =C2=A0 =C2=A0 ../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 =C2=AB/tmp/emacs-master/src=C2=BB
make[1]: *** [Makefile:554: src] Errore 2
make[1]: uscita dalla directory =C2=AB/tmp/emacs-master=C2=BB
make[1]: ingresso nella directory =C2=AB/tmp/emacs-master=C2=BB
***
*** "make all" failed with exit status 2.
***
*** You could try to:
*** - run "make bootstrap", which might fix the problem
*** - run "make V=3D1", which displays the full commands invoked = by make,
***=C2=A0 =C2=A0to further investigate the problem
***
make[1]: *** [Makefile:418: advice-on-failure] Errore 2
make[1]: uscita dalla directory =C2=AB/tmp/emacs-master=C2=BB
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.

Ciao,
=C2=A0 Angelo.


--000000000000e81143062851fcb8--