pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/37842 (textproc/rarian)
Le 01/03/10 18:37, asau%NetBSD.org@localhost a écrit :
Synopsis: textproc/rarian
State-Changed-From-To: closed->open
State-Changed-By: asau%NetBSD.org@localhost
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
Home |
Main Index |
Thread Index |
Old Index