Bug 207244 - security/php70-openssl fails to build
Summary: security/php70-openssl fails to build
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Martin Wilke
URL:
Keywords: needs-qa, patch
Depends on:
Blocks:
 
Reported: 2016-02-16 10:17 UTC by Mattia Basone
Modified: 2019-09-15 02:53 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (miwi)


Attachments
config.log from make install (72.35 KB, text/plain)
2016-02-16 10:17 UTC, Mattia Basone
no flags Details
build log of php70-openssl (14.14 KB, text/plain)
2016-02-16 10:37 UTC, rainer
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mattia Basone 2016-02-16 10:17:39 UTC
Created attachment 167074 [details]
config.log from make install

configure: error: Cannot find OpenSSL's <evp.h>
===>  Script "configure" failed unexpectedly.
Please report the problem to miwi@FreeBSD.org [maintainer] and attach the
"/usr/ports/security/php70-openssl/work/php-7.0.3/ext/openssl/config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make: stopped in /usr/ports/security/php70-openssl


evp.h:
root@freebsd:/usr/ports/security/php70-openssl # locate evp.h
/usr/include/openssl/evp.h
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2016-02-16 10:29:10 UTC
Hi,

In all my testings php70-openssl was working, have you any special configs in /etc/make.conf or /etc/src.conf?

Thanks.
Comment 2 rainer 2016-02-16 10:35:17 UTC
I guess this must be the case.
For me, php70-imap also fails (in addtion to php70-openssl).
Comment 3 rainer 2016-02-16 10:37:35 UTC
Created attachment 167076 [details]
build log of php70-openssl
Comment 4 Mattia Basone 2016-02-16 10:40:15 UTC
(In reply to Martin Wilke from comment #1)

Hi Martin,

I don't have /etc/src.conf set and the only option in my /etc/make.conf is "OPTIONS_UNSET=X11"
Comment 5 Martin Wilke freebsd_committer freebsd_triage 2016-02-16 10:41:58 UTC
Hi,

I think I know what happened.

Give me a bit.
Comment 6 Martin Wilke freebsd_committer freebsd_triage 2016-02-16 10:51:46 UTC
Hi again,

@mattia
Can you please test this in lang/php70/ rm files/patch-acinclude.m4, and php70 and then security/php70-openssl, please make sure you run make clean before.



@Rainer I know you building with dtrace enabled, this wont help you at this point. 

I suspect that I did something wrong with the patch-acinclude.

Please let me know.

Thanks.
Comment 7 Martin Wilke freebsd_committer freebsd_triage 2016-02-16 10:52:35 UTC
(In reply to Martin Wilke from comment #6)
sorry i mean to say rebuild php70 after removing the patch.
Comment 8 Mattia Basone 2016-02-16 11:13:13 UTC
(In reply to Martin Wilke from comment #6)

Following your steps the port has been successfully built!

Thank you
Comment 9 Martin Wilke freebsd_committer freebsd_triage 2016-02-16 11:16:43 UTC
(In reply to Mattia Basone from comment #8)

@ mattia Good, thank you!


@Rainer please try this patch https://people.freebsd.org/~miwi/patches/php70-fix-ssl.diff

Please let me know ;).

Thanks
Comment 10 rainer 2016-02-16 11:22:53 UTC
Because my build-box isn't that fast and because pkg got updated, too, it's building all my packages again. That build will be under way for some time.

I'll try your patch in the evening, probably.

Thanks so far
Comment 11 Martin Wilke freebsd_committer freebsd_triage 2016-02-16 11:48:16 UTC
(In reply to rainer from comment #10)

Okay thanks,

I'll build test both with and without dtrace and see if all is ok now, and update here.

Thanks all :)
Comment 13 commit-hook freebsd_committer freebsd_triage 2016-02-16 12:31:38 UTC
A commit references this bug:

Author: miwi
Date: Tue Feb 16 12:30:43 UTC 2016
New revision: 408988
URL: https://svnweb.freebsd.org/changeset/ports/408988

Log:
  - Fix build for -openssl and -imap

  PR:		207244

Changes:
  head/lang/php70/Makefile
  head/lang/php70/files/patch-acinclude.m4
Comment 14 Martin Wilke freebsd_committer freebsd_triage 2016-02-16 12:31:45 UTC
I have committed the patch, sorry for the problems. 

Thanks for your testing and feedback.

- Martin
Comment 15 commit-hook freebsd_committer freebsd_triage 2019-09-15 02:47:13 UTC
A commit references this bug:

Author: jgh
Date: Sun Sep 15 02:46:37 UTC 2019
New revision: 512086
URL: https://svnweb.freebsd.org/changeset/ports/512086

Log:
  - update to 0.7_2
  - code shift to github
  - update WWW along with pkg-descr
  - support docs and examples

  PR:		207244
  Reported by:	lapo@lapo.it, w.schwarzenfeld@utanet.at (WWW)

Changes:
  head/sysutils/zfs-replicate/Makefile
  head/sysutils/zfs-replicate/distinfo
  head/sysutils/zfs-replicate/pkg-descr
Comment 16 commit-hook freebsd_committer freebsd_triage 2019-09-15 02:53:15 UTC
A commit references this bug:

Author: jgh
Date: Sun Sep 15 02:52:22 UTC 2019
New revision: 512087
URL: https://svnweb.freebsd.org/changeset/ports/512087

Log:
  MFH: r512086

  - update to 0.7_2
  - code shift to github
  - update WWW along with pkg-descr
  - support docs and examples

  PR:		207244
  Reported by:	lapo@lapo.it, w.schwarzenfeld@utanet.at (WWW)

  Approved by:	ports-secteam (with hat)

Changes:
_U  branches/2019Q3/
  branches/2019Q3/sysutils/zfs-replicate/Makefile
  branches/2019Q3/sysutils/zfs-replicate/distinfo
  branches/2019Q3/sysutils/zfs-replicate/pkg-descr