From unknown Mon Aug 18 14:15:15 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#7178 <7178@debbugs.gnu.org> To: bug#7178 <7178@debbugs.gnu.org> Subject: Status: 24.0.50; Emacs 24 doesn't build on Solaris 10 Reply-To: bug#7178 <7178@debbugs.gnu.org> Date: Mon, 18 Aug 2025 21:15:15 +0000 retitle 7178 24.0.50; Emacs 24 doesn't build on Solaris 10 reassign 7178 emacs submitter 7178 Rainer Orth severity 7178 important thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 08 16:17:59 2010 Received: (at submit) by debbugs.gnu.org; 8 Oct 2010 20:17:59 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P4JOA-0005W8-Ie for submit@debbugs.gnu.org; Fri, 08 Oct 2010 16:17:58 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P4JO8-0005W3-6X for submit@debbugs.gnu.org; Fri, 08 Oct 2010 16:17:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P4JRH-0008GT-2S for submit@debbugs.gnu.org; Fri, 08 Oct 2010 16:21:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:40826) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P4JRA-0008AZ-Ql for submit@debbugs.gnu.org; Fri, 08 Oct 2010 16:21:10 -0400 Received: from [140.186.70.92] (port=44802 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P4JNE-0005TE-GQ for bug-gnu-emacs@gnu.org; Fri, 08 Oct 2010 16:17:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P4JBB-0003yr-4N for bug-gnu-emacs@gnu.org; Fri, 08 Oct 2010 16:04:34 -0400 Received: from snape.cebitec.uni-bielefeld.de ([129.70.160.84]:50835 helo=smtp-relay.CeBiTec.Uni-Bielefeld.DE) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P4JBA-0003yU-Vm for bug-gnu-emacs@gnu.org; Fri, 08 Oct 2010 16:04:33 -0400 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 069BB1EB for ; Fri, 8 Oct 2010 22:04:31 +0200 (CEST) X-Virus-Scanned: amavisd-new at cebitec.uni-bielefeld.de Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (malfoy.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) (amavisd-new, port 10024) with LMTP id OTf3S3Fc2XGS; Fri, 8 Oct 2010 22:04:29 +0200 (CEST) Received: from manam.CeBiTec.Uni-Bielefeld.DE (manam.CeBiTec.Uni-Bielefeld.DE [129.70.161.120]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPS id A1F2B1E9; Fri, 8 Oct 2010 22:04:28 +0200 (CEST) Received: (from ro@localhost) by manam.CeBiTec.Uni-Bielefeld.DE (8.14.4+Sun/8.14.4/Submit) id o98K4S7H022199; Fri, 8 Oct 2010 22:04:28 +0200 (MEST) X-Authentication-Warning: manam.CeBiTec.Uni-Bielefeld.DE: ro set sender to ro@CeBiTec.Uni-Bielefeld.DE using -f From: Rainer Orth To: bug-gnu-emacs@gnu.org Subject: 24.0.50; Emacs 24 doesn't build on Solaris 10 Date: Fri, 08 Oct 2010 22:04:28 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.1 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.3 (-----) When I tried to build Emacs bazaar trunk on Solaris 10 to check if bug#7163 still occurs on trunk, I ran into two issues: * lisp/Makefile.in (compile-clean) uses $() which the Solaris 10 /bin/sh doesn't understand. This can easily be avoided by using `` instead. * src/sysdep.c doesn't compile: "/usr/include/term.h", line 1034: syntax error before or at: bool uses bool without providing bool. cannot be included since it only works in C99 mode. The documented solution (e.g. on the curs_terminfo(3CURSES) manpage) is to include before term.h. The patch below hardcodes this, but this is most likely not the appropriate solution. Some kind of autoconf magic is probably needed to check if can be compiled on its own. Rainer 2010-10-08 Rainer Orth src: * sysdep.c [HAVE_TERM_H]: Include before . lisp: * Makefile.in (compile-clean): Use `` instead of $(). === modified file 'lisp/Makefile.in' --- lisp/Makefile.in 2010-09-08 14:42:54 +0000 +++ lisp/Makefile.in 2010-09-08 20:49:05 +0000 @@ -249,7 +249,7 @@ compile-clean: @cd $(lisp); $(setwins); \ elcs=`echo "$$wins " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.elc |g'`; \ - for el in $$(echo $$elcs | sed -e 's/\.elc/\.el/g'); do \ + for el in `echo $$elcs | sed -e 's/\.elc/\.el/g'`; do \ if test -f "$$el" -o \! -f "$${el}c"; then :; else \ echo rm "$${el}c"; \ rm "$${el}c"; \ === modified file 'src/sysdep.c' --- src/sysdep.c 2010-08-22 15:14:37 +0000 +++ src/sysdep.c 2010-09-08 20:34:07 +0000 @@ -97,6 +97,7 @@ /* Include this last. If it is ncurses header file, it adds a lot of defines that interfere with stuff in other headers. Someone responsible for ncurses messed up bigtime. See bug#6812. */ +#include #include #endif -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 10 10:04:29 2010 Received: (at 7178) by debbugs.gnu.org; 10 Oct 2010 14:04:29 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P4wVo-0007RC-QQ for submit@debbugs.gnu.org; Sun, 10 Oct 2010 10:04:29 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P4wVm-0007R7-U7 for 7178@debbugs.gnu.org; Sun, 10 Oct 2010 10:04:27 -0400 Received: from dann by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1P4wZ2-00057G-93; Sun, 10 Oct 2010 10:07:48 -0400 To: Rainer Orth Subject: Re: bug#7178: 24.0.50; Emacs 24 doesn't build on Solaris 10 References: From: Dan Nicolaescu X-Debbugs-No-Ack: yes Date: Sun, 10 Oct 2010 10:07:48 -0400 In-Reply-To: (Rainer Orth's message of "Fri\, 08 Oct 2010 22\:04\:28 +0200") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.5 (------) X-Debbugs-Envelope-To: 7178 Cc: 7178@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.5 (------) Rainer Orth writes: > When I tried to build Emacs bazaar trunk on Solaris 10 to check if > bug#7163 still occurs on trunk, I ran into two issues: > > * lisp/Makefile.in (compile-clean) uses $() which the Solaris 10 /bin/sh > doesn't understand. This can easily be avoided by using `` instead. > > * src/sysdep.c doesn't compile: > > "/usr/include/term.h", line 1034: syntax error before or at: bool > > uses bool without providing bool. cannot be > included since it only works in C99 mode. The documented solution > (e.g. on the curs_terminfo(3CURSES) manpage) is to include > before term.h. The patch below hardcodes this, but this is most > likely not the appropriate solution. Some kind of autoconf magic is > probably needed to check if can be compiled on its own. > === modified file 'src/sysdep.c' > --- src/sysdep.c 2010-08-22 15:14:37 +0000 > +++ src/sysdep.c 2010-09-08 20:34:07 +0000 > @@ -97,6 +97,7 @@ > /* Include this last. If it is ncurses header file, it adds a lot of > defines that interfere with stuff in other headers. Someone responsible > for ncurses messed up bigtime. See bug#6812. */ > +#include > #include > #endif The only reason to include in sysdep.c is to get a prototype for `tputs' (used in `reset_sys_modes') . cm.c also uses tputs, but it adds an extern declaration for it. Given that including seems to cause problems, maybe a good workaround would be to move `reset_sys_modes' to cm.c. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 06 12:01:37 2010 Received: (at 7178) by debbugs.gnu.org; 6 Dec 2010 17:01:37 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PPeRU-0005Cb-SB for submit@debbugs.gnu.org; Mon, 06 Dec 2010 12:01:37 -0500 Received: from vm-emlprdomr-03.its.yale.edu ([130.132.50.144]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PPeRS-0005CM-PD for 7178@debbugs.gnu.org; Mon, 06 Dec 2010 12:01:35 -0500 Received: from furball (dhcp128036014181.central.yale.edu [128.36.14.181]) (authenticated bits=0) by vm-emlprdomr-03.its.yale.edu (8.14.4/8.14.4) with ESMTP id oB6H7OQL014982 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 6 Dec 2010 12:07:24 -0500 Received: by furball (Postfix, from userid 1000) id DD3141605F5; Mon, 6 Dec 2010 12:07:23 -0500 (EST) From: Chong Yidong To: Rainer Orth Subject: Re: 24.0.50; Emacs 24 doesn't build on Solaris 10 Date: Mon, 06 Dec 2010 12:07:23 -0500 Message-ID: <878w02vnhw.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.71 on 130.132.50.144 X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 7178 Cc: 7178@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) > When I tried to build Emacs bazaar trunk on Solaris 10 to check if > bug#7163 still occurs on trunk, I ran into two issues: > > * lisp/Makefile.in (compile-clean) uses $() which the Solaris 10 /bin/sh > doesn't understand. This can easily be avoided by using `` instead. > > * src/sysdep.c doesn't compile: > > "/usr/include/term.h", line 1034: syntax error before or at: bool Since the Makefile.in change and the tputs prototype suggested by Dan have both been committed now, I'm closing the bug. If the new changes don't work properly please reopen if, or file another bug if you encounter other problems building Emacs 24 on Solaris. Thanks for the report. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 06 12:01:45 2010 Received: (at control) by debbugs.gnu.org; 6 Dec 2010 17:01:45 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PPeRd-0005Cx-3s for submit@debbugs.gnu.org; Mon, 06 Dec 2010 12:01:45 -0500 Received: from vm-emlprdomr-04.its.yale.edu ([130.132.50.145]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PPeRc-0005Ck-DM for control@debbugs.gnu.org; Mon, 06 Dec 2010 12:01:44 -0500 Received: from furball (dhcp128036014181.central.yale.edu [128.36.14.181]) (authenticated bits=0) by vm-emlprdomr-04.its.yale.edu (8.14.4/8.14.4) with ESMTP id oB6H7aOo005177 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 6 Dec 2010 12:07:36 -0500 Received: by furball (Postfix, from userid 1000) id 5449D1605F5; Mon, 6 Dec 2010 12:07:36 -0500 (EST) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 7178 Date: Mon, 06 Dec 2010 12:07:36 -0500 Message-ID: <8762v6vnhj.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.71 on 130.132.50.145 X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) close 7178 thanks From unknown Mon Aug 18 14:15:15 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 04 Jan 2011 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator