Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Dec 2017 12:55:00 +0100
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        Sunpoet Po-Chuan Hsieh <sunpoet@freebsd.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r457065 - head/devel/rubygem-rice
Message-ID:  <20171224125500.6395c736@kalimero.tijl.coosemans.org>
In-Reply-To: <CAMHz58QFxWq1e6B=GzZsVcgFpjT2mNpAaam8KK3fNkG%2BVOHTqQ@mail.gmail.com>
References:  <201712231630.vBNGUQ4Z055622@repo.freebsd.org> <CAMHz58ThUz3aghUx%2B1sn7HO9azwLCyfwnXdFObv%2B2nXRRMCprw@mail.gmail.com> <20171223203001.21f7326a@kalimero.tijl.coosemans.org> <CAMHz58QFxWq1e6B=GzZsVcgFpjT2mNpAaam8KK3fNkG%2BVOHTqQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 24 Dec 2017 19:31:10 +0800 Sunpoet Po-Chuan Hsieh <sunpoet@freebsd.org> wrote:
> On Sun, Dec 24, 2017 at 3:30 AM, Tijl Coosemans <tijl@freebsd.org> wrote:
>> On Sun, 24 Dec 2017 01:24:27 +0800 Sunpoet Po-Chuan Hsieh <  
>> sunpoet@freebsd.org> wrote:
>>> On Sun, Dec 24, 2017 at 12:30 AM, Tijl Coosemans <tijl@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.



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