NetBSD Problem Report #12516
Received: (qmail 28921 invoked from network); 31 Mar 2001 15:37:50 -0000
Message-Id: <200103311537.f2VFbmd03226@ampere.mit.edu>
Date: Sat, 31 Mar 2001 10:37:48 -0500 (EST)
From: dmcmahill@netbsd.org
Reply-To: dmcmahill@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: libtool fails on pmax
X-Send-Pr-Version: 3.95
>Number: 12516
>Category: pkg
>Synopsis: libtool fails on pmax
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: skrll
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Mar 31 15:38:00 +0000 2001
>Closed-Date: Tue Apr 03 17:57:52 +0000 2001
>Last-Modified: Tue Apr 03 17:57:52 +0000 2001
>Originator: Dan McMahill
>Release: 1.5<NetBSD-current source date>
>Organization:
>Environment:
System: NetBSD ampere 1.5 NetBSD 1.5 (GENERIC) #48: Mon Nov 20 08:27:21 EST 2000 root@medusa.thistledown.com.au:/NetBSD/src15/sys/arch/pmax/compile/GENERIC pmax
>Description:
mcmahill@ampere 224 # pkg_info -e libtool
libtool-1.4.20010219nb4
mcmahill@ampere 225 # libtool --config | grep ^deplibs_check_method=
deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB shared object"
mcmahill@ampere 226 # file /usr/lib/libm.so.0.1
/usr/lib/libm.so.0.1: ELF 32-bit LSB mips-1 shared object, MIPS R3000_LE, version 1, not stripped
mcmahill@ampere 227 # uname -a
NetBSD ampere 1.5 NetBSD 1.5 (GENERIC) #48: Mon Nov 20 08:27:21 EST 2000 root@medusa.thistledown.com.au:/NetBSD/src15/sys/arch/pmax/compile/GENERIC pmax
So the problem is that libtool can't recognise shared libs on pmax.
>How-To-Repeat:
try to build things in pkgsrc, note that you lose.
>Fix:
not sure. i'm scared to touch libtool...
on tech-pkg the following was suggested by
-- Todd Vierling <tv@wasabisystems.com> * Wasabi NetBSD: Run with it.
changequote({, })
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
{lt_cv_deplibs_check_method='file_magic /lib[^/\.]\.so\.[0-9]+\.[0-9]+$'}
else
{lt_cv_deplibs_check_method='file_magic /lib[^/\.]\.so$'}
fi
changequote([, ])
I didn't escape the / characters, but you can if you want (it's an egrep, so
it's not needed in the current case), but the presence of \., to disallow
periods, in the first [] is very important. I also changed the [] around
the statement -- because of changequote, these needed changing too(!).
>Release-Note:
>Audit-Trail:
From: Nick Hudson <skrll@netbsd.org>
To: dmcmahill@netbsd.org
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/12516: libtool fails on pmax
Date: Sat, 31 Mar 2001 18:36:50 +0100
This is a multi-part message in MIME format.
--------------1BE5D45A5D3C7E5C5A6CC181
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
dmcmahill@netbsd.org wrote:
>
> >Number: 12516
> >Category: pkg
> >Synopsis: libtool fails on pmax
Please try the attached libtool pkgs
Nick
--
aka skrll@netbsd.org, skrll@excite.co.uk
--------------1BE5D45A5D3C7E5C5A6CC181
Content-Type: text/plain; charset=us-ascii;
name="lt-pkg"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="lt-pkg"
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# libtool
# libtool/CVS
# libtool/CVS/Root
# libtool/CVS/Repository
# libtool/CVS/Entries
# libtool/files
# libtool/files/CVS
# libtool/files/CVS/Root
# libtool/files/CVS/Repository
# libtool/files/CVS/Entries
# libtool/files/patch-sum
# libtool/files/md5
# libtool/files/fdl.texi
# libtool/Makefile
# libtool/Makefile.common
# libtool/patches
# libtool/patches/CVS
# libtool/patches/CVS/Root
# libtool/patches/CVS/Repository
# libtool/patches/CVS/Entries
# libtool/patches/patch-aa
# libtool/patches/patch-ab
# libtool/patches/patch-ac
# libtool/patches/patch-ad
# libtool/patches/patch-ae
# libtool/patches/patch-af
# libtool/patches/patch-ag
# libtool/patches/patch-ah
# libtool/patches/patch-ai
# libtool/patches/patch-aj
# libtool/patches/patch-ak
# libtool/patches/patch-al
# libtool/patches/patch-am
# libtool/patches/patch-an
# libtool/pkg
# libtool/pkg/CVS
# libtool/pkg/CVS/Root
# libtool/pkg/CVS/Repository
# libtool/pkg/CVS/Entries
# libtool/pkg/DESCR
# libtool/pkg/PLIST
# libtool-base
# libtool-base/CVS
# libtool-base/CVS/Root
# libtool-base/CVS/Repository
# libtool-base/CVS/Entries
# libtool-base/pkg
# libtool-base/pkg/CVS
# libtool-base/pkg/CVS/Root
# libtool-base/pkg/CVS/Repository
# libtool-base/pkg/CVS/Entries
# libtool-base/pkg/DESCR
# libtool-base/pkg/PLIST
# libtool-base/Makefile
# libtool-base/patches
# libtool-info
# libtool-info/CVS
# libtool-info/CVS/Root
# libtool-info/CVS/Repository
# libtool-info/CVS/Entries
# libtool-info/pkg
# libtool-info/pkg/CVS
# libtool-info/pkg/CVS/Root
# libtool-info/pkg/CVS/Repository
# libtool-info/pkg/CVS/Entries
# libtool-info/pkg/DESCR
# libtool-info/pkg/PLIST
# libtool-info/Makefile
#
echo c - libtool
mkdir -p libtool > /dev/null 2>&1
echo c - libtool/CVS
mkdir -p libtool/CVS > /dev/null 2>&1
echo x - libtool/CVS/Root
sed 's/^X//' >libtool/CVS/Root << 'END-of-libtool/CVS/Root'
Xskrll@cvs.netbsd.org:/cvsroot
END-of-libtool/CVS/Root
echo x - libtool/CVS/Repository
sed 's/^X//' >libtool/CVS/Repository << 'END-of-libtool/CVS/Repository'
Xpkgsrc/devel/libtool
END-of-libtool/CVS/Repository
echo x - libtool/CVS/Entries
sed 's/^X//' >libtool/CVS/Entries << 'END-of-libtool/CVS/Entries'
X/Makefile/1.33/Tue Feb 27 08:20:24 2001//
XD/files////
XD/patches////
XD/pkg////
X/Makefile.common/1.6/Mon Mar 19 21:05:13 2001//
END-of-libtool/CVS/Entries
echo c - libtool/files
mkdir -p libtool/files > /dev/null 2>&1
echo c - libtool/files/CVS
mkdir -p libtool/files/CVS > /dev/null 2>&1
echo x - libtool/files/CVS/Root
sed 's/^X//' >libtool/files/CVS/Root << 'END-of-libtool/files/CVS/Root'
Xskrll@cvs.netbsd.org:/cvsroot
END-of-libtool/files/CVS/Root
echo x - libtool/files/CVS/Repository
sed 's/^X//' >libtool/files/CVS/Repository << 'END-of-libtool/files/CVS/Repository'
Xpkgsrc/devel/libtool/files
END-of-libtool/files/CVS/Repository
echo x - libtool/files/CVS/Entries
sed 's/^X//' >libtool/files/CVS/Entries << 'END-of-libtool/files/CVS/Entries'
X/md5/1.6/Tue Feb 27 08:20:25 2001//
X/fdl.texi/1.1/Tue Feb 27 21:56:08 2001//
X/patch-sum/1.32/Result of merge//
XD
END-of-libtool/files/CVS/Entries
echo x - libtool/files/patch-sum
sed 's/^X//' >libtool/files/patch-sum << 'END-of-libtool/files/patch-sum'
X$NetBSD: patch-sum,v 1.32 2001/03/26 07:35:50 skrll Exp $
X
XSHA1 (patch-aa) = 5524bcb4b3ec3faf79e903134ddcb6c8d3dfefe7
XSHA1 (patch-ab) = 86bc59afc6fc678b6ac9cae131fbf8631c45f724
XSHA1 (patch-ac) = 85ea8ee09d9cf2d2ea005042538466b68d754722
XSHA1 (patch-ad) = 2407b8ef5c210b64c6c7bec28b56e4390f9f0300
XSHA1 (patch-ae) = a390e23d205f7cd1a9f533427e63f636ee7ef58d
XSHA1 (patch-af) = c5aa39c4be10c7028168d2a39c25035e2c2bbfb2
XSHA1 (patch-ag) = e344f9bb8e42af588b337962e725540aa268c6f6
XSHA1 (patch-ah) = 742b24c1b9f64ca60d55ef2f92eabc65555990cf
XSHA1 (patch-ai) = 1ad95b88b8ae0c546bbb72566c94ad8abb4b8a58
XSHA1 (patch-aj) = 597c28fc779b9cf2b8e1ebb4afbc3c5fc3367ebd
XSHA1 (patch-ak) = 12df4e6e0add692fdd8ab817509a0a94c4da7093
XSHA1 (patch-al) = 0f52dca46ad4bbaff5f7ac936f1ef32b51278521
XSHA1 (patch-am) = ce2d0680ced8463f2f943d17c551bbac8cf7489e
XSHA1 (patch-an) = 244b17f7a0493c2f18ffa11f0bd9e34274bd1c56
END-of-libtool/files/patch-sum
echo x - libtool/files/md5
sed 's/^X//' >libtool/files/md5 << 'END-of-libtool/files/md5'
X$NetBSD: md5,v 1.6 2001/02/27 08:20:25 skrll Exp $
X
XMD5 (libtool-ml-20010219.tar.gz) = 6ace0f37e10a09ad837b3455fadab836
END-of-libtool/files/md5
echo x - libtool/files/fdl.texi
sed 's/^X//' >libtool/files/fdl.texi << 'END-of-libtool/files/fdl.texi'
X@node GNU Free Documentation License
X@unnumbered GNU Free Documentation License
X
X@c This file is intended to be included in another file.
X
X@center Version 1.1, March 2000
X
X@display
XCopyright (C) 2000 Free Software Foundation, Inc.
X 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
XEveryone is permitted to copy and distribute verbatim copies
Xof this license document, but changing it is not allowed.
X@end display
X
X@unnumberedsec Preamble
X
XThe purpose of this License is to make a manual, textbook, or other
Xwritten document ``free'' in the sense of freedom: to assure everyone
Xthe effective freedom to copy and redistribute it, with or without
Xmodifying it, either commercially or noncommercially. Secondarily,
Xthis License preserves for the author and publisher a way to get
Xcredit for their work, while not being considered responsible for
Xmodifications made by others.
X
XThis License is a kind of ``copyleft'', which means that derivative
Xworks of the document must themselves be free in the same sense. It
Xcomplements the GNU General Public License, which is a copyleft
Xlicense designed for free software.
X
XWe have designed this License in order to use it for manuals for free
Xsoftware, because free software needs free documentation: a free
Xprogram should come with manuals providing the same freedoms that the
Xsoftware does. But this License is not limited to software manuals;
Xit can be used for any textual work, regardless of subject matter or
Xwhether it is published as a printed book. We recommend this License
Xprincipally for works whose purpose is instruction or reference.
X
X@unnumberedsec APPLICABILITY AND DEFINITIONS
X
XThis License applies to any manual or other work that contains a
Xnotice placed by the copyright holder saying it can be distributed
Xunder the terms of this License. The ``Document'', below, refers to any
Xsuch manual or work. Any member of the public is a licensee, and is
Xaddressed as ``you''.
X
XA ``Modified Version'' of the Document means any work containing the
XDocument or a portion of it, either copied verbatim, or with
Xmodifications and/or translated into another language.
X
XA ``Secondary Section'' is a named appendix or a front-matter section of
Xthe Document that deals exclusively with the relationship of the
Xpublishers or authors of the Document to the Document's overall subject
X(or to related matters) and contains nothing that could fall directly
Xwithin that overall subject. (For example, if the Document is in part a
Xtextbook of mathematics, a Secondary Section may not explain any
Xmathematics.) The relationship could be a matter of historical
Xconnection with the subject or with related matters, or of legal,
Xcommercial, philosophical, ethical or political position regarding
Xthem.
X
XThe ``Invariant Sections'' are certain Secondary Sections whose titles
Xare designated, as being those of Invariant Sections, in the notice
Xthat says that the Document is released under this License.
X
XThe ``Cover Texts'' are certain short passages of text that are listed,
Xas Front-Cover Texts or Back-Cover Texts, in the notice that says that
Xthe Document is released under this License.
X
XA ``Transparent'' copy of the Document means a machine-readable copy,
Xrepresented in a format whose specification is available to the
Xgeneral public, whose contents can be viewed and edited directly and
Xstraightforwardly with generic text editors or (for images composed of
Xpixels) generic paint programs or (for drawings) some widely available
Xdrawing editor, and that is suitable for input to text formatters or
Xfor automatic translation to a variety of formats suitable for input
Xto text formatters. A copy made in an otherwise Transparent file
Xformat whose markup has been designed to thwart or discourage
Xsubsequent modification by readers is not Transparent. A copy that is
Xnot ``Transparent" is called "Opaque''.
X
XExamples of suitable formats for Transparent copies include plain
XASCII without markup, Texinfo input format, LaTeX input format, SGML
Xor XML using a publicly available DTD, and standard-conforming simple
XHTML designed for human modification. Opaque formats include
XPostScript, PDF, proprietary formats that can be read and edited only
Xby proprietary word processors, SGML or XML for which the DTD and/or
Xprocessing tools are not generally available, and the
Xmachine-generated HTML produced by some word processors for output
Xpurposes only.
X
XThe ``Title Page'' means, for a printed book, the title page itself,
Xplus such following pages as are needed to hold, legibly, the material
Xthis License requires to appear in the title page. For works in
Xformats which do not have any title page as such, ``Title Page'' means
Xthe text near the most prominent appearance of the work's title,
Xpreceding the beginning of the body of the text.
X
X@unnumberedsec VERBATIM COPYING
X
XYou may copy and distribute the Document in any medium, either
Xcommercially or noncommercially, provided that this License, the
Xcopyright notices, and the license notice saying this License applies
Xto the Document are reproduced in all copies, and that you add no other
Xconditions whatsoever to those of this License. You may not use
Xtechnical measures to obstruct or control the reading or further
Xcopying of the copies you make or distribute. However, you may accept
Xcompensation in exchange for copies. If you distribute a large enough
Xnumber of copies you must also follow the conditions in section 3.
X
XYou may also lend copies, under the same conditions stated above, and
Xyou may publicly display copies.
X
X@unnumberedsec COPYING IN QUANTITY
X
XIf you publish printed copies of the Document numbering more than 100,
Xand the Document's license notice requires Cover Texts, you must enclose
Xthe copies in covers that carry, clearly and legibly, all these Cover
XTexts: Front-Cover Texts on the front cover, and Back-Cover Texts on
Xthe back cover. Both covers must also clearly and legibly identify
Xyou as the publisher of these copies. The front cover must present
Xthe full title with all words of the title equally prominent and
Xvisible. You may add other material on the covers in addition.
XCopying with changes limited to the covers, as long as they preserve
Xthe title of the Document and satisfy these conditions, can be treated
Xas verbatim copying in other respects.
X
XIf the required texts for either cover are too voluminous to fit
Xlegibly, you should put the first ones listed (as many as fit
Xreasonably) on the actual cover, and continue the rest onto adjacent
Xpages.
X
XIf you publish or distribute Opaque copies of the Document numbering
Xmore than 100, you must either include a machine-readable Transparent
Xcopy along with each Opaque copy, or state in or with each Opaque copy
Xa publicly-accessible computer-network location containing a complete
XTransparent copy of the Document, free of added material, which the
Xgeneral network-using public has access to download anonymously at no
Xcharge using public-standard network protocols. If you use the latter
Xoption, you must take reasonably prudent steps, when you begin
Xdistribution of Opaque copies in quantity, to ensure that this
XTransparent copy will remain thus accessible at the stated location
Xuntil at least one year after the last time you distribute an Opaque
Xcopy (directly or through your agents or retailers) of that edition to
Xthe public.
X
XIt is requested, but not required, that you contact the authors of the
XDocument well before redistributing any large number of copies, to give
Xthem a chance to provide you with an updated version of the Document.
X
X@unnumberedsec MODIFICATIONS
X
XYou may copy and distribute a Modified Version of the Document under
Xthe conditions of sections 2 and 3 above, provided that you release
Xthe Modified Version under precisely this License, with the Modified
XVersion filling the role of the Document, thus licensing distribution
Xand modification of the Modified Version to whoever possesses a copy
Xof it. In addition, you must do these things in the Modified Version:
X
X@enumerate A
X@item
XUse in the Title Page (and on the covers, if any) a title distinct
Xfrom that of the Document, and from those of previous versions
X(which should, if there were any, be listed in the History section
Xof the Document). You may use the same title as a previous version
Xif the original publisher of that version gives permission.
X
X@item
X List on the Title Page, as authors, one or more persons or entities
Xresponsible for authorship of the modifications in the Modified
XVersion, together with at least five of the principal authors of the
XDocument (all of its principal authors, if it has less than five).
X
X@item
XState on the Title page the name of the publisher of the
XModified Version, as the publisher.
X
X@item
X Preserve all the copyright notices of the Document.
X
X@item
XAdd an appropriate copyright notice for your modifications
Xadjacent to the other copyright notices.
X
X@item
XInclude, immediately after the copyright notices, a license notice
Xgiving the public permission to use the Modified Version under the
Xterms of this License, in the form shown in the Addendum below.
X
X@item
XPreserve in that license notice the full lists of Invariant Sections
Xand required Cover Texts given in the Document's license notice.
X
X@item
XInclude an unaltered copy of this License.
X
X@item
XPreserve the section entitled ``History'', and its title, and add to
Xit an item stating at least the title, year, new authors, and
Xpublisher of the Modified Version as given on the Title Page. If
Xthere is no section entitled ``History'' in the Document, create one
Xstating the title, year, authors, and publisher of the Document as
Xgiven on its Title Page, then add an item describing the Modified
XVersion as stated in the previous sentence.
X
X@item
XPreserve the network location, if any, given in the Document for
Xpublic access to a Transparent copy of the Document, and likewise
Xthe network locations given in the Document for previous versions
Xit was based on. These may be placed in the ``History'' section.
XYou may omit a network location for a work that was published at
Xleast four years before the Document itself, or if the original
Xpublisher of the version it refers to gives permission.
X
X@item
XIn any section entitled ``Acknowledgements" or "Dedications'',
Xpreserve the section's title, and preserve in the section all the
Xsubstance and tone of each of the contributor acknowledgements
Xand/or dedications given therein.
X
X@item
XPreserve all the Invariant Sections of the Document,
Xunaltered in their text and in their titles. Section numbers
Xor the equivalent are not considered part of the section titles.
X
X@item
XDelete any section entitled ``Endorsements''. Such a section
Xmay not be included in the Modified Version.
X
X@item
XDo not retitle any existing section as ``Endorsements''
Xor to conflict in title with any Invariant Section.
X@end enumerate
X
XIf the Modified Version includes new front-matter sections or
Xappendices that qualify as Secondary Sections and contain no material
Xcopied from the Document, you may at your option designate some or all
Xof these sections as invariant. To do this, add their titles to the
Xlist of Invariant Sections in the Modified Version's license notice.
XThese titles must be distinct from any other section titles.
X
XYou may add a section entitled ``Endorsements'', provided it contains
Xnothing but endorsements of your Modified Version by various
Xparties--for example, statements of peer review or that the text has
Xbeen approved by an organization as the authoritative definition of a
Xstandard.
X
XYou may add a passage of up to five words as a Front-Cover Text, and a
Xpassage of up to 25 words as a Back-Cover Text, to the end of the list
Xof Cover Texts in the Modified Version. Only one passage of
XFront-Cover Text and one of Back-Cover Text may be added by (or
Xthrough arrangements made by) any one entity. If the Document already
Xincludes a cover text for the same cover, previously added by you or
Xby arrangement made by the same entity you are acting on behalf of,
Xyou may not add another; but you may replace the old one, on explicit
Xpermission from the previous publisher that added the old one.
X
XThe author(s) and publisher(s) of the Document do not by this License
Xgive permission to use their names for publicity for or to assert or
Ximply endorsement of any Modified Version.
X
X@unnumberedsec COMBINING DOCUMENTS
X
XYou may combine the Document with other documents released under this
XLicense, under the terms defined in section 4 above for modified
Xversions, provided that you include in the combination all of the
XInvariant Sections of all of the original documents, unmodified, and
Xlist them all as Invariant Sections of your combined work in its
Xlicense notice.
X
XThe combined work need only contain one copy of this License, and
Xmultiple identical Invariant Sections may be replaced with a single
Xcopy. If there are multiple Invariant Sections with the same name but
Xdifferent contents, make the title of each such section unique by
Xadding at the end of it, in parentheses, the name of the original
Xauthor or publisher of that section if known, or else a unique number.
XMake the same adjustment to the section titles in the list of
XInvariant Sections in the license notice of the combined work.
X
XIn the combination, you must combine any sections entitled ``History''
Xin the various original documents, forming one section entitled
X``History"; likewise combine any sections entitled "Acknowledgements'',
Xand any sections entitled ``Dedications''. You must delete all sections
Xentitled ``Endorsements.''
X
X@unnumberedsec COLLECTIONS OF DOCUMENTS
X
XYou may make a collection consisting of the Document and other documents
Xreleased under this License, and replace the individual copies of this
XLicense in the various documents with a single copy that is included in
Xthe collection, provided that you follow the rules of this License for
Xverbatim copying of each of the documents in all other respects.
X
XYou may extract a single document from such a collection, and distribute
Xit individually under this License, provided you insert a copy of this
XLicense into the extracted document, and follow this License in all
Xother respects regarding verbatim copying of that document.
X
X@unnumberedsec AGGREGATION WITH INDEPENDENT WORKS
X
XA compilation of the Document or its derivatives with other separate
Xand independent documents or works, in or on a volume of a storage or
Xdistribution medium, does not as a whole count as a Modified Version
Xof the Document, provided no compilation copyright is claimed for the
Xcompilation. Such a compilation is called an ``aggregate'', and this
XLicense does not apply to the other self-contained works thus compiled
Xwith the Document, on account of their being thus compiled, if they
Xare not themselves derivative works of the Document.
X
XIf the Cover Text requirement of section 3 is applicable to these
Xcopies of the Document, then if the Document is less than one quarter
Xof the entire aggregate, the Document's Cover Texts may be placed on
Xcovers that surround only the Document within the aggregate.
XOtherwise they must appear on covers around the whole aggregate.
X
X@unnumberedsec TRANSLATION
X
XTranslation is considered a kind of modification, so you may
Xdistribute translations of the Document under the terms of section 4.
XReplacing Invariant Sections with translations requires special
Xpermission from their copyright holders, but you may include
Xtranslations of some or all Invariant Sections in addition to the
Xoriginal versions of these Invariant Sections. You may include a
Xtranslation of this License provided that you also include the
Xoriginal English version of this License. In case of a disagreement
Xbetween the translation and the original English version of this
XLicense, the original English version will prevail.
X
X@unnumberedsec TERMINATION
X
XYou may not copy, modify, sublicense, or distribute the Document except
Xas expressly provided for under this License. Any other attempt to
Xcopy, modify, sublicense or distribute the Document is void, and will
Xautomatically terminate your rights under this License. However,
Xparties who have received copies, or rights, from you under this
XLicense will not have their licenses terminated so long as such
Xparties remain in full compliance.
X
X@unnumberedsec FUTURE REVISIONS OF THIS LICENSE
X
XThe Free Software Foundation may publish new, revised versions
Xof the GNU Free Documentation License from time to time. Such new
Xversions will be similar in spirit to the present version, but may
Xdiffer in detail to address new problems or concerns. See
Xhttp://www.gnu.org/copyleft/.
X
XEach version of the License is given a distinguishing version number.
XIf the Document specifies that a particular numbered version of this
XLicense ``or any later version'' applies to it, you have the option of
Xfollowing the terms and conditions either of that specified version or
Xof any later version that has been published (not as a draft) by the
XFree Software Foundation. If the Document does not specify a version
Xnumber of this License, you may choose any version ever published (not
Xas a draft) by the Free Software Foundation.
X
X
X
X@unnumberedsec ADDENDUM: How to use this License for your documents
X
XTo use this License in a document you have written, include a copy of
Xthe License in the document and put the following copyright and
Xlicense notices just after the title page:
X
X@display
XCopyright (c) YEAR YOUR NAME.
XPermission is granted to copy, distribute and/or modify this document
Xunder the terms of the GNU Free Documentation License, Version 1.1
Xor any later version published by the Free Software Foundation;
Xwith the Invariant Sections being LIST THEIR TITLES, with the
XFront-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
XA copy of the license is included in the section entitled "GNU
XFree Documentation License".
X@end display
X
XIf you have no Invariant Sections, write ``with no Invariant Sections''
Xinstead of saying which ones are invariant. If you have no
XFront-Cover Texts, write ``no Front-Cover Texts'' instead of
X``Front-Cover Texts being LIST''; likewise for Back-Cover Texts.
X
XIf your document contains nontrivial examples of program code, we
Xrecommend releasing these examples in parallel under your choice of
Xfree software license, such as the GNU General Public License,
Xto permit their use in free software.
X
X@bye
END-of-libtool/files/fdl.texi
echo x - libtool/Makefile
sed 's/^X//' >libtool/Makefile << 'END-of-libtool/Makefile'
X# $NetBSD: Makefile,v 1.33 2001/02/27 08:20:24 skrll Exp $
X#
X
XDISTFILES= # empty
X.include "Makefile.common"
X
XPKGNAME= ${PKGPFX}${PKGREV}
X
XDEPENDS+= ${PKGPFX:C/-/-base-/}${PKGREV}:../libtool-base
XDEPENDS+= ${PKGPFX:C/-/-info-/}${PKGREV}:../libtool-info
X
XCOMMENT= Generic shared library support script
X
XNO_CONFIGURE= yes
XNO_PATCH= yes
XNO_BUILD= yes
X
Xdo-install:
X @${ECHO_MSG} this is only a meta package.
X
X.include "../../mk/bsd.pkg.mk"
END-of-libtool/Makefile
echo x - libtool/Makefile.common
sed 's/^X//' >libtool/Makefile.common << 'END-of-libtool/Makefile.common'
X# $NetBSD: Makefile.common,v 1.6 2001/03/18 17:10:27 skrll Exp $
X#
X
XDISTNAME= libtool-ml-20010219
XPKGPFX= ${DISTNAME:C/ml-/1.4./}
XPKGREV= nb5
XWRKSRC= ${WRKDIR}/libtool-ml
XCATEGORIES= devel pkgtools
XMASTER_SITES= ${MASTER_SITE_LOCAL}
X
XMAINTAINER= packages@netbsd.org
XHOMEPAGE= http://www.gnu.org/software/libtool/libtool.html
X
XCONFLICTS= glibtool-*
XGNU_CONFIGURE= yes
X
XFILESDIR= ${.CURDIR}/../libtool/files
XPATCHDIR= ${.CURDIR}/../libtool/patches
END-of-libtool/Makefile.common
echo c - libtool/patches
mkdir -p libtool/patches > /dev/null 2>&1
echo c - libtool/patches/CVS
mkdir -p libtool/patches/CVS > /dev/null 2>&1
echo x - libtool/patches/CVS/Root
sed 's/^X//' >libtool/patches/CVS/Root << 'END-of-libtool/patches/CVS/Root'
Xskrll@cvs.netbsd.org:/cvsroot
END-of-libtool/patches/CVS/Root
echo x - libtool/patches/CVS/Repository
sed 's/^X//' >libtool/patches/CVS/Repository << 'END-of-libtool/patches/CVS/Repository'
Xpkgsrc/devel/libtool/patches
END-of-libtool/patches/CVS/Repository
echo x - libtool/patches/CVS/Entries
sed 's/^X//' >libtool/patches/CVS/Entries << 'END-of-libtool/patches/CVS/Entries'
X/patch-ac/1.7/Tue Feb 27 08:20:25 2001//
X/patch-ad/1.3/Wed Feb 28 18:18:23 2001//
X/patch-aa/1.23/Wed Feb 28 21:20:31 2001//
X/patch-af/1.2/Mon Mar 19 21:05:14 2001//
X/patch-ag/1.2/Mon Mar 19 21:05:14 2001//
X/patch-ab/1.19/Mon Mar 19 21:06:16 2001//
X/patch-ae/1.2/Tue Mar 27 09:32:23 2001//
X/patch-ah/0/dummy timestamp//
X/patch-ai/0/dummy timestamp//
X/patch-aj/0/dummy timestamp//
X/patch-ak/0/dummy timestamp//
X/patch-al/0/dummy timestamp//
X/patch-am/0/dummy timestamp//
X/patch-an/0/dummy timestamp//
XD
END-of-libtool/patches/CVS/Entries
echo x - libtool/patches/patch-aa
sed 's/^X//' >libtool/patches/patch-aa << 'END-of-libtool/patches/patch-aa'
X$NetBSD: patch-aa,v 1.23 2001/02/28 21:20:31 skrll Exp $
X
X--- ltconfig.in.orig Fri Feb 16 05:05:03 2001
X+++ ltconfig.in
X@@ -1142,6 +1142,8 @@
X
X netbsd*)
X version_type=sunos
X+ need_lib_prefix=no
X+ need_version=no
X if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
X library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
X finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
X@@ -1200,7 +1202,7 @@
X ;;
X
X solaris*)
X- version_type=linux
X+ version_type=sunos
X need_lib_prefix=no
X need_version=no
X library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
END-of-libtool/patches/patch-aa
echo x - libtool/patches/patch-ab
sed 's/^X//' >libtool/patches/patch-ab << 'END-of-libtool/patches/patch-ab'
X$NetBSD$
X
X--- ltmain.sh.orig Mon Feb 19 05:05:23 2001
X+++ ltmain.sh
X@@ -2397,7 +2397,7 @@
X
X # Check that each of the things are valid numbers.
X case "$current" in
X- 0 | [1-9] | [1-9][0-9]*) ;;
X+ 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
X *)
X $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2
X $echo "$modename: \`$vinfo' is not valid version information" 1>&2
X@@ -2406,7 +2406,7 @@
X esac
X
X case "$revision" in
X- 0 | [1-9] | [1-9][0-9]*) ;;
X+ 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
X *)
X $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2
X $echo "$modename: \`$vinfo' is not valid version information" 1>&2
X@@ -2415,7 +2415,7 @@
X esac
X
X case "$age" in
X- 0 | [1-9] | [1-9][0-9]*) ;;
X+ 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
X *)
X $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2
X $echo "$modename: \`$vinfo' is not valid version information" 1>&2
X@@ -2612,6 +2612,9 @@
X *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*)
X # these systems don't actually have a c library (as such)!
X ;;
X+ *-*-netbsd*)
X+ # Don't link with libc until the a.out ld.so is fixed.
X+ ;;
X *)
X # Add libc to deplibs on all other systems if necessary.
X if test $build_libtool_need_lc = "yes"; then
X@@ -2771,6 +2774,40 @@
X fi
X done # Gone through all deplibs.
X ;;
X+ match_pattern*)
X+ set dummy $deplibs_check_method
X+ match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
X+ for a_deplib in $deplibs; do
X+ name="`expr $a_deplib : '-l\(.*\)'`"
X+ # If $name is empty we are operating on a -L argument.
X+ if test "$name" != "" -a "$name" != "0"; then
X+ libname=`eval \\$echo \"$libname_spec\"`
X+ for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
X+ potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
X+ for potent_lib in $potential_libs; do
X+ if eval echo \"$potent_lib\" 2>/dev/null \
X+ | sed 10q \
X+ | egrep "$match_pattern_regex" > /dev/null; then
X+ newdeplibs="$newdeplibs $a_deplib"
X+ a_deplib=""
X+ break 2
X+ fi
X+ done
X+ done
X+ if test -n "$a_deplib" ; then
X+ droppeddeps=yes
X+ echo
X+ echo "*** Warning: This library needs some functionality provided by $a_deplib."
X+ echo "*** I have the capability to make that library automatically link in when"
X+ echo "*** you link to this library. But I can only do this if you have a"
X+ echo "*** shared version of the library, which you do not appear to have."
X+ fi
X+ else
X+ # Add a -L argument.
X+ newdeplibs="$newdeplibs $a_deplib"
X+ fi
X+ done # Gone through all deplibs.
X+ ;;
X none | unknown | *)
X newdeplibs=""
X if $echo "X $deplibs" | $Xsed -e 's/ -lc$//' \
END-of-libtool/patches/patch-ab
echo x - libtool/patches/patch-ac
sed 's/^X//' >libtool/patches/patch-ac << 'END-of-libtool/patches/patch-ac'
X$NetBSD: patch-ac,v 1.7 2001/02/27 08:20:25 skrll Exp $
X
X--- config.guess.orig Mon Aug 28 05:05:02 2000
X+++ config.guess
X@@ -118,33 +118,24 @@
X # compatibility and a consistent mechanism for selecting the
X # object file format.
X # Determine the machine/vendor (is the vendor relevant).
X- case "${UNAME_MACHINE}" in
X- amiga) machine=m68k-unknown ;;
X- arm32) machine=arm-unknown ;;
X- atari*) machine=m68k-atari ;;
X- sun3*) machine=m68k-sun ;;
X- mac68k) machine=m68k-apple ;;
X- macppc) machine=powerpc-apple ;;
X- hp3[0-9][05]) machine=m68k-hp ;;
X- ibmrt|romp-ibm) machine=romp-ibm ;;
X- *) machine=${UNAME_MACHINE}-unknown ;;
X+ PATH=$PATH:/sbin:/usr/sbin
X+ UNAME_MACHINE_ARCH=`(uname -p || sysctl -n hw.machine_arch || echo unknown) 2>/dev/null`
X+ case "${UNAME_MACHINE_ARCH}:${UNAME_RELEASE}" in
X+ arm26:*) UNAME_MACHINE_ARCH=armv2;;
X+ arm32:*) UNAME_MACHINE_ARCH=arm;;
X+ mips:*) UNAME_MACHINE_ARCH=mipsel;;
X+ i386:*|m68k:*|ns32k:*|sparc:*|vax:*)
X+ # The Operating System including object format.
X+ if echo __ELF__ | $CC_FOR_BUILD -E - | grep -q __ELF__; then
X+ UNAME_OBJFORMAT=
X+ else
X+ UNAME_OBJFORMAT=elf
X+ fi;;
X esac
X- # The Operating System including object format.
X- if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
X- | grep __ELF__ >/dev/null
X- then
X- # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
X- # Return netbsd for either. FIX?
X- os=netbsd
X- else
X- os=netbsdelf
X- fi
X- # The OS release
X- release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
X # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
X # contains redundant information, the shorter form:
X # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
X- echo "${machine}-${os}${release}"
X+ echo ${UNAME_MACHINE_ARCH}-netbsd${UNAME_OBJFORMAT}`echo ${UNAME_RELEASE} | sed -e 's/[-_].*/\./'`
X exit 0 ;;
X alpha:OSF1:*:*)
X if test $UNAME_RELEASE = "V4.0"; then
END-of-libtool/patches/patch-ac
echo x - libtool/patches/patch-ad
sed 's/^X//' >libtool/patches/patch-ad << 'END-of-libtool/patches/patch-ad'
X$NetBSD: patch-ad,v 1.3 2001/02/28 18:18:23 skrll Exp $
X
X--- Makefile.in.orig Mon Feb 19 05:06:14 2001
X+++ Makefile.in
X@@ -93,7 +93,7 @@
X
X AUTOMAKE_OPTIONS = 1.3e gnu
X
X-BUILD_SUBDIRS = . libltdl doc tests
X+BUILD_SUBDIRS = . libltdl tests
X SUBDIRS = $(BUILD_SUBDIRS)
X DIST_SUBDIRS = $(BUILD_SUBDIRS) $(CONF_SUBDIRS)
X
X@@ -476,6 +476,17 @@
X file_magic_cmd="$(file_magic_cmd)" \
X $(SHELL) $(srcdir)/ltconfig $(LIBTOOL_FLAGS) --srcdir=$(srcdir) \
X --output=$@T $(srcdir)/ltmain.sh $(host_triplet)
X+ AR="$(AR)" CC="$(CXX)" CFLAGS="$(CXXFLAGS)" CPPFLAGS="$(CPPFLAGS)" \
X+ LTCC="$(CC)" FILE="$(FILE)" LD="$(LD)" LDFLAGS="$(LDFLAGS)" \
X+ LIBS="$(LIBS)" LN_S="$(LN_S)" NM="$(NM)" RANLIB="$(RANLIB)" \
X+ STRIP="$(STRIP)" AS="$(AS)" DLLTOOL="$(DLLTOOL)" \
X+ OBJDUMP="$(OBJDUMP)" \
X+ objext="$(OBJEXT)" exeext="$(EXEEXT)" \
X+ reload_flag="$(reload_flag)" \
X+ deplibs_check_method="$(deplibs_check_method)" \
X+ file_magic_cmd="$(file_magic_cmd)" \
X+ $(SHELL) $(srcdir)/ltconfig $(LIBTOOL_FLAGS) --srcdir=$(srcdir) \
X+ --add-tag=CC --output=$@T $(srcdir)/ltcf-c.sh $(host_triplet)
X @HAVE_CXX_TRUE@ AR="$(AR)" CC="$(CXX)" CFLAGS="$(CXXFLAGS)" CPPFLAGS="$(CPPFLAGS)" \
X @HAVE_CXX_TRUE@ LTCC="$(CC)" FILE="$(FILE)" LD="$(LD)" LDFLAGS="$(LDFLAGS)" \
X @HAVE_CXX_TRUE@ LIBS="$(LIBS)" LN_S="$(LN_S)" NM="$(NM)" RANLIB="$(RANLIB)" \
END-of-libtool/patches/patch-ad
echo x - libtool/patches/patch-ae
sed 's/^X//' >libtool/patches/patch-ae << 'END-of-libtool/patches/patch-ae'
X$NetBSD: patch-ae,v 1.2 2001/03/26 07:35:50 skrll Exp $
X
X--- libltdl/ltdl.c.orig Sat Feb 3 05:05:05 2001
X+++ libltdl/ltdl.c
X@@ -87,7 +87,7 @@
X
X /* max. filename length */
X #ifndef LT_FILENAME_MAX
X-# define LT_FILENAME_MAX 1024
X+# define LT_FILENAME_MAX 4196
X #endif
X
X /* This is the maximum symbol size that won't require malloc/free */
END-of-libtool/patches/patch-ae
echo x - libtool/patches/patch-af
sed 's/^X//' >libtool/patches/patch-af << 'END-of-libtool/patches/patch-af'
X$NetBSD: patch-af,v 1.2 2001/03/18 17:10:28 skrll Exp $
X
X--- ltcf-c.sh.orig Fri Feb 16 05:05:03 2001
X+++ ltcf-c.sh
X@@ -184,8 +184,8 @@
X archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
X wlarc=
X else
X- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
X- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
X+ archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
X+ archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
X fi
X ;;
X
END-of-libtool/patches/patch-af
echo x - libtool/patches/patch-ag
sed 's/^X//' >libtool/patches/patch-ag << 'END-of-libtool/patches/patch-ag'
X$NetBSD: patch-ag,v 1.2 2001/03/18 17:10:29 skrll Exp $
X
X--- ltcf-cxx.sh.orig Fri Feb 16 05:05:03 2001
X+++ ltcf-cxx.sh
X@@ -368,7 +368,23 @@
X esac
X ;;
X netbsd*)
X- # NetBSD uses g++ - do we need to do anything?
X+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
X+ # Surely {pre|post}dep_objects should be added here!
X+ archive_cmds='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
X+ wlarc=
X+ # Determine if we need to override the c++rt0 that is
X+ # picked up by analysing output_verbose_link_cmds
X+ if test -f ${PREFIX}/lib/c++rt0/c++rt0.o.PIC; then
X+ cpprt0_file="${PREFIX}/lib/c++rt0/c++rt0.o.PIC"
X+ else
X+ cpprt0_file=
X+ fi
X+ hardcode_direct=yes
X+ hardcode_libdir_flag_spec='-R$libdir'
X+ hardcode_shlibpathvar_var=no
X+ fi
X+ # Workaround for some pre-1.5 ELF toolchains
X+ output_verbose_link_cmds='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L" | sed -e "s/-lgcc -lc -lgcc//"'
X ;;
X osf3*)
X if test "$with_gcc" = yes && test "$with_gnu_ld" = no; then
X@@ -943,6 +959,14 @@
X
X esac
X done
X+
X+ case "$host_os" in
X+ netbsd*)
X+ if test -n "$cpprt0_file"; then
X+ predep_objects=`eval echo $predep_objects | sed -e 's:/usr/lib/c++rt0.o:$cpprt0_file:'`
X+ fi
X+ ;;
X+ esac
X
X # Clean up.
X rm -f a.out
END-of-libtool/patches/patch-ag
echo x - libtool/patches/patch-ah
sed 's/^X//' >libtool/patches/patch-ah << 'END-of-libtool/patches/patch-ah'
X$NetBSD$
X
X--- configure.orig Mon Feb 19 05:05:06 2001
X+++ configure
X@@ -1526,12 +1526,10 @@
X
X netbsd*)
X if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
X- lt_cv_deplibs_check_method='file_magic NetBSD/[a-z0-9]* demand paged shared library'
X+ lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
X else
X- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
X+ lt_cv_deplibs_check_method='match_pattern /lib[^\/.]+\.so$'
X fi
X- lt_cv_file_magic_cmd='/usr/bin/file -L'
X- lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
X ;;
X
X newsos6)
END-of-libtool/patches/patch-ah
echo x - libtool/patches/patch-ai
sed 's/^X//' >libtool/patches/patch-ai << 'END-of-libtool/patches/patch-ai'
X$NetBSD$
X
X--- libltdl/configure.orig Mon Feb 19 05:05:08 2001
X+++ libltdl/configure
X@@ -1639,12 +1639,10 @@
X
X netbsd*)
X if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
X- lt_cv_deplibs_check_method='file_magic NetBSD/[a-z0-9]* demand paged shared library'
X+ lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
X else
X- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
X+ lt_cv_deplibs_check_method='match_pattern /lib[^\/.]+\.so$'
X fi
X- lt_cv_file_magic_cmd='/usr/bin/file -L'
X- lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
X ;;
X
X newsos6)
END-of-libtool/patches/patch-ai
echo x - libtool/patches/patch-aj
sed 's/^X//' >libtool/patches/patch-aj << 'END-of-libtool/patches/patch-aj'
X$NetBSD$
X
X--- depdemo/configure.orig Mon Feb 19 05:05:12 2001
X+++ depdemo/configure
X@@ -1490,12 +1490,10 @@
X
X netbsd*)
X if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
X- lt_cv_deplibs_check_method='file_magic NetBSD/[a-z0-9]* demand paged shared library'
X+ lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
X else
X- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
X+ lt_cv_deplibs_check_method='match_pattern /lib[^\/.]+\.so$'
X fi
X- lt_cv_file_magic_cmd='/usr/bin/file -L'
X- lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
X ;;
X
X newsos6)
END-of-libtool/patches/patch-aj
echo x - libtool/patches/patch-ak
sed 's/^X//' >libtool/patches/patch-ak << 'END-of-libtool/patches/patch-ak'
X$NetBSD$
X
X--- demo/configure.orig Mon Feb 19 05:05:10 2001
X+++ demo/configure
X@@ -1566,12 +1566,10 @@
X
X netbsd*)
X if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
X- lt_cv_deplibs_check_method='file_magic NetBSD/[a-z0-9]* demand paged shared library'
X+ lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
X else
X- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
X+ lt_cv_deplibs_check_method='match_pattern /lib[^\/.]+\.so$'
X fi
X- lt_cv_file_magic_cmd='/usr/bin/file -L'
X- lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
X ;;
X
X newsos6)
END-of-libtool/patches/patch-ak
echo x - libtool/patches/patch-al
sed 's/^X//' >libtool/patches/patch-al << 'END-of-libtool/patches/patch-al'
X$NetBSD$
X
X--- cdemo/configure.orig Mon Feb 19 05:05:14 2001
X+++ cdemo/configure
X@@ -1490,12 +1490,10 @@
X
X netbsd*)
X if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
X- lt_cv_deplibs_check_method='file_magic NetBSD/[a-z0-9]* demand paged shared library'
X+ lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
X else
X- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
X+ lt_cv_deplibs_check_method='match_pattern /lib[^\/.]+\.so$'
X fi
X- lt_cv_file_magic_cmd='/usr/bin/file -L'
X- lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
X ;;
X
X newsos6)
END-of-libtool/patches/patch-al
echo x - libtool/patches/patch-am
sed 's/^X//' >libtool/patches/patch-am << 'END-of-libtool/patches/patch-am'
X$NetBSD$
X
X--- mdemo/configure.orig Mon Feb 19 05:05:13 2001
X+++ mdemo/configure
X@@ -1577,12 +1577,10 @@
X
X netbsd*)
X if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
X- lt_cv_deplibs_check_method='file_magic NetBSD/[a-z0-9]* demand paged shared library'
X+ lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
X else
X- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
X+ lt_cv_deplibs_check_method='match_pattern /lib[^\/.]+\.so$'
X fi
X- lt_cv_file_magic_cmd='/usr/bin/file -L'
X- lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
X ;;
X
X newsos6)
END-of-libtool/patches/patch-am
echo x - libtool/patches/patch-an
sed 's/^X//' >libtool/patches/patch-an << 'END-of-libtool/patches/patch-an'
X$NetBSD$
X
X--- tagdemo/configure.orig Mon Feb 19 05:05:15 2001
X+++ tagdemo/configure
X@@ -1906,12 +1906,10 @@
X
X netbsd*)
X if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
X- lt_cv_deplibs_check_method='file_magic NetBSD/[a-z0-9]* demand paged shared library'
X+ lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
X else
X- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
X+ lt_cv_deplibs_check_method='match_pattern /lib[^\/.]+\.so$'
X fi
X- lt_cv_file_magic_cmd='/usr/bin/file -L'
X- lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
X ;;
X
X newsos6)
END-of-libtool/patches/patch-an
echo c - libtool/pkg
mkdir -p libtool/pkg > /dev/null 2>&1
echo c - libtool/pkg/CVS
mkdir -p libtool/pkg/CVS > /dev/null 2>&1
echo x - libtool/pkg/CVS/Root
sed 's/^X//' >libtool/pkg/CVS/Root << 'END-of-libtool/pkg/CVS/Root'
Xskrll@cvs.netbsd.org:/cvsroot
END-of-libtool/pkg/CVS/Root
echo x - libtool/pkg/CVS/Repository
sed 's/^X//' >libtool/pkg/CVS/Repository << 'END-of-libtool/pkg/CVS/Repository'
Xpkgsrc/devel/libtool/pkg
END-of-libtool/pkg/CVS/Repository
echo x - libtool/pkg/CVS/Entries
sed 's/^X//' >libtool/pkg/CVS/Entries << 'END-of-libtool/pkg/CVS/Entries'
X/DESCR/1.1.1.1/Mon Jul 13 01:50:08 1998//
X/PLIST/1.8/Sat Feb 3 05:34:58 2001//
XD
END-of-libtool/pkg/CVS/Entries
echo x - libtool/pkg/DESCR
sed 's/^X//' >libtool/pkg/DESCR << 'END-of-libtool/pkg/DESCR'
XThis is GNU Libtool, a generic library support script. Libtool hides
Xthe complexity of using shared libraries behind a consistent, portable
Xinterface.
X
XTo use libtool, add the new generic library building commands to your
XMakefile, Makefile.in, or Makefile.am.
END-of-libtool/pkg/DESCR
echo x - libtool/pkg/PLIST
sed 's/^X//' >libtool/pkg/PLIST << 'END-of-libtool/pkg/PLIST'
X@comment $NetBSD: PLIST,v 1.8 2001/02/03 05:34:58 hubertf Exp $
X@comment empty
END-of-libtool/pkg/PLIST
echo c - libtool-base
mkdir -p libtool-base > /dev/null 2>&1
echo c - libtool-base/CVS
mkdir -p libtool-base/CVS > /dev/null 2>&1
echo x - libtool-base/CVS/Root
sed 's/^X//' >libtool-base/CVS/Root << 'END-of-libtool-base/CVS/Root'
Xskrll@cvs.netbsd.org:/cvsroot
END-of-libtool-base/CVS/Root
echo x - libtool-base/CVS/Repository
sed 's/^X//' >libtool-base/CVS/Repository << 'END-of-libtool-base/CVS/Repository'
Xpkgsrc/devel/libtool-base
END-of-libtool-base/CVS/Repository
echo x - libtool-base/CVS/Entries
sed 's/^X//' >libtool-base/CVS/Entries << 'END-of-libtool-base/CVS/Entries'
XD/pkg////
X/Makefile/1.6/Wed Feb 28 21:20:31 2001//
END-of-libtool-base/CVS/Entries
echo c - libtool-base/pkg
mkdir -p libtool-base/pkg > /dev/null 2>&1
echo c - libtool-base/pkg/CVS
mkdir -p libtool-base/pkg/CVS > /dev/null 2>&1
echo x - libtool-base/pkg/CVS/Root
sed 's/^X//' >libtool-base/pkg/CVS/Root << 'END-of-libtool-base/pkg/CVS/Root'
Xskrll@cvs.netbsd.org:/cvsroot
END-of-libtool-base/pkg/CVS/Root
echo x - libtool-base/pkg/CVS/Repository
sed 's/^X//' >libtool-base/pkg/CVS/Repository << 'END-of-libtool-base/pkg/CVS/Repository'
Xpkgsrc/devel/libtool-base/pkg
END-of-libtool-base/pkg/CVS/Repository
echo x - libtool-base/pkg/CVS/Entries
sed 's/^X//' >libtool-base/pkg/CVS/Entries << 'END-of-libtool-base/pkg/CVS/Entries'
X/DESCR/1.1.1.1/Sat Feb 3 05:26:03 2001//
X/PLIST/1.2/Tue Feb 27 08:20:26 2001//
XD
END-of-libtool-base/pkg/CVS/Entries
echo x - libtool-base/pkg/DESCR
sed 's/^X//' >libtool-base/pkg/DESCR << 'END-of-libtool-base/pkg/DESCR'
XThis is GNU Libtool, a generic library support script. Libtool hides
Xthe complexity of using shared libraries behind a consistent, portable
Xinterface.
X
XTo use libtool, add the new generic library building commands to your
XMakefile, Makefile.in, or Makefile.am.
X
XThis package includes the libtool script and support files.
END-of-libtool-base/pkg/DESCR
echo x - libtool-base/pkg/PLIST
sed 's/^X//' >libtool-base/pkg/PLIST << 'END-of-libtool-base/pkg/PLIST'
X@comment $NetBSD: PLIST,v 1.2 2001/02/27 08:20:26 skrll Exp $
Xbin/libtool
Xbin/libtoolize
Xinclude/ltdl.h
Xlib/libltdl.a
Xlib/libltdl.la
Xlib/libltdl.so
Xlib/libltdl.so.3
Xlib/libltdl.so.3.0
Xshare/aclocal/libtool.m4
Xshare/aclocal/ltdl.m4
Xshare/libtool/config.guess
Xshare/libtool/config.sub
Xshare/libtool/libltdl/COPYING.LIB
Xshare/libtool/libltdl/Makefile.am
Xshare/libtool/libltdl/Makefile.in
Xshare/libtool/libltdl/README
Xshare/libtool/libltdl/acconfig.h
Xshare/libtool/libltdl/acinclude.m4
Xshare/libtool/libltdl/aclocal.m4
Xshare/libtool/libltdl/config.h.in
Xshare/libtool/libltdl/configure
Xshare/libtool/libltdl/configure.in
Xshare/libtool/libltdl/ltdl.c
Xshare/libtool/libltdl/ltdl.h
Xshare/libtool/libltdl/stamp-h.in
Xshare/libtool/ltcf-c.sh
Xshare/libtool/ltcf-cxx.sh
Xshare/libtool/ltcf-gcj.sh
Xshare/libtool/ltconfig
Xshare/libtool/ltmain.sh
X@dirrm share/libtool/libltdl
X@dirrm share/libtool
X@unexec rmdir %D/share/aclocal 2>/dev/null || true
END-of-libtool-base/pkg/PLIST
echo x - libtool-base/Makefile
sed 's/^X//' >libtool-base/Makefile << 'END-of-libtool-base/Makefile'
X# $NetBSD: Makefile,v 1.6 2001/02/28 21:20:31 skrll Exp $
X#
X
X.include "../libtool/Makefile.common"
X
XPKGNAME= ${PKGPFX:C/-/-base-/}${PKGREV}
X
XCOMMENT= Generic shared library support script (the script itself)
X
XCONFLICTS+= libtool<1.3.5nb11
X
Xtest: build
X cd ${WRKSRC} && ${MAKE} check
X
X.include "../../mk/bsd.prefs.mk"
X
X.if ${MACHINE_PLATFORM:MNetBSD-1.4-sparc} != "" || \
X ${MACHINE_PLATFORM:MNetBSD-1.4.[12]-sparc} != ""
XDEPENDS+= c++rt0>=1.0:../../sysutils/c++rt0
X.endif
X
X.if ${OPSYS} == "NetBSD"
X.if !exists(/usr/libexec/ld.so) && !exists(/usr/libexec/ld.elf_so)
XCONFIGURE_ARGS= --disable-shared
X.endif
X.else
XCONFIGURE_ARGS= --enable-ltdl-install
X.endif
X
X.include "../../mk/bsd.pkg.mk"
X
XLDFLAGS= # Blank
END-of-libtool-base/Makefile
echo c - libtool-base/patches
mkdir -p libtool-base/patches > /dev/null 2>&1
echo c - libtool-info
mkdir -p libtool-info > /dev/null 2>&1
echo c - libtool-info/CVS
mkdir -p libtool-info/CVS > /dev/null 2>&1
echo x - libtool-info/CVS/Root
sed 's/^X//' >libtool-info/CVS/Root << 'END-of-libtool-info/CVS/Root'
Xskrll@cvs.netbsd.org:/cvsroot
END-of-libtool-info/CVS/Root
echo x - libtool-info/CVS/Repository
sed 's/^X//' >libtool-info/CVS/Repository << 'END-of-libtool-info/CVS/Repository'
Xpkgsrc/devel/libtool-info
END-of-libtool-info/CVS/Repository
echo x - libtool-info/CVS/Entries
sed 's/^X//' >libtool-info/CVS/Entries << 'END-of-libtool-info/CVS/Entries'
XD/pkg////
X/Makefile/1.5/Tue Mar 20 14:41:54 2001//
END-of-libtool-info/CVS/Entries
echo c - libtool-info/pkg
mkdir -p libtool-info/pkg > /dev/null 2>&1
echo c - libtool-info/pkg/CVS
mkdir -p libtool-info/pkg/CVS > /dev/null 2>&1
echo x - libtool-info/pkg/CVS/Root
sed 's/^X//' >libtool-info/pkg/CVS/Root << 'END-of-libtool-info/pkg/CVS/Root'
Xskrll@cvs.netbsd.org:/cvsroot
END-of-libtool-info/pkg/CVS/Root
echo x - libtool-info/pkg/CVS/Repository
sed 's/^X//' >libtool-info/pkg/CVS/Repository << 'END-of-libtool-info/pkg/CVS/Repository'
Xpkgsrc/devel/libtool-info/pkg
END-of-libtool-info/pkg/CVS/Repository
echo x - libtool-info/pkg/CVS/Entries
sed 's/^X//' >libtool-info/pkg/CVS/Entries << 'END-of-libtool-info/pkg/CVS/Entries'
X/DESCR/1.1.1.1/Sat Feb 3 05:33:25 2001//
X/PLIST/1.2/Wed Feb 28 04:01:51 2001//
XD
END-of-libtool-info/pkg/CVS/Entries
echo x - libtool-info/pkg/DESCR
sed 's/^X//' >libtool-info/pkg/DESCR << 'END-of-libtool-info/pkg/DESCR'
XThis is GNU Libtool, a generic library support script. Libtool hides
Xthe complexity of using shared libraries behind a consistent, portable
Xinterface.
X
XTo use libtool, add the new generic library building commands to your
XMakefile, Makefile.in, or Makefile.am.
X
XThis package contains the info pages for libtool.
END-of-libtool-info/pkg/DESCR
echo x - libtool-info/pkg/PLIST
sed 's/^X//' >libtool-info/pkg/PLIST << 'END-of-libtool-info/pkg/PLIST'
X@comment $NetBSD: PLIST,v 1.2 2001/02/28 04:01:51 jlam Exp $
X@unexec install-info --delete %D/info/libtool.info %D/info/dir
Xinfo/libtool.info
Xinfo/libtool.info-1
Xinfo/libtool.info-2
Xinfo/libtool.info-3
Xinfo/libtool.info-4
Xinfo/libtool.info-5
X@exec install-info %D/info/libtool.info %D/info/dir
END-of-libtool-info/pkg/PLIST
echo x - libtool-info/Makefile
sed 's/^X//' >libtool-info/Makefile << 'END-of-libtool-info/Makefile'
X# $NetBSD: Makefile,v 1.5 2001/02/28 10:33:54 wiz Exp $
X#
X
X.include "../libtool/Makefile.common"
X
XPKGNAME= ${PKGPFX:C/-/-info-/}${PKGREV}
X
XCOMMENT= Generic shared library support script - info pages
X
XCONFLICTS+= libtool<1.3.5nb11
X
XUSE_GTEXINFO= yes
X
X# It seems the info-files distributed with libtool 1.3.5 are broken.
X# To test, type "info libtool|" and hold down space. See it stop with a
X# ``Cannot find the node "(/usr/pkg/info/libtool.info)Linking executables"''
X# error. Simply making sure the info-files get re-done works here.
Xpost-extract:
X ${RM} -f ${WRKSRC}/doc/libtool.info*
X ${CP} ${FILESDIR}/fdl.texi ${WRKSRC}/doc
X
Xdo-build:
X cd ${WRKSRC}/doc ; ${MAKE_PROGRAM}
X
Xdo-install:
X cd ${WRKSRC}/doc ; ${MAKE_PROGRAM} install
X
X.include "../../mk/bsd.pkg.mk"
END-of-libtool-info/Makefile
exit
--------------1BE5D45A5D3C7E5C5A6CC181--
State-Changed-From-To: open->analyzed
State-Changed-By: skrll
State-Changed-When: Sat Mar 31 10:06:25 PST 2001
State-Changed-Why:
The problem is due to a mismatch between libtool's understanding
of the output f
file libfoo.so
and the actual output for pmax. A move away from using file to
detect shared libraries is the way forward.
I have sent a new libtool pkg set to the submitter for testing.
Responsible-Changed-From-To: pkg-manager->skrll
Responsible-Changed-By: skrll
Responsible-Changed-When: Sat Mar 31 10:06:25 PST 2001
Responsible-Changed-Why:
libtool is my albatross^Wbaby.
From: mcmahill@mtl.mit.edu
To: Nick Hudson <skrll@netbsd.org>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/12516: libtool fails on pmax
Date: Sun, 1 Apr 2001 10:17:18 -0400 (EDT)
it appears to work. I built ImageMagick which also had to build tiff. It
seems to have produced shared libraries and correctly linked them.
i'm worried that my test wasn't very thorough, but I'm not enough of a
libtool expert to know what else to try.
-Dan
On Sat, 31 Mar 2001, Nick Hudson wrote:
> dmcmahill@netbsd.org wrote:
> >
> > >Number: 12516
> > >Category: pkg
> > >Synopsis: libtool fails on pmax
>
> Please try the attached libtool pkgs
>
> Nick
> --
> aka skrll@netbsd.org, skrll@excite.co.uk
From: Nick Hudson <skrll@netbsd.org>
To: mcmahill@mtl.mit.edu
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/12516: libtool fails on pmax
Date: Sun, 01 Apr 2001 21:20:21 +0100
mcmahill@mtl.mit.edu wrote:
>
> it appears to work. I built ImageMagick which also had to build tiff. It
> seems to have produced shared libraries and correctly linked them.
>
> i'm worried that my test wasn't very thorough, but I'm not enough of a
> libtool expert to know what else to try.
The results from a make test would be good.
Nick
--
aka skrll@netbsd.org, skrll@excite.co.uk
From: mcmahill@mtl.mit.edu
To: Nick Hudson <skrll@netbsd.org>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/12516: libtool fails on pmax
Date: Sun, 1 Apr 2001 22:36:04 -0400 (EDT)
On Sun, 1 Apr 2001, Nick Hudson wrote:
> mcmahill@mtl.mit.edu wrote:
> >
> > it appears to work. I built ImageMagick which also had to build tiff. It
> > seems to have produced shared libraries and correctly linked them.
> >
> > i'm worried that my test wasn't very thorough, but I'm not enough of a
> > libtool expert to know what else to try.
>
> The results from a make test would be good.
===================
All 91 tests passed
===================
1900.616u 6395.474s 2:19:17.31 99.2% 0+0k 2633+28365io 545pf+0w
yes, thats > 2 hours (!)
-Dan
State-Changed-From-To: analyzed->closed
State-Changed-By: skrll
State-Changed-When: Tue Apr 3 10:57:19 PDT 2001
State-Changed-Why:
I've committed the fix tested by the submitter.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.