svn commit: r457065 - head/devel/rubygem-rice

Tijl Coosemans tijl at FreeBSD.org
Sun Dec 24 11:55:06 UTC 2017


On Sun, 24 Dec 2017 19:31:10 +0800 Sunpoet Po-Chuan Hsieh <sunpoet at freebsd.org> wrote:
> On Sun, Dec 24, 2017 at 3:30 AM, Tijl Coosemans <tijl at freebsd.org> wrote:
>> On Sun, 24 Dec 2017 01:24:27 +0800 Sunpoet Po-Chuan Hsieh <  
>> sunpoet at freebsd.org> wrote:
>>> On Sun, Dec 24, 2017 at 12:30 AM, Tijl Coosemans <tijl at freebsd.org>  
>>> wrote:  
>>>> Author: tijl
>>>> Date: Sat Dec 23 16:30:26 2017
>>>> New Revision: 457065
>>>> URL: https://svnweb.freebsd.org/changeset/ports/457065
>>>>
>>>> Log:
>>>>   Drop unneeded USE_AUTOTOOLS.
>>>>
>>>> Modified:
>>>>   head/devel/rubygem-rice/Makefile
>>>>
>>>> Modified: head/devel/rubygem-rice/Makefile
>>>> ============================================================
>>>> ==================
>>>> --- head/devel/rubygem-rice/Makefile    Sat Dec 23 16:13:22 2017
>>>> (r457064)
>>>> +++ head/devel/rubygem-rice/Makefile    Sat Dec 23 16:30:26 2017
>>>> (r457065)
>>>> @@ -13,9 +13,9 @@ LICENSE_FILE= ${WRKSRC}/COPYING
>>>>
>>>>  BROKEN_powerpc64=      fails to configure: could not find ruby.h
>>>>
>>>> +GNU_CONFIGURE= yes
>>>>  USE_RUBY=      yes
>>>>  USES=          gem
>>>> -USE_AUTOTOOLS= aclocal autoconf
>>>>  INSTDIR=       ${PREFIX}/${GEM_LIB_DIR}  
>>>
>>> After this, I got:
>>>
>>> (cd /wrkdirs/usr/ports/devel/rubygem-rice/work/rice-2.1.2; /usr/bin/env
>>> RB_USER_INSTALL=yes LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
>>> /usr/local/bin/gem23 install -l --no-update-sources --install-dir
>>> /wrkdirs/usr/ports/devel/rubygem-rice/work/stage/usr/local/  
>>> lib/ruby/gems/2.3  
>>> --ignore-dependencies
>>> --bindir=/wrkdirs/usr/ports/devel/rubygem-rice/work/stage/usr/local/bin
>>> --rdoc --ri rice-2.1.2.gem -- --build-args --prefix=/usr/local
>>> ${_LATE_CONFIGURE_ARGS})
>>> Building native extensions with: '--build-args --prefix=/usr/local'
>>> This could take a while...
>>> ERROR:  Error installing rice-2.1.2.gem:
>>>         ERROR: Failed to build gem native extension.
>>>
>>>     current directory:
>>> /wrkdirs/usr/ports/devel/rubygem-rice/work/stage/usr/local/  
>>> lib/ruby/gems/2.3/gems/rice-2.1.2  
>>> /usr/local/bin/ruby23 -r ./siteconf20171223-87368-158lqn2.rb extconf.rb
>>> --build-args --prefix=/usr/local
>>> bootstrap: autoreconf: not found
>>> post-autoconf.rb:6:in `initialize': No such file or directory @  
>>> rb_sysopen  
>>> - configure (Errno::ENOENT)
>>>         from post-autoconf.rb:6:in `open'
>>>         from post-autoconf.rb:6:in `process'
>>>         from post-autoconf.rb:16:in `<main>'
>>> Post-processing configure
>>> sh: cannot open configure: No such file or directory
>>>
>>> Makefile not found
>>>
>>> Gem files will remain installed in
>>> /wrkdirs/usr/ports/devel/rubygem-rice/work/stage/usr/local/  
>>> lib/ruby/gems/2.3/gems/rice-2.1.2  
>>> for inspection.
>>> Results logged to
>>> /wrkdirs/usr/ports/devel/rubygem-rice/work/stage/usr/local/  
>>> lib/ruby/gems/2.3/extensions/amd64-freebsd-11/2.3/rice-2.1.2/gem_make.out  
>>> *** Error code 1
>>>
>>> Stop.
>>> make: stopped in /usr/ports/devel/rubygem-rice  
>>> =>> Cleaning up wrkdir  
>>> ===>  Cleaning for rubygem-rice-2.1.2  
>>
>> Should work now in r457100.
> 
> Yes, it works!
> BTW, I think GNU_CONFIGURE is no-op here.

I only added it because USE_AUTOTOOLS implied GNU_CONFIGURE and there's
a configure script.  From the error log you posted it looks like this
configure script is regenerated and then run later using some ruby magic,
so it's possible GNU_CONFIGURE isn't needed here.  Because I don't know
much about ruby I'll leave that to you to decide.


More information about the svn-ports-head mailing list