unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Nelson H. F. Beebe" <beebe@math.utah.edu>
To: 28893@debbugs.gnu.org
Cc: beebe@math.utah.edu
Subject: bug#28893: emacs-26.0.90 minor build issue on OpenIndiana
Date: Wed, 18 Oct 2017 14:53:23 -0600	[thread overview]
Message-ID: <CMM.0.95.0.1508360003.beebe@gamma.math.utah.edu> (raw)

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.

The configure output shows

	checking for library containing tputs... -ltermcap

and the generated src/Makefile has

	LIBS_TERMCAP=-ltermcap

The problem is that -lcurses, -ltermcap, and -ltermlib on this system
are NOT complete substitutes of each other.

However, that is wrong, because of these contents:

	% nm -D -p /usr/lib/libcurses.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
	0000121348 T tputs

	% nm -D -p  /usr/lib/libtermcap.so.1 | egrep 'tputs|tparm'
	0000000000 T tputs

	% 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.

-------------------------------------------------------------------------------
- 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/ -
-------------------------------------------------------------------------------





             reply	other threads:[~2017-10-18 20:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-18 20:53 Nelson H. F. Beebe [this message]
2017-10-19  1:39 ` bug#28893: emacs-26.0.90 minor build issue on OpenIndiana Noam Postavsky
2017-10-23  5:53 ` Paul Eggert
2017-10-24 17:03   ` Nelson H. F. Beebe
2017-10-31 12:08     ` Noam Postavsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CMM.0.95.0.1508360003.beebe@gamma.math.utah.edu \
    --to=beebe@math.utah.edu \
    --cc=28893@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).