pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/44750: ruby18-base-1.8.7.334 make fail



>Number:         44750
>Category:       pkg
>Synopsis:       ruby18-base-1.8.7.334 make fail
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 21 12:30:00 +0000 2011
>Originator:     Susumu Miwa
>Release:        NetBSD 5.99.39
>Organization:
Japan NetBSD Users Group
>Environment:
NetBSD yuto 5.99.39 NetBSD 5.99.39 (MYKERNEL) #1: Sat Oct 30 12:22:48 JST 2010  
root@yuto:/usr/obj/sys/arch/i386/compile/MYKERNEL i386

>Description:
I updated pkgsrc on 2011-03-20

 % cd /usr/pkgsrc
 % sudo cvs update -dP

Next, I have to make ruby18

 % cd /usr/pkgsrc/lang/ruby18-base
 % sudo make update

then make failed.
Following make debug message:

 % sudo make -dA
  :
 *** Failed target:  Makefile
 *** Failed command: { echo "all:; -@rm -f conftest.mk"; echo "conftest.mk: 
.force; @echo AUTO_REMAKE"; echo ".force:"; } > conftest.mk || exit ; make -f 
conftest.mk | grep '^AUTO_REMAKE$' >/dev/null 2>&1 || { echo "Makefile updated, 
restart."; exit 1; }
 *** Error code 1
 
 Stop.
 make: stopped in /usr/pkgsrc/lang/ruby18-base/work/ruby-1.8.7-p334
 Global:.ERROR_TARGET = Makefile
 Applying :@ to ""
 Modifier pattern: "v"
 Modifier pattern: "$v='${$v}'
 "
 Result of :@ is ""

>How-To-Repeat:
reproduced without using pkgsrc. Use clean Ruby:

 % wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p334.tar.gz
 % tar xzf ruby-1.8.7-p334.tar.gz
 % cd ruby-1.8.7-p334
 % ./configure && make
   :

Then the same thing happens.

>Fix:
I tried use gmake. It worked.
So I added 'gmake' to USE_TOOLS in Makefile.

 USE_TOOLS+=     pax yacc gmake

Again I make ruby18.

 % sudo make install
  :
=> Automatic manual page handling
=> Running POST-INSTALL script actions
=> Please note the following:

===========================================================================
$NetBSD: MESSAGE,v 1.5 2006/09/07 15:40:00 taca Exp $

Note that this is a minimal package.

The original Ruby 1.8.7 distribution includes more extension
libraries, some of which are provided as separate packages:

        databases/ruby-gdbm:            GDBM module
        devel/ruby-curses:              Curses module
        devel/ruby-readline:            readline module
        x11/ruby-tk:                    Tk modules

===========================================================================

=> Registering installation for ruby18-base-1.8.7.334


Looks like it worked.



Home | Main Index | Thread Index | Old Index