From owner-freebsd-ports-bugs@FreeBSD.ORG Wed May 7 20:00:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 72C9A6D6 for ; Wed, 7 May 2014 20:00:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FB6F781 for ; Wed, 7 May 2014 20:00:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s47K01tb066015 for ; Wed, 7 May 2014 20:00:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s47K012X066014; Wed, 7 May 2014 20:00:01 GMT (envelope-from gnats) Resent-Date: Wed, 7 May 2014 20:00:01 GMT Resent-Message-Id: <201405072000.s47K012X066014@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Marco Springer Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 75CBF153 for ; Wed, 7 May 2014 19:50:52 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 491EA682 for ; Wed, 7 May 2014 19:50:52 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s47Jop4t014114 for ; Wed, 7 May 2014 19:50:51 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s47JopBg014113; Wed, 7 May 2014 19:50:51 GMT (envelope-from nobody) Message-Id: <201405071950.s47JopBg014113@cgiserv.freebsd.org> Date: Wed, 7 May 2014 19:50:51 GMT From: Marco Springer To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/189440: lua-nginx-module-v0.9.4-0 size mismatch X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 May 2014 20:00:01 -0000 >Number: 189440 >Category: ports >Synopsis: lua-nginx-module-v0.9.4-0 size mismatch >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed May 07 20:00:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Marco Springer >Release: FreeBSD 10.0-STABLE >Organization: >Environment: FreeBSD donkey.fritz.box 10.0-STABLE FreeBSD 10.0-STABLE #4 r262950: Fri Mar 14 09:31:07 CET 2014 root@donkey:/usr/obj/usr/src/sys/MYKERNEL amd64 >Description: I wanted to enable the 3d party lua module for nginx, build nginx then fails to build because of the size mismatch. The output when running "postmaster www/nginx": Attempting to fetch https://github.com/chaoslawful/lua-nginx-module/tarball/v0.9.4/chaoslawful-lua-nginx-module-v0.9.4-0-g6169a19.tar.gz fetch: https://github.com/chaoslawful/lua-nginx-module/tarball/v0.9.4/chaoslawful-lua-nginx-module-v0.9.4-0-g6169a19.tar.gz: size mismatch: expected 470252, actual 470182 => Attempting to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/chaoslawful-lua-nginx-module-v0.9.4-0-g6169a19.tar.gz fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/chaoslawful-lua-nginx-module-v0.9.4-0-g6169a19.tar.gz: File unavailable (e.g., file not found, no access) When accessing the github URL directly, it will download it as "openresty-lua-nginx-module-v0.9.4-0-g6169a19.tar.gz", not sure if that matters? I've tried to change the expected size in the "distinfo" file, but then the build process complains about a checksum mismatch. I changed the checksum in the "distinfo" file to match that of the downloaded file. This is turn gave me: "sed: /usr/ports/www/nginx/work/chaoslawful-lua-nginx-module-6169a19/src/ngx_http_lua_socket_tcp.c: No such file or directory" The extracted tar.gz was extracted to "openresty-lua-nginx-module-v0.9.4-0-g6169a19" instead of "chaoslawful-lua-nginx-module-6169a19". I renamed the extracted folder, issued another make, resulting in another fail. Patching for nginx-1.6.0,2 ===> Applying FreeBSD patches for nginx-1.6.0,2 2 out of 3 hunks failed--saving rejects to conf/nginx.conf.rej => Patch patch-conf-nginx.conf failed to apply cleanly. *** Error code 1 And that's where I gave up. >How-To-Repeat: make config -> enable "3rd party lua module" -> make -> fail >Fix: >Release-Note: >Audit-Trail: >Unformatted: