NetBSD Problem Report #46406

From www@NetBSD.org  Fri May  4 06:15:39 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 96DFE63B91F
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  4 May 2012 06:15:39 +0000 (UTC)
Message-Id: <20120504061538.8464963B915@www.NetBSD.org>
Date: Fri,  4 May 2012 06:15:38 +0000 (UTC)
From: bartosz.kuzma@gmail.com
Reply-To: bartosz.kuzma@gmail.com
To: gnats-bugs@NetBSD.org
Subject: www/ap2-subversion does not build with PREFER_PKGSRC+= iconv
X-Send-Pr-Version: www-1.0

>Number:         46406
>Category:       pkg
>Synopsis:       www/ap2-subversion does not build with PREFER_PKGSRC+= iconv
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bsiegert
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 04 06:20:00 +0000 2012
>Closed-Date:    
>Last-Modified:  Mon Sep 02 17:28:57 +0000 2019
>Originator:     Bartosz Kuzma
>Release:        NetBSD/i386 5.1
>Organization:
>Environment:
>Description:
I have whole pkg build with PREFER_PKGSRC+= iconv. During building of www/ap2-subversion the following error occurs:

--- subversion/mod_authz_svn/mod_authz_svn.la ---
cd subversion/mod_authz_svn && /bin/sh /usr/pkgsrc/www/ap2-subversion/work/subversion-1.6.17/libtool --tag=CC --silent --mode=link cc  -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/pkg/include/apr-1   -pthread   -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib    -L/usr/X11R7/lib  -rpath /usr/pkg/lib/httpd -avoid-version -module  -o mod_authz_svn.la  mod_authz_svn.lo ../../subversion/libsvn_repos/libsvn_repos-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la -lintl
*** Warning: linker path does not have real file for library -liconv.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libiconv but no candidates were found. (...for regex pattern test)
*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module mod_authz_svn.  Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.
*** Please use pkgtools/verifypc to sanity check dependencies.
=> Unwrapping files-to-be-installed.
gdr74# make install
=> Bootstrap dependency digest>=20010302: found digest-20111104
===> Installing for ap22-subversion-1.6.17nb3
=> Generating pre-install file lists
cd subversion/mod_dav_svn ; /usr/bin/install -c -o root -g wheel -d "/usr/pkgsrc/www/ap2-subversion/work/.destdir/usr/pkg/lib/httpd" ; /usr/pkg/sbin/apxs -i -S LIBEXECDIR="/usr/pkgsrc/www/ap2-subversion/work/.destdir/usr/pkg/lib/httpd" -n dav_svn mod_dav_svn.la
/usr/pkg/share/httpd/build/instdso.sh SH_LIBTOOL='libtool' mod_dav_svn.la /usr/pkgsrc/www/ap2-subversion/work/.destdir/usr/pkg/lib/httpd
libtool --mode=install cp mod_dav_svn.la /usr/pkgsrc/www/ap2-subversion/work/.destdir/usr/pkg/lib/httpd/
libtool: install: warning: relinking `mod_dav_svn.la'
libtool: install:  (cd /usr/pkgsrc/www/ap2-subversion/work/subversion-1.6.17/subversion/mod_dav_svn; /bin/sh /usr/pkg/bin/libtool --tag CC --silent --mode=relink cc -O2 -pthread -L/usr/pkgsrc/www/ap2-subversion/work/.buildlink/lib -Wl,-R/usr/pkg/lib -L/usr/pkgsrc/www/ap2-subversion/work/.x11-buildlink/lib -Wl,-R/usr/X11R7/lib -rpath /usr/pkg/lib/httpd -avoid-version -module -o mod_dav_svn.la activity.lo authz.lo deadprops.lo liveprops.lo lock.lo merge.lo mirror.lo mod_dav_svn.lo reports/dated-rev.lo reports/deleted-rev.lo reports/file-revs.lo reports/get-location-segments.lo reports/get-locations.lo reports/get-locks.lo reports/log.lo reports/mergeinfo.lo reports/replay.lo reports/update.lo repos.lo util.lo version.lo -L../../subversion/libsvn_repos/.libs ../../subversion/libsvn_repos/libsvn_repos-1.la -L../../subversion/libsvn_fs/.libs ../../subversion/libsvn_fs/libsvn_fs-1.la -L../../subversion/libsvn_delta/.libs ../../subversion/libsvn_delta/libsvn_delta-1.la -L../../subve
 rsion/libsvn_subr/.libs ../../subversion/libsvn_subr/libsvn_subr-1.la -lintl -inst-prefix-dir /usr/pkgsrc/www/ap2-subversion/work/.destdir)

*** Warning: linker path does not have real file for library -liconv.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libiconv and none of the candidates passed a file format test
*** using a regex pattern. Last file checked: /usr/pkgsrc/www/ap2-subversion/work/.buildlink/lib/libaprutil-1.so

*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module mod_dav_svn.  Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.
libtool: install: cp .libs/mod_dav_svn.lai /usr/pkgsrc/www/ap2-subversion/work/.destdir/usr/pkg/lib/httpd/mod_dav_svn.la
libtool: install: cp .libs/mod_dav_svn.a /usr/pkgsrc/www/ap2-subversion/work/.destdir/usr/pkg/lib/httpd/mod_dav_svn.a
libtool: install: chmod 644 /usr/pkgsrc/www/ap2-subversion/work/.destdir/usr/pkg/lib/httpd/mod_dav_svn.a
libtool: install: ranlib /usr/pkgsrc/www/ap2-subversion/work/.destdir/usr/pkg/lib/httpd/mod_dav_svn.a
libtool: install: warning: remember to run `libtool --finish /usr/pkg/lib/httpd'
Warning!  dlname not found in /usr/pkgsrc/www/ap2-subversion/work/.destdir/usr/pkg/lib/httpd/mod_dav_svn.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/pkgsrc/www/ap2-subversion/work/.destdir/usr/pkg/lib/httpd/mod_dav_svn.so
chmod: /usr/pkgsrc/www/ap2-subversion/work/.destdir/usr/pkg/lib/httpd/mod_dav_svn.so: No such file or directory
apxs:Error: Command failed with rc=65536
.
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/www/ap2-subversion/work/subversion-1.6.17
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/www/ap2-subversion
*** Error code 1

