From pavalos@theshell.com  Mon Apr 22 16:14:56 2002
Return-Path: <pavalos@theshell.com>
Received: from theshell.com (arsenic.theshell.com [63.236.138.5])
	by hub.freebsd.org (Postfix) with SMTP id 579FD37B622
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 22 Apr 2002 16:08:46 -0700 (PDT)
Received: (qmail 26070 invoked by uid 500); 22 Apr 2002 23:08:45 -0000
Message-Id: <20020422230845.26069.qmail@theshell.com>
Date: 22 Apr 2002 23:08:45 -0000
From: Peter Avalos <pavalos@theshell.com>
Reply-To: Peter Avalos <pavalos@theshell.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: installworld failure: can't find pod2man
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         37360
>Category:       bin
>Synopsis:       installworld failure: can't find pod2man
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    ru
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 22 16:20:05 PDT 2002
>Closed-Date:    Thu May 16 11:00:25 PDT 2002
>Last-Modified:  Thu May 16 11:00:25 PDT 2002
>Originator:     Peter Avalos
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
>Environment:
System: FreeBSD arsenic.theshell.com 4.5-STABLE FreeBSD 4.5-STABLE #0: Tue Mar 26 11:15:29 PST 2002 pavalos@arsenic.theshell.com:/usr/obj/usr/src/sys/ARSENIC i386


	
>Description:

===> secure/usr.bin
===> secure/usr.bin/bdes
install -c -s -o root -g wheel -m 555   bdes /usr/bin
install -c -o root -g wheel -m 444 /usr/src/secure/usr.bin/bdes/bdes.1 /usr/share/man/man1
===> secure/usr.bin/telnet
install -c -s -o root -g wheel -m 555   telnet /usr/bin
install -c -o root -g wheel -m 444 /usr/src/secure/usr.bin/telnet/../../../crypto/telnet/telnet/telnet.1 /usr/share/man/man1
===> secure/usr.bin/openssl
install -c -s -o root -g wheel -m 555   openssl /usr/bin
pod2man /usr/src/secure/usr.bin/openssl/../../../crypto/openssl/apps/../doc/apps//openssl.pod > openssl.1
pod2man: not found
*** Error code 127

Stop in /usr/src/secure/usr.bin/openssl.
*** Error code 1

Stop in /usr/src/secure/usr.bin.
*** Error code 1

Stop in /usr/src/secure.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

[1]  + exit 1     make installworld
arsenic:/usr/src# cd secure/usr.bin/openssl 
arsenic:/usr/src/secure/usr.bin/openssl# make install
install -c -s -o root -g wheel -m 555   openssl /usr/bin
pod2man /usr/src/secure/usr.bin/openssl/../../../crypto/openssl/apps/../doc/apps//openssl.pod > openssl.1
install -c -o root -g wheel -m 444 openssl.1 /usr/share/man/man1
/usr/share/man/man8/ssl.8 -> /usr/share/man/man1/openssl.1

After this make install in secure/usr.bin/openssl/ installworld works
(as it should).
>How-To-Repeat:
See above.
>Fix:
I wish I knew more about make(1) to help out.
>Release-Note:
>Audit-Trail:

From: "Crist J. Clark" <cjc@FreeBSD.ORG>
To: Peter Avalos <pavalos@theshell.com>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/37360: installworld failure: can't find pod2man
Date: Mon, 22 Apr 2002 23:17:13 -0700

 On Mon, Apr 22, 2002 at 11:08:45PM -0000, Peter Avalos wrote:
 > 
 > >Number:         37360
 > >Category:       bin
 > >Synopsis:       installworld failure: can't find pod2man
 
 Type,
 
   # which pod2man
 
 Where is your,
 
   /usr/bin/pod2man
 
 ?
 -- 
 Crist J. Clark                     |     cjclark@alum.mit.edu
                                    |     cjclark@jhu.edu
 http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

