From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bo YU Newsgroups: gmane.emacs.devel Subject: help to debug on Debian riscv64 fail to build Date: Fri, 18 Aug 2023 19:09:58 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11900"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Aug 18 14:10:44 2023 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 1qWyJQ-0002tc-AJ for ged-emacs-devel@m.gmane-mx.org; Fri, 18 Aug 2023 14:10:44 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qWyIV-0004Kr-1F; Fri, 18 Aug 2023 08:09:47 -0400 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 1qWxMu-0000Sv-JB for emacs-devel@gnu.org; Fri, 18 Aug 2023 07:10:17 -0400 Original-Received: from mail-vs1-xe2f.google.com ([2607:f8b0:4864:20::e2f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qWxMr-0006gf-Ha for emacs-devel@gnu.org; Fri, 18 Aug 2023 07:10:16 -0400 Original-Received: by mail-vs1-xe2f.google.com with SMTP id ada2fe7eead31-44bf85e9b39so283168137.0 for ; Fri, 18 Aug 2023 04:10:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692357011; x=1692961811; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=UYBnx2PlGbfLh8JPc2KDQOFTGAqMI1PSs/loMQYI9nI=; b=O/vFCrHMNimzC6xKbfCcTqzrhsGksYsrMTiVZn4IkMhw4m7pfl7I5E53rIa9GA0cTk M7oym9HlLv/Nke5nGh7p4EeaeqoQM6RYrR6uJrUDNJOPXdm0ULo5imCHE8Bm3sy36ZTa EqTwH1Js4SN/7FEEt/dKPPnFctXwh0fCy7Zdj1mt14uKqEl2lgAkyA3hw9o32CGpViU5 UWQ12C+iA01Kstc38QuESnmlORtxylhSCl8RNsDm4HSKmYYNrRvbgqI0MqZXSn4bnhvH IbCrY8g/MWJDdTZA231BU1MoSTYWV8r+q6m4B9blh0nerGc4eh/uiD2ctWoNfFFQ/ESh ND3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692357011; x=1692961811; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=UYBnx2PlGbfLh8JPc2KDQOFTGAqMI1PSs/loMQYI9nI=; b=B02OSXftEOjER1atSEsPL9DiVb7X1t8xPVjopsJJ7vTaenQJyWus/4gt48ZRNcOCPY dU81iFVSj5UxS2+9xnt22ooSrobTS4M8PHgXkxdlElkQLOs/9Dme08/yhUd9yxCXurz8 Q4EXnQZSwfrXGzJf1jYYcSXQnPtO7zDI+tnLhxJJp7DCLxiY2wfPe6dQh0bY0RclcIu8 NinEOvKdF+ozocSHidjjmEC3bayII3bbWkYJ+p9V2EJ0P90cSIc6siypdjpI77hu/LI3 1wze9+upmqzyZCImlU0ORj3wUDGaTBfmIRwVcxUPIj250MkR3OeoBBMRfG4NtbMlhptU rx7Q== X-Gm-Message-State: AOJu0YzHDQlsLbeSuGmlwenRfpsV7ngkM4eUUNtk3CgVmej9aAnXtXcj vXDOx5Hd+ch8tlDOGrHr/6s9dLajncNpnshJer1+6DY5TNtxasbuB2k32g== X-Google-Smtp-Source: AGHT+IF9Md4obhIgP5SqYT3YFVqGZHT3qKIzGP1Eeeh1W5W0cp5ObW1srfAoft1YePN86vKhH1H0BlvGA3h78xTPW8k= X-Received: by 2002:a67:f113:0:b0:447:925c:a047 with SMTP id n19-20020a67f113000000b00447925ca047mr2803670vsk.26.1692357011283; Fri, 18 Aug 2023 04:10:11 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::e2f; envelope-from=tsu.yubo@gmail.com; helo=mail-vs1-xe2f.google.com 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, FREEMAIL_FROM=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-Mailman-Approved-At: Fri, 18 Aug 2023 08:05:15 -0400 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:308889 Archived-At: Hi! (please ccing me) Now Debian riscv64 rebootstrap official port[0], but the emacs fail to build[1]: the log is here: ``` ... Backtrace: ../src/bootstrap-emacs(+0x156034)[0x2ab96be034] ../src/bootstrap-emacs(+0x50c72)[0x2ab95b8c72] ../src/bootstrap-emacs(+0x50e1c)[0x2ab95b8e1c] ../src/bootstrap-emacs(+0x1543ee)[0x2ab96bc3ee] ../src/bootstrap-emacs(+0x15446e)[0x2ab96bc46e] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0x3f986bc800] ../src/bootstrap-emacs(+0x1bf90a)[0x2ab972790a] ../src/bootstrap-emacs(+0x1bfa60)[0x2ab9727a60] ../src/bootstrap-emacs(+0x1bfd4c)[0x2ab9727d4c] ../src/bootstrap-emacs(+0x1bd86a)[0x2ab972586a] ../src/bootstrap-emacs(+0x1bf278)[0x2ab9727278] ../src/bootstrap-emacs(Ffuncall+0xc2)[0x2ab97160c6] /<>/debian/build-gtk/native-lisp/29.1-879b3864/comp-7672a6ed-a6af04d9.eln(F636f6d702d696e7465726e2d66756e632d696e2d63747874_comp_intern_func_in_ctxt_0+0x4a2)[0x3f8fb4d364] ../src/bootstrap-emacs(Ffuncall+0xc2)[0x2ab97160c6] ../src/bootstrap-emacs(+0x1b741e)[0x2ab971f41e] ../src/bootstrap-emacs(+0x1e96d6)[0x2ab97516d6] ../src/bootstrap-emacs(Ffuncall+0xc2)[0x2ab97160c6] ../src/bootstrap-emacs(+0x1ae3a0)[0x2ab97163a0] ../src/bootstrap-emacs(eval_sub+0x542)[0x2ab9719080] ../src/bootstrap-emacs(+0x1b2854)[0x2ab971a854] ../src/bootstrap-emacs(eval_sub+0x6c8)[0x2ab9719206] ../src/bootstrap-emacs(+0x1b1f80)[0x2ab9719f80] ../src/bootstrap-emacs(Ffuncall+0xc2)[0x2ab97160c6] /<>/debian/build-gtk/native-lisp/29.1-879b3864/comp-7672a6ed-a6af04d9.eln(F636f6d702d7370696c6c2d6c6170_comp_spill_lap_0+0x7e)[0x3f8fb4dbe8] ../src/bootstrap-emacs(Ffuncall+0xc2)[0x2ab97160c6] /<>/debian/build-gtk/native-lisp/29.1-879b3864/comp-7672a6ed-a6af04d9.eln(F636f6d702d2d6e61746976652d636f6d70696c65_comp__native_compile_0+0x4ea)[0x3f8fb7c770] ../src/bootstrap-emacs(Ffuncall+0xc2)[0x2ab97160c6] /<>/debian/build-gtk/native-lisp/29.1-879b3864/comp-7672a6ed-a6af04d9.eln(F62617463682d6e61746976652d636f6d70696c65_batch_native_compile_0+0xfa)[0x3f8fb7d5e4] ../src/bootstrap-emacs(Ffuncall+0xc2)[0x2ab97160c6] /<>/debian/build-gtk/native-lisp/29.1-879b3864/comp-7672a6ed-a6af04d9.eln(F62617463682d627974652b6e61746976652d636f6d70696c65_batch_bytenative_compile_0+0xd6)[0x3f8fb7d88a] ../src/bootstrap-emacs(Ffuncall+0xc2)[0x2ab97160c6] ../src/bootstrap-emacs(eval_sub+0x542)[0x2ab9719080] ../src/bootstrap-emacs(+0x1b1ad4)[0x2ab9719ad4] ../src/bootstrap-emacs(eval_sub+0x6c8)[0x2ab9719206] ../src/bootstrap-emacs(+0x1b1b34)[0x2ab9719b34] ../src/bootstrap-emacs(eval_sub+0x6c8)[0x2ab9719206] ../src/bootstrap-emacs(+0x1b2aae)[0x2ab971aaae] ../src/bootstrap-emacs(eval_sub+0x6c8)[0x2ab9719206] ../src/bootstrap-emacs(+0x1b19f6)[0x2ab97199f6] ../src/bootstrap-emacs(eval_sub+0x6c8)[0x2ab9719206] ../src/bootstrap-emacs(+0x1b2aae)[0x2ab971aaae] ... make[5]: *** [Makefile:282: /<>/debian/build-src/lisp/minibuffer.elc] Segmentation fault make[4]: *** [Makefile:841: /<>/debian/build-src/lisp/minibuffer.elc] Error 2 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory '/<>/debian/build-gtk/src' make[3]: *** [Makefile:546: src] Error 2 make[3]: Leaving directory '/<>/debian/build-gtk' make[3]: Entering directory '/<>/debian/build-gtk' *** *** "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[3]: *** [Makefile:416: advice-on-failure] Error 2 make[3]: Leaving directory '/<>/debian/build-gtk' make[2]: *** [Makefile:372: all] Error 2 make[2]: Leaving directory '/<>/debian/build-gtk' make[1]: *** [debian/rules:352: override_dh_auto_build] Error 2 make[1]: Leaving directory '/<>' make: *** [debian/rules:200: build] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2023-08-18T10:54:39Z ``` This time I build it with Debian package way, but I should build with upstream tar first. I would like to get your help here how to debug the issue effectively? TIA, BR, Bo [0]: https://lists.debian.org/debian-riscv/2023/07/msg00053.html [1]: https://buildd.debian.org/status/package.php?p=emacs