Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  1 Jun 2000 05:09:28 -0700 (PDT)
From:      mavetju@chello.nl
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/18939: make index fails on 
Message-ID:  <20000601120928.D64E937B665@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         18939
>Category:       ports
>Synopsis:       make index fails on
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 01 05:10:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        4.0
>Organization:
-
>Environment:
FreeBSD cgmd76206.chello.nl 4.0-RELEASE FreeBSD 4.0-RELEASE #0: Mon Apr 24 22:16:09 CEST 2000     edwin@cgmd76206.chello.nl:/usr/src/sys/compile/p6  i386

>Description:
"make index" in the /usr/ports directory doesn't give an error, but the
INDEX file is corrupted because "make describe" fails in
japanese/w3m-ssl because I haven't OpenSSL library installed.

[/usr/ports/japanese/w3m-ssl] edwin@p6>make describe
This port requires the OpenSSL library, which is part of
the FreeBSD crypto distribution but not installed on your
machine. Please see the "OpenSSL" section in the handbook
(at "http://www.FreeBSD.org/handbook/openssl.html", for instance)
for instructions on how to obtain and install the FreeBSD
OpenSSL distribution.
*** Error code 1

>How-To-Repeat:
On a system without open_ssl (or remove /usr/lib/libcrypto.so
from your disk) run "make describe" on /usr/ports/japanese/w3m-ssl.

Or run "make index" in /usr/ports and the head of your INDEX file
will become like this:
(at "http://www.FreeBSD.org/handbook/openssl.html", for instance)|||||||
*** Error code 1|||||||
*** Error code 1|||||||
*** Error code 1|||||||
OpenSSL distribution.|||||||
Stop in /usr/ports/japanese.|||||||
Stop in /usr/ports.|||||||
Stop.|||||||

>Fix:
I've tried to see if it's possible to fix bsd.port.mk myself to not
the warning if the DEPENDS_TARGET is "describe", but it seemed always
to be "install":

At line 602 of /usr/ports/mk/bsd.port.mk:
  .if defined(USE_OPENSSL)
+ .if ${DEPENDS_TARGET} != describe
  .if ${OSVERSION} >= 400014
  .if !exists(/usr/lib/libcrypto.so)
  .BEGIN:
          @${ECHO} $< $> $* $@ ${DEPENDS_TARGET}
          @${ECHO} "This port requires the OpenSSL library, which is part of"
          @${ECHO} "the FreeBSD crypto distribution but not installed on your"
          @${ECHO} "machine. Please see the \"OpenSSL\" section in the handbook"
          @${ECHO} "(at \"http://www.FreeBSD.org/handbook/openssl.html\", for instance)"
          @${ECHO} "for instructions on how to obtain and install the FreeBSD"
          @${ECHO} "OpenSSL distribution."
          @${FALSE}
  .else
  [...]
+.endif

so yes, I've tried but I couldn't get it fixed, therefor I'm asking you for help.


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000601120928.D64E937B665>