Created attachment 208908 [details]
nginx-1.16.1_4,2 build log
While trying to build nginx-1.16.1_4,2 for FreeBSD 12.1 with poudriere I get configure_error. Attached is the build-log.
www_nginx_SET+=PASSENGER HTTP_AUTH_LDAP HTTP_AUTH_PAM LUA
the same here with 12.1 and CURRENT.
I am not sure, what you mean with this line:
> www_nginx_SET+=PASSENGER HTTP_AUTH_LDAP HTTP_AUTH_PAM LUA
I will look for a patch
(In reply to Jochen Neumeister from comment #1)
Those are just my build-options at the moment, but it seems like PASSENGER is the option that makes building impossible :)
Created attachment 209156 [details]
Please try the attached patch. I've modified "Makefile.extmod" to apply an extra patch to "system_calls.cpp" of the passenger module.
Created attachment 209157 [details]
Sorry, the attachment is a tar file.
(In reply to yani from comment #3)
thanks, the patch fixed it for me.
A commit references this bug:
Date: Fri Nov 15 09:15:04 UTC 2019
New revision: 517639
This fix a Problem when PASSENGER=on
src/cxx_supportlib/oxt/system_calls.cpp:135:9: note: expanded from macro 'CHECK_INTERRUPTION'
&& (!this_thread::syscalls_interruptable() \
/usr/include/c++/v1/__threading_support:465:11: note: candidate found by name lookup is 'std::__1::this_thread'
src/cxx_supportlib/vendor-modified/boost/thread/pthread/condition_variable.hpp:30:15: note: candidate found by name lookup is 'boost::this_thread'
Submitted by: email@example.com
Reported by: firstname.lastname@example.org
Sponsored by: Netzkommune GmbH
Thanks for the PR and the Patch :-)
I will add @osa as Maintainer for nginx-devel, i think Passenger has the same Problem on this Port
A commit references this bug:
Date: Fri Nov 15 15:38:09 UTC 2019
New revision: 517683
Merge the r517639 for third-party passenger module from the
www/nginx to fix the build. (*)
While I'm here sort pkg-plist.
PR: 241753 (*)
I apologize in advance for being ignorant and unknoweledgable on the ports update process.
I don't understand the patch process in this case.
I am currently on on the FreeBSD 12.1. with the 2019Q4 quarterly branch which is supposed to be the _stable_ branch. This problem with passenger has been bugging me since moving from 2019Q3 to 2019Q4. I am unable to built it and it has taken me days until I've finally found this entry.
Here's my question: Why is the fix not merged into the stable 2019Q4 branch? I mean, shouldn't it? So 2019Q4 becomes stable?
(In reply to Michael Kastner from comment #10)
thanks for your question.
Basically, we commit an update or a fix to the head branch of the FreeBSD ports tree. In case we have a security issue, we usually merge a fix committed to the head branch to a quarterly branch as well, this procedure call MFH (merge from head).
In this particular case a build issue with www/nginx has been reported and that's not a security issue. The fix has been committed to www/nginx and www/nginx-devel ports on Nov 15, 2019. And it hasn't gone to the 2019Q4 quarterly branch because there were no additional or formal request to do that.
For now, 2020Q1 is created and that one should contain the fix.
Please let me know if you have any questions.