From unknown Sat Sep 13 23:21:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23748: [bug-gnu-emacs] building emacs-25.0.95 on OpenIndiana Resent-From: "Nelson H. F. Beebe" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Jun 2016 00:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23748 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 23748@debbugs.gnu.org Cc: beebe@math.utah.edu X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.146569095520014 (code B ref -1); Sun, 12 Jun 2016 00:23:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Jun 2016 00:22:35 +0000 Received: from localhost ([127.0.0.1]:37506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bBtAc-0005Cg-NO for submit@debbugs.gnu.org; Sat, 11 Jun 2016 20:22:34 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42140) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bBtAb-0005CU-Fo for submit@debbugs.gnu.org; Sat, 11 Jun 2016 20:22:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bBtAV-00045J-Ad for submit@debbugs.gnu.org; Sat, 11 Jun 2016 20:22:24 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:42381) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBtAV-000451-7L for submit@debbugs.gnu.org; Sat, 11 Jun 2016 20:22:23 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33111) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBtAS-0008BN-VO for bug-gnu-emacs@gnu.org; Sat, 11 Jun 2016 20:22:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bBtAO-00044c-Ne for bug-gnu-emacs@gnu.org; Sat, 11 Jun 2016 20:22:19 -0400 Received: from mail.math.utah.edu ([155.101.98.135]:51545) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBtAO-00044W-9k for bug-gnu-emacs@gnu.org; Sat, 11 Jun 2016 20:22:16 -0400 Received: from gamma.math.utah.edu (gamma.math.utah.edu [155.101.96.20]) by mail.math.utah.edu (8.14.8/8.14.8) with ESMTP id u5BNrxdf017537; Sat, 11 Jun 2016 17:54:04 -0600 (MDT) Received: from gamma.math.utah.edu (localhost [127.0.0.1]) by gamma.math.utah.edu (8.15.1/8.15.1) with ESMTP id u5BNrxh1055351; Sat, 11 Jun 2016 17:53:59 -0600 Received: (from beebe@localhost) by gamma.math.utah.edu (8.15.1/8.15.1/Submit) id u5BNrx2o055349; Sat, 11 Jun 2016 17:53:59 -0600 Date: Sat, 11 Jun 2016 17:53:59 -0600 From: "Nelson H. F. Beebe" X-US-Mail: "Department of Mathematics, 110 LCB, University of Utah, 155 S 1400 E RM 233, Salt Lake City, UT 84112-0090, USA" X-Telephone: +1 801 581 5254 X-FAX: +1 801 581 4148 X-URL: http://www.math.utah.edu/~beebe Message-ID: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.8 (mail.math.utah.edu [155.101.98.135]); Sat, 11 Jun 2016 17:54:04 -0600 (MDT) 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.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) I've had considerable success today building emacs-25.0.95 on scores of different operating system and CPU flavors. On OpenIndiana (an OpenSolaris descendant), I built with env CC=/opt/csw/bin/gcc ./configure && gmake all That got as far as the link stage, then died with CCLD temacs Undefined first referenced symbol in file tparm terminfo.o I found that the missing symbol is defined in /usr/lib/libtermlib.so.1, which is a symlink to /lib/libcurses.so.1, but configure had chosen LIBS_TERMCAP=-ltermcap and that library does not have the tparm symbol. I noticed that configure.ac chooses among -lcurses, -lncurses, -ltermcap, -lterminfo, and -ltinfo by testing on the system type, rather than on the library contents. Would it not be cleaner and simpler just to check that, e.g., both tputs() and tparm() are available in one of those libraries, and select the first one that has both? ------------------------------------------------------------------------------- - Nelson H. F. Beebe Tel: +1 801 581 5254 - - University of Utah FAX: +1 801 581 4148 - - Department of Mathematics, 110 LCB Internet e-mail: beebe@math.utah.edu - - 155 S 1400 E RM 233 beebe@acm.org beebe@computer.org - - Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ - ------------------------------------------------------------------------------- From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 18 21:39:53 2017 Received: (at control) by debbugs.gnu.org; 19 Oct 2017 01:39:53 +0000 Received: from localhost ([127.0.0.1]:48920 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4zoP-0002gF-K6 for submit@debbugs.gnu.org; Wed, 18 Oct 2017 21:39:53 -0400 Received: from mail-it0-f44.google.com ([209.85.214.44]:54971) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4zoN-0002fy-07; Wed, 18 Oct 2017 21:39:52 -0400 Received: by mail-it0-f44.google.com with SMTP id 72so8127785itk.3; Wed, 18 Oct 2017 18:39:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=PE9NLX4G8zFcziKDmCh9tREZLCOS5K5kS4ZQgPGh9TA=; b=kCodGi+/SVVt4elLdeHpqQRI+w9vOInKA4iITsPUkbnxOPk2oWJW9F08Uiu+L6wodT kTeov9hg44E4+VmpP5WpLkv5vTS8EdtTboBZ6Yzu44Wy/lWBfoiN1Zl6tyKEJvY7KRdY llqjQYb0xyHkPiv0rzKZsHSA6UPik7yIS5rsYAZqjvEN1kVcYKNOk+R6KRr8p3wuynsk LwnhZptd0u+h+YIsL3Hzx+T15CfRF6xhepTJ43VAZPSmxXU/yecEZSP5W0qWEpSGMqMA rPJYUSZrPWX/D3bGl8y+Df+5hcPLnCBXYhZ1LSAZkml+IG3LPAXxM/hI0XkzchNY06qS l11g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=PE9NLX4G8zFcziKDmCh9tREZLCOS5K5kS4ZQgPGh9TA=; b=N3VoL2TWhcMjDE6wzqXCTJRNa1wj0hCBWaxWqzKb94Sfk1iAwKte9wpMSbPzAVy6I/ ZFOdxHCTVJ6EkK/fU5QrZFonoPhBPafE5gjiKrQrCYT/YvmA2/r8G4muPAXx2+hOtEaG aK/ZSw8wLVGcbssItsA9JFDFkvRM2bmScAGd1RlKh2vmTuYVGtpRLZDfrslSMJ8G96V/ Z9nboIiG36wNvdHXuXV3M5axCY73dD4ZJ/j3I2HA4L04O2faeVBsY3BBayjIehl8H+pg bSnZcYRSNPUb1I7rBrz7BVf9WR1qE3D2xJRBT56MVF9JUBrFzKNqTaNMGhAlif0IioIc wlUg== X-Gm-Message-State: AMCzsaUrohCtgS3ACfVuFQYcyVQNyQJi408S7IT36P01QfgA+1pyfXbA o/f2mil4v4VYldYzl2/4VXJppg== X-Google-Smtp-Source: ABhQp+ROil1QsWizDZlmJ7RpIAlfNecNeU5CP7Qy9QBRBqCiwe1GNEe7ddK0l3QlrJhhwMDpplNjSA== X-Received: by 10.36.17.130 with SMTP id 124mr374498itf.81.1508377185010; Wed, 18 Oct 2017 18:39:45 -0700 (PDT) Received: from zebian ([45.2.119.34]) by smtp.googlemail.com with ESMTPSA id k76sm2410817ita.4.2017.10.18.18.39.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 18 Oct 2017 18:39:44 -0700 (PDT) From: Noam Postavsky To: "Nelson H. F. Beebe" Subject: Re: bug#28893: [bug-gnu-emacs] emacs-26.0.90 minor build issue on OpenIndiana References: Date: Wed, 18 Oct 2017 21:39:41 -0400 In-Reply-To: (Nelson H. F. Beebe's message of "Wed, 18 Oct 2017 14:53:23 -0600") Message-ID: <87mv4ngbky.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: control Cc: 28893@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.7 (/) merge 28893 23748 quit "Nelson H. F. Beebe" writes: > I found that the build of emacs-26.0.90 on OpenIndiana (a descendant > of the short-lived OpenSolaris from Sun/Oracle) that is identified as > > % cat /etc/release > OpenIndiana Development oi_151.1.9 X86 (powered by illumos) > Copyright 2011 Oracle and/or its affiliates. All rights reserved. > Use is subject to license terms. > Assembled 17 January 2014 > > failed at link time because of a missing symbol, tparm. Hmm, it seems you already reported this for emacs 25, but there was no response[1]. [1]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=23748 > % nm -D -p /usr/lib/libtermlib.so.1 | egrep 'tputs|tparm' > 0000117616 T tparm > 0000116848 T tparm_p0 > 0000116976 T tparm_p1 > 0000117104 T tparm_p2 > 0000117232 T tparm_p3 > 0000117360 T tparm_p4 > 0000117488 T tparm_p7 > > I restarted the build with > > gmake LIBZ='-ltermlib -lz' > > and it completed normally, and has been successfully installed. In the other bug, you suggested looking for a library providing both tputs and tparm, here, if I understand correctly, you just used one library for each. It's not clear what's the best fix for this, the configure code looks pretty messy... From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 31 08:11:24 2017 Received: (at control) by debbugs.gnu.org; 31 Oct 2017 12:11:24 +0000 Received: from localhost ([127.0.0.1]:43362 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9VO7-0004g1-SU for submit@debbugs.gnu.org; Tue, 31 Oct 2017 08:11:23 -0400 Received: from mail-io0-f180.google.com ([209.85.223.180]:56739) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9VO5-0004fp-Mn for control@debbugs.gnu.org; Tue, 31 Oct 2017 08:11:21 -0400 Received: by mail-io0-f180.google.com with SMTP id m81so34502097ioi.13 for ; Tue, 31 Oct 2017 05:11:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:mime-version; bh=96MCjKpHxySen6pnC0G16wGM7UpckQDvPCxbw0YJqIs=; b=mDLKRIDKjI5ycjdrQBUhFJF2AwDNf8jdWlffftEJjJN2YtIQfFckBBb0N1SsHO17Eo u2heFtzXCrAxRPr0ZUh6AWxYujnqVrAWfy4EV13RPy6Bbam9Co0GP85g4ayp17jYXArT lBuGZvqu9FL7fx9UiGL/d7JyRyZ5Qv/GaVrgY6ggcUrU1R+742NBbCVYV4iiU+anTg4i WdF9FuRDBmYbEfM0LIXkeBEBclfqHuTF02qYiKpfw+Yw09ixEY1TobMXKIplZpRRzi34 xf4Hd9E27pbh02d9dhNp7b1Vzh6H6hIb81IWXA2HHcU6QNY807fGeGGD2R5SHAGmx5QM Giog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :mime-version; bh=96MCjKpHxySen6pnC0G16wGM7UpckQDvPCxbw0YJqIs=; b=EdZeEwkw3BryJmNMKfGrSHf4mKo4hIfi3m1/yJIBsAzgFG7VCDOKO0hUpaks16fMmU wRBzLFhlhZOPlLQUdDrGwSCzqwupww7INdqLe71kLnvs4Pn0kp8sx0dmecNArgg3TKHA 6+rpCkbhIFy313mQkAW8S/tpC4uqMAnm9Jl+PM6G6/FbKZnfgQnHODmWXGVW1DAQovYz SzkmZ9UVe0BwCi/cmLlAHA1rzNTHPa6dn0DN9D3qD4nlgDk1wfRsk60TAyDVv6vmotYs nPxcO4xD4Tjc4CB16wlVX5YR/U5FCse76ewSFZlQKPihfFLPum8/2dQW3q3matoX3OuP di6A== X-Gm-Message-State: AMCzsaUxND1tC3hr7DusyuhZIu34NRBWcSHqkq50exm5P7fXYa7+FgwE dFmIX/aJ8gQeDLq0hdjfmSpgHQ== X-Google-Smtp-Source: ABhQp+QkoIY+CRsNUnUEJpZ/4ZEHGRwTIwyCgBenMePNFTfHBda/q0NsqR+FKfzOWwhKzQYyZP4sAg== X-Received: by 10.107.53.168 with SMTP id k40mr2114891ioo.203.1509451875913; Tue, 31 Oct 2017 05:11:15 -0700 (PDT) Received: from zebian ([45.2.119.34]) by smtp.googlemail.com with ESMTPSA id v20sm596846iob.0.2017.10.31.05.11.14 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 31 Oct 2017 05:11:15 -0700 (PDT) From: Noam Postavsky To: control@debbugs.gnu.org Subject: control message for bug #28893 Date: Tue, 31 Oct 2017 08:11:14 -0400 Message-ID: <87po93a55p.fsf@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) # hit #9736 by accident earlier tags 28893 fixed close 28893 26.1 quit