From nobody@FreeBSD.org  Thu Mar 31 10:14:03 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1B04C16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 31 Mar 2005 10:14:02 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id BE1EE43D5D
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 31 Mar 2005 10:14:02 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j2VAE2f4076475
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 31 Mar 2005 10:14:02 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j2VAE2jK076474;
	Thu, 31 Mar 2005 10:14:02 GMT
	(envelope-from nobody)
Message-Id: <200503311014.j2VAE2jK076474@www.freebsd.org>
Date: Thu, 31 Mar 2005 10:14:02 GMT
From: Dmitry Pryanishnikov <dmitry@atlantis.dp.ua>
To: freebsd-gnats-submit@FreeBSD.org
Subject: news/inn fails to build nnrpd under RELEASE-4.11 and perl v5.8.6
X-Send-Pr-Version: www-2.3

>Number:         79397
>Category:       ports
>Synopsis:       news/inn fails to build nnrpd under RELEASE-4.11 and perl v5.8.6
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 31 10:20:04 GMT 2005
>Closed-Date:    Sun May 07 21:16:57 GMT 2006
>Last-Modified:  Sun May 07 21:16:57 GMT 2006
>Originator:     Dmitry Pryanishnikov
>Release:        4.11-RELEASE
>Organization:
Atlantis ISP
>Environment:
FreeBSD secure.atlantis.dp.ua 4.11-RELEASE FreeBSD 4.11-RELEASE #0: Sat Mar 12 22:34:48 CET 2005     dmitry@atlantis.dp.ua:/usr/obj/usr/src/sys/SECURE  i386

>Description:
      Port news/inn fails to build nnrpd against perl v5.8.6 installed from port lang/perl5.8. It's a freshly installed 4.11-RELEASE system with installed perl5.8 and done 'use.perl port' after that. There is nothing specific in /etc/make.conf except *PERL* symbols added by use.perl. Error messages are:

cc -rpath=/usr/lib:/usr/local/lib   -o nnrpd article.o cache.o group.o commands.
o line.o list.o misc.o newnews.o nnrpd.o perl.o perm.o post.o python.o sasl_conf
ig.o tls.o track.o /usr/ports/news/inn/work/inn-2.4.1/history/libinnhist.a /usr/
ports/news/inn/work/inn-2.4.1/storage/libstorage.a /usr/ports/news/inn/work/inn-
2.4.1/lib/libinn.a   -L/usr/lib -lssl -lcrypto   /usr/ports/news/inn/work/inn-2.
4.1/lib/perl.o -Wl,-R/usr/local/lib/perl5/5.8.6/mach/CORE  -Wl,-E -L/usr/local/l
ib /usr/local/lib/perl5/5.8.6/mach/auto/DynaLoader/DynaLoader.a -L/usr/local/lib
/perl5/5.8.6/mach/CORE -lperl -lm -lcrypt -lutil
perl.o: In function `HandleHeaders':
perl.o(.text+0x4b): undefined reference to `Perl_get_hv'
perl.o(.text+0x16a): undefined reference to `Perl_get_sv'
perl.o(.text+0x182): undefined reference to `Perl_get_sv'
perl.o(.text+0x1a7): undefined reference to `Perl_call_argv'
perl.o(.text+0x1c5): undefined reference to `Perl_get_sv'

(more unresolved Perlxxx symbols).

>How-To-Repeat:
      Install fresh 4.11-RELEASE, install lang/perl5.8 port, issue "use.perl port", try to install news/inn.

>Fix:
      
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->clement 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Mar 31 19:16:49 GMT 2005 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=79397 

From: Dmitry Pryanishnikov <dmitry@atlantis.dp.ua>
To: freebsd-gnats-submit@FreeBSD.org, dmitry@atlantis.dp.ua,
	freebsd-perl@FreeBSD.org
Cc:  
Subject: Re: ports/79397: news/inn fails to build nnrpd under RELEASE-4.11
 and perl v5.8.6
