Bug 188030 - security/openssl: Error creating links during installation
security/openssl: Error creating links during installation
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: Dirk Meyer
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-28 13:10 UTC by Pavel Volkov
Modified: 2014-03-29 09:15 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Volkov 2014-03-28 13:10:02 UTC
If you set GREP_OPTIONS=--ignore-case in your environment, your get next error during 'make install':

===>  Building package for openssl-1.0.1_9
Creating package /usr/obj/usr/ports/security/openssl/work/pkg/openssl-1.0.1_9.tbz
Registering depends:.
Creating bzip'd tar ball in '/usr/obj/usr/ports/security/openssl/work/pkg/openssl-1.0.1_9.tbz'
tar: man/man3/HMAC.3.gz: Cannot stat: No such file or directory
tar: man/man3/MD5.3.gz: Cannot stat: No such file or directory
tar: man/man3/MDC2.3.gz: Cannot stat: No such file or directory
tar: man/man3/PEM.3.gz: Cannot stat: No such file or directory
tar: man/man3/RC4.3.gz: Cannot stat: No such file or directory
tar: man/man3/SSL.3.gz: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
pkg_create: make_dist: tar command failed with code 256
*** [do-package] Error code 1

Stop in /usr/ports/security/openssl.
*** [install] Error code 1

Stop in /usr/ports/security/openssl.
Exit 1

Fix: 

FIX_POD=apps/cms.pod \
        apps/smime.pod \
        ssl/SSL_COMP_add_compression_method.pod \--rmRx6YujddLzyo1OrXO7oahBxWypx4HxN9IOHFh0qkB0kiE4
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

diff -ruN ../openssl.orig/Makefile ./Makefile
--- ../openssl.orig/Makefile    2014-03-28 14:52:11.000000000 +0400
+++ ./Makefile  2014-03-28 16:24:48.000000000 +0400
@@ -56,6 +56,9 @@
 SUB_FILES=     pkg-message
 OPENSSLDIR=    ${PREFIX}/openssl
+
+# for avoid --ignore-case options set in the user environment
+MAKE_ENV+=     GREP_OPTIONS=
How-To-Repeat: cd /usr/ports/security/openssl
setenv GREP_OPTIONS --ignore-case
make clean install
Comment 1 Edwin Groothuis freebsd_committer 2014-03-28 13:10:12 UTC
Responsible Changed
From-To: freebsd-ports-bugs->dinoex

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter freebsd_committer 2014-03-28 18:23:48 UTC
Author: dinoex
Date: Fri Mar 28 18:23:44 2014
New Revision: 349440
URL: http://svnweb.freebsd.org/changeset/ports/349440
QAT: https://qat.redports.org/buildarchive/r349440/

Log:
  - reset GREP_OPTIONS
  PR:		188030

Modified:
  head/security/openssl/Makefile

Modified: head/security/openssl/Makefile
==============================================================================
--- head/security/openssl/Makefile	Fri Mar 28 18:18:59 2014	(r349439)
+++ head/security/openssl/Makefile	Fri Mar 28 18:23:44 2014	(r349440)
@@ -52,7 +52,7 @@ NOPRECIOUSSOFTMAKEVARS=	Too many _MLINKS
 USES=		perl5
 USE_PERL5=	build
 MAKE_ARGS+=	WHOLE_ARCHIVE_FLAG=--whole-archive
-MAKE_ENV+=	LIBRPATH="${PREFIX}/lib"
+MAKE_ENV+=	LIBRPATH="${PREFIX}/lib" GREP_OPTIONS=
 SUB_FILES=	pkg-message
 OPENSSLDIR=	${PREFIX}/openssl
 
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Dirk Meyer freebsd_committer 2014-03-29 09:15:10 UTC
State Changed
From-To: open->closed

a fix has been committed, thanks.