>How-To-Repeat:
Add the following line to /etc/mk.conf:

PREFER_PKGSRC+= iconv

go to pkgsrc/www/ap2-subversion

# make install
>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->bsiegert
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Tue, 28 May 2019 07:23:22 +0000
Responsible-Changed-Why:
Is this still an issue?
All the packages in this PR have been updated in the meantime.


State-Changed-From-To: open->feedback
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Tue, 28 May 2019 07:23:22 +0000
State-Changed-Why:


From: =?UTF-8?Q?Bartosz_Ku=C5=BAma?= <bartosz.kuzma@gmail.com>
To: gnats-bugs@netbsd.org
Cc: bsiegert@netbsd.org, pkg-manager@netbsd.org, pkgsrc-bugs@netbsd.org, 
	gnats-admin@netbsd.org
Subject: Re: pkg/46406 (www/ap2-subversion does not build with PREFER_PKGSRC+= iconv)
Date: Sun, 1 Sep 2019 13:06:11 +0200

 --0000000000007ce51205917bd8cb
 Content-Type: text/plain; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable

 This problem is still valid on NetBSD 8.1/amd64 with pkgsrc-2019Q2:

 if true ; then cd subversion/mod_dav_svn && /bin/sh
 "/usr/pkgsrc/www/ap2-subversion/work/subversion-1.12.0/libtool" --tag=3DCC
 --silent --mode=3Dlink gcc  -O2 -D_FORTIFY_SOURCE=3D2 -I/usr/pkg/include
 -I/usr/pkg/include/apr-1 -I/usr/include   -pthread -O2 -D_FORTIFY_SOURCE=3D=
 2
 -I/usr/pkg/include -I/usr/pkg/include/apr-1 -I/usr/include  -L/usr/pkg/lib
 -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib   -L/usr/pkg/lib    -rpath
 /usr/pkg/lib/httpd -avoid-version -module  -shared  -o mod_dav_svn.la
  activity.lo authz.lo deadprops.lo liveprops.lo lock.lo merge.lo mirror.lo
 mod_dav_svn.lo posts/create_txn.lo reports/dated-rev.lo
 reports/deleted-rev.lo reports/file-revs.lo
 reports/get-location-segments.lo reports/get-locations.lo
 reports/get-locks.lo reports/inherited-props.lo reports/list.lo
 reports/log.lo reports/mergeinfo.lo reports/replay.lo reports/update.lo
 repos.lo status.lo util.lo version.lo -lsvn_repos-1 -lsvn_fs-1
 -lsvn_delta-1 -lsvn_subr-1   -lintl ; else echo "fake" >
 subversion/mod_dav_svn/mod_dav_svn.la ; fi

 *** Warning: linker path does not have real file for library -liconv.
 *** I have the capability to make that library automatically link in when
 *** you link to this library.  But I can only do this if you have a
 *** shared version of the library, which you do not appear to have
 *** because I did check the linker path looking for a file starting
 *** with libiconv and none of the candidates passed a file format test
 *** using a regex pattern. Last file checked:
 /usr/pkgsrc/www/ap2-subversion/work/.buildlink/lib/libaprutil-1.so

 *** Warning: libtool could not satisfy all declared inter-library
 *** dependencies of module mod_dav_svn.  Therefore, libtool will create
 *** a static module, that should work as long as the dlopening
 *** application is linked with the -dlopen flag.
 if true ; then cd subversion/mod_authz_svn && /bin/sh
 "/usr/pkgsrc/www/ap2-subversion/work/subversion-1.12.0/libtool" --tag=3DCC
 --silent --mode=3Dlink gcc  -O2 -D_FORTIFY_SOURCE=3D2 -I/usr/pkg/include
 -I/usr/pkg/include/apr-1 -I/usr/include   -pthread -O2 -D_FORTIFY_SOURCE=3D=
 2
 -I/usr/pkg/include -I/usr/pkg/include/apr-1 -I/usr/include  -L/usr/pkg/lib
 -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib   -L/usr/pkg/lib    -rpath
 /usr/pkg/lib/httpd -avoid-version -module  -shared  -o mod_authz_svn.la
  mod_authz_svn.lo -lsvn_repos-1 -lsvn_subr-1  -lintl ; else echo "fake" >
 subversion/mod_authz_svn/mod_authz_svn.la ; fi

 *** Warning: linker path does not have real file for library -liconv.
 *** I have the capability to make that library automatically link in when
 *** you link to this library.  But I can only do this if you have a
 *** shared version of the library, which you do not appear to have
 *** because I did check the linker path looking for a file starting
 *** with libiconv and none of the candidates passed a file format test
 *** using a regex pattern. Last file checked:
 /usr/pkgsrc/www/ap2-subversion/work/.buildlink/lib/libaprutil-1.so

 *** Warning: libtool could not satisfy all declared inter-library
 *** dependencies of module mod_authz_svn.  Therefore, libtool will create
 *** a static module, that should work as long as the dlopening
 *** application is linked with the -dlopen flag.

 On Tue, May 28, 2019 at 9:23 AM <bsiegert@netbsd.org> wrote:

 > Synopsis: www/ap2-subversion does not build with PREFER_PKGSRC+=3D iconv
 >
 > Responsible-Changed-From-To: pkg-manager->bsiegert
 > Responsible-Changed-By: bsiegert@NetBSD.org
 > Responsible-Changed-When: Tue, 28 May 2019 07:23:22 +0000
 > Responsible-Changed-Why:
 > Is this still an issue?
 > All the packages in this PR have been updated in the meantime.
 >
 >
 > State-Changed-From-To: open->feedback
 > State-Changed-By: bsiegert@NetBSD.org
 > State-Changed-When: Tue, 28 May 2019 07:23:22 +0000
 > State-Changed-Why:
 >
 >
 >
 >

 --=20
 Pozdrawiam, Bartosz Ku=C5=BAma.

 --0000000000007ce51205917bd8cb
 Content-Type: text/html; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable

 <div dir=3D"ltr">This problem is still valid on NetBSD 8.1/amd64 with pkgsr=
 c-2019Q2:<div><br></div><div>if true ; then cd subversion/mod_dav_svn &amp;=
 &amp; /bin/sh &quot;/usr/pkgsrc/www/ap2-subversion/work/subversion-1.12.0/l=
 ibtool&quot; --tag=3DCC --silent --mode=3Dlink gcc =C2=A0-O2 -D_FORTIFY_SOU=
 RCE=3D2 -I/usr/pkg/include -I/usr/pkg/include/apr-1 -I/usr/include =C2=A0 -=
 pthread -O2 -D_FORTIFY_SOURCE=3D2 -I/usr/pkg/include -I/usr/pkg/include/apr=
 -1 -I/usr/include =C2=A0-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R=
 /usr/lib =C2=A0 -L/usr/pkg/lib =C2=A0 =C2=A0-rpath /usr/pkg/lib/httpd -avoi=
 d-version -module =C2=A0-shared =C2=A0-o <a href=3D"http://mod_dav_svn.la">=
 mod_dav_svn.la</a> =C2=A0activity.lo authz.lo deadprops.lo liveprops.lo loc=
 k.lo merge.lo mirror.lo mod_dav_svn.lo posts/create_txn.lo reports/dated-re=
 v.lo reports/deleted-rev.lo reports/file-revs.lo reports/get-location-segme=
 nts.lo reports/get-locations.lo reports/get-locks.lo reports/inherited-prop=
 s.lo reports/list.lo reports/log.lo reports/mergeinfo.lo reports/replay.lo =
 reports/update.lo repos.lo status.lo util.lo version.lo -lsvn_repos-1 -lsvn=
 _fs-1 -lsvn_delta-1 -lsvn_subr-1 =C2=A0 -lintl ; else echo &quot;fake&quot;=
  &gt; subversion/mod_dav_svn/<a href=3D"http://mod_dav_svn.la">mod_dav_svn.=
 la</a> ; fi<br><br>*** Warning: linker path does not have real file for lib=
 rary -liconv.<br>*** I have the capability to make that library automatical=
 ly link in when<br>*** you link to this library.=C2=A0 But I can only do th=
 is if you have a<br>*** shared version of the library, which you do not app=
 ear to have<br>*** because I did check the linker path looking for a file s=
 tarting<br>*** with libiconv and none of the candidates passed a file forma=
 t test<br>*** using a regex pattern. Last file checked: /usr/pkgsrc/www/ap2=
 -subversion/work/.buildlink/lib/libaprutil-1.so<br><br>*** Warning: libtool=
  could not satisfy all declared inter-library<br>*** dependencies of module=
  mod_dav_svn.=C2=A0 Therefore, libtool will create<br>*** a static module, =
 that should work as long as the dlopening<br>*** application is linked with=
  the -dlopen flag.<br>if true ; then cd subversion/mod_authz_svn &amp;&amp;=
  /bin/sh &quot;/usr/pkgsrc/www/ap2-subversion/work/subversion-1.12.0/libtoo=
 l&quot; --tag=3DCC --silent --mode=3Dlink gcc =C2=A0-O2 -D_FORTIFY_SOURCE=
 =3D2 -I/usr/pkg/include -I/usr/pkg/include/apr-1 -I/usr/include =C2=A0 -pth=
 read -O2 -D_FORTIFY_SOURCE=3D2 -I/usr/pkg/include -I/usr/pkg/include/apr-1 =
 -I/usr/include =C2=A0-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/us=
 r/lib =C2=A0 -L/usr/pkg/lib =C2=A0 =C2=A0-rpath /usr/pkg/lib/httpd -avoid-v=
 ersion -module =C2=A0-shared =C2=A0-o <a href=3D"http://mod_authz_svn.la">m=
 od_authz_svn.la</a> =C2=A0mod_authz_svn.lo -lsvn_repos-1 -lsvn_subr-1 =C2=
 =A0-lintl ; else echo &quot;fake&quot; &gt; subversion/mod_authz_svn/<a hre=
 f=3D"http://mod_authz_svn.la">mod_authz_svn.la</a> ; fi<br><br>*** Warning:=
  linker path does not have real file for library -liconv.<br>*** I have the=
  capability to make that library automatically link in when<br>*** you link=
  to this library.=C2=A0 But I can only do this if you have a<br>*** shared =
 version of the library, which you do not appear to have<br>*** because I di=
 d check the linker path looking for a file starting<br>*** with libiconv an=
 d none of the candidates passed a file format test<br>*** using a regex pat=
 tern. Last file checked: /usr/pkgsrc/www/ap2-subversion/work/.buildlink/lib=
 /libaprutil-1.so<br><br>*** Warning: libtool could not satisfy all declared=
  inter-library<br>*** dependencies of module mod_authz_svn.=C2=A0 Therefore=
 , libtool will create<br>*** a static module, that should work as long as t=
 he dlopening<br>*** application is linked with the -dlopen flag.<br></div><=
 /div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">O=
 n Tue, May 28, 2019 at 9:23 AM &lt;<a href=3D"mailto:bsiegert@netbsd.org">b=
 siegert@netbsd.org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote=
 " style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);=
 padding-left:1ex">Synopsis: www/ap2-subversion does not build with PREFER_P=
 KGSRC+=3D iconv<br>
 <br>
 Responsible-Changed-From-To: pkg-manager-&gt;bsiegert<br>
 Responsible-Changed-By: bsiegert@NetBSD.org<br>
 Responsible-Changed-When: Tue, 28 May 2019 07:23:22 +0000<br>
 Responsible-Changed-Why:<br>
 Is this still an issue?<br>
 All the packages in this PR have been updated in the meantime.<br>
 <br>
 <br>
 State-Changed-From-To: open-&gt;feedback<br>
 State-Changed-By: bsiegert@NetBSD.org<br>
 State-Changed-When: Tue, 28 May 2019 07:23:22 +0000<br>
 State-Changed-Why:<br>
 <br>
 <br>
 <br>
 </blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"=
  class=3D"gmail_signature">Pozdrawiam, Bartosz Ku=C5=BAma.</div>

 --0000000000007ce51205917bd8cb--

State-Changed-From-To: feedback->open
State-Changed-By: maya@NetBSD.org
State-Changed-When: Mon, 02 Sep 2019 17:28:57 +0000
State-Changed-Why:
feedback provided


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.