Date: Fri, 08 Apr 2005 12:14:15 +0300

 Hello!
 
  I've tried to install fresh 4.11-RELEASE, lang/perl5, use.perl port - 
 similar problem, news/inn can't buld nnrpd:
 
 cc -rpath=/usr/lib:/usr/local/lib   -o nnrpd article.o cache.o group.o 
 commands.o line.o list.o misc.o newnews.o nnrpd.o perl.o perm.o post.o 
 python.o sasl_config.o tls.o track.o 
 /usr/ports/news/inn/work/inn-2.4.1/history/libinnhist.a 
 /usr/ports/news/inn/work/inn-2.4.1/storage/libstorage.a 
 /usr/ports/news/inn/work/inn-2.4.1/lib/libinn.a   -L/usr/lib -lssl 
 -lcrypto   /usr/ports/news/inn/work/inn-2.4.1/lib/perl.o 
 -Wl,-R/usr/local/lib/perl5/5.6.2/mach/CORE -Wl,-E  -L/usr/local/lib 
 /usr/local/lib/perl5/5.6.2/mach/auto/DynaLoader/DynaLoader.a 
 -L/usr/local/lib/perl5/5.6.2/mach/CORE -lperl -lm -lcrypt -lutil
 /usr/local/lib/perl5/5.6.2/mach/auto/DynaLoader/DynaLoader.a(DynaLoader.o): 
 In function `SaveError':
 DynaLoader.o(.text+0x1a6): undefined reference to `Perl_vmess'
 gmake[1]: *** [nnrpd] Error 1
 
 So it looks that neither perl 5.6 nor perl 5.8 can't be used together
 with inn under 4.11-RELEASE. Pretty weird ;(
 
 Sincerely, Dmitry
 -- 
 Atlantis ISP, System Administrator
 nic-hdl: LYNX-RIPE
 

From: c0ldbyte <c0ldbyte@myrealbox.com>
To: Dmitry Pryanishnikov <dmitry@atlantis.dp.ua>
Cc: freebsd-gnats-submit@freebsd.org, freebsd-perl@freebsd.org
Subject: Re: ports/79397: news/inn fails to build nnrpd under RELEASE-4.11
 and perl v5.8.6
Date: Fri, 8 Apr 2005 07:21:51 -0400 (EDT)

 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
 On Fri, 8 Apr 2005, Dmitry Pryanishnikov wrote:
 
 >
 > Hello!
 >
 > I've tried to install fresh 4.11-RELEASE, lang/perl5, use.perl port - similar 
 > problem, news/inn can't buld nnrpd:
 >
 > cc -rpath=/usr/lib:/usr/local/lib   -o nnrpd article.o cache.o group.o 
 > commands.o line.o list.o misc.o newnews.o nnrpd.o perl.o perm.o post.o 
 > python.o sasl_config.o tls.o track.o 
 > /usr/ports/news/inn/work/inn-2.4.1/history/libinnhist.a 
 > /usr/ports/news/inn/work/inn-2.4.1/storage/libstorage.a 
 > /usr/ports/news/inn/work/inn-2.4.1/lib/libinn.a   -L/usr/lib -lssl -lcrypto 
 > /usr/ports/news/inn/work/inn-2.4.1/lib/perl.o 
 > -Wl,-R/usr/local/lib/perl5/5.6.2/mach/CORE -Wl,-E  -L/usr/local/lib 
 > /usr/local/lib/perl5/5.6.2/mach/auto/DynaLoader/DynaLoader.a 
 > -L/usr/local/lib/perl5/5.6.2/mach/CORE -lperl -lm -lcrypt -lutil
 > /usr/local/lib/perl5/5.6.2/mach/auto/DynaLoader/DynaLoader.a(DynaLoader.o): 
 > In function `SaveError':
 > DynaLoader.o(.text+0x1a6): undefined reference to `Perl_vmess'
 > gmake[1]: *** [nnrpd] Error 1
 >
 > So it looks that neither perl 5.6 nor perl 5.8 can't be used together
 > with inn under 4.11-RELEASE. Pretty weird ;(
 >
 > Sincerely, Dmitry
 >
 
 Yeah its been that way for quite a while. The INN-2.4.2 source has been
 out for a quite a while now and not updated in the ports and Ive just been
 patiently waiting for it just for thought of it might fix some of the
 things that has it going bad right now. INN-CURRENT compiles fine and if
 Im correct that was one I tried before the release of 2.4.2 SO! hopefully
 we will some something soon in the effect of a fix & a update.
 
 - -- 
 ( When in doubt, use brute force. -- Ken Thompson 1998 )
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.0 (FreeBSD)
 Comment: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xF7DF979F
 Comment: Fingerprint = D1DC 0AA4 1C4E EAD4 24EB  7E77 B261 50BA F7DF 979F
 
 iD8DBQFCVmlSsmFQuvffl58RAkzOAKCM8FoKioSTaj3l29LjyMhgpJ1S6ACdF2dP
 J6dzlbtnf2BaHCUp7xR6Rwk=
 =Beyz
 -----END PGP SIGNATURE-----

From: Anton Berezin <tobez@tobez.org>
To: c0ldbyte <c0ldbyte@myrealbox.com>
Cc: Dmitry Pryanishnikov <dmitry@atlantis.dp.ua>,
	freebsd-gnats-submit@freebsd.org, freebsd-perl@freebsd.org
Subject: Re: ports/79397: news/inn fails to build nnrpd under RELEASE-4.11 and perl v5.8.6
Date: Fri, 8 Apr 2005 14:06:31 +0200

 On Fri, Apr 08, 2005 at 07:21:51AM -0400, c0ldbyte wrote:
 > -----BEGIN PGP SIGNED MESSAGE-----
 > Hash: SHA1
 > 
 > On Fri, 8 Apr 2005, Dmitry Pryanishnikov wrote:
 > 
 > >
 > >Hello!
 > >
 > >I've tried to install fresh 4.11-RELEASE, lang/perl5, use.perl port - 
 > >similar problem, news/inn can't buld nnrpd:
 > >
 > >cc -rpath=/usr/lib:/usr/local/lib   -o nnrpd article.o cache.o group.o 
 > >commands.o line.o list.o misc.o newnews.o nnrpd.o perl.o perm.o post.o 
 > >python.o sasl_config.o tls.o track.o 
 > >/usr/ports/news/inn/work/inn-2.4.1/history/libinnhist.a 
 > >/usr/ports/news/inn/work/inn-2.4.1/storage/libstorage.a 
 > >/usr/ports/news/inn/work/inn-2.4.1/lib/libinn.a   -L/usr/lib -lssl 
 > >-lcrypto /usr/ports/news/inn/work/inn-2.4.1/lib/perl.o 
 > >-Wl,-R/usr/local/lib/perl5/5.6.2/mach/CORE -Wl,-E  -L/usr/local/lib 
 > >/usr/local/lib/perl5/5.6.2/mach/auto/DynaLoader/DynaLoader.a 
 > >-L/usr/local/lib/perl5/5.6.2/mach/CORE -lperl -lm -lcrypt -lutil
 > >/usr/local/lib/perl5/5.6.2/mach/auto/DynaLoader/DynaLoader.a(DynaLoader.o): 
 > >In function `SaveError':
 > >DynaLoader.o(.text+0x1a6): undefined reference to `Perl_vmess'
 > >gmake[1]: *** [nnrpd] Error 1
 > >
 > >So it looks that neither perl 5.6 nor perl 5.8 can't be used together
 > >with inn under 4.11-RELEASE. Pretty weird ;(
 > >
 > >Sincerely, Dmitry
 > >
 > 
 > Yeah its been that way for quite a while. The INN-2.4.2 source has been
 > out for a quite a while now and not updated in the ports and Ive just been
 > patiently waiting for it just for thought of it might fix some of the
 > things that has it going bad right now. INN-CURRENT compiles fine and if
 > Im correct that was one I tried before the release of 2.4.2 SO! hopefully
 > we will some something soon in the effect of a fix & a update.
 
 Please see a recent update of exim for a fix hint.  Briefly: for correct
 perl embedding -Wl,-R/usr/local/lib/perl5/${PERL_VERSION}/mach/CORE is
 necessary, but -rpath=/usr/lib:/usr/local/lib above leads to the final
 rpath being
 
    /usr/lib:/usr/local/lib:/usr/local/lib/perl5/${PERL_VERSION}/mach/CORE
 
 So libperl.so from the base system perl gets picked first.  Even when
 -rpath gets moved after -Wl,-R..., the problem still remains, since
 -rpath takes precedence.  The proper fix will mean both moving -rpath
 further in the line _and_ replacing it with -Wl,-rpath, so they get the
 same precedence.
 
 \Anton.
 -- 
 The moronity of the universe is a monotonically increasing function. --
 Jarkko Hietaniemi

From: Clement Laforet <clement@FreeBSD.org>
To: c0ldbyte <c0ldbyte@myrealbox.com>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: ports/79397: news/inn fails to build nnrpd under RELEASE-4.11 and perl v5.8.6
Date: Fri, 8 Apr 2005 14:31:50 +0200

 --dDRMvlgZJXvWKvBx
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 On Fri, Apr 08, 2005 at 11:30:11AM +0000, c0ldbyte wrote:
 >  Yeah its been that way for quite a while. The INN-2.4.2 source has been
 >  out for a quite a while now and not updated in the ports and Ive just been
 >  patiently waiting for it just for thought of it might fix some of the
 >  things that has it going bad right now. INN-CURRENT compiles fine and if
 >  Im correct that was one I tried before the release of 2.4.2 SO! hopefully
 >  we will some something soon in the effect of a fix & a update.
 
 Updates should come soon, I'll be able to free(time).
 
 clem
 
 --dDRMvlgZJXvWKvBx
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.4 (FreeBSD)
 
 iD8DBQFCVnm2sRhfjwcjuh0RAiDrAKCJjeOXDWa4jTruP99sGviEGzMg5wCgrQKN
 o2j1a3OX2a21PyjuGmwxMxI=
 =XfPB
 -----END PGP SIGNATURE-----
 
 --dDRMvlgZJXvWKvBx--

From: Dmitry Pryanishnikov <dmitry@atlantis.dp.ua>
To: Anton Berezin <tobez@tobez.org>
Cc: c0ldbyte <c0ldbyte@myrealbox.com>,
	freebsd-gnats-submit@freebsd.org, freebsd-perl@freebsd.org
Subject: Re: ports/79397: news/inn fails to build nnrpd under RELEASE-4.11
 and perl v5.8.6
Date: Thu, 14 Apr 2005 16:35:04 +0300 (EEST)

 Hello!
 
 On Fri, 8 Apr 2005, Anton Berezin wrote:
 > So libperl.so from the base system perl gets picked first.  Even when
 > -rpath gets moved after -Wl,-R..., the problem still remains, since
 > -rpath takes precedence.  The proper fix will mean both moving -rpath
 > further in the line _and_ replacing it with -Wl,-rpath, so they get the
 > same precedence.
 
    Thanks for your advise. I've tried to follow it, however it doesn't take the 
 problem away:
 
 cc   -o nnrpd article.o cache.o group.o commands.o line.o list.o misc.o
   newnews.o nnrpd.o perl.o perm.o post.o python.o sasl_config.o tls.o track.o
   /usr2/ports/news/inn/work/inn-2.4.1/history/libinnhist.a
   /usr2/ports/news/inn/work/inn-2.4.1
   /storage/libstorage.a /usr2/ports/news/inn/work/inn-2.4.1/lib/libinn.a
   -L/usr/lib -lssl -lcrypto   /usr2/ports/news/inn/work/inn-2.4.1/lib/perl.o
   -Wl,-R/usr/local/lib/perl5/5.8.6/mach/CORE -Wl,-rpath /usr/lib
   -Wl,-rpath /usr/local/lib -Wl,-E -L/usr/local/lib
   /usr/local/lib/perl5/5.8.6/mach/auto/DynaLoader/DynaLoader.a
   -L/usr/local/lib/perl5/5.8.6/mach/CORE -lperl -lm -lcrypt -lutil
 perl.o: In function `HandleHeaders':
 perl.o(.text+0x4b): undefined reference to `Perl_get_hv'
 perl.o(.text+0x16a): undefined reference to `Perl_get_sv'
 perl.o(.text+0x182): undefined reference to `Perl_get_sv'
 perl.o(.text+0x1a7): undefined reference to `Perl_call_argv'
 ...
 
 What should I change further in order to build nnrpd?
 
 
 Sincerely, Dmitry
 -- 
 Atlantis ISP, System Administrator
 e-mail:  dmitry@atlantis.dp.ua
 nic-hdl: LYNX-RIPE
Responsible-Changed-From-To: clement->freebsd-ports-bugs 
Responsible-Changed-By: clement 
Responsible-Changed-When: Mon May 1 10:25:19 UTC 2006 
Responsible-Changed-Why:  
Back to the unmaintained pool. 
I no longer use INN and ENOTIME strikes back. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=79397 
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Sun May 7 21:16:40 UTC 2006 
State-Changed-Why:  
inn-2.4.3 is known to compile 

http://www.freebsd.org/cgi/query-pr.cgi?pr=79397 
>Unformatted:
