From debbugs-submit-bounces@debbugs.gnu.org Mon May 09 22:32:33 2011 Received: (at submit) by debbugs.gnu.org; 10 May 2011 02:32:33 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QJckS-0000kl-MQ for submit@debbugs.gnu.org; Mon, 09 May 2011 22:32:33 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QJced-0000bh-OF for submit@debbugs.gnu.org; Mon, 09 May 2011 22:26:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QJceX-0005n8-Dn for submit@debbugs.gnu.org; Mon, 09 May 2011 22:26:26 -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 ([140.186.70.17]:38377) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QJceX-0005n4-CX for submit@debbugs.gnu.org; Mon, 09 May 2011 22:26:25 -0400 Received: from eggs.gnu.org ([140.186.70.92]:43681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QJceW-00053L-BJ for bug-gnu-emacs@gnu.org; Mon, 09 May 2011 22:26:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QJceU-0005mk-AM for bug-gnu-emacs@gnu.org; Mon, 09 May 2011 22:26:24 -0400 Received: from d4407.kankyo-u.ac.jp ([202.216.78.81]:25982) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QJceT-0005kf-Ow for bug-gnu-emacs@gnu.org; Mon, 09 May 2011 22:26:22 -0400 X-Virus-Scanned: amavisd-new at d4407.kankyo-u.ac.jp Received: from jimmy.4407.kankyo-u.ac.jp.kankyo-u.ac.jp (localhost [IPv6:::1]) by d4407.kankyo-u.ac.jp (8.14.4/8.14.4) with ESMTP id p4A24aSm099748 for ; Tue, 10 May 2011 11:04:36 +0900 (JST) (envelope-from nakaji@kankyo-u.ac.jp) From: NAKAJI Hiroyuki To: bug-gnu-emacs@gnu.org Subject: 24.0.50; cannot build on Solaris 10 Date: Tue, 10 May 2011 11:04:36 +0900 Message-ID: <86liyfcnuz.fsf@jimmy.4407.kankyo-u.ac.jp> User-Agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 09 May 2011 22:32:32 -0400 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.6 (------) There are three problems in building on Solaris 10. 1. In Solaris 10's /bin/sh, builtin test command does not have "-e" 2. /bin/sh does not have $(command) syntax, neither 3. Solaris's cc does not allow the combination of C99 option and _XOPEN_SOURCE=500, for example, fakemail.c fails. cc -xc99=all -DHAVE_CONFIG_H -I. -I../src -I../lib -I/export/home/nakaji/emacs/lib-src -I/export/home/nakaji/emacs/lib-src/../src -I/export/home/nakaji/emacs/lib-src/../lib -m64 -L/usr/pkg/lib -R/usr/pkg/lib -L/usr/openwin/lib -I/usr/pkg/include -m64 -I/usr/pkg/include /export/home/nakaji/emacs/lib-src/fakemail.c ../lib/libgnu.a -lsocket -lnsl -o fakemail "/usr/include/sys/feature_tests.h", line 332: #error: "Compiler or options invalid for pre-UNIX 03 X/Open applications and pre-2001 POSIX applications" cc: acomp failed for /export/home/nakaji/emacs/lib-src/fakemail.c Here is a patch. Thanks. === modified file 'Makefile.in' --- Makefile.in 2011-05-06 06:30:56 +0000 +++ Makefile.in 2011-05-09 11:21:39 +0000 @@ -373,7 +373,7 @@ LDFLAGS='${LDFLAGS}' MAKE='${MAKE}' BOOTSTRAPEMACS="$$boot"; \ fi; if [ -r .bzr/checkout/dirstate ]; then \ - vcswitness="$$(pwd)/.bzr/checkout/dirstate"; \ + vcswitness="`pwd`/.bzr/checkout/dirstate"; \ fi; \ cd $@; $(MAKE) all $(MFLAGS) \ CC='${CC}' CFLAGS='${CFLAGS}' CPPFLAGS='${CPPFLAGS}' \ @@ -829,7 +829,7 @@ -(cd doc/lispintro && $(MAKE) $(MFLAGS) maintainer-clean) (cd leim; $(MAKE) $(MFLAGS) maintainer-clean) (cd lisp; $(MAKE) $(MFLAGS) bootstrap-clean) - [ ! -e config.log ] || mv -f config.log config.log~ + [ ! -f config.log ] || mv -f config.log config.log~ ${top_bootclean} ## configure; make bootstrap replaces the real config.log from configure ## with the truncated one from config.status. The former is more useful. === modified file 'lib-src/fakemail.c' --- lib-src/fakemail.c 2011-04-16 21:13:07 +0000 +++ lib-src/fakemail.c 2011-05-09 04:26:15 +0000 @@ -20,7 +20,7 @@ along with GNU Emacs. If not, see . */ -#define _XOPEN_SOURCE 500 /* for cuserid */ +#define _XOPEN_SOURCE 600 /* for cuserid */ #ifdef HAVE_CONFIG_H #include I'm afraid the fix for fakemail.c is correct or not. -- NAKAJI Hiroyuki From debbugs-submit-bounces@debbugs.gnu.org Thu May 12 03:23:11 2011 Received: (at 8642) by debbugs.gnu.org; 12 May 2011 07:23:12 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QKQEp-0000os-IM for submit@debbugs.gnu.org; Thu, 12 May 2011 03:23:11 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QKQEn-0000og-Dg for 8642@debbugs.gnu.org; Thu, 12 May 2011 03:23:10 -0400 Received: from localhost ([127.0.0.1]:54580) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QKQEf-0000nL-1H; Thu, 12 May 2011 03:23:01 -0400 From: Glenn Morris To: NAKAJI Hiroyuki Subject: Re: bug#8642: 24.0.50; cannot build on Solaris 10 References: <86liyfcnuz.fsf@jimmy.4407.kankyo-u.ac.jp> X-Spook: Sundevil Compsec Venezuela event security Noriega X-Ran: `cWaVLj/LR*|B'JTg[pw29nI0'|2Ll=#XE{pa*QkOywkE (NAKAJI Hiroyuki's message of "Tue, 10 May 2011 11:04:36 +0900") Message-ID: <3xei44xu0b.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 8642 Cc: 8642@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.3 (------) NAKAJI Hiroyuki wrote: > 1. In Solaris 10's /bin/sh, builtin test command does not have "-e" > 2. /bin/sh does not have $(command) syntax, neither > 3. Solaris's cc does not allow the combination of C99 option and > _XOPEN_SOURCE=500, for example, fakemail.c fails. Thanks. I fixed 1 and 2. I wouldn't know what to do about 3. From debbugs-submit-bounces@debbugs.gnu.org Tue May 17 23:42:15 2011 Received: (at 8642-done) by debbugs.gnu.org; 18 May 2011 03:42:15 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QMXeJ-0002Nj-C3 for submit@debbugs.gnu.org; Tue, 17 May 2011 23:42:15 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QMXeH-0002NV-Ai for 8642-done@debbugs.gnu.org; Tue, 17 May 2011 23:42:13 -0400 Received: from localhost ([127.0.0.1]:40539) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMXeC-0005o7-7R; Tue, 17 May 2011 23:42:08 -0400 From: Glenn Morris To: 8642-done@debbugs.gnu.org Subject: Re: bug#8642: 24.0.50; cannot build on Solaris 10 References: <86liyfcnuz.fsf@jimmy.4407.kankyo-u.ac.jp> <3xei44xu0b.fsf@fencepost.gnu.org> X-Spook: ASLET Jiang Zemin Ruby Ridge illuminati Abu Ghraib Area X-Ran: h&v|O2Jt$YY]|fqsqCe>y&AZ`b`:mK"=9[#5JA51105OKc;@`Su_#-{-1}fHJ^.:yQV23o X-Hue: green X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 17 May 2011 23:42:07 -0400 Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 8642-done 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.3 (------) Version: 24.1 >> 3. Solaris's cc does not allow the combination of C99 option and >> _XOPEN_SOURCE=500, for example, fakemail.c fails. After looking into this a little bit, I think your change to 600 may be correct. But fakemail.c was removed, so it's no longer necessary. If that file comes back, please send a reminder about this. Thanks. From unknown Fri Jun 20 07:18:16 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 15 Jun 2011 11:24:03 +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