From: Peter Avalos <pavalos@theshell.com>
To: "Crist J. Clark" <cjc@FreeBSD.ORG>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/37360: installworld failure: can't find pod2man
Date: Tue, 23 Apr 2002 13:33:21 -0700

 On Mon, Apr 22, 2002 at 11:17:13PM -0700, Crist J. Clark wrote:
 > On Mon, Apr 22, 2002 at 11:08:45PM -0000, Peter Avalos wrote:
 > > 
 > > >Number:         37360
 > > >Category:       bin
 > > >Synopsis:       installworld failure: can't find pod2man
 
 # which pod2man
 /usr/bin/pod2man
 
 # whereis pod2man
 pod2man: /usr/bin/pod2man /usr/share/man/man1/pod2man.1 /usr/src/gnu/usr.bin/perl/pod/pod2man
 
 # locate pod2man
 /usr/bin/pod2man
 /usr/obj/usr/src/gnu/usr.bin/perl/library/pod2man
 /usr/obj/usr/src/gnu/usr.bin/perl/library/pod2man.PL
 /usr/obj/usr/src/gnu/usr.bin/perl/pod/pod2man
 /usr/obj/usr/src/gnu/usr.bin/perl/pod/pod2man/pod2man
 /usr/obj/usr/src/gnu/usr.bin/perl/pod/pod2man/pod2man.1
 /usr/obj/usr/src/gnu/usr.bin/perl/pod/pod2man/pod2man.PL
 /usr/share/man/man1/pod2man.1
 /usr/src/contrib/perl5/pod/pod2man.PL
 /usr/src/crypto/openssl/util/pod2man.pl
 /usr/src/gnu/usr.bin/perl/pod/pod2man
 /usr/src/gnu/usr.bin/perl/pod/pod2man/CVS
 /usr/src/gnu/usr.bin/perl/pod/pod2man/CVS/Entries
 /usr/src/gnu/usr.bin/perl/pod/pod2man/CVS/Repository
 /usr/src/gnu/usr.bin/perl/pod/pod2man/CVS/Root
 /usr/src/gnu/usr.bin/perl/pod/pod2man/CVS/Tag
 /usr/src/gnu/usr.bin/perl/pod/pod2man/Makefile

From: "Crist J. Clark" <crist.clark@attbi.com>
To: Peter Avalos <pavalos@theshell.com>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/37360: installworld failure: can't find pod2man
Date: Tue, 23 Apr 2002 14:09:55 -0700

 On Tue, Apr 23, 2002 at 01:33:21PM -0700, Peter Avalos wrote:
 > On Mon, Apr 22, 2002 at 11:17:13PM -0700, Crist J. Clark wrote:
 > > On Mon, Apr 22, 2002 at 11:08:45PM -0000, Peter Avalos wrote:
 > > > 
 > > > >Number:         37360
 > > > >Category:       bin
 > > > >Synopsis:       installworld failure: can't find pod2man
 > 
 > # which pod2man
 > /usr/bin/pod2man
 
 It should be able to find it then. Are you running 'make installworld'
 out of this shell? Or out of cron(8), at(1), batch(1), script, etc.,
 which may have a different path?
 -- 
 Crist J. Clark                     |     cjclark@alum.mit.edu
                                    |     cjclark@jhu.edu
 http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

From: Peter Avalos <pavalos@theshell.com>
To: cjclark@alum.mit.edu
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/37360: installworld failure: can't find pod2man
Date: Tue, 23 Apr 2002 18:39:46 -0700

 On Tue, Apr 23, 2002 at 02:09:55PM -0700, Crist J. Clark wrote:
 > On Tue, Apr 23, 2002 at 01:33:21PM -0700, Peter Avalos wrote:
 > > On Mon, Apr 22, 2002 at 11:17:13PM -0700, Crist J. Clark wrote:
 > > > On Mon, Apr 22, 2002 at 11:08:45PM -0000, Peter Avalos wrote:
 > > > > 
 > > > > >Number:         37360
 > > > > >Category:       bin
 > > > > >Synopsis:       installworld failure: can't find pod2man
 > > 
 > > # which pod2man
 > > /usr/bin/pod2man
 > 
 > It should be able to find it then. Are you running 'make installworld'
 > out of this shell? Or out of cron(8), at(1), batch(1), script, etc.,
 > which may have a different path?
 
 Yes, I'm running it out of this shell.  Basically I follow UPDATING:
 
 rm -r /usr/obj/usr
 cd /usr/src
 make buildworld
 make buildkernel
 make installkernel
 make installworld
 
 After I get the error:
 
 cd secure/usr.bin/openssl
 make install
 cd /usr/src
 make installworld
 
 That gets everything installed.  Then I run mergemaster, reboot again,
 and call it done.
 
 --Pete
