From owner-freebsd-ruby@freebsd.org Mon Oct 31 22:17:31 2016 Return-Path: Delivered-To: freebsd-ruby@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4EA0EC28CD8 for ; Mon, 31 Oct 2016 22:17:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 3805A1C84 for ; Mon, 31 Oct 2016 22:17:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 37649C28CD4; Mon, 31 Oct 2016 22:17:31 +0000 (UTC) Delivered-To: ruby@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 37128C28CD0 for ; Mon, 31 Oct 2016 22:17:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 265A41C83 for ; Mon, 31 Oct 2016 22:17:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u9VMHUAH074807 for ; Mon, 31 Oct 2016 22:17:31 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: ruby@FreeBSD.org Subject: [Bug 213959] textproc/rubygem-nokogiri fails to build via portmaster, succeeds using CLI make package Date: Mon, 31 Oct 2016 22:17:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dewayne@heuristicsystems.com.au X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ruby@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2016 22:17:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213959 Bug ID: 213959 Summary: textproc/rubygem-nokogiri fails to build via portmaster, succeeds using CLI make package Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ruby@FreeBSD.org Reporter: dewayne@heuristicsystems.com.au Assignee: ruby@FreeBSD.org Flags: maintainer-feedback?(ruby@FreeBSD.org) While building security/metasploit on FreeBSD10.3S, I experience consistent build failures with the textproc/rubygem-nokogiri dependency. It is not ea= sy to reproduce! I build a large number of ports by passing to portmaster the main ports of interest, rubygem-nokogiri fails to "package". However if I build directly= on the command line with "make package", the port completes. Examining the two log files provides a clue: With portmaster - and failure =3D=3D=3D> Building for rubygem-nokogiri-1.6.8 Successfully built RubyGem Name: nokogiri Version: 1.6.8 File: nokogiri-1.6.8.gem =3D=3D=3D> Staging for rubygem-nokogiri-1.6.8 =3D=3D=3D> Generating temporary packing list (cd /var/ports/usr/ports/textproc/rubygem-nokogiri/work/nokogiri-1.6.8; /usr/bin/env RB_USER_INSTALL=3Dyes LANG=3Den_US.UTF-8 LC_ALL=3Den_US.UTF-8 LC_CTYPE=3DUTF-8 /usr/local/bin/gem22 install -l --no-update-sources --install-dir /var/ports/usr/ports/textproc/rubygem-nokogiri/work/stage/usr/local/lib/rub= y/gems/2.2 --ignore-dependencies --bindir=3D/var/ports/usr/ports/textproc/rubygem-nokogiri/work/stage/usr/lo= cal/bin --no-rdoc --no-ri nokogiri-1.6.8.gem -- --build-args --use-system-libraries) Building native extensions with: '--build-args --use-system-libraries' This could take a while... ERROR: Error installing nokogiri-1.6.8.gem: ERROR: Failed to build gem native extension. With make - and success =3D=3D=3D> Building for rubygem-pkg-config-1.1.7_1 Successfully built RubyGem Name: pkg-config Version: 1.1.7 File: pkg-config-1.1.7.gem =3D=3D=3D> Staging for rubygem-pkg-config-1.1.7_1 =3D=3D=3D> rubygem-pkg-config-1.1.7_1 depends on file: /usr/local/bin/rub= y22 - found =3D=3D=3D> rubygem-pkg-config-1.1.7_1 depends on file: /usr/local/bin/gem= 22 - found =3D=3D=3D> Generating temporary packing list (cd /var/ports/usr/ports/devel/rubygem-pkg-config/work/pkg-config-1.1.7; /usr/bin/env RB_USER_INSTALL=3Dyes LANG=3Den_U Successfully installed pkg-config-1.1.7 1 gem installed I haven't determined where the problem lies, but the "fix" is to=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- /usr/ports/textproc/rubygem-nokogiri/Makefile (revision 424946) +++ /usr/ports/textproc/rubygem-nokogiri/Makefile (working copy) @@ -10,6 +10,7 @@ LICENSE=3D MIT +BUILD_DEPENDS=3D rubygem-pkg-config>=3D1.1.7:devel/rubygem-pkg-config RUN_DEPENDS=3D rubygem-pkg-config>=3D1.1.7:devel/rubygem-pkg-config USE_RUBY=3D yes and metasploit completes packaging :) --=20 You are receiving this mail because: You are the assignee for the bug.=