Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 May 2014 10:25:08 +0200 (CEST)
From:      freebsd@nagilum.org
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        ruby@FreeBSD.org
Subject:   ports/189853: textproc/rubygem-nokogiri 1.6.2.1 fails to build
Message-ID:  <20140516082508.8B2B22D50AF@cakebox.homeunix.net>
Resent-Message-ID: <201405160830.s4G8U1RE077176@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         189853
>Category:       ports
>Synopsis:       textproc/rubygem-nokogiri 1.6.2.1 fails to build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 16 08:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     freebsd@nagilum.org
>Release:        FreeBSD 9.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD cakebox.tis 9.2-STABLE FreeBSD 9.2-STABLE #0 r264294M: Fri Apr 11 10:19:25 CEST 2014 root@cakebox.tis:/usr/obj/export/src/sys/net5501 i386

	
>Description:
	The build fails due to wrong libiconv detection.
	libiconv is installed:

libiconv-1.14_3
Name           : libiconv
Version        : 1.14_3
Installed on   : Fri Mar 28 13:04:32 CET 2014
Origin         : converters/libiconv
Architecture   : freebsd:9:x86:32
Prefix         : /usr/local
Categories     : devel converters
Maintainer     : gnome@FreeBSD.org
WWW            : http://www.gnu.org/software/libiconv/
Comment        : Character set conversion library
Options        :
        DOCS           : on
        ENCODINGS      : on
        PATCHES        : on
Shared Libs required:
        libintl.so.9
        libiconv.so.3
Shared Libs provided:
        libiconv.so.3
        libcharset.so.1
Flat size      : 2.19MiB

	installed files:
libiconv-1.14_3:
        /usr/local/bin/iconv
        /usr/local/include/iconv.h
        /usr/local/include/libcharset.h
        /usr/local/include/localcharset.h
        /usr/local/lib/charset.alias
        /usr/local/lib/libcharset.a
        /usr/local/lib/libcharset.la
        /usr/local/lib/libcharset.so
        /usr/local/lib/libcharset.so.1
        /usr/local/lib/libiconv.a
        /usr/local/lib/libiconv.la
        /usr/local/lib/libiconv.so
        /usr/local/lib/libiconv.so.3
        /usr/local/man/man1/iconv.1.gz
        /usr/local/man/man3/iconv.3.gz
        /usr/local/man/man3/iconv_close.3.gz
        /usr/local/man/man3/iconv_open.3.gz
        /usr/local/man/man3/iconv_open_into.3.gz
        /usr/local/man/man3/iconvctl.3.gz
        /usr/local/share/doc/libiconv/iconv.1.html
        /usr/local/share/doc/libiconv/iconv.3.html
        /usr/local/share/doc/libiconv/iconv_close.3.html
        /usr/local/share/doc/libiconv/iconv_open.3.html
        /usr/local/share/doc/libiconv/iconv_open_into.3.html
        /usr/local/share/doc/libiconv/iconvctl.3.html


>How-To-Repeat:
	Attempt to build textproc/rubygem-nokogiri 1.6.2.1.

>Fix:
	Unknown.

--- buildlog begins here ---
root@cakebox ~ > portmaster rubygem-nokogiri-1.6.2

===>>> Currently installed version: rubygem-nokogiri-1.6.2
===>>> Port directory: /usr/ports/textproc/rubygem-nokogiri

===>>> Gathering distinfo list for installed ports

===>>> Launching 'make checksum' for textproc/rubygem-nokogiri in background
===>>> Gathering dependency list for textproc/rubygem-nokogiri from ports
===>>> Initial dependency check complete for textproc/rubygem-nokogiri


===>>> Starting build for textproc/rubygem-nokogiri <<<===

===>>> All dependencies are up to date

===>  Cleaning for rubygem-nokogiri-1.6.2.1
===>   rubygem-nokogiri-1.6.2.1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by rubygem-nokogiri-1.6.2.1 for building
===>  Extracting for rubygem-nokogiri-1.6.2.1
=> SHA256 Checksum OK for rubygem/nokogiri-1.6.2.1.gem.
===>   rubygem-nokogiri-1.6.2.1 depends on file: /usr/local/bin/gem19 - found
===>   rubygem-nokogiri-1.6.2.1 depends on file: /usr/local/bin/ruby19 - found
Unpacked gem: '/var/tmp/export/ports/textproc/rubygem-nokogiri/work/nokogiri-1.6.2.1'
===>  Patching for rubygem-nokogiri-1.6.2.1
===>   rubygem-nokogiri-1.6.2.1 depends on file: /usr/local/bin/ruby19 - found
===>   rubygem-nokogiri-1.6.2.1 depends on package: rubygem-mini_portile=0.6.0 - found
===>   rubygem-nokogiri-1.6.2.1 depends on file: /usr/local/bin/gem19 - found
===>   rubygem-nokogiri-1.6.2.1 depends on file: /usr/local/bin/ruby19 - found
===>   rubygem-nokogiri-1.6.2.1 depends on file: /usr/local/lib/ruby/1.9/i386-freebsd9/iconv.so - found
===>  Configuring for rubygem-nokogiri-1.6.2.1
===>  Building for rubygem-nokogiri-1.6.2.1
  Successfully built RubyGem
  Name: nokogiri
  Version: 1.6.2.1
  File: nokogiri-1.6.2.1.gem
===>  Staging for rubygem-nokogiri-1.6.2.1
===>   rubygem-nokogiri-1.6.2.1 depends on package: rubygem-mini_portile=0.6.0 - found
===>   rubygem-nokogiri-1.6.2.1 depends on file: /usr/local/bin/gem19 - found
===>   rubygem-nokogiri-1.6.2.1 depends on file: /usr/local/bin/ruby19 - found
===>   rubygem-nokogiri-1.6.2.1 depends on file: /usr/local/lib/ruby/1.9/i386-freebsd9/iconv.so - found
===>   Generating temporary packing list
Building native extensions.  This could take a while...
Building nokogiri using packaged libraries.
ERROR:  Error installing nokogiri-1.6.2.1.gem:
        ERROR: Failed to build gem native extension.

        /usr/local/bin/ruby19 extconf.rb --build-args
Building nokogiri using packaged libraries.
-----
libiconv is missing.  please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.
-----
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:
        --with-opt-dir
        --without-opt-dir
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=/usr/local/bin/ruby19
        --help
        --clean
        --use-system-libraries
        --enable-static
        --disable-static
        --with-zlib-dir
        --without-zlib-dir
        --with-zlib-include
        --without-zlib-include=${zlib-dir}/include
        --with-zlib-lib
        --without-zlib-lib=${zlib-dir}/lib
        --enable-cross-build
        --disable-cross-build


Gem files will remain installed in /var/tmp/export/ports/textproc/rubygem-nokogiri/work/stage/usr/local/lib/ruby/gems/1.9/gems/nokogiri-1.6.2.1 for inspection.
Results logged to /var/tmp/export/ports/textproc/rubygem-nokogiri/work/stage/usr/local/lib/ruby/gems/1.9/gems/nokogiri-1.6.2.1/ext/nokogiri/gem_make.out
*** [do-install] Error code 1

Stop in /export/ports/textproc/rubygem-nokogiri.

===>>> make failed for textproc/rubygem-nokogiri
===>>> Aborting update

===>>> Killing background jobs
Terminated
--- buildlog ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140516082508.8B2B22D50AF>