NetBSD Problem Report #37842
From dauphin@enst.fr Tue Jan 22 09:15:16 2008
Return-Path: <dauphin@enst.fr>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 8A8A463BADF
for <gnats-bugs@gnats.netbsd.org>; Tue, 22 Jan 2008 09:15:16 +0000 (UTC)
Message-Id: <1200993311.19756@bi.enst.fr>
Date: Tue, 22 Jan 2008 10:15:11 +0100
From: "Gilles Dauphin" <dauphin@enst.fr>
To: "gnats bugs" <gnats-bugs@gnats.netbsd.org>
Subject: textproc/rarian
X-Send-Pr-Version: gtk-send-pr 0.4.8
X-GNATS-Notify:
>Number: 37842
>Category: pkg
>Synopsis: textproc/rarian
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: solaris-pkg-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jan 22 09:20:00 +0000 2008
>Closed-Date: Sat Feb 23 22:22:28 +0000 2013
>Last-Modified: Sat Feb 23 22:35:02 +0000 2013
>Originator: Gilles Dauphin
>Release: SunOS 5.10 i86pc
>Organization:
ENST
>Environment:
System: SunOS bi.enst.fr 5.10 Generic_120012-14 i86pc
>Description:
=> Checking file-check results for rarian-0.6.0
=> Checking for non-existent script interpreters in rarian-0.6.0
=> Checking file permissions in rarian-0.6.0
=> Checking for missing run-time search paths in rarian-0.6.0
ERROR: /usr/pkg/bin/rarian-example: ../librarian/.libs/librarian.so => (file not found)
ERROR: libgcc_s.so.1 => (file not found)
ERROR: /usr/pkg/bin/rarian-sk-gen-uuid: ../librarian/.libs/librarian.so => (file not found)
ERROR: libgcc_s.so.1 => (file not found)
ERROR: /usr/pkg/bin/rarian-sk-get-cl: ../librarian/.libs/librarian.so => (file not found)
ERROR: /usr/pkg/bin/rarian-sk-migrate: ../librarian/.libs/librarian.so => (file not found)
ERROR: /usr/pkg/bin/rarian-sk-preinstall: ../librarian/.libs/librarian.so => (file not found)
ERROR: /usr/pkg/bin/scrollkeeper-gen-seriesid: ../librarian/.libs/librarian.so => (file not found)
ERROR: libgcc_s.so.1 => (file not found)
ERROR: /usr/pkg/bin/scrollkeeper-get-cl: ../librarian/.libs/librarian.so => (file not found)
ERROR: /usr/pkg/bin/scrollkeeper-preinstall: ../librarian/.libs/librarian.so => (file not found)
ERROR: *** The programs/libs shown above will not find the listed
ERROR: shared libraries at runtime.
ERROR: Please fix the package (add -Wl,-R.../lib in the right places)!
*** Error code 1
>How-To-Repeat:
bmake install
>Fix:
??????
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: wiz@narn.netbsd.org
Responsible-Changed-When: Sat, 26 Jan 2008 15:42:27 +0000
Responsible-Changed-Why:
Solaris pkgsrc problem.
From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <joern@uni-bielefeld.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/37842
Date: Wed, 21 Jan 2009 14:42:41 +0100
Someone please have a look at this! The original PR turns 1 tomorrow...
textproc/rarian builds and installs, but the binaries are broken:
$ ldd /usr/local/pkgsrc/pkgsrc-cvs-rebuild/bin/scrollkeeper-preinstall
../librarian/.libs/librarian.so => (file not found)
libstdc++.so.6 =>
/usr/local/pkgsrc/pkgsrc-cvs-rebuild/gcc34/lib/libstdc++.so.6
libm.so.2 => /lib/libm.so.2
libgcc_s.so.1 =>
/usr/local/pkgsrc/pkgsrc-cvs-rebuild/gcc34/lib/libgcc_s.so.1
libc.so.1 => /lib/libc.so.1
The problems seems to be in some pkgsrc wrapper. The last line of
compilation on the console is
g++ -DDATADIR=\"/usr/local/pkgsrc/pkgsrc-cvs-rebuild/share\"
-DLOCALSTATEDIR=\"/usr/local/pkgsrc/pkgsrc-cvs-rebuild/var\" -O
-I/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/textproc/rarian/work.spare4200/.buildlink/include
-I/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/textproc/rarian/work.spare4200/.buildlink/gcc34/include
-Wl,-R/usr/local/pkgsrc/pkgsrc-cvs-rebuild/lib
-Wl,-R/usr/local/pkgsrc/pkgsrc-cvs-rebuild/gcc34/lib -o
.libs/rarian-sk-get-cl rarian_sk_get_cl-rarian-sk-get-cl.o
rarian_sk_get_cl-tinystr.o rarian_sk_get_cl-tinyxml.o
rarian_sk_get_cl-tinyxmlerror.o rarian_sk_get_cl-tinyxmlparser.o
-L/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/textproc/rarian/work.spare4200/.buildlink/gcc34/bin/../lib/gcc/i386-pc-solaris2.10/3.4.6
-L/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/textproc/rarian/work.spare4200/.buildlink/gcc34/bin/../lib
-L/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/textproc/rarian/work.spare4200/.buildlink/lib
-L/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/textproc/rarian/work.spare4200/.buildlink/gcc34/lib
../librarian/.libs/librarian.so
/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/textproc/rarian/work.spare4200/.buildlink/gcc34/lib/libstdc++.so
-L/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/lang/gcc34/work.spare4200/obj/i386-pc-solaris2.10/libstdc++-v3/src
-L/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/lang/gcc34/work.spare4200/obj/i386-pc-solaris2.10/libstdc++-v3/src/.libs
-L/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/lang/gcc34/work.spare4200/obj/gcc
-Wl,-R -Wl,/usr/local/pkgsrc/pkgsrc-cvs-rebuild/lib -Wl,-R
-Wl,/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/textproc/rarian/work.spare4200/.buildlink/gcc34/lib
Note "-Wl,-R -Wl,/usr/local/...". I think this should be
"-Wl,-R/usr/local/...". All Makefiles generated by configure have the
correct syntax.
What is .wrapper/tmp/untransform.sed???
--
Jörn Clausen joern.clausen@uni-bielefeld.de
Hochschulrechenzentrum http://www.uni-bielefeld.de/hrz/
Universität Bielefeld
State-Changed-From-To: open->closed
State-Changed-By: asau@NetBSD.org
State-Changed-When: Sat, 20 Feb 2010 17:38:51 +0000
State-Changed-Why:
I cannot reproduce this on SunOS 5.10 i86pc for newer package.
I cannot reproduce it on SunOS 5.10 sun4u either.
From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <joernc@googlemail.com>
To: gnats-bugs@netbsd.org
Cc: solaris-pkg-people@netbsd.org, pkgsrc-bugs@netbsd.org,
gnats-admin@netbsd.org, asau@netbsd.org, Gilles Dauphin <dauphin@enst.fr>
Subject: Re: pkg/37842 (textproc/rarian)
Date: Mon, 1 Mar 2010 11:40:21 +0100
> I cannot reproduce this on SunOS 5.10 i86pc for newer package.
> I cannot reproduce it on SunOS 5.10 sun4u either.
I still get e.g.
$ ldd /usr/pkgsrc/20090630/bin/scrollkeeper-preinstall
../librarian/.libs/librarian.so => (file not found)
libstdc++.so.6 => /usr/pkgsrc/20090630/gcc34/lib/libstdc++.so.6
libgcc_s.so.1 => /usr/pkgsrc/20090630/gcc34/lib/libgcc_s.so.1
libm.so.2 => /lib/libm.so.2
libc.so.1 => /lib/libc.so.1
from current sources.
--
Joern Clausen
http://thebloeg.blogspot.com/
http://www.oe-files.de/oefiles/
State-Changed-From-To: closed->open
State-Changed-By: asau@NetBSD.org
State-Changed-When: Mon, 01 Mar 2010 17:37:55 +0000
State-Changed-Why:
Problem persists.
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/37842 (textproc/rarian)
Date: Sun, 7 Mar 2010 04:36:46 +0000
On Mon, Mar 01, 2010 at 10:45:02AM +0000, J?rn Clausen wrote:
> > I cannot reproduce this on SunOS 5.10 i86pc for newer package.
> > I cannot reproduce it on SunOS 5.10 sun4u either.
>
> I still get e.g.
>
> $ ldd /usr/pkgsrc/20090630/bin/scrollkeeper-preinstall
> ../librarian/.libs/librarian.so => (file not found)
From what's in the PR it looks to me like the problem isn't the -R (it
is after all finding libstdc++.so in that directory) but that
librarian.so isn't being built correctly. Can you inspect the
generated librarian.so and see what its soname is? I'm going to guess
that it's either missing entirely or set to
"../librarian/.libs/librarian.so".
What version of libtool are you building with?
--
David A. Holland
dholland@netbsd.org
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/37842 (textproc/rarian)
Date: Sun, 9 Dec 2012 18:10:18 +0000
Not sent to the bug database.
------
From: Richard PALO <richard.palo@baou.fr>
To: pkgsrc-bugs@NetBSD.org
Subject: Re: pkg/37842 (textproc/rarian)
Date: Sun, 09 Dec 2012 08:21:11 +0100
Le 01/03/10 18:37, asau@NetBSD.org a ?crit :
> Synopsis: textproc/rarian
>
> State-Changed-From-To: closed->open
> State-Changed-By: asau@NetBSD.org
> State-Changed-When: Mon, 01 Mar 2010 17:37:55 +0000
> State-Changed-Why:
> Problem persists.
>
>
>
>
I'm having this problem as well, got hit by it trying to build
pkgsrc/devel/meld.
As observed already in the gnats db, this seems related to the absence
of the "-soname" directive, the following is an extract of the bmake
build output related to librarian.so:
/bin/bash ../libtool --tag=CXX --mode=link g++ -O
-I/opt/pkg/include -I/opt/pkg/include/gettext -I/usr/include
-export-symbols-regex "^rrn_.*"
-L/opt/pkg/gcc47/lib/gcc/x86_64-sun-solaris2.11/4.7.2
-Wl,-R/opt/pkg/gcc47/lib/gcc/x86_64-sun-solaris2.11/4.7.2
-L/opt/pkg/gcc47/lib -Wl,-R/opt/pkg/gcc47/lib -L/opt/pkg/lib
-Wl,-R/opt/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o librarian.la -rpath
/opt/pkg/lib librarian_la-rarian-main.lo
librarian_la-rarian-reg-utils.lo librarian_la-rarian-language.lo
librarian_la-rarian-utils.lo librarian_la-rarian-info.lo
librarian_la-rarian-man.lo rarian-omf.lo tinyxml.lo tinyxmlparser.lo
tinystr.lo tinyxmlerror.lo
libtool: link: nm -p .libs/librarian_la-rarian-main.o
.libs/librarian_la-rarian-reg-utils.o
.libs/librarian_la-rarian-language.o .libs/librarian_la-rarian-utils.o
.libs/librarian_la-rarian-info.o .libs/librarian_la-rarian-man.o
.libs/rarian-omf.o .libs/tinyxml.o .libs/tinyxmlparser.o
.libs/tinystr.o .libs/tinyxmlerror.o | sed -n -e 's/^.*[
]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][
]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /opt/pkg/bin/nbsed 's/.*
//' | sort | uniq > .libs/librarian.exp
libtool: link: /opt/pkg/gnu/bin/egrep -e "^rrn_.*"
".libs/librarian.exp" > ".libs/librarian.expT"
libtool: link: mv -f ".libs/librarian.expT" ".libs/librarian.exp"
libtool: link: echo "{ global:" > .libs/librarian.so.0.0.0.exp
libtool: link: cat .libs/librarian.exp | /opt/pkg/bin/nbsed -e
"s/\(.*\)/\1;/" >> .libs/librarian.so.0.0.0.exp
libtool: link: echo "local: *; };" >> .libs/librarian.so.0.0.0.exp
libtool: link: g++ -shared -nostdlib -Wl,-M
-Wl,.libs/librarian.so.0.0.0.exp -o .libs/librarian.so.0.0.0
/usr/lib/amd64/crti.o /usr/lib/amd64/values-Xa.o
/opt/pkg/gcc47/lib/gcc/x86_64-sun-solaris2.11/4.7.2/crtbegin.o
.libs/librarian_la-rarian-main.o .libs/librarian_la-rarian-reg-utils.o
.libs/librarian_la-rarian-language.o .libs/librarian_la-rarian-utils.o
.libs/librarian_la-rarian-info.o .libs/librarian_la-rarian-man.o
.libs/rarian-omf.o .libs/tinyxml.o .libs/tinyxmlparser.o
.libs/tinystr.o .libs/tinyxmlerror.o -Wl,-R -Wl,/opt/pkg/gcc47/lib
-Wl,-R -Wl,/opt/pkg/gcc47/lib
-L/opt/pkg/gcc47/lib/gcc/x86_64-sun-solaris2.11/4.7.2
-L/opt/pkg/gcc47/lib -L/tmp/pkgsrc/textproc/rarian/work/.buildlink/lib -L/opt/pkg/gcc47/lib/gcc/x86_64-sun-solaris2.11/4.7.2/../../../../x86_64-sun-solaris2.11/lib/amd64
-L/opt/pkg/gcc47/lib/gcc/x86_64-sun-solaris2.11/4.7.2/../../../amd64
-L/lib/amd64 -L/usr/lib/amd64 -L/opt/pkg/gcc47/lib/gcc/x86_64-sun-solaris2.11/4.7.2/../../../../x86_64-sun-solaris2.11/lib
-L/opt/pkg/gcc47/lib/gcc/x86_64-sun-solaris2.11/4.7.2/../../..
/opt/pkg/gcc47/lib/libstdc++.so -lm -lc -lgcc_s
/opt/pkg/gcc47/lib/gcc/x86_64-sun-solaris2.11/4.7.2/crtend.o
/usr/lib/amd64/crtn.o
-Wl,-R/opt/pkg/gcc47/lib/gcc/x86_64-sun-solaris2.11/4.7.2
-Wl,-R/opt/pkg/gcc47/lib -Wl,-R/opt/pkg/lib
libtool: link: rm -f .libs/librarian.so.0.0.0.exp
libtool: link: (cd ".libs" && rm -f "librarian.so.0" && ln -s
"librarian.so.0.0.0" "librarian.so.0")
libtool: link: (cd ".libs" && rm -f "librarian.so" && ln -s
"librarian.so.0.0.0" "librarian.so")
libtool: link: ar cru .libs/librarian.a librarian_la-rarian-main.o
librarian_la-rarian-reg-utils.o librarian_la-rarian-language.o
librarian_la-rarian-utils.o librarian_la-rarian-info.o
librarian_la-rarian-man.o rarian-omf.o tinyxml.o tinyxmlparser.o
tinystr.o tinyxmlerror.o
libtool: link: ranlib .libs/librarian.a
libtool: link: ( cd ".libs" && rm -f "librarian.la" && ln -s
"../librarian.la" "librarian.la" )
I go into Hunter S. Thompson mode when I look at configure files,
perhaps the pkgsrc maintainer could encourage the upstream source
maintainer to take a look at the part concerning solaris(in this case
x86_64-sun-solaris2.11) using a recent gcc (here, gcc-4.7.2) with
solaris ld (not gnu-ld)...
I can't seem to put a finger and the relevant configure section to
correct the missing soname part, at least not without help.
Tried putting in pkgsrc autoconf/automake as well, but it seems that
rarian upstream is a bit out of date, or at least has a number of
issues here. Perhaps at the same time the upstream maintainer could
take a look at the autoconf/automake revision at the same time..
===> Configuring for rarian-0.8.1nb2
cd /tmp/pkgsrc/textproc/rarian/work/rarian-0.8.1 && autoreconf --force
--install
configure.ac:15: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
/opt/pkg/share/aclocal/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is
expanded from...
/opt/pkg/share/aclocal/libtool.m4:4158: _LT_LINKER_SHLIBS is expanded
from...
/opt/pkg/share/aclocal/libtool.m4:5233: _LT_LANG_C_CONFIG is expanded
from...
/opt/pkg/share/aclocal/libtool.m4:138: _LT_SETUP is expanded from...
/opt/pkg/share/aclocal/libtool.m4:67: LT_INIT is expanded from...
/opt/pkg/share/aclocal/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.ac:15: the top level
configure.ac:15: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
/opt/pkg/share/aclocal/libtool.m4:4158: _LT_LINKER_SHLIBS is expanded
from...
/opt/pkg/share/aclocal/libtool.m4:5233: _LT_LANG_C_CONFIG is expanded
from...
/opt/pkg/share/aclocal/libtool.m4:138: _LT_SETUP is expanded from...
/opt/pkg/share/aclocal/libtool.m4:67: LT_INIT is expanded from...
/opt/pkg/share/aclocal/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.ac:15: the top level
configure.ac:16: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
/opt/pkg/share/aclocal/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is
expanded from...
/opt/pkg/share/aclocal/libtool.m4:5340: _LT_LANG_CXX_CONFIG is
expanded from...
/opt/pkg/share/aclocal/libtool.m4:785: _LT_LANG is expanded from...
/opt/pkg/share/aclocal/libtool.m4:768: LT_LANG is expanded from...
configure.ac:16: the top level
configure.ac:15: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
aclocal.m4:1037: _LT_SYS_MODULE_PATH_AIX is expanded from...
aclocal.m4:4173: _LT_LINKER_SHLIBS is expanded from...
aclocal.m4:5248: _LT_LANG_C_CONFIG is expanded from...
aclocal.m4:159: _LT_SETUP is expanded from...
aclocal.m4:88: LT_INIT is expanded from...
aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...
configure.ac:15: the top level
configure.ac:15: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
aclocal.m4:4173: _LT_LINKER_SHLIBS is expanded from...
aclocal.m4:5248: _LT_LANG_C_CONFIG is expanded from...
aclocal.m4:159: _LT_SETUP is expanded from...
aclocal.m4:88: LT_INIT is expanded from...
aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...
configure.ac:15: the top level
configure.ac:16: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
aclocal.m4:1037: _LT_SYS_MODULE_PATH_AIX is expanded from...
aclocal.m4:5351: _LT_LANG_CXX_CONFIG is expanded from...
aclocal.m4:800: _LT_LANG is expanded from...
aclocal.m4:783: LT_LANG is expanded from...
configure.ac:16: the top level
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros
in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:15: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
/opt/pkg/share/aclocal/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is
expanded from...
/opt/pkg/share/aclocal/libtool.m4:4158: _LT_LINKER_SHLIBS is expanded
from...
/opt/pkg/share/aclocal/libtool.m4:5233: _LT_LANG_C_CONFIG is expanded
from...
/opt/pkg/share/aclocal/libtool.m4:138: _LT_SETUP is expanded from...
/opt/pkg/share/aclocal/libtool.m4:67: LT_INIT is expanded from...
/opt/pkg/share/aclocal/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.ac:15: the top level
configure.ac:15: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
/opt/pkg/share/aclocal/libtool.m4:4158: _LT_LINKER_SHLIBS is expanded
from...
/opt/pkg/share/aclocal/libtool.m4:5233: _LT_LANG_C_CONFIG is expanded
from...
/opt/pkg/share/aclocal/libtool.m4:138: _LT_SETUP is expanded from...
/opt/pkg/share/aclocal/libtool.m4:67: LT_INIT is expanded from...
/opt/pkg/share/aclocal/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.ac:15: the top level
configure.ac:16: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
/opt/pkg/share/aclocal/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is
expanded from...
/opt/pkg/share/aclocal/libtool.m4:5340: _LT_LANG_CXX_CONFIG is
expanded from...
/opt/pkg/share/aclocal/libtool.m4:785: _LT_LANG is expanded from...
/opt/pkg/share/aclocal/libtool.m4:768: LT_LANG is expanded from...
configure.ac:16: the top level
configure.ac:15: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
aclocal.m4:1037: _LT_SYS_MODULE_PATH_AIX is expanded from...
aclocal.m4:4173: _LT_LINKER_SHLIBS is expanded from...
aclocal.m4:5248: _LT_LANG_C_CONFIG is expanded from...
aclocal.m4:159: _LT_SETUP is expanded from...
aclocal.m4:88: LT_INIT is expanded from...
aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...
configure.ac:15: the top level
configure.ac:15: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
aclocal.m4:4173: _LT_LINKER_SHLIBS is expanded from...
aclocal.m4:5248: _LT_LANG_C_CONFIG is expanded from...
aclocal.m4:159: _LT_SETUP is expanded from...
aclocal.m4:88: LT_INIT is expanded from...
aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...
configure.ac:15: the top level
configure.ac:16: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
aclocal.m4:1037: _LT_SYS_MODULE_PATH_AIX is expanded from...
aclocal.m4:5351: _LT_LANG_CXX_CONFIG is expanded from...
aclocal.m4:800: _LT_LANG is expanded from...
aclocal.m4:783: LT_LANG is expanded from...
configure.ac:16: the top level
configure.ac:15: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
aclocal.m4:1037: _LT_SYS_MODULE_PATH_AIX is expanded from...
aclocal.m4:4173: _LT_LINKER_SHLIBS is expanded from...
aclocal.m4:5248: _LT_LANG_C_CONFIG is expanded from...
aclocal.m4:159: _LT_SETUP is expanded from...
aclocal.m4:88: LT_INIT is expanded from...
aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...
configure.ac:15: the top level
configure.ac:15: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
aclocal.m4:4173: _LT_LINKER_SHLIBS is expanded from...
aclocal.m4:5248: _LT_LANG_C_CONFIG is expanded from...
aclocal.m4:159: _LT_SETUP is expanded from...
aclocal.m4:88: LT_INIT is expanded from...
aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...
configure.ac:15: the top level
configure.ac:16: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
aclocal.m4:1037: _LT_SYS_MODULE_PATH_AIX is expanded from...
aclocal.m4:5351: _LT_LANG_CXX_CONFIG is expanded from...
aclocal.m4:800: _LT_LANG is expanded from...
aclocal.m4:783: LT_LANG is expanded from...
configure.ac:16: the top level
configure.ac:15: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
aclocal.m4:1037: _LT_SYS_MODULE_PATH_AIX is expanded from...
aclocal.m4:4173: _LT_LINKER_SHLIBS is expanded from...
aclocal.m4:5248: _LT_LANG_C_CONFIG is expanded from...
aclocal.m4:159: _LT_SETUP is expanded from...
aclocal.m4:88: LT_INIT is expanded from...
aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...
configure.ac:15: the top level
configure.ac:15: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
aclocal.m4:4173: _LT_LINKER_SHLIBS is expanded from...
aclocal.m4:5248: _LT_LANG_C_CONFIG is expanded from...
aclocal.m4:159: _LT_SETUP is expanded from...
aclocal.m4:88: LT_INIT is expanded from...
aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...
configure.ac:15: the top level
configure.ac:16: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
aclocal.m4:1037: _LT_SYS_MODULE_PATH_AIX is expanded from...
aclocal.m4:5351: _LT_LANG_CXX_CONFIG is expanded from...
aclocal.m4:800: _LT_LANG is expanded from...
aclocal.m4:783: LT_LANG is expanded from...
configure.ac:16: the top level
util/Makefile.am:1: warning: 'INCLUDES' is the old name for
'AM_CPPFLAGS' (or '*_CPPFLAGS')
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Adding run-time search paths to pkg-config files.
configure: WARNING: unrecognized options: --with-libintl-prefix,
--with-libiconv-prefix
checking for a BSD-compatible install... /opt/pkg/bin/install-sh -c -o
richard -g staff
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /opt/pkg/bin/gmkdir -p
checking for gawk... /opt/pkg/bin/nawk
checking whether make sets $(MAKE)... yes
./configure: line 3024: foreign: command not found
this last part, at least, seems to be
related to the AM_INIT_AUTOMAKE statement in this "configure.ac" extract:
richard@devzoneX:/tmp/pkgsrc/textproc/rarian/work/rarian-0.8.1$ more
configure.ac
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
AC_INIT(rarian, 0.8.1)
AC_CONFIG_SRCDIR([util/rarian-example.c])
AC_CONFIG_HEADER([config.h])
AM_INIT_AUTOMAKE ([foreign dist-bzip2 dist-gzip])
AM_MAINTAINER_MODE
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/37842 (textproc/rarian)
Date: Wed, 12 Dec 2012 04:13:53 +0000
(not sent to gnats-bugs)
------
From: Richard PALO <richard.palo@baou.fr>
To: pkgsrc-bugs@NetBSD.org
Subject: Re: pkg/37842 (textproc/rarian)
Date: Mon, 10 Dec 2012 21:40:33 +0100
This problem is identified as a libtool issue concerning
the following statement in librarian/Makefile.am:
librarian_la_LDFLAGS = -export-symbols-regex "^rrn_.*"
commenting this line permits a build with librarian.so including a
SONAME object for correct linking by util/* and/or external programs.
Bug filed in Savannah ...
State-Changed-From-To: open->closed
State-Changed-By: jperkin@NetBSD.org
State-Changed-When: Sat, 23 Feb 2013 22:22:28 +0000
State-Changed-Why:
Patch applied.
From: "Jonathan Perkin" <jperkin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/37842 CVS commit: pkgsrc/textproc/rarian
Date: Sat, 23 Feb 2013 22:17:02 +0000
Module Name: pkgsrc
Committed By: jperkin
Date: Sat Feb 23 22:17:02 UTC 2013
Modified Files:
pkgsrc/textproc/rarian: Makefile distinfo
Added Files:
pkgsrc/textproc/rarian/patches: patch-librarian_Makefile.in
Log Message:
Don't use -export-symbols-regex, it breaks non-GNU linkers and results in the
wrong SONAME being set, in this case to '../librarian/.libs/librarian.so'.
Fixes a number of packages and PR#37842.
Bump PKGREVISION, binary package needs to be updated.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/textproc/rarian/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/textproc/rarian/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/textproc/rarian/patches/patch-librarian_Makefile.in
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.