Summary: | www/rubygem-passenger: fails to patch | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Remko Catersels <sirdice> | ||||
Component: | Individual Port(s) | Assignee: | Sergey A. Osokin <osa> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Many People | CC: | w.schwarzenfeld | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(osa) |
||||
Version: | Latest | ||||||
Hardware: | amd64 | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Remko Catersels
2016-07-13 09:08:51 UTC
Looking through the code, the patch and the reject, it looks like the patch isn't needed anymore. Removing it seems to work, the port builds again. I renamed the patch. Seems this patch is no more needed. The files does not exist. Seems there are more changes needed, fails near the end with: Warning: 'lib/ruby/gems/2.2/gems/passenger-5.0.29/buildout/apache2/mod_passenger.so' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Error: .la libraries found, port needs USES=libtool Error: /usr/local/lib/ruby/gems/2.2/gems/passenger-5.0.29/buildout/apache2/mod_passenger.so is linked to /usr/local/lib/libapr-1.so.0 from devel/apr1 but it is not declared as a dependency Warning: you need LIB_DEPENDS+=libapr-1.so:devel/apr1 Error: /usr/local/lib/ruby/gems/2.2/gems/passenger-5.0.29/buildout/apache2/mod_passenger.so is linked to /usr/local/lib/libaprutil-1.so.0 from devel/apr1 but it is not declared as a dependency Warning: you need LIB_DEPENDS+=libaprutil-1.so:devel/apr1 Error: /usr/local/lib/ruby/gems/2.2/gems/passenger-5.0.29/buildout/ruby/ruby-2.2.5-x86_64-freebsd/passenger_native_support.so is linked to /usr/local/lib/libunwind.so.8 from devel/libunwind but it is not declared as a dependency Warning: you need LIB_DEPENDS+=libunwind.so:devel/libunwind *** Error code 1 If add the LIB_DEPENDS and USES=libtool it compiles fien to the end and installs. It doesn't fail for me, it builds fine. I am getting some warnings about NOPORTDOCS but this doesn't seem to have an impact. Port is now actually running on several production machines. One major difference is that we use Ruby 2.3 as default. For completeness sake I've attached the full, successful, build logs. Created attachment 172458 [details]
Poudriere build log for rubygem-passenger-5.0.29
The error messages were in the port. Both the patch error and the other. But I have DEVELOPER=yes in /etc/make.conf. A commit references this bug: Author: osa Date: Wed Jul 13 17:03:01 UTC 2016 New revision: 418494 URL: https://svnweb.freebsd.org/changeset/ports/418494 Log: Actually remove needless patch. PR: 211075 Changes: head/www/rubygem-passenger/files/patch-cxx_portality.rb Thanks for report, the needless patch has been removed. |