discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: Thomas Klausner <wiz@NetBSD.org>
To: discuss@mdocml.bsd.lv
Cc: joern.clausen@uni-bielefeld.de,
	Michel Jansens <michel.jansens@ulb.ac.be>
Subject: Solaris 10 issues with mdocml-1.12.3
Date: Thu, 10 Jul 2014 02:40:33 +0200	[thread overview]
Message-ID: <20140710004033.GE517@danbala.tuwien.ac.at> (raw)

Hi!

pkgsrc got a bug report for mandoc not building on Solaris 10.
pkgsrc contains mdocml-1.12.3.

Here's the bug report; questions about details please directly to Jörn.

Furthermore, on pkgsrc-users, Michael Jansen hinted at a second problem:

"-pkgin & pbulk don’t build because of textproc/mdocml (first a lack
of asprint, now a problem with BTREEINFO in apropos_db.c)"

Both are cc'd.

Cheers,
 Thomas

----- Forwarded message from joern.clausen@uni-bielefeld.de -----

>Number:         48974
>Category:       pkg
>Synopsis:       textproc/mdocml does not build on Solaris 10
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 08 07:55:00 +0000 2014
>Originator:     Jörn Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
textproc/mdocml does not link on Solaris 10:

--- mandoc ---
Undefined                       first referenced
 symbol                             in file
asprintf                            libmandoc.a(mdoc.o)
ld: fatal: Symbol referencing errors. No output written to mandoc
collect2: error: ld returned 1 exit status
*** [mandoc] Error code 1

because Solaris 10 does not provide asprintf in libc.

There is an implementation in devel/gettext-asprintf. What is the correct way to tell mdocml to additionally link this library? Simply adding

.include "../../devel/gettext-asprintf/buildlink3.mk"

is not enough, and I haven't found the answer in the pkgsrc guide. Maybe I didn't look hard enough?
>How-To-Repeat:

>Fix:


----- End forwarded message -----
--
 To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv

             reply	other threads:[~2014-07-10  0:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <sfid-H20140710-024049-+045.48-1@spamfilter.osbf.lua>
2014-07-10  0:40 ` Thomas Klausner [this message]
2014-07-10 15:39   ` Thomas Klausner
2014-08-09  1:10     ` Ingo Schwarze

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

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

  git send-email \
    --in-reply-to=20140710004033.GE517@danbala.tuwien.ac.at \
    --to=wiz@netbsd.org \
    --cc=discuss@mdocml.bsd.lv \
    --cc=joern.clausen@uni-bielefeld.de \
    --cc=michel.jansens@ulb.ac.be \
    /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.
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 NNTP newsgroup(s).