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 0C41DC28CC6 for ; Mon, 31 Oct 2016 22:17:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id EA2C91C81 for ; Mon, 31 Oct 2016 22:17:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id E67E5C28CC5; Mon, 31 Oct 2016 22:17:30 +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 E61FAC28CC4 for ; Mon, 31 Oct 2016 22:17:30 +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 D5EF21C80 for ; Mon, 31 Oct 2016 22:17:30 +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 u9VMHUAD074807 for ; Mon, 31 Oct 2016 22:17:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: ruby@FreeBSD.org Subject: maintainer-feedback requested: [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-Type: request 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: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ruby@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: 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 dewayne@heuristicsystems.com.au has reassigned Bugzilla Automation 's request for maintainer-feedback to ruby@FreeBSD.or= g: Bug 213959: textproc/rubygem-nokogiri fails to build via portmaster, succee= ds using CLI make package https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213959 --- Description --- 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/ge ms/2.2 --ignore-dependencies --bindir=3D/var/ports/usr/ports/textproc/rubygem-nokogiri/work/stage/usr/lo= cal/bi n --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 :)