NetBSD Problem Report #23338
Received: (qmail 21015 invoked by uid 605); 1 Nov 2003 20:04:50 -0000
Message-Id: <20031101200448.1815011153@narn.netbsd.org>
Date: Sat, 1 Nov 2003 20:04:48 +0000 (UTC)
From: roskens@elfin.net
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: roskens@elfin.net
To: gnats-bugs@gnats.NetBSD.org
Subject: databases/ruby-postgresql fails to build
X-Send-Pr-Version: www-1.0
>Number: 23338
>Category: pkg
>Synopsis: databases/ruby-postgresql fails to build
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Nov 01 20:05:01 +0000 2003
>Closed-Date: Sun Nov 02 17:54:25 +0000 2003
>Last-Modified: Sun Nov 02 17:54:25 +0000 2003
>Originator: Ron Roskens
>Release: -current
>Organization:
>Environment:
NetBSD hysteria.tx.elfin.net 1.6ZD NetBSD 1.6ZD (GENERIC) #19: Wed Oct 22 18:35:02 CDT 2003 root@speedy.tx.elfin.net:/obj/sys/arch/i386/compile/GENERIC i386
>Description:
When building databases/ruby-postgresql, it fails to find the postgresql libraries or header files. Even though the buildlink2.mk for postgresql-libs is included, the makefile does not define USE_BUILDLINK2 and so has no dependency upon postgresql-libs.
===> Configuring for ruby-postgresql-0.7.1
===> Fixing the #! line of sample/psql.rb
===> Fixing the #! line of sample/test1.rb
===> Fixing the #! line of sample/test2.rb
===> Fixing the #! line of sample/test4.rb
===> Running extconf.rb to configure
checking for cygwin32_socket() in -lwsock32... no
checking for socket() in -lsocket... no
checking for gethostbyname() in -linet... no
checking for gethostbyname() in -lnsl... no
checking for sys/un.h... yes
checking for socket()... yes
checking for hsterror()... no
checking for gethostname()... yes
Using PostgreSQL include directory: /usr/pkg/include/postgresql
Using PostgreSQL lib directory: /usr/pkg/lib
checking for PQsetdbLogin() in -lpq... no
Could not find PostgreSQL libraries: Makefile not created
>How-To-Repeat:
Run a bulk build, and watch it add databases/ruby-postgresql to the broken list.
>Fix:
Index: Makefile
===================================================================
RCS file: /cvs/NetBSD/pkgsrc/databases/ruby-postgresql/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile 11 Sep 2003 14:59:18 -0000 1.10
+++ Makefile 1 Nov 2003 19:56:17 -0000
@@ -9,6 +9,8 @@
HOMEPAGE= http://www.postgresql.jp/interfaces/ruby/
COMMENT= Ruby extension for postgresql
+USE_BUILDLINK2= # defined
+
VERSION= 0.7.1
DIST_SUBDIR= ruby
USE_RUBY_EXTCONF= yes
@@ -41,4 +43,5 @@
.include "../../databases/postgresql-lib/buildlink2.mk"
.include "../../lang/ruby-base/Makefile.common"
+.include "../../lang/ruby-base/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
>Release-Note:
>Audit-Trail:
From: Takahiro Kambe <taca@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: pr/23338 CVS commit: pkgsrc/databases/ruby-postgresql
Date: Sun, 2 Nov 2003 17:42:26 +0000 (UTC)
Module Name: pkgsrc
Committed By: taca
Date: Sun Nov 2 17:42:26 UTC 2003
Modified Files:
pkgsrc/databases/ruby-postgresql: Makefile
Log Message:
Proper use buildlink2 frame work, with applying patch from PR/23338 by
Ron Roskens.
To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 pkgsrc/databases/ruby-postgresql/Makefile
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/23338 CVS commit: pkgsrc/graphics/ruby-gd
Date: Sun, 2 Nov 2003 17:50:05 +0000 (UTC)
Module Name: pkgsrc
Committed By: taca
Date: Sun Nov 2 17:50:05 UTC 2003
Modified Files:
pkgsrc/graphics/ruby-gd: Makefile
Log Message:
Proper use of buildlink2 frame work and it should fix bulk build problem.
Thanks to PR pkg/23338 submitter, Ron Roskens.
To generate a diff of this commit:
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/graphics/ruby-gd/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: taca
State-Changed-When: Sun Nov 2 17:54:15 UTC 2003
State-Changed-Why:
Patch was applied. Thanks much for your bug 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.