Responsible-Changed-From-To: freebsd-bugs->kris 
Responsible-Changed-By: johan 
Responsible-Changed-When: Tue May 7 18:18:43 PDT 2002 
Responsible-Changed-Why:  
Over to openssl maintainer who introduced this usaged 
of pod2man in rev 1.15 src/secure/usr.bin/openssl/Makefile 

This has also been reported in PR 37583 where the user 
installworld in single user mode. 
The suggested fix is to add pod2man to programs which are 
copied befor installworld. 

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

From: Johan Karlsson <k@numeri.campus.luth.se>
To: FreeBSD-gnats-submit@FreeBSD.ORG
Cc: cjc@FreeBSD.ORG, pavalos@theshell.com
Subject: Re: bin/37360: installworld failure: can't find pod2man
Date: Wed, 8 May 2002 16:19:11 +0200

 Hi
 
 make installworld uses PATH=${STRICTTMPPATH}:${INSTALLTMP}
 
 STRICTTMPPATH containes stuff built during buildworld
 and INSTALLTMP contains the stuff copied in the begining
 of installworld. Hence it does not matter if a tool is 
 in PATH in the shell or not it has to be copied during 
 installworld.
 
 /Johan K
 -- 
 Johan Karlsson		mailto:k@numeri.campus.luth.se

From: "Crist J. Clark" <crist.clark@attbi.com>
To: Johan Karlsson <k@numeri.campus.luth.se>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG, pavalos@theshell.com
Subject: Re: bin/37360: installworld failure: can't find pod2man
Date: Wed, 8 May 2002 08:55:51 -0700

 On Wed, May 08, 2002 at 04:19:11PM +0200, Johan Karlsson wrote:
 > Hi
 > 
 > make installworld uses PATH=${STRICTTMPPATH}:${INSTALLTMP}
 > 
 > STRICTTMPPATH containes stuff built during buildworld
 > and INSTALLTMP contains the stuff copied in the begining
 > of installworld. Hence it does not matter if a tool is 
 > in PATH in the shell or not it has to be copied during 
 > installworld.
 
 Ah, he was getting a failure during _installworld_. I was thinking
 buildowlrd for some reason.
 
 Yeah, I don't think pod2man(1) should be running during
 installworld. Sounds like it might be a clock problem.
 
 Is the submitter still having problems with this?
 -- 
 Crist J. Clark                     |     cjclark@alum.mit.edu
                                    |     cjclark@jhu.edu
 http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

From: Peter Avalos <pavalos@theshell.com>
To: cjclark@alum.mit.edu
Cc: Johan Karlsson <k@numeri.campus.luth.se>,
	FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/37360: installworld failure: can't find pod2man
Date: Wed, 8 May 2002 16:58:41 -0700

 --d6Gm4EdcadzBjdND
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Wed, May 08, 2002 at 08:55:51AM -0700, Crist J. Clark wrote:
 > On Wed, May 08, 2002 at 04:19:11PM +0200, Johan Karlsson wrote:
 > > Hi
 > >=20
 > > make installworld uses PATH=3D${STRICTTMPPATH}:${INSTALLTMP}
 > >=20
 > > STRICTTMPPATH containes stuff built during buildworld
 > > and INSTALLTMP contains the stuff copied in the begining
 > > of installworld. Hence it does not matter if a tool is=20
 > > in PATH in the shell or not it has to be copied during=20
 > > installworld.
 >=20
 > Ah, he was getting a failure during _installworld_. I was thinking
 > buildowlrd for some reason.
 >=20
 > Yeah, I don't think pod2man(1) should be running during
 > installworld. Sounds like it might be a clock problem.
 >=20
 > Is the submitter still having problems with this?
 
 Yes it was installworld where the problem was happening.  Last one I did
 was 15 days ago, and I still had the problem.  I'm going to check out
 the latest RELENG_4 and try it again tonight.  I'll let you know how
 that one goes.
 
 --Pete
 
 --d6Gm4EdcadzBjdND
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.0.7 (FreeBSD)
 
 iD8DBQE82buwKjaxugguz8URAv78AJ9j4FaaXhP7D0g3ahu0LTrn+37ZGwCff7ya
 l1InQpabQWkz3G3yEDu12Ik=
 =Yn6x
 -----END PGP SIGNATURE-----
 
 --d6Gm4EdcadzBjdND--

