Re: nginx is not linking against libressl
On Wed, May 10, 2017 at 11:13:05PM +, Sergey A. Osokin wrote: > On Wed, May 10, 2017 at 10:56:26PM +0000, Sergey A. Osokin wrote: > > On Wed, May 10, 2017 at 04:04:52PM -0600, Adam Weinberger wrote: > > > > On 10 May, 2017, at 15:51, Sergey A. Osokin wrote: > > > > > > > > can't reproduce it on my laptop with FreeBSD 11.0-STABLE #5: Sun Apr 16. > > > > Would you mind to raise a problem report with details, i.e. OS version, > > > > ident Makefile, config.log, etc. > > > > > > > > Thanks in advance. > > > > > > Sergey - > > > > > > Set DEFAULT_VERSIONS= ssl=libressl, and then turn off the IPV6 option in > > > nginx. It's reproducible for me. > > > > Got it, thanks Adam for the point, looks like a regression. Patch. -- Sergey Osokin o...@freebsd.org Index: Makefile === --- Makefile(revision 440609) +++ Makefile(working copy) @@ -3,7 +3,7 @@ PORTNAME= nginx PORTVERSION= 1.12.0 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 2 CATEGORIES=www MASTER_SITES= http://nginx.org/download/ @@ -307,7 +307,7 @@ .endif .if empty(PORT_OPTIONS:MIPV6) -CONFIGURE_ARGS+=--with-cc-opt="-DNGX_HAVE_INET6=0" +CONFIGURE_ARGS+=--with-cc-opt="-DNGX_HAVE_INET6=0 -I ${LOCALBASE}/include" .else CATEGORIES+= ipv6 .endif ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: nginx is not linking against libressl
On Wed, May 10, 2017 at 10:56:26PM +, Sergey A. Osokin wrote: > On Wed, May 10, 2017 at 04:04:52PM -0600, Adam Weinberger wrote: > > > On 10 May, 2017, at 15:51, Sergey A. Osokin wrote: > > > > > > can't reproduce it on my laptop with FreeBSD 11.0-STABLE #5: Sun Apr 16. > > > Would you mind to raise a problem report with details, i.e. OS version, > > > ident Makefile, config.log, etc. > > > > > > Thanks in advance. > > > > Sergey - > > > > Set DEFAULT_VERSIONS= ssl=libressl, and then turn off the IPV6 option in > > nginx. It's reproducible for me. > > Got it, thanks Adam for the point, looks like a regression. https://trac.nginx.org/nginx/ticket/1268 -- Sergey Osokin o...@freebsd.org ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: nginx is not linking against libressl
On Wed, May 10, 2017 at 04:04:52PM -0600, Adam Weinberger wrote: > > On 10 May, 2017, at 15:51, Sergey A. Osokin wrote: > > > > can't reproduce it on my laptop with FreeBSD 11.0-STABLE #5: Sun Apr 16. > > Would you mind to raise a problem report with details, i.e. OS version, > > ident Makefile, config.log, etc. > > > > Thanks in advance. > > Sergey - > > Set DEFAULT_VERSIONS= ssl=libressl, and then turn off the IPV6 option in > nginx. It's reproducible for me. Got it, thanks Adam for the point, looks like a regression. -- Sergey Osokin o...@freebsd.org ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: nginx is not linking against libressl
Hi, can't reproduce it on my laptop with FreeBSD 11.0-STABLE #5: Sun Apr 16. Would you mind to raise a problem report with details, i.e. OS version, ident Makefile, config.log, etc. Thanks in advance. -- Sergey Osokin o...@freebsd.org On Sun, May 07, 2017 at 06:05:22PM -0400, j...@ohlste.in wrote: > Hello, > > On 05/07/2017 03:55 PM, abi wrote: > > Hello, > > > > I tried to upgrade my jail to the latest versions of ports and nginx is > > not building correctly. > > > > objs/src/event/ngx_event_openssl.o: In function `ngx_ssl_get_ciphers': > > src/event/ngx_event_openssl.c:(.text+0x3de6): undefined reference to > > `SSL_CIPHER_find' > > src/event/ngx_event_openssl.c:(.text+0x3e66): undefined reference to > > `SSL_CIPHER_find' > > cc: error: linker command failed with exit code 1 (use -v to see > > invocation) > > *** Error code 1 > > It looks like it should build. I don't have much to add, but I'm going > to cc the maintainer. > > > > > make.conf > > OPTIONS_UNSET+= DOCS EXAMPLES X11 IPV6 > > DEFAULT_VERSIONS+=ssl=libressl > > > > WRKDIRPREFIX= /var/ports > > DISTDIR= /var/ports/distfiles > > PACKAGES= /var/ports/packages > > INDEXDIR= /usr/ports > > > > options > > OPTIONS_FILE_UNSET+=DSO > > OPTIONS_FILE_UNSET+=DEBUG > > OPTIONS_FILE_UNSET+=DEBUGLOG > > OPTIONS_FILE_SET+=FILE_AIO > > OPTIONS_FILE_UNSET+=IPV6 > > OPTIONS_FILE_UNSET+=GOOGLE_PERFTOOLS > > OPTIONS_FILE_SET+=HTTP > > OPTIONS_FILE_UNSET+=HTTP_ADDITION > > OPTIONS_FILE_UNSET+=HTTP_AUTH_REQ > > OPTIONS_FILE_UNSET+=HTTP_CACHE > > OPTIONS_FILE_UNSET+=HTTP_DAV > > OPTIONS_FILE_UNSET+=HTTP_FLV > > OPTIONS_FILE_UNSET+=HTTP_GEOIP > > OPTIONS_FILE_UNSET+=HTTP_GZIP_STATIC > > OPTIONS_FILE_UNSET+=HTTP_GUNZIP_FILTER > > OPTIONS_FILE_UNSET+=HTTP_IMAGE_FILTER > > OPTIONS_FILE_UNSET+=HTTP_MP4 > > OPTIONS_FILE_UNSET+=HTTP_PERL > > OPTIONS_FILE_UNSET+=HTTP_RANDOM_INDEX > > OPTIONS_FILE_UNSET+=HTTP_REALIP > > OPTIONS_FILE_UNSET+=HTTP_REWRITE > > OPTIONS_FILE_UNSET+=HTTP_SECURE_LINK > > OPTIONS_FILE_UNSET+=HTTP_SLICE > > OPTIONS_FILE_SET+=HTTP_SSL > > OPTIONS_FILE_UNSET+=HTTP_STATUS > > OPTIONS_FILE_UNSET+=HTTP_SUB > > OPTIONS_FILE_UNSET+=HTTP_XSLT > > OPTIONS_FILE_UNSET+=MAIL > > OPTIONS_FILE_UNSET+=MAIL_IMAP > > OPTIONS_FILE_UNSET+=MAIL_POP3 > > OPTIONS_FILE_UNSET+=MAIL_SMTP > > OPTIONS_FILE_UNSET+=MAIL_SSL > > OPTIONS_FILE_SET+=HTTPV2 > > OPTIONS_FILE_UNSET+=NJS > > OPTIONS_FILE_UNSET+=STREAM > > OPTIONS_FILE_UNSET+=STREAM_SSL > > OPTIONS_FILE_UNSET+=STREAM_SSL_PREREAD > > OPTIONS_FILE_UNSET+=THREADS > > OPTIONS_FILE_UNSET+=WWW > > OPTIONS_FILE_UNSET+=AJP > > OPTIONS_FILE_UNSET+=AWS_AUTH > > OPTIONS_FILE_UNSET+=CACHE_PURGE > > OPTIONS_FILE_UNSET+=CLOJURE > > OPTIONS_FILE_UNSET+=CT > > OPTIONS_FILE_UNSET+=ECHO > > OPTIONS_FILE_UNSET+=FASTDFS > > OPTIONS_FILE_UNSET+=HEADERS_MORE > > OPTIONS_FILE_UNSET+=HTTP_ACCEPT_LANGUAGE > > OPTIONS_FILE_UNSET+=HTTP_AUTH_DIGEST > > OPTIONS_FILE_UNSET+=HTTP_AUTH_KRB5 > > OPTIONS_FILE_UNSET+=HTTP_AUTH_LDAP > > OPTIONS_FILE_UNSET+=HTTP_AUTH_PAM > > OPTIONS_FILE_UNSET+=HTTP_DAV_EXT > > OPTIONS_FILE_UNSET+=HTTP_EVAL > > OPTIONS_FILE_UNSET+=HTTP_FANCYINDEX > > OPTIONS_FILE_UNSET+=HTTP_FOOTER > > OPTIONS_FILE_UNSET+=HTTP_GEOIP2 > > OPTIONS_FILE_UNSET+=HTTP_JSON_STATUS > > OPTIONS_FILE_UNSET+=HTTP_MOGILEFS > > OPTIONS_FILE_UNSET+=HTTP_MP4_H264 > > OPTIONS_FILE_UNSET+=HTTP_NOTICE > > OPTIONS_FILE_UNSET+=HTTP_PUSH > > OPTIONS_FILE_UNSET+=HTTP_PUSH_STREAM > > OPTIONS_FILE_UNSET+=HTTP_REDIS > > OPTIONS_FILE_UNSET+=HTTP_RESPONSE > > OPTIONS_FILE_UNSET+=HTTP_SUBS_FILTER > > OPTIONS_FILE_UNSET+=HTTP_TARANTOOL > > OPTIONS_FILE_UNSET+=HTTP_UPLOAD > > OPTIONS_FILE_UNSET+=HTTP_UPLOAD_PROGRESS > > OPTIONS_FILE_UNSET+=HTTP_UPSTREAM_CHECK > > OPTIONS_FILE_UNSET+=HTTP_UPSTREAM_FAIR > > OPTIONS_FILE_UNSET+=HTTP_UPSTREAM_STICKY > > OPTIONS_FILE_UNSET+=HTTP_VIDEO_THUMBEXTRACTOR > > OPTIONS_FILE_UNSET+=HTTP_ZIP > > OPTIONS_FILE_UNSET+=ARRAYVAR > > OPTIONS_FILE_UNSET+=BROTLI > > OPTIONS_FILE_UNSET+=DRIZZLE > > OPTIONS_FILE_UNSET+=DYNAMIC_UPSTREAM > > OPTIONS_FILE_UNSET+=ENCRYPTSESSION > > OPTIONS_FILE_UNSET+=FORMINPUT > > OPTIONS_FILE_UNSET+=GRIDFS > > OPTIONS_FILE_UNSET+=ICONV > > OPTIONS_FILE_UNSET+=LET > > OPTIONS_FILE_UNSET+=LUA > > OPTIONS_FILE_UNSET+=MEMC > > OPTIONS_FILE_UNSET+=MODSECURITY > > OPTIONS_FILE_UNSET+=NAXSI > > OPTIONS_FILE_UNSET+=PASSENGER > > OPTIONS_FILE_UNSET+=POSTGRES > > OPTIONS_FILE_UNSET+=RDS_CSV > > OPTIONS_FILE_UNSET+=RDS_JSON > > OPTIONS_FILE_UNSET+=REDIS2 > > OPTIONS_FILE_UNSET+=RTMP > > OPTIONS_FILE_UNSET+=SET_MISC > > OPTIONS_FILE_UNSET+=SFLOW > > OPTIONS_FILE_UNSET+=SHIBBOLETH > > OPTIONS_FILE_UNSET+=SLOWFS_CACHE > > OPTIONS_FILE_UNSET+=SMALL_LIGHT > > OPTIONS_FILE_UNSET+=SRCACHE > > OPTIONS_FILE_UNSET+=X11 > > OPTIONS_FILE_UNSET+=XSS > > > > Anyone has the same problem? > > > -- > Jim Ohlstein ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freeb
Re: www/nginx-devel build failure after libbrotli update
Hi Jim, On Sat, Apr 16, 2016 at 06:02:19PM -0400, Jim Ohlstein wrote: > On 4/16/16 4:02 PM, Sergey A. Osokin wrote: > > > > could you show the content of the nginx-devel-1.9.14_1/objs/autoconf.err > > file, > > it looks like we have bad release of the devel/libbrotli... > > > > Thanks in advance. > > http://bit.ly/1SdU1Ai Here is the issue: checking for Brotli library /usr/local/lib/libbrotlienc.so: undefined reference to `brotli::BrotliCompressFragmentTwoPass(unsigned char const*, unsigned long, bool, unsigned int*, unsigned char*, int*, unsigned long, unsigned long*, unsigned char*)' /usr/local/lib/libbrotlienc.so: undefined reference to `brotli::BrotliCompressFragmentFast(unsigned char const*, unsigned long, bool, int*, unsigned long, unsigned char*, unsigned short*, unsigned long*, unsigned char*, unsigned long*, unsigned char*)' cc: error: linker command failed with exit code 1 (use -v to see invocation) - I've just committed a fix for devel/libbrotli, please update the ports tree and recompile devel/libbrotli. Thanks for report! -- Sergey A. Osokin o...@freebsd.org ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: www/nginx-devel build failure after libbrotli update
Hi Jim, could you show the content of the nginx-devel-1.9.14_1/objs/autoconf.err file, it looks like we have bad release of the devel/libbrotli... Thanks in advance. -- Sergey A. Osokin o...@freebsd.org On Sat, Apr 16, 2016 at 08:26:16AM -0400, Jim Ohlstein wrote: > Hello, > > I have done this twice and gotten the same error on 10.3-STABLE using > poudriere: > > [snip] > > ===> nginx-devel-1.9.14_1 depends on shared library: libpcre.so - > found (/usr/local/lib/libpcre.so) > ===> Returning to build of nginx-devel-1.9.14_1 > ===> nginx-devel-1.9.14_1 depends on shared library: libbrotlidec.so - > not found > ===> Installing existing package /packages/All/libbrotli-1.0_1.txz > [pkg.jlkhosting.com] Installing libbrotli-1.0_1... > [pkg.jlkhosting.com] Extracting libbrotli-1.0_1: .. done > ===> nginx-devel-1.9.14_1 depends on shared library: libbrotlidec.so - > found (/usr/local/lib/libbrotlidec.so) > ===> Returning to build of nginx-devel-1.9.14_1 > ===> nginx-devel-1.9.14_1 depends on shared library: libbrotlienc.so - > found (/usr/local/lib/libbrotlienc.so) > === > [snip] > ... > adding module in /wrkdirs/usr/ports/www/nginx-devel/work/ngx_brotli-2fc6f12 > checking for Brotli library ... not found > checking for Brotli library in /usr/local/ ... not found > checking for Brotli library in /usr/pkg/ ... not found > checking for Brotli library in /opt/local/ ... not found > ./configure: error: ngx_brotli filter module requires Brotli library. > ===> Script "configure" failed unexpectedly. > > -- > Jim Ohlstein ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Building www/rubygem-passenger inside Poudriere
Hi Patrick, I hope you're doing well too. The issue has been already reported https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199953 I'm closely working with Bryan Drewery on the issue. -- Sergey A. Osokin o...@freebsd.org On Mon, May 11, 2015 at 01:15:57PM -0700, Patrick Gibson wrote: > I now seem unable to get www/rubygem-passenger built within Poudriere. It > fails with the following error: > > >> Ignoring www/rubygem-passenger: rebuild nginx with third-party 5.0.7 > module, current verion is nginx: not found > > build of www/rubygem-passenger ended at Mon May 11 12:55:48 PDT 2015 > > > The Makefile has: > > > .if ${PORT_OPTIONS:MNGINX} > > NGINXVERSION!= ${PKG_INFO} -qO www/nginx-devel 2>/dev/null; ${ECHO_CMD} > > NGXPASSENGER!= nginx -V 2>&1 | sed 's/.*passenger-\(.*\)\/ext.*/\1/g' | > tail -1 > > .if empty(NGINXVERSION) > > BUILD_DEPENDS+= nginx:${PORTSDIR}/www/nginx > > .else > > BUILD_DEPENDS+= nginx:${PORTSDIR}/www/nginx-devel > > .endif > > .if empty(NGXPASSENGER) > > IGNORE= rebuild nginx with latest passenger module > > .endif > > .if (${NGXPASSENGER} != ${PORTVERSION}) > > IGNORE= rebuild nginx with third-party ${PORTVERSION} module, current > verion is ${NGXPASSENGER} > > .endif > > .endif > > ... Which seems to assume nginx is already installed. Is there some special > way of building this in Poudriere for pkgng packages? > > > It was changed here: > http://svnweb.freebsd.org/ports/head/www/rubygem-passenger/Makefile?r1=384951&r2=384950&pathrev=384951 > > > Full Poudriere log: > > > --CONFIGURE_ARGS-- > > > --End CONFIGURE_ARGS-- > > > --CONFIGURE_ENV-- > > XDG_DATA_HOME=/wrkdirs/usr/ports/www/rubygem-passenger/work > XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/rubygem-passenger/work > HOME=/wrkdirs/usr/ports/www/rubygem-passenger/work TMPDIR="/tmp" > SHELL=/bin/sh CONFIG_SHELL=/bin/sh > > --End CONFIGURE_ENV-- > > > --MAKE_ENV-- > > XDG_DATA_HOME=/wrkdirs/usr/ports/www/rubygem-passenger/work > XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/rubygem-passenger/work > HOME=/wrkdirs/usr/ports/www/rubygem-passenger/work TMPDIR="/tmp" NO_PIE=yes > SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local > LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fsta > > ck-protector -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" > -fstack-protector" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector > -fno-strict-aliasing " MANPREFIX="/usr/local" > BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m > 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INST > > ALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" > > --End MAKE_ENV-- > > > --PLIST_SUB-- > > RUBY_LIBDIR="lib/ruby/2.1" > > RUBY_ARCHLIBDIR="lib/ruby/2.1/amd64-freebsd10" > > RUBY_SITELIBDIR="lib/ruby/site_ruby/2.1" > > RUBY_SITEARCHLIBDIR="lib/ruby/site_ruby/2.1/amd64-freebsd10" > > RUBY_VENDORLIBDIR="lib/ruby/vendor_ruby/2.1" > > RUBY_VENDORARCHLIBDIR="lib/ruby/vendor_ruby/2.1/amd64-freebsd10" > > RUBY_MODDOCDIR="share/doc/ruby21/passenger" > > RUBY_MODEXAMPLESDIR="share/examples/ruby21/passenger" > > RUBY_DOCDIR="share/doc/ruby21" > > RUBY_EXAMPLESDIR="share/examples/ruby21" > > RUBY_RIDIR="share/ri/2.1/system" > > RUBY_SITERIDIR="share/ri/2.1/site" > > RUBY_ELISPDIR="lib/ruby/elisp" > > RUBY_VERSION="2.1.6" > > RUBY_VER="2.1" > > RUBY_SHLIBVER="21" > > RUBY_ARCH="amd64-freebsd10" > > RUBY_SUFFIX="21" > > RUBY_NAME="ruby21" > > RUBY_DEFAULT_SUFFIX="21" > > RUBY20="@comment > > " > > RUBY21="" > > RUBY22="@comment > > " > > PORTVERSION="5.0.7" > > REV="" > > GEMS_BASE_DIR="lib/ruby/gems/2.1" > > GEMS_DIR="lib/ruby/gems/2.1/gems" > > DOC_DIR="lib/ruby/gems/2.1/doc" > > CACHE_DIR="lib/ruby/gems/2.1/cache" > > SPEC_DIR="lib/ruby/gems/2.1/specifications" > > EXT_DIR="lib/ruby/gems/2.1/extensions" > > PORT="passenger-5.0.7" > > GEM_NAME="passenger-5.0.7" > > GEM_LIB_DIR="lib/ruby/gems/2.1/gems/passeng
Re: www/nginx-devel Name Change
Hi Robert, On Wed, Mar 04, 2015 at 04:52:58PM -0500, Robert Simmons wrote: > The port www/nginx-devel should really be renamed nginx-mainline. It > is definitely not the development branch as is explained by the > upstream project. Calling it devel may cause users to avoid using this > port over the www/nginx port. > > I have a detailed explanation of this in a bug report here: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196480 > > Does this seem logical? Objection. The nginx project basically provides two versions of nginx: stable and mainline. New releases of the stable version contains bug and security fixes. The mainline usually introduces a bugs in a new features. This is why it has been marked with '-devel' suffix. For stable version FreeBSD ports tree historycally uses the same name as a software product has been named by author, for development version with '-devel' prefix. Also, I see no reason why user may cause to avoid using the www/nginx-devel port. Think it's always up to user to use or not to use any port from FreeBSD ports tree as well as FreeBSD operating system. -- Sergey A. Osokin o...@freebsd.org ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: FreeBSD Port: rubygem-passenger-4.0.41_2
Hi Steven, unfortunately your version is different, especially this part of the code: SUB_LIST+= GEM_LIB_DIR=${GEM_LIB_DIR} RUBY=${RUBY} -SUB_FILES= pkg-message +.if ${PORT_OPTIONS:MNGINX} +SUB_FILES+=pkg-message-nginx +PKGMESSAGE=pkg-message-nginx +.elif defined(WITH_APACHEPORT) +SUB_FILES+=pkg-message-apache +PKGMESSAGE=pkg-message-apache +.endif Please explain what's the WITH_APACHEPORT knob, also, what's the pkg-message-apache file, missing from your original patch. And anyway. On the staging phase I have following error: ===> Staging for rubygem-passenger-4.0.41_3 ===> rubygem-passenger-4.0.41_3 depends on package: rubygem-fastthread>=1.0.7 - found ===> rubygem-passenger-4.0.41_3 depends on package: rubygem-rack>=1.4.5 - found ===> rubygem-passenger-4.0.41_3 depends on package: rubygem-daemon_controller>=1.2.0 - found ===> rubygem-passenger-4.0.41_3 depends on file: /usr/local/bin/gem19 - found ===> rubygem-passenger-4.0.41_3 depends on file: /usr/local/bin/ruby19 - found ===> rubygem-passenger-4.0.41_3 depends on file: /usr/local/sbin/apxs - found ===> Generating temporary packing list Building native extensions. This could take a while... Successfully installed passenger-4.0.41 1 gem installed Installing RDoc documentation for passenger-4.0.41... (CC=clang CXX=clang++ /usr/home/osa/ports/www/rubygem-passenger/work/stage/usr/local/bin/passenger-install-apache2-module --auto) /usr/local/lib/ruby/site_ruby/1.9/rubygems/dependency.rb:247:in `to_specs': Could not find passenger (>= 0) amongst [daemon_controller-1.2.0, fastthread-1.0.7, rack-1.4.5, rake-10.2.2] (Gem::LoadError) from /usr/local/lib/ruby/site_ruby/1.9/rubygems/dependency.rb:256:in `to_spec' from /usr/local/lib/ruby/site_ruby/1.9/rubygems.rb:1231:in `gem' from /usr/home/osa/ports/www/rubygem-passenger/work/stage/usr/local/bin/passenger-install-apache2-module:22:in `' *** Error code 1 Any idea? -- Sergey A. Osokin o...@freebsd.org. On Tue, Apr 15, 2014 at 12:59:14AM +0100, Steven Hartland wrote: > Hi Sergey, could you clarify which parts you believe are features? > > I know there are a number of changes but all of them I'd class as fixes > and not really features. > > For reference here's a description of the changes:- > > * Added missing license > * Display the correct install message for both nginx and apache > * Fix staging build of nginx, apache and link components > * Ensure download_cache is included in the package which prevents warning > on removal due to failure to delete directory. > * Updated LIB_DEPENDS to latest recommended format > > Just to be sure we're both talking about the same changes I've attached > the latest version for reference. > >Regards >Steve > - Original Message - From: "Sergey A. Osokin" > To: "Steven Hartland" > Cc: "FreeBSD Ports" ; "Scot Hetzel" ; > "David Keller" > Sent: Tuesday, April 15, 2014 12:00 AM > Subject: Re: FreeBSD Port: rubygem-passenger-4.0.41_2 > > > >Hi Steven, > > > >unfortunately, your patch is wrong and this is why I can't commit your > >changes. > > > >What's wrong in your patch? You have mixed features and bugfixes in one > >patch. > >Please provide bugfix only patch. > > > >-- > >ozz > > > >On Sun, Apr 13, 2014 at 12:28:41PM +0100, Steven Hartland wrote: > >>- Original Message - From: "David Keller" > >> > >> > >>>Hi Sergey, > >>> > >>>It's not related to gem dependency error but the symlink creation > >>>might be incorrect: > >>>${LN} -s ${GEM_LIB_DIR} ${STAGEDIR}${PREFIX}/${GEMS_DIR}/${PORTNAME} > >>> > >>>Will create the following symlink: > >>>/usr/local/lib/ruby/gems/1.9/gems/passenger -> > >>>lib/ruby/gems/1.9/gems/passenger-4.0.41 > >>> > >>>Rather than: > >>>/usr/local/lib/ruby/gems/1.9/gems/passenger -> > >>>/usr/local/lib/ruby/gems/1.9/gems/passenger-4.0.41 > >>> > >>>Or: > >>>/usr/local/lib/ruby/gems/1.9/gems/passenger -> passenger-4.0.41 > >>> > >>> > >>>You might prefer using: > >>>${LN} -s ${STAGEDIR}${PREFIX}/${GEMS_DIR}/${GEM_NAME} > >>>${STAGEDIR}${PREFIX}/${GEMS_DIR}/${PORTNAME} > >>> > >>>Or even: > >>>${LN} -s ${GEM_NAME} ${STAGEDIR}${PREFIX}/${GEMS_DIR}/${PORTNAME} > >> > >>My current version has: > >>(cd ${STAGEDIR}${PREFIX}/${GEMS_DIR} && ${LN} -s ${GEM_NAME} ${PORTNAME}
Re: FreeBSD Port: rubygem-passenger-4.0.41_2
Hi Steven, unfortunately, your patch is wrong and this is why I can't commit your changes. What's wrong in your patch? You have mixed features and bugfixes in one patch. Please provide bugfix only patch. -- ozz On Sun, Apr 13, 2014 at 12:28:41PM +0100, Steven Hartland wrote: > - Original Message - From: "David Keller" > > > >Hi Sergey, > > > >It's not related to gem dependency error but the symlink creation > >might be incorrect: > >${LN} -s ${GEM_LIB_DIR} ${STAGEDIR}${PREFIX}/${GEMS_DIR}/${PORTNAME} > > > >Will create the following symlink: > >/usr/local/lib/ruby/gems/1.9/gems/passenger -> > >lib/ruby/gems/1.9/gems/passenger-4.0.41 > > > >Rather than: > >/usr/local/lib/ruby/gems/1.9/gems/passenger -> > >/usr/local/lib/ruby/gems/1.9/gems/passenger-4.0.41 > > > >Or: > >/usr/local/lib/ruby/gems/1.9/gems/passenger -> passenger-4.0.41 > > > > > >You might prefer using: > >${LN} -s ${STAGEDIR}${PREFIX}/${GEMS_DIR}/${GEM_NAME} > >${STAGEDIR}${PREFIX}/${GEMS_DIR}/${PORTNAME} > > > >Or even: > >${LN} -s ${GEM_NAME} ${STAGEDIR}${PREFIX}/${GEMS_DIR}/${PORTNAME} > > My current version has: > (cd ${STAGEDIR}${PREFIX}/${GEMS_DIR} && ${LN} -s ${GEM_NAME} ${PORTNAME}) > > Which I will create: > /usr/local/lib/ruby/gems/1.9/gems/passenger -> passenger-4.0.41 > > @Sergey: For your apache module problem try the attached patch / full > version which fixes that for me. > > I'd previously only ever built the nginx version and looks like the > apache2 module build was broken when stage support was added. > > I've confirmed it builds but I don't have an apache2 install to test > fully with here so if you could let me know if it works and I'll get all > the changes checked in. > >Regards >Steve ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: FreeBSD Port: rubygem-passenger-4.0.41_2
Hi David, kindly provide a patch. -- ozz On Sun, Apr 13, 2014 at 12:23:56PM +0200, David Keller wrote: > Hi Sergey, > > It's not related to gem dependency error but the symlink creation > might be incorrect: > ${LN} -s ${GEM_LIB_DIR} ${STAGEDIR}${PREFIX}/${GEMS_DIR}/${PORTNAME} > > Will create the following symlink: > /usr/local/lib/ruby/gems/1.9/gems/passenger -> > lib/ruby/gems/1.9/gems/passenger-4.0.41 > > Rather than: > /usr/local/lib/ruby/gems/1.9/gems/passenger -> > /usr/local/lib/ruby/gems/1.9/gems/passenger-4.0.41 > > Or: > /usr/local/lib/ruby/gems/1.9/gems/passenger -> passenger-4.0.41 > > > You might prefer using: > ${LN} -s ${STAGEDIR}${PREFIX}/${GEMS_DIR}/${GEM_NAME} > ${STAGEDIR}${PREFIX}/${GEMS_DIR}/${PORTNAME} > > Or even: > ${LN} -s ${GEM_NAME} ${STAGEDIR}${PREFIX}/${GEMS_DIR}/${PORTNAME} > > David > > On Sun, Apr 13, 2014 at 4:13 AM, Sergey A. Osokin wrote: > > On Sat, Apr 12, 2014 at 03:09:04AM -0500, Scot Hetzel wrote: > >> On Fri, Apr 11, 2014 at 5:51 PM, Steven Hartland > >> wrote: > >> > The change is from :N -> :M > >> > .if ${PORT_OPTIONS:MDEBUG} > >> > > >> - Select only those words that match DEBUG > >> > >> > Which occurs 220 in the port tree and: > >> > > >> > .if ${PORT_OPTIONS:NDEBUG} > >> > > >> - Select words that don't match DEBUG > >> > >> > Which only occurs twice, so TBH I assumed it was a typo given every other > >> > option uses PORTOPTIONS:M${option} > >> > > >> > Unfortunately the docs don't seem to provide any clarification > >> > http://www.freebsd.org/doc/en/books/porters-handbook/makefile-options.html > >> > so if anyone could chime in with some details on the exact meanings that > >> > would be most appreciated. > >> > > >> You have to read the make(1) man page: > >> > >> http://www.freebsd.org/cgi/man.cgi?query=make&sektion=1 > > > > So, the patch is here. > > > > But now I've got following error: > > > > x1% sudo make install > > ===> Staging for rubygem-passenger-4.0.41_3 > > ===> rubygem-passenger-4.0.41_3 depends on package: > > rubygem-fastthread>=1.0.7 - found > > ===> rubygem-passenger-4.0.41_3 depends on package: rubygem-rack>=1.4.5 - > > found > > ===> rubygem-passenger-4.0.41_3 depends on package: > > rubygem-daemon_controller>=1.2.0 - found > > ===> rubygem-passenger-4.0.41_3 depends on file: /usr/local/bin/gem19 - > > found > > ===> rubygem-passenger-4.0.41_3 depends on file: /usr/local/bin/ruby19 - > > found > > ===> rubygem-passenger-4.0.41_3 depends on file: /usr/local/sbin/apxs - > > found > > ===> rubygem-passenger-4.0.41_3 depends on shared library: libeio.so - > > found > > ===> rubygem-passenger-4.0.41_3 depends on shared library: libev.so - > > found > > ===> rubygem-passenger-4.0.41_3 depends on shared library: libcurl.so - > > found > > ===> Generating temporary packing list > > Building native extensions. This could take a while... > > Successfully installed passenger-4.0.41 > > 1 gem installed > > Installing RDoc documentation for passenger-4.0.41... > > (CC=clang CXX=clang++ > > /usr/home/osa/ports/www/rubygem-passenger/work/stage/usr/local/bin/passenger-install-apache2-module > > --auto) > > /usr/local/lib/ruby/site_ruby/1.9/rubygems/dependency.rb:247:in `to_specs': > > Could not find passenger (>= 0) amongst [daemon_controller-1.2.0, > > fastthread-1.0.7, rack-1.4.5, rake-10.2.2] (Gem::LoadError) > > from > > /usr/local/lib/ruby/site_ruby/1.9/rubygems/dependency.rb:256:in `to_spec' > > from /usr/local/lib/ruby/site_ruby/1.9/rubygems.rb:1231:in `gem' > > from > > /usr/home/osa/ports/www/rubygem-passenger/work/stage/usr/local/bin/passenger-install-apache2-module:22:in > > `' > > *** Error code 1 > > > > Stop. > > > > Any idea what's wrong here? > > > > Index: Makefile > > === > > --- Makefile(revision 351090) > > +++ Makefile(working copy) > > @@ -3,7 +3,7 @@ > > > > PORTNAME= passenger > > PORTVERSION= 4.0.41 > > -PORTREVISION= 2 > > +PORTREVISION= 3 > > CATEGORIES=www rubygems > > MASTER_SITES= RG > > PKGNAMEPREFIX= rubygem- > > @@ -39,11 +39,11 @@ >
Re: FreeBSD Port: rubygem-passenger-4.0.41_2
On Sat, Apr 12, 2014 at 03:09:04AM -0500, Scot Hetzel wrote: > On Fri, Apr 11, 2014 at 5:51 PM, Steven Hartland > wrote: > > The change is from :N -> :M > > .if ${PORT_OPTIONS:MDEBUG} > > > - Select only those words that match DEBUG > > > Which occurs 220 in the port tree and: > > > > .if ${PORT_OPTIONS:NDEBUG} > > > - Select words that don't match DEBUG > > > Which only occurs twice, so TBH I assumed it was a typo given every other > > option uses PORTOPTIONS:M${option} > > > > Unfortunately the docs don't seem to provide any clarification > > http://www.freebsd.org/doc/en/books/porters-handbook/makefile-options.html > > so if anyone could chime in with some details on the exact meanings that > > would be most appreciated. > > > You have to read the make(1) man page: > > http://www.freebsd.org/cgi/man.cgi?query=make&sektion=1 So, the patch is here. But now I've got following error: x1% sudo make install ===> Staging for rubygem-passenger-4.0.41_3 ===> rubygem-passenger-4.0.41_3 depends on package: rubygem-fastthread>=1.0.7 - found ===> rubygem-passenger-4.0.41_3 depends on package: rubygem-rack>=1.4.5 - found ===> rubygem-passenger-4.0.41_3 depends on package: rubygem-daemon_controller>=1.2.0 - found ===> rubygem-passenger-4.0.41_3 depends on file: /usr/local/bin/gem19 - found ===> rubygem-passenger-4.0.41_3 depends on file: /usr/local/bin/ruby19 - found ===> rubygem-passenger-4.0.41_3 depends on file: /usr/local/sbin/apxs - found ===> rubygem-passenger-4.0.41_3 depends on shared library: libeio.so - found ===> rubygem-passenger-4.0.41_3 depends on shared library: libev.so - found ===> rubygem-passenger-4.0.41_3 depends on shared library: libcurl.so - found ===> Generating temporary packing list Building native extensions. This could take a while... Successfully installed passenger-4.0.41 1 gem installed Installing RDoc documentation for passenger-4.0.41... (CC=clang CXX=clang++ /usr/home/osa/ports/www/rubygem-passenger/work/stage/usr/local/bin/passenger-install-apache2-module --auto) /usr/local/lib/ruby/site_ruby/1.9/rubygems/dependency.rb:247:in `to_specs': Could not find passenger (>= 0) amongst [daemon_controller-1.2.0, fastthread-1.0.7, rack-1.4.5, rake-10.2.2] (Gem::LoadError) from /usr/local/lib/ruby/site_ruby/1.9/rubygems/dependency.rb:256:in `to_spec' from /usr/local/lib/ruby/site_ruby/1.9/rubygems.rb:1231:in `gem' from /usr/home/osa/ports/www/rubygem-passenger/work/stage/usr/local/bin/passenger-install-apache2-module:22:in `' *** Error code 1 Stop. Any idea what's wrong here? Index: Makefile === --- Makefile(revision 351090) +++ Makefile(working copy) @@ -3,7 +3,7 @@ PORTNAME= passenger PORTVERSION= 4.0.41 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES=www rubygems MASTER_SITES= RG PKGNAMEPREFIX= rubygem- @@ -39,11 +39,11 @@ .endif .endif -LIB_DEPENDS+= eio:${PORTSDIR}/devel/libeio \ - ev:${PORTSDIR}/devel/libev \ - curl:${PORTSDIR}/ftp/curl -BUILD_DEPENDS+= rubygem-fastthread>=1.0.1:${PORTSDIR}/devel/rubygem-fastthread \ - rubygem-rack>=0:${PORTSDIR}/www/rubygem-rack \ +LIB_DEPENDS+= libeio.so:${PORTSDIR}/devel/libeio \ + libev.so:${PORTSDIR}/devel/libev \ + libcurl.so:${PORTSDIR}/ftp/curl +BUILD_DEPENDS+= rubygem-fastthread>=1.0.7:${PORTSDIR}/devel/rubygem-fastthread \ + rubygem-rack>=1.4.5:${PORTSDIR}/www/rubygem-rack \ rubygem-daemon_controller>=1.2.0:${PORTSDIR}/devel/rubygem-daemon_controller RUN_DEPENDS:= ${BUILD_DEPENDS} @@ -81,7 +81,7 @@ s! -feliminate-unused-debug-symbols -feliminate-unused-debug-types!!g; \ 201,203s!true!false!' \ ${WRKSRC}/build/basics.rb -.if ${PORT_OPTIONS:NDEBUG} +.if ${PORT_OPTIONS:MDEBUG} @${REINPLACE_CMD} \ 's!-DPASSENGER_DEBUG!-DNDEBUG!g' \ ${WRKSRC}/build/basics.rb @@ -101,19 +101,23 @@ 's!-lpthread!${PTHREAD_LIBS}!g' \ ${WRKSRC}/lib/phusion_passenger/platform_info/cxx_portability.rb -post-build: +post-install: .if ${PORT_OPTIONS:MAPACHE22} - (CC=${CC} CXX=${CXX} ${WRKSRC}/bin/passenger-install-apache2-module --auto) + (CC=${CC} CXX=${CXX} ${STAGEDIR}${PREFIX}/bin/passenger-install-apache2-module --auto) .endif - .if ${PORT_OPTIONS:MNGINX} - (cd ${WRKSRC} && CC=${CC} CXX=${CXX} ${RAKE_BIN} nginx) + (cd ${STAGEDIR}${PREFIX}/${GEMS_DIR}/${GEM_NAME} && CC=${CC} CXX=${CXX} ${RAKE_BIN} nginx) .endif .if ${PORT_OPTIONS:MSYMLINK} - ${LN} -s ${GEM_LIB_DIR} ${STAGE}${PREFIX}/${GEMS_DIR}/${PORTNAME} + ${LN} -s ${GEM_LIB_DIR} ${STAGEDIR}${PREFIX}/${GEMS_DIR}/${PORTNAME} .endif - ${FIND} ${WRKSRC} -name '*.o' -delete - ${FIND} ${WRKSRC} -name '*.bak' -delete + ${FIND} ${STAGEDIR} -name '*.o' -delete +
Re: FreeBSD Port: rubygem-passenger-4.0.41_2
Hi Steven, looks good, except one thing: -.if ${PORT_OPTIONS:NDEBUG} +.if ${PORT_OPTIONS:MDEBUG} Could you explain what's the actual change here. Also, please bump PORTREVISION for final patch. -- Sergey A. Osokin o...@freebsd.org >Regards >Steve > - Original Message - From: "David Keller" > To: > Cc: > Sent: Friday, April 11, 2014 10:29 AM > Subject: FreeBSD Port: rubygem-passenger-4.0.41_2 > > > >Hello, > > > >Since > > > >rev *350664* (Wed Apr 9 02:36:08 2014 UTC) > > > > > >After *#make install *from */usr/ports/www/rubygem-passenger* > > > >/usr/local/lib/ruby/gems/1.9/gems/passenger-4.0.41/*buildout* > > > > > >is no longer populated with passenger binaries, hence nginx complains that > >passenger is not installed. > > > >Mannualy copying *buildout* directory from > >*/usr/ports/www/rubygem-passenger/work/**passenger-4.0.41/* resolves the > >issue. > > > >Regards. > >___ > >freebsd-ports@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-ports > >To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org" > > ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: www/nginx-devel patch for HLS RTMP support
Hi Fedor, On Sun, Mar 17, 2013 at 11:37:39PM +0400, Fedor Dikarev wrote: > Patch adds ability to build HLS support for RTMP included in 3rd party > arut-rtmp-nginx-module Thanks for patch. Is it possible to link rtmp_hls against multimedia/ffmpeg port instead of -devel one? -- Sergey A. Osokin o...@freebsd.org ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: FreeBSD Ports: www/nginx and www/rubygem-passenger
Hi, Brad. On Thu, Apr 01, 2010 at 12:51:51PM +1100, Brad Rushworth wrote: > > I just wanted to report that: > > www/rubygem-passenger is version 2.2.9 > > www/nginx 0.7.65 with PASSENGER_MODULE=on has passenger at 2.2.11 > > When I installed both they worked together, but I didn't think it was > safe to run them together. The server headers showed X-Powered-By: as > 2.2.9 whereas the Server: was 2.2.11. > > The problem seems to be that the www/nginx doesn't install passenger > like I'm guessing it should? 1. www/nginx (as well as www/nginx-devel) doesn't install passenger 2. www/nginx (as well as www/nginx-devel) compiles with support for passenger, because no other way (i.e. binary modules support) to work with third-party modules. > I didn't think I would have to install > www/rubygem-passenger as well? But maybe I'm wrong. You should install www/rubygem-passenger (for passenger) and web-server (www/nginx) for passenger support. > For some reason, I couldn't install by using: > gem install passenger > It would just sit idle for ages. > > Anyway, I tweaked the www/rubygem-passenger port to 2.2.11 and installed > it that way. Correct, patch for upgrade from 2.2.9 to 2.2.11 is trivial. > It all seems to be working now. OK. > Could the maintainer update www/rubygem-passenger to 2.2.11? Jacob, could you please send-pr with patch, Cc: to me, I'll commit changes ASAP. -- Sergey A. Osokin o...@freebsd.org ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: FreeBSD Port: 3proxy-0.5.3k
On Sat, Mar 21, 2009 at 04:37:53PM +0300, Aleksandr Kobychenko wrote: > > Please update your port, reached a stable version 0.6 > http://3proxy.ru/download/ > Thanks. Port updated. Enjoy! Could you submit problem report with patch next time. Thanks for notice. -- Sergey A. Osokin o...@freebsd.org ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"