From unknown Sun Jun 22 11:33:49 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#5957 <5957@debbugs.gnu.org> To: bug#5957 <5957@debbugs.gnu.org> Subject: Status: 23.1.95; [PATCH] Build failure on FreeBSD Reply-To: bug#5957 <5957@debbugs.gnu.org> Date: Sun, 22 Jun 2025 18:33:49 +0000 retitle 5957 23.1.95; [PATCH] Build failure on FreeBSD reassign 5957 emacs submitter 5957 Naohiro Aota severity 5957 normal tag 5957 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 16 08:13:40 2010 Received: (at submit) by debbugs.gnu.org; 16 Apr 2010 12:13:41 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O2kQV-0007Fk-0D for submit@debbugs.gnu.org; Fri, 16 Apr 2010 08:13:40 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O2jFi-00068K-QO for submit@debbugs.gnu.org; Fri, 16 Apr 2010 06:58:27 -0400 Received: from lists.gnu.org ([199.232.76.165]:53496) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1O2jFd-0004CN-Ec for submit@debbugs.gnu.org; Fri, 16 Apr 2010 06:58:21 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O2jFc-0002vj-95 for bug-gnu-emacs@gnu.org; Fri, 16 Apr 2010 06:58:20 -0400 Received: from [140.186.70.92] (port=55684 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O2jFX-0002u9-Ii for bug-gnu-emacs@gnu.org; Fri, 16 Apr 2010 06:58:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.0 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O2fUE-0001yW-9p for bug-gnu-emacs@gnu.org; Fri, 16 Apr 2010 03:00:22 -0400 Received: from mail-vw0-f41.google.com ([209.85.212.41]:47496) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O2fUC-0001xi-8I for bug-gnu-emacs@gnu.org; Fri, 16 Apr 2010 02:57:08 -0400 Received: by vws8 with SMTP id 8so1185215vws.0 for ; Thu, 15 Apr 2010 23:57:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:message-id:to :subject:from:x-mailer:mime-version:content-type :content-transfer-encoding; bh=uAp6u0jqG/ZxbDa12yc+8Uzxjxq2EWuf0ml7LvovwXo=; b=TeWPFqFzlxcD0l3iQuqKUW/0TZJ8xtAGTNA25CF+FsGBPG4Zzbju6SSBE30D0WHVYp IIqoXDoiUHvv6eBP37AeGWFnNg+E6Ub0AJRzFrTgrwhBFtYu5zyrrE7OGtPbOtseMwaW YgaTbF9NH7hBItAeMZmAlvn1kbsGvYt2M/shk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:message-id:to:subject:from:x-mailer:mime-version :content-type:content-transfer-encoding; b=T6qcbKLZIH1ldgI5lbMdpEasrciBSaQjlLtw2fTSVONw1dMuofmVAISXHJc2rJJ+eM QRttf3Cj8iG/LhqrQuAMrWd70bazzssQxWZTGekRh26QU1msrgK2lb+L6ATL5LiiX8tR l74+Ipa7WB6V6tOjLgIi1EUkL4NpMdC7DUH9w= Received: by 10.220.88.81 with SMTP id z17mr675074vcl.154.1271401025522; Thu, 15 Apr 2010 23:57:05 -0700 (PDT) Received: from localhost (zaq3a55f429.zaq.ne.jp [58.85.244.41]) by mx.google.com with ESMTPS id z13sm2037971vco.18.2010.04.15.23.57.03 (version=SSLv3 cipher=RC4-MD5); Thu, 15 Apr 2010 23:57:04 -0700 (PDT) Date: Fri, 16 Apr 2010 15:46:21 +0900 (JST) Message-Id: <20100416.154621.1898092761212240086.naota@elisp.net> To: bug-gnu-emacs@gnu.org Subject: 23.1.95; [PATCH] Build failure on FreeBSD From: Naohiro Aota X-Mailer: Mew version 7.0.50 on Emacs 24.0.50 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Fri_Apr_16_15_46_21_2010_662)--" Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 16 Apr 2010 08:13:37 -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: -5.9 (-----) ----Next_Part(Fri_Apr_16_15_46_21_2010_662)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': Emacs trunk cannot to be build on FreeBSD with the follwing error. /usr/lib/gcc/i686-gentoo-freebsd7.2/4.4.3/../../../../i686-gentoo-freebsd7.2/bin/ld: cannot find -ltermcap collect2: ld returned 1 exit status gmake[1]: *** [temacs] Error 1 gmake[1]: Leaving directory `/usr/local/src/bzr-src/emacs-trunk/src' gmake: *** [src] Error 2 Rev 99699 removed "#include ", but this line is necessary to define __FreeBSD_version. Without the line, "#if __FreeBSD_version < 400000" always succeeds and cause "#define LIBS_TERMCAP -ltermcap" which is not adequate library. With the attached patch, I was able to build emacs on FreeBSD again. In GNU Emacs 23.1.95.1 (i686-gentoo-freebsd7.2, GTK+ Version 2.18.9) of 2010-04-13 on sana configured using `configure '--prefix=/usr' '--build=i686-gentoo-freebsd7.2' '--host=i686-gentoo-freebsd7.2' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '-\ -localstatedir=/var/lib' '--program-suffix=-emacs-23-vcs' '--infodir=/usr/share/info/emacs-23-vcs' '--with-sound' '--with-x' '--without-gconf' '--with-toolkit-scroll-bars' '--with-gif' '--with-jpeg' '--with-pn\ g' '--with-rsvg' '--without-tiff' '--with-xpm' '--with-xft' '--without-libotf' '--without-m17n-flt' '--with-x-toolkit=gtk' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--without-gpm' '--with-\ dbus' 'build_alias=i686-gentoo-freebsd7.2' 'host_alias=i686-gentoo-freebsd7.2' 'CFLAGS=-O2 -march=native -pipe' 'LDFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ja_JP.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t ----Next_Part(Fri_Apr_16_15_46_21_2010_662)-- Content-Type: Text/X-Patch; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="emacs-freebsd.patch" === modified file 'src/s/freebsd.h' --- src/s/freebsd.h 2010-03-20 07:57:11 +0000 +++ src/s/freebsd.h 2010-04-16 06:43:51 +0000 @@ -23,6 +23,7 @@ You should have received a copy of the GNU General Public License along with GNU Emacs. If not, see . */ +#include /* Get most of the stuff from bsd-common */ #include "bsd-common.h" ----Next_Part(Fri_Apr_16_15_46_21_2010_662)---- From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 16 13:26:53 2010 Received: (at 5957-done) by debbugs.gnu.org; 16 Apr 2010 17:26:53 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O2pJd-0001ae-2g for submit@debbugs.gnu.org; Fri, 16 Apr 2010 13:26:53 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O2pJb-0001aY-VU for 5957-done@debbugs.gnu.org; Fri, 16 Apr 2010 13:26:52 -0400 Received: from dann by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1O2pJW-0002gX-Ke; Fri, 16 Apr 2010 13:26:46 -0400 To: Naohiro Aota Subject: Re: bug#5957: 23.1.95; [PATCH] Build failure on FreeBSD References: <20100416.154621.1898092761212240086.naota@elisp.net> From: Dan Nicolaescu Date: Fri, 16 Apr 2010 13:26:46 -0400 In-Reply-To: <20100416.154621.1898092761212240086.naota@elisp.net> (Naohiro Aota's message of "Fri\, 16 Apr 2010 15\:46\:21 +0900 \(JST\)") 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.6 (------) X-Debbugs-Envelope-To: 5957-done Cc: 5957-done@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.6 (------) Naohiro Aota writes: > Please describe exactly what actions triggered the bug > and the precise symptoms of the bug. If you can, give > a recipe starting from `emacs -Q': > > Emacs trunk cannot to be build on FreeBSD with the follwing error. > > /usr/lib/gcc/i686-gentoo-freebsd7.2/4.4.3/../../../../i686-gentoo-freebsd7.2/bin/ld: cannot find -ltermcap > collect2: ld returned 1 exit status > gmake[1]: *** [temacs] Error 1 > gmake[1]: Leaving directory `/usr/local/src/bzr-src/emacs-trunk/src' > gmake: *** [src] Error 2 > > Rev 99699 removed "#include ", but this line is necessary > to define __FreeBSD_version. Without the line, "#if __FreeBSD_version > < 400000" always succeeds and cause "#define LIBS_TERMCAP -ltermcap" > which is not adequate library. > > With the attached patch, I was able to build emacs on FreeBSD again. Thanks, I restored the osreldate.h include. From unknown Sun Jun 22 11:33:49 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 15 May 2010 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