GNU bug report logs - #78657
build error emacs git on termux-proot

Previous Next

Package: emacs;

Reported by: badli al rashid <theothernighttheotherday <at> gmail.com>

Date: Sun, 1 Jun 2025 03:05:01 UTC

Severity: normal

To reply to this bug, email your comments to 78657 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#78657; Package emacs. (Sun, 01 Jun 2025 03:05:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to badli al rashid <theothernighttheotherday <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 01 Jun 2025 03:05:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: badli al rashid <theothernighttheotherday <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: build error emacs git on termux-proot
Date: Sun, 1 Jun 2025 11:04:17 +0800
[Message part 1 (text/plain, inline)]
hi,

my emacs build fail today. Yesterday version was fine as i have just change
to gcc from clang. i tried to build again but i got an error message.

repository revision
git rev-parse HEAD

git rev-parse HEADc3d9581f84107c2e137c71bb8fbf386bc20c944c

uname -a
Linux localhost 6.2.1-PRoot-Distro #1 SMP PREEMPT Wed May 28 06:18:07 UTC
2025 aarch64 GNU/Linux

cat /etc/debian_version                                         13.0
gcc --version     gcc (Debian 14.2.0-19) 14.2.0                 Copyright
(C) 2024 Free Software Foundation, Inc.
       This is free software; see the source for copying conditions.  There
is NO                  warranty; not even for MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE.

build error message

dispnew.c:7558: error: expected ‘{’ at end of input
                 dispnew.c:7558: warning: control reaches end of non-void
function [-Wreturn-type]           make[2]: *** [Makefile:444: dispnew.o]
Error 1make[2]: Leaving directory '/emacs.git/src'
                  make[1]: *** [Makefile:546: src] Error 2      make[1]:
Leaving directory '/root/emacs.git'  make[1]: Entering directory
'/emacs.git' ***                                           *** "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:410: advice-on-failure] Error
2                                      make[1]: Leaving directory
'/emacs.git'  make: *** [Makefile:366: all] Error 2

Sent from Gmail
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#78657; Package emacs. (Sun, 01 Jun 2025 05:54:02 GMT) Full text and rfc822 format available.

Message #8 received at 78657 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: badli al rashid <theothernighttheotherday <at> gmail.com>
Cc: 78657 <at> debbugs.gnu.org
Subject: Re: bug#78657: build error emacs git on termux-proot
Date: Sun, 01 Jun 2025 08:53:32 +0300
> From: badli al rashid <theothernighttheotherday <at> gmail.com>
> Date: Sun, 1 Jun 2025 11:04:17 +0800
> 
> my emacs build fail today. Yesterday version was fine as i have just change to gcc from clang. i tried to build
> again but i got an error message.
> 
> repository revision
> git rev-parse HEAD
> 
> git rev-parse HEADc3d9581f84107c2e137c71bb8fbf386bc20c944c
> 
> uname -a
> Linux localhost 6.2.1-PRoot-Distro #1 SMP PREEMPT Wed May 28 06:18:07 UTC 2025 aarch64 GNU/Linux
> 
> cat /etc/debian_version                                         13.0
> gcc --version     gcc (Debian 14.2.0-19) 14.2.0                 Copyright (C) 2024 Free Software Foundation,
> Inc.                                           This is free software; see the source for copying conditions.  There is NO      
>            warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> build error message
> 
> dispnew.c:7558: error: expected ‘{’ at end of input                                         dispnew.c:7558: warning:
> control reaches end of non-void function [-Wreturn-type]           make[2]: *** [Makefile:444: dispnew.o] Error
> 1make[2]: Leaving directory '/emacs.git/src'                                            make[1]: *** [Makefile:546: src] Error
> 2      make[1]: Leaving directory '/root/emacs.git'  make[1]: Entering directory '/emacs.git' ***                          
>                 *** "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:410: advice-on-failure] Error 2                                     
> make[1]: Leaving directory '/emacs.git'  make: *** [Makefile:366: all] Error 2

This is some local snafu on your system, maybe with GCC or the system
header files.  Nothing's changed in dispnew.c (or related header
files) lately, and it compiles cleanly here.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#78657; Package emacs. (Sun, 01 Jun 2025 06:14:01 GMT) Full text and rfc822 format available.

Message #11 received at 78657 <at> debbugs.gnu.org (full text, mbox):

From: badli al rashid <theothernighttheotherday <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 78657 <at> debbugs.gnu.org
Subject: Re: bug#78657: build error emacs git on termux-proot
Date: Sun, 1 Jun 2025 14:12:37 +0800
[Message part 1 (text/plain, inline)]
okey i will for check the header files later, thank you.

Sent from Gmail

On Sun, Jun 1, 2025, 13:53 Eli Zaretskii <eliz <at> gnu.org> wrote:

> > From: badli al rashid <theothernighttheotherday <at> gmail.com>
> > Date: Sun, 1 Jun 2025 11:04:17 +0800
> >
> > my emacs build fail today. Yesterday version was fine as i have just
> change to gcc from clang. i tried to build
> > again but i got an error message.
> >
> > repository revision
> > git rev-parse HEAD
> >
> > git rev-parse HEADc3d9581f84107c2e137c71bb8fbf386bc20c944c
> >
> > uname -a
> > Linux localhost 6.2.1-PRoot-Distro #1 SMP PREEMPT Wed May 28 06:18:07
> UTC 2025 aarch64 GNU/Linux
> >
> > cat /etc/debian_version                                         13.0
> > gcc --version     gcc (Debian 14.2.0-19) 14.2.0
>  Copyright (C) 2024 Free Software Foundation,
> > Inc.                                           This is free software;
> see the source for copying conditions.  There is NO
> >            warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE.
> >
> > build error message
> >
> > dispnew.c:7558: error: expected ‘{’ at end of input
>                    dispnew.c:7558: warning:
> > control reaches end of non-void function [-Wreturn-type]
>  make[2]: *** [Makefile:444: dispnew.o] Error
> > 1make[2]: Leaving directory '/emacs.git/src'
>                 make[1]: *** [Makefile:546: src] Error
> > 2      make[1]: Leaving directory '/root/emacs.git'  make[1]: Entering
> directory '/emacs.git' ***
> >                 *** "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:410: advice-on-failure] Error 2
>
> > make[1]: Leaving directory '/emacs.git'  make: *** [Makefile:366: all]
> Error 2
>
> This is some local snafu on your system, maybe with GCC or the system
> header files.  Nothing's changed in dispnew.c (or related header
> files) lately, and it compiles cleanly here.
>
[Message part 2 (text/html, inline)]

This bug report was last modified 5 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.