NetBSD Problem Report #44174
From cheusov@tut.by Tue Nov 30 13:59:13 2010
Return-Path: <cheusov@tut.by>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 7D56463B95F
for <gnats-bugs@gnats.netbsd.org>; Tue, 30 Nov 2010 13:59:13 +0000 (UTC)
Message-Id: <s93lj4asyjf.fsf@centos.imb.invention.com>
Date: Tue, 30 Nov 2010 15:59:00 +0200
From: cheusov@tut.by
Reply-To:
To: gnats-bugs@gnats.netbsd.org
Cc:
Subject: PLIST issue in lang/ruby1[89]-base on Linux [patch]
X-Send-Pr-Version: 3.113.1
X-GNATS-Notify:
>Number: 44174
>Category: pkg
>Synopsis: PLIST issue in lang/ruby1[89]-base on Linux [patch]
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: taca
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Nov 30 14:00:01 +0000 2010
>Closed-Date: Sun Dec 05 05:10:51 +0000 2010
>Last-Modified: Sun Dec 05 05:10:51 +0000 2010
>Originator: Aleksey Cheusov
>Release: Linux 2.6.18-194.26.1.el5xen
>Organization:
<organization of PR author (multiple lines)>
>Environment:
System: Linux centos.imb.invention.com 2.6.18-194.26.1.el5xen #1 SMP Tue Nov 9 14:13:46 EST 2010 i686 i686 i386 GNU/Linux
Architecture: i686
>Description:
Both ruby-1.8 and 1.9 fail to build on my Linux systems with the
following error message causing hundreds of failures.
=> Checking file-check results for ruby18-base-1.8.7.302
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/pkg:
ERROR: /tmp/obj_pkgsrc/lang/ruby18-base/work/.destdir/usr/pkg/lib/libruby1.8
ERROR: ************************************************************
ERROR: The following files are in /usr/pkg but not in the PLIST:
ERROR: /tmp/obj_pkgsrc/lang/ruby18-base/work/.destdir/usr/pkg/lib/libruby18.so.1.8
*** Error code 1
lib/libruby1.8 comes from the line
${RUBY_SHLIBALIAS}
of package's PLIST. On my Linux system it is equal to lib/libruby1.8,
on NetBSD/x86_64 it is set to lib/libruby18.so.18.
Fix tested on Debian-5.0 and CentOS-5.5 is below. ruby-1.9 still
fails but now for a completely different reason.
=> Automatic manual page handling
=> Generating post-install file lists
=> Checking file-check results for ruby19-base-1.9.2pl0nb1
=> Checking for non-existent script interpreters in ruby19-base-1.9.2pl0nb1
=> Checking file permissions in ruby19-base-1.9.2pl0nb1
=> Checking for missing run-time search paths in ruby19-base-1.9.2pl0nb1
=> Checking for work-directory references in ruby19-base-1.9.2pl0nb1
ERROR: /usr/pkg/lib/ruby/1.9/i386-linux/rbconfig.rb:<--> CONFIG["MAKEDIRS"] = "/tmp/obj-pkgsrc/lang/ruby19-base/work/.tools/bin/mkdir -p"
ERROR: /usr/pkg/lib/ruby/1.9/i386-linux/rbconfig.rb:<--> CONFIG["MKDIR_P"] = "/tmp/obj-pkgsrc/lang/ruby19-base/work/.tools/bin/mkdir -p"
ERROR: *** The above files still have references to the build directory.
ERROR: This is possibly an error that should be fixed by unwrapping
ERROR: the files or adding missing tools to the package makefile!
*** Error code 1
>How-To-Repeat:
>Fix:
Index: rubyversion.mk
===================================================================
RCS file: /cvsroot/pkgsrc/lang/ruby/rubyversion.mk,v
retrieving revision 1.53
diff -u -r1.53 rubyversion.mk
--- rubyversion.mk 17 Nov 2010 14:27:09 -0000 1.53
+++ rubyversion.mk 30 Nov 2010 13:46:50 -0000
@@ -192,7 +192,7 @@
RUBY_STATICLIB= ${RUBY_VER}.${RUBY_API_VERSION}-static.a
.endif
.elif ${OPSYS} == "Linux"
-_RUBY_SHLIBALIAS= ${_RUBY_VER_MAJOR}.${_RUBY_VER_MINOR}
+_RUBY_SHLIBALIAS= ${RUBY_VER}.${RUBY_SLEXT}.${_RUBY_VER_MAJOR}.${_RUBY_VER_MINOR}
.endif
.if !empty(_RUBY_SHLIBALIAS)
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->taca
Responsible-Changed-By: taca@NetBSD.org
Responsible-Changed-When: Wed, 01 Dec 2010 05:00:12 +0000
Responsible-Changed-Why:
I'll take it.
State-Changed-From-To: open->analyzed
State-Changed-By: taca@NetBSD.org
State-Changed-When: Wed, 01 Dec 2010 05:00:12 +0000
State-Changed-Why:
I've checked both ruby18-base and ruby19-base.
From: "Takahiro Kambe" <taca@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/44174 CVS commit: pkgsrc/lang/ruby
Date: Wed, 1 Dec 2010 13:51:45 +0000
Module Name: pkgsrc
Committed By: taca
Date: Wed Dec 1 13:51:45 UTC 2010
Modified Files:
pkgsrc/lang/ruby: rubyversion.mk
Log Message:
Fix build problem on Linux, fix part of PR pkg/44174.
To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 pkgsrc/lang/ruby/rubyversion.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: "Takahiro Kambe" <taca@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/44174 CVS commit: pkgsrc/lang/ruby19-base
Date: Wed, 1 Dec 2010 13:52:59 +0000
Module Name: pkgsrc
Committed By: taca
Date: Wed Dec 1 13:52:59 UTC 2010
Modified Files:
pkgsrc/lang/ruby19-base: Makefile
Log Message:
Fix another build problem on Linux, the rest of PR pkg/44174.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/ruby19-base/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: analyzed->feedback
State-Changed-By: taca@NetBSD.org
State-Changed-When: Wed, 01 Dec 2010 13:58:26 +0000
State-Changed-Why:
I commited supplied the patch and add another workaround for
ruby19-base.
From: Aleksey Cheusov <cheusov@tut.by>
To: gnats-bugs@NetBSD.org
Cc: taca@NetBSD.org, pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org
Subject: Re: pkg/44174 (PLIST issue in lang/ruby1[89]-base on Linux [patch])
Date: Thu, 02 Dec 2010 00:52:02 +0200
> Synopsis: PLIST issue in lang/ruby1[89]-base on Linux [patch]
> State-Changed-From-To: analyzed->feedback
> State-Changed-By: taca@NetBSD.org
> State-Changed-When: Wed, 01 Dec 2010 13:58:26 +0000
> State-Changed-Why:
> I commited supplied the patch and add another workaround for
> ruby19-base.
http://mova.org/~cheusov/pub/pkgsrc-distbb/Debian50/current/logs/ruby/META/report.html
ruby19 still fails the same way.
--
Best regards, Aleksey Cheusov.
From: "Takahiro Kambe" <taca@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/44174 CVS commit: pkgsrc/lang/ruby19-base
Date: Thu, 2 Dec 2010 03:22:35 +0000
Module Name: pkgsrc
Committed By: taca
Date: Thu Dec 2 03:22:35 UTC 2010
Modified Files:
pkgsrc/lang/ruby19-base: Makefile
Log Message:
Oops, really fix another build problem on Linux, the rest of PR pkg/44174.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/ruby19-base/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Takahiro Kambe <taca@back-street.net>
To: cheusov@tut.by
Cc: gnats-bugs@NetBSD.org
Subject: Re: pkg/44174 (PLIST issue in lang/ruby1[89]-base on Linux [patch])
Date: Thu, 02 Dec 2010 12:26:01 +0900 (JST)
In message <87y689ds31.fsf@asrock.chizhovka.net>
on Thu, 02 Dec 2010 00:52:02 +0200,
Aleksey Cheusov <cheusov@tut.by> wrote:
>> Synopsis: PLIST issue in lang/ruby1[89]-base on Linux [patch]
>
>> State-Changed-From-To: analyzed->feedback
>> State-Changed-By: taca@NetBSD.org
>> State-Changed-When: Wed, 01 Dec 2010 13:58:26 +0000
>> State-Changed-Why:
>> I commited supplied the patch and add another workaround for
>> ruby19-base.
>
> http://mova.org/~cheusov/pub/pkgsrc-distbb/Debian50/current/logs/ruby/META/report.html
>
> ruby19 still fails the same way.
Oops, there was my big mistake. Please try again...
--
Takahiro Kambe <taca@back-street.net>
From: Aleksey Cheusov <cheusov@tut.by>
To: gnats-bugs@NetBSD.org
Cc: taca@NetBSD.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/44174 (PLIST issue in lang/ruby1[89]-base on Linux [patch])
Date: Thu, 02 Dec 2010 23:26:59 +0200
>> ruby19 still fails the same way.
> Oops, there was my big mistake. Please try again...
Now compilation succeeds. Thanks.
--
Best regards, Aleksey Cheusov.
State-Changed-From-To: feedback->closed
State-Changed-By: taca@NetBSD.org
State-Changed-When: Sun, 05 Dec 2010 05:10:51 +0000
State-Changed-Why:
Submitter reports the problem go away.
Thanks for your problem report.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.