From: Peter Avalos <pavalos@theshell.com>
To: cjclark@alum.mit.edu
Cc: Johan Karlsson <k@numeri.campus.luth.se>,
	FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/37360: installworld failure: can't find pod2man
Date: Wed, 8 May 2002 17:33:34 -0700

 --TakKZr9L6Hm6aLOc
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Wed, May 08, 2002 at 08:55:51AM -0700, Crist J. Clark wrote:
 >=20
 > Is the submitter still having problems with this?
 
 It's confirmed that this problem still exists in today's tree.
 
 --Pete
 
 --TakKZr9L6Hm6aLOc
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.0.7 (FreeBSD)
 
 iD8DBQE82cPdKjaxugguz8URAs6YAJ9sfyZE19PL55qatEVCvl4geMxRMgCfd1zR
 amZysuKdKniVCl9+HVyi6E0=
 =Oets
 -----END PGP SIGNATURE-----
 
 --TakKZr9L6Hm6aLOc--

From: "Crist J. Clark" <crist.clark@attbi.com>
To: Peter Avalos <pavalos@theshell.com>
Cc: Johan Karlsson <k@numeri.campus.luth.se>,
	FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/37360: installworld failure: can't find pod2man
Date: Thu, 9 May 2002 12:06:19 -0700

 On Wed, May 08, 2002 at 05:33:34PM -0700, Peter Avalos wrote:
 > On Wed, May 08, 2002 at 08:55:51AM -0700, Crist J. Clark wrote:
 > > 
 > > Is the submitter still having problems with this?
 > 
 > It's confirmed that this problem still exists in today's tree.
 
 But it is suspicious no one else is having it. I did a buildworld and
 installworld fine last night.
 
 Did you check the clocks? How are you doing the installworld? Are you
 booting into single user? If so, is your CMOS set to localtime? And do
 you make sure to start adjkerntz(8) manually if it is?
 -- 
 Crist J. Clark                     |     cjclark@alum.mit.edu
                                    |     cjclark@jhu.edu
 http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

From: Peter Avalos <pavalos@theshell.com>
To: cjclark@alum.mit.edu
Cc: Johan Karlsson <k@numeri.campus.luth.se>,
	FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/37360: installworld failure: can't find pod2man
Date: Fri, 10 May 2002 20:01:33 -0700

 --tsOsTdHNUZQcU9Ye
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Thu, May 09, 2002 at 12:06:19PM -0700, Crist J. Clark wrote:
 >=20
 > But it is suspicious no one else is having it. I did a buildworld and
 > installworld fine last night.
 >=20
 > Did you check the clocks? How are you doing the installworld? Are you
 > booting into single user? If so, is your CMOS set to localtime? And do
 > you make sure to start adjkerntz(8) manually if it is?
 
 My clocks are synched with ntpd.  I checked, and they are set correctly.
 I'm only able to remotely administrate these machines, so I don't have
 the luxury of booting into single-user mode.  In the past, I haven't had
 a problem with this.  I understand that this is against recommendations,
 and this PR may be closed if you believe that's the problem.  However, I
 have been doing this for years, and haven't had this problem until
 recently.
 
 CMOS is set to UTC.
 
 If this problem is persued, please let me know what I can do to help.
 
 --Pete
 
 --tsOsTdHNUZQcU9Ye
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.0.7 (FreeBSD)
 
 iD8DBQE83ImMKjaxugguz8URApgOAJ9wCNf89ohlHYEYbV0uawRdkZim9QCbBqiK
 La3vfZHS65RsSLc6pLw50jE=
 =Y9Mz
 -----END PGP SIGNATURE-----
 
 --tsOsTdHNUZQcU9Ye--

From: "Crist J. Clark" <crist.clark@attbi.com>
To: Peter Avalos <pavalos@theshell.com>
Cc: Johan Karlsson <k@numeri.campus.luth.se>,
	FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/37360: installworld failure: can't find pod2man
Date: Sat, 11 May 2002 00:52:57 -0700

 On Fri, May 10, 2002 at 08:01:33PM -0700, Peter Avalos wrote:
 > On Thu, May 09, 2002 at 12:06:19PM -0700, Crist J. Clark wrote:
 > > 
 > > But it is suspicious no one else is having it. I did a buildworld and
 > > installworld fine last night.
 > > 
 > > Did you check the clocks? How are you doing the installworld? Are you
 > > booting into single user? If so, is your CMOS set to localtime? And do
 > > you make sure to start adjkerntz(8) manually if it is?
 > 
 > My clocks are synched with ntpd.  I checked, and they are set correctly.
 > I'm only able to remotely administrate these machines, so I don't have
 > the luxury of booting into single-user mode.  In the past, I haven't had
 > a problem with this.  I understand that this is against recommendations,
 > and this PR may be closed if you believe that's the problem.  However, I
 > have been doing this for years, and haven't had this problem until
 > recently.
 > 
 > CMOS is set to UTC.
 > 
 > If this problem is persued, please let me know what I can do to help.
 
 Hmm... The question is why is pod2man(1) being run at all during
 'installworld.' It should run during 'buildworld' only. You wouldn't
 have happened to have captured the complete 'buidlworld' and
 'installworld' output when you see these errors? Could you do a,
 
   $ ls -l /usr/obj/usr/src/secure/usr.bin/openssl
 
 (That's where the problem was IIRC) when you get the error?
 -- 
 Crist J. Clark                     |     cjclark@alum.mit.edu
                                    |     cjclark@jhu.edu
 http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

From: Peter Avalos <pavalos@theshell.com>
To: cjclark@alum.mit.edu
Cc: Johan Karlsson <k@numeri.campus.luth.se>,
	FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/37360: installworld failure: can't find pod2man
Date: Sat, 11 May 2002 19:29:56 -0700

 --n8g4imXOkfNTN/H1
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Sat, May 11, 2002 at 12:52:57AM -0700, Crist J. Clark wrote:
 >=20
 > Hmm... The question is why is pod2man(1) being run at all during
 > 'installworld.' It should run during 'buildworld' only. You wouldn't
 > have happened to have captured the complete 'buidlworld' and
 > 'installworld' output when you see these errors? Could you do a,
 
 I accidentally overwrote the installworld output, but the buildworld
 for 4 of my machines (all of them do this) are available:
 
 http://users.theshell.com/~pavalos/pr37360/
 
 I'm running a buildworld and installworld right now, and I'll post the
 results when that's done.
 
 >=20
 >   $ ls -l /usr/obj/usr/src/secure/usr.bin/openssl
 >=20
 > (That's where the problem was IIRC) when you get the error?
 
 I'll do that when this installworld fails...
 
 --n8g4imXOkfNTN/H1
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.0.7 (FreeBSD)
 
 iD8DBQE83dOjKjaxugguz8URAtS2AJ9TaFj7cHKfwHF1M46mjGabK2YSmgCgnKXX
 rQI0+JbGZUQubl5KBlXYyN0=
 =7XxU
 -----END PGP SIGNATURE-----
 
 --n8g4imXOkfNTN/H1--

From: Peter Avalos <pavalos@theshell.com>
To: cjclark@alum.mit.edu
Cc: Johan Karlsson <k@numeri.campus.luth.se>,
	FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/37360: installworld failure: can't find pod2man
Date: Sat, 11 May 2002 21:53:02 -0700

 --ew6BAiZeqk4r7MaW
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Sat, May 11, 2002 at 12:52:57AM -0700, Crist J. Clark wrote:
 >=20
 > Hmm... The question is why is pod2man(1) being run at all during
 > 'installworld.' It should run during 'buildworld' only. You wouldn't
 > have happened to have captured the complete 'buidlworld' and
 > 'installworld' output when you see these errors? Could you do a,
 >=20
 
 These are now available at:
 http://users.theshell.com/~pavalos/pr37360/
 
 The latest build was arsenic.
 
 arsenic:~% ls -l /usr/obj/usr/src/secure/usr.bin/openssl
 total 671
 -rw-r--r--  1 root  wheel    2248 May 11 20:49 app_rand.o
 -rw-r--r--  1 root  wheel    9432 May 11 20:49 apps.o
 -rw-r--r--  1 root  wheel    6052 May 11 20:49 asn1pars.o
 -rw-r--r--  1 root  wheel   37032 May 11 20:49 ca.o
 -rw-r--r--  1 root  wheel    3296 May 11 20:49 ciphers.o
 -rw-r--r--  1 root  wheel    7616 May 11 20:49 crl.o
 -rw-r--r--  1 root  wheel    5216 May 11 20:49 crl2p7.o
 -rw-r--r--  1 root  wheel    7060 May 11 20:49 dgst.o
 -rw-r--r--  1 root  wheel    6112 May 11 20:49 dh.o
 -rw-r--r--  1 root  wheel    9020 May 11 20:49 dhparam.o
 -rw-r--r--  1 root  wheel    5644 May 11 20:49 dsa.o
 -rw-r--r--  1 root  wheel    7620 May 11 20:49 dsaparam.o
 -rw-r--r--  1 root  wheel   11688 May 11 20:49 enc.o
 -rw-r--r--  1 root  wheel    2040 May 11 20:49 errstr.o
 -rw-r--r--  1 root  wheel    3612 May 11 20:49 gendh.o
 -rw-r--r--  1 root  wheel    4224 May 11 20:49 gendsa.o
 -rw-r--r--  1 root  wheel    4616 May 11 20:49 genrsa.o
 -rw-r--r--  1 root  wheel    3152 May 11 20:49 nseq.o
 -rwxr-xr-x  1 root  wheel  286519 May 11 20:49 openssl
 -rw-r--r--  1 root  wheel    9724 May 11 20:49 openssl.o
 -rw-r--r--  1 root  wheel    8560 May 11 20:49 passwd.o
 -rw-r--r--  1 root  wheel   18964 May 11 20:49 pkcs12.o
 -rw-r--r--  1 root  wheel    4564 May 11 20:49 pkcs7.o
 -rw-r--r--  1 root  wheel    7320 May 11 20:49 pkcs8.o
 -rw-r--r--  1 root  wheel    3100 May 11 20:49 rand.o
 -rw-r--r--  1 root  wheel   23044 May 11 20:49 req.o
 -rw-r--r--  1 root  wheel    7356 May 11 20:49 rsa.o
 -rw-r--r--  1 root  wheel    6092 May 11 20:49 rsautl.o
 -rw-r--r--  1 root  wheel    4016 May 11 20:49 s_cb.o
 -rw-r--r--  1 root  wheel   17368 May 11 20:49 s_client.o
 -rw-r--r--  1 root  wheel   25904 May 11 20:49 s_server.o
 -rw-r--r--  1 root  wheel    4904 May 11 20:49 s_socket.o
 -rw-r--r--  1 root  wheel   10280 May 11 20:49 s_time.o
 -rw-r--r--  1 root  wheel    4908 May 11 20:49 sess_id.o
 -rw-r--r--  1 root  wheel   12868 May 11 20:49 smime.o
 -rw-r--r--  1 root  wheel   26212 May 11 20:49 speed.o
 -rw-r--r--  1 root  wheel    5392 May 11 20:49 spkac.o
 -rw-r--r--  1 root  wheel    6204 May 11 20:49 verify.o
 -rw-r--r--  1 root  wheel    2332 May 11 20:49 version.o
 -rw-r--r--  1 root  wheel   25688 May 11 20:26 x509.o
 
 --ew6BAiZeqk4r7MaW
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.0.7 (FreeBSD)
 
 iD8DBQE83fUtKjaxugguz8URAvh6AJ9PP8sa9L+teQ98HorEeW28HO3TUwCfdiMV
 NLv+9GLHqsrSHub7I19oigo=
 =hois
 -----END PGP SIGNATURE-----
 
 --ew6BAiZeqk4r7MaW--

From: "Crist J. Clark" <crist.clark@attbi.com>
To: Peter Avalos <pavalos@theshell.com>
Cc: Johan Karlsson <k@numeri.campus.luth.se>,
	FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/37360: installworld failure: can't find pod2man
Date: Sat, 11 May 2002 23:52:15 -0700

 On Sat, May 11, 2002 at 09:53:02PM -0700, Peter Avalos wrote:
 > On Sat, May 11, 2002 at 12:52:57AM -0700, Crist J. Clark wrote:
 > > 
 > > Hmm... The question is why is pod2man(1) being run at all during
 > > 'installworld.' It should run during 'buildworld' only. You wouldn't
 > > have happened to have captured the complete 'buidlworld' and
 > > 'installworld' output when you see these errors? Could you do a,
 > > 
 > 
 > These are now available at:
 > http://users.theshell.com/~pavalos/pr37360/
 
 The pod2man(1) is clearly not being run where it should during your
 'buildworld.' Probably should have suggested this before, but try,
 
   # cd /usr/src
   # make cleandir; make cleandir
   # rm -rf /usr/obj
 
 Before you do another buildworld.
 -- 
 Crist J. Clark                     |     cjclark@alum.mit.edu
                                    |     cjclark@jhu.edu
 http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

From: Peter Avalos <pavalos@theshell.com>
To: cjclark@alum.mit.edu
Cc: Johan Karlsson <k@numeri.campus.luth.se>,
	FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/37360: installworld failure: can't find pod2man
Date: Sun, 12 May 2002 01:49:22 -0700

 --zx4FCpZtqtKETZ7O
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Sat, May 11, 2002 at 11:52:15PM -0700, Crist J. Clark wrote:
 >=20
 > The pod2man(1) is clearly not being run where it should during your
 > 'buildworld.' Probably should have suggested this before, but try,
 >=20
 >   # cd /usr/src
 >   # make cleandir; make cleandir
 >   # rm -rf /usr/obj
 >=20
 > Before you do another buildworld.
 
 I always 'rm -rf /usr/obj/usr' before doing a buildworld.
 
 I should have mentioned earlier that I tried the 'make cleandir;
 make cleandir' when I first had this problem.  After this didn't work
 for me I deleted /usr/src and checked out a new copy.
 
 Just in case though, I did what you recommended, and it still failed.
 The new outputs are on the previously mentioned webpage.
 
 --Pete
 
 --zx4FCpZtqtKETZ7O
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.0.7 (FreeBSD)
 
 iD8DBQE83iySKjaxugguz8URAvUCAJ9aEvYFJZ0imnN3UTrWNJJuzo9A6QCaA9w0
 8+6ykVP053FSY3+hFwOESrQ=
 =EXJq
 -----END PGP SIGNATURE-----
 
 --zx4FCpZtqtKETZ7O--

From: "Crist J. Clark" <crist.clark@attbi.com>
To: Peter Avalos <pavalos@theshell.com>
Cc: Johan Karlsson <k@numeri.campus.luth.se>,
	FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/37360: installworld failure: can't find pod2man
Date: Sun, 12 May 2002 02:45:20 -0700

 On Sun, May 12, 2002 at 01:49:22AM -0700, Peter Avalos wrote:
 > On Sat, May 11, 2002 at 11:52:15PM -0700, Crist J. Clark wrote:
 > > 
 > > The pod2man(1) is clearly not being run where it should during your
 > > 'buildworld.' Probably should have suggested this before, but try,
 > > 
 > >   # cd /usr/src
 > >   # make cleandir; make cleandir
 > >   # rm -rf /usr/obj
 > > 
 > > Before you do another buildworld.
 > 
 > I always 'rm -rf /usr/obj/usr' before doing a buildworld.
 > 
 > I should have mentioned earlier that I tried the 'make cleandir;
 > make cleandir' when I first had this problem.  After this didn't work
 > for me I deleted /usr/src and checked out a new copy.
 > 
 > Just in case though, I did what you recommended, and it still failed.
 > The new outputs are on the previously mentioned webpage.
 
 OK, I think I may have spotted it. Rather than trying to reconstruct
 your make.conf(5) from the build output, could you send it? It looks
 like you have some "non-standard" things set in there. Specifically,
 some knobs that are manpage related.
 -- 
 Crist J. Clark                     |     cjclark@alum.mit.edu
                                    |     cjclark@jhu.edu
 http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

From: "Crist J. Clark" <crist.clark@attbi.com>
To: Peter Avalos <pavalos@theshell.com>
Cc: Johan Karlsson <k@numeri.campus.luth.se>,
	FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/37360: installworld failure: can't find pod2man
Date: Sun, 12 May 2002 13:36:17 -0700

 OK, as I said in my last mail, I think I found your problem. You have
 NOMANCOMPRESS set in your make.conf(5), don't you? Looks like that's
 where the bug is, in bsd.man.mk.
 
 When NOMANCOMPRESS is set, nowhere in bsd.man.mk or anywhere else in
 the bsd.*.mk files is a ${PROG}.1, or any other target,
 ${blah}.${SECTION}, refered to. The openssl source has no openssl.1
 file, instead it is built from openssl.pod. Most people do not see
 this bug since when the makefile goes to make openssl.1.gz, make(1)
 knows to try to build openssl.1 on which openssl.1.gz is
 dependent. However, when NOMANCOMPRESS is set, openssl.1.gz is never
 built and nothing ever tries to make openssl.1. The dependency doesn't
 come up until 'installworld' tries to install openssl.1. It tries to
 make it first, but it fails with the error you see.
 
 You can workaround this by commenting NOMANCOMPRESS out of your
 make.conf(5), and doing,
 
   # make -DNOMANCOMPRESS installworld
 
 That is, compress manpages during the build, but install uncompressed
 ones.
 
 You can also try the quick patch below. It's not too elegant (but
 neither is the rest of bsd.man.mk), but it seems to do the trick.
 
 Index: share/mk/bsd.man.mk
 ===================================================================
 RCS file: /export/freebsd/ncvs/src/share/mk/bsd.man.mk,v
 retrieving revision 1.31.2.6
 diff -u -r1.31.2.6 bsd.man.mk
 --- share/mk/bsd.man.mk 16 Jan 2002 12:19:59 -0000      1.31.2.6
 +++ share/mk/bsd.man.mk 12 May 2002 18:31:32 -0000
 @@ -72,6 +72,10 @@
  
  all-man:
  
 +.if defined(MAN) && !empty(MAN)
 +all-man: ${MAN}
 +.endif
 +
  .if defined(NOMANCOMPRESS)
  
  # Make special arrangements to filter to a temporary file at build time
 
 -- 
 Crist J. Clark                     |     cjclark@alum.mit.edu
                                    |     cjclark@jhu.edu
 http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

From: Peter Avalos <pavalos@theshell.com>
To: cjclark@alum.mit.edu
Cc: Johan Karlsson <k@numeri.campus.luth.se>,
	FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/37360: installworld failure: can't find pod2man
Date: Sun, 12 May 2002 15:16:15 -0700

 --LpQ9ahxlCli8rRTG
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Sun, May 12, 2002 at 01:36:17PM -0700, Crist J. Clark wrote:
 > OK, as I said in my last mail, I think I found your problem. You have
 > NOMANCOMPRESS set in your make.conf(5), don't you? Looks like that's
 > where the bug is, in bsd.man.mk.
 
 You nailed it.  When you mentioned make.conf in your previous email, I
 took NOMANCOMPRESS out, and it worked again.
 
 >=20
 > When NOMANCOMPRESS is set, nowhere in bsd.man.mk or anywhere else in
 > the bsd.*.mk files is a ${PROG}.1, or any other target,
 > ${blah}.${SECTION}, refered to. The openssl source has no openssl.1
 > file, instead it is built from openssl.pod. Most people do not see
 > this bug since when the makefile goes to make openssl.1.gz, make(1)
 > knows to try to build openssl.1 on which openssl.1.gz is
 > dependent. However, when NOMANCOMPRESS is set, openssl.1.gz is never
 > built and nothing ever tries to make openssl.1. The dependency doesn't
 > come up until 'installworld' tries to install openssl.1. It tries to
 > make it first, but it fails with the error you see.
 
 Sounds logical.
 
 [...]
 >=20
 > You can also try the quick patch below. It's not too elegant (but
 > neither is the rest of bsd.man.mk), but it seems to do the trick.
 >=20
 [...]
 
 This patch works.  Feel free to close this PR if you commit this patch
 or something similar.
 
 Thanks for working on this,
 Pete
 
 --LpQ9ahxlCli8rRTG
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.0.7 (FreeBSD)
 
 iD8DBQE83umtKjaxugguz8URArM9AJ47woRRIIvj/zW1PBg7AvKvZlP/0gCdGDp8
 EbPGP8g6QZxp4N214yR7pMo=
 =s24W
 -----END PGP SIGNATURE-----
 
 --LpQ9ahxlCli8rRTG--
State-Changed-From-To: open->patched 
State-Changed-By: ru 
State-Changed-When: Mon May 13 06:05:22 PDT 2002 
State-Changed-Why:  
Fixed in bsd.man.mk,v 1.48. 


Responsible-Changed-From-To: kris->ru 
Responsible-Changed-By: ru 
Responsible-Changed-When: Mon May 13 06:05:22 PDT 2002 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=37360 
State-Changed-From-To: patched->closed 
State-Changed-By: ru 
State-Changed-When: Thu May 16 10:58:46 PDT 2002 
State-Changed-Why:  
Fixed in RELENG_4, in bsd.man.mk,v 1.31.2.7. 

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