Re: I can't build the 8.1.0 source rpm from postgresql.org

From: Devrim GUNDUZ <devrim(at)gunduz(dot)org>
To: Jerry LeVan <jerry(dot)levan(at)gmail(dot)com>
Cc: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: I can't build the 8.1.0 source rpm from postgresql.org
Date: 2005-11-30 10:53:28
Message-ID: Pine.LNX.4.63.0511301252510.26395@mail.kivi.com.tr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Hi,

On Mon, 28 Nov 2005, Jerry LeVan wrote:

> I downloaded the postgresql-8.1.0 source rpm for Fedora Core 4 from the
> rpm repository at postgresql.org.
>
> I installed the rpm with " rpm -i postgresql-8.1.0-2PGDG.src.rpm"
>
> I then attempted to rebuild the packages with
>
> rpmbuild --rebuild --define 'tcl 1' --define 'kerberos 0' --define 'tcldevel
> 1' \
> --define 'pltcl 1' postgresql-8.1.0....
>
> It appears to die in the prep stage:
> ********************************************************************************
> ++ basename /usr/src/redhat/SOURCES/pgtcldocs-20041108.zip .zip
> + PGTCLDOCDIR=pgtcldocs-20041108
> + mv pgtcldocs-20041108 Pgtcl-docs
> + echo 'Patch #5 (pgtcl-no-rpath.patch):'
> Patch #5 (pgtcl-no-rpath.patch):
> + patch -p0 -s
> + pushd Pgtcl
> /usr/src/redhat/BUILD/postgresql-8.1.0/Pgtcl
> /usr/src/redhat/BUILD/postgresql-8.1.0
> + %aconfver
> /var/tmp/rpm-tmp.58757: line 79: fg: no job control
> error: Bad exit status from /var/tmp/rpm-tmp.58757 (%prep)

I can reproduce this in tcl-enabled builds. Working on it and will send a
patch for the spec file ASAP.

Regards,
--
Devrim GUNDUZ
Kivi Bilişim Teknolojileri - http://www.kivi.com.tr
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org
>From pgsql-general-owner(at)postgresql(dot)org Wed Nov 30 07:18:27 2005
X-Original-To: pgsql-general-postgresql(dot)org(at)localhost(dot)postgresql(dot)org
Received: from localhost (av.hub.org [200.46.204.144])
by postgresql.org (Postfix) with ESMTP id 7325F9DCBB4
for <pgsql-general-postgresql(dot)org(at)localhost(dot)postgresql(dot)org>; Wed, 30 Nov 2005 07:18:26 -0400 (AST)
Received: from postgresql.org ([200.46.204.71])
by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024)
with ESMTP id 09836-01
for <pgsql-general-postgresql(dot)org(at)localhost(dot)postgresql(dot)org>;
Wed, 30 Nov 2005 07:18:27 -0400 (AST)
X-Greylist: from auto-whitelisted by SQLgrey-
Received: from mail.kivi.com.tr (mail.kivi.com.tr [213.143.254.37])
by postgresql.org (Postfix) with ESMTP id 7E5EA9DCBE5
for <pgsql-general(at)postgresql(dot)org>; Wed, 30 Nov 2005 07:18:23 -0400 (AST)
Received: by mail.kivi.com.tr (Postfix, from userid 1009)
id 1F0828019F; Wed, 30 Nov 2005 13:18:15 +0200 (EET)
Received: from localhost (localhost [127.0.0.1])
by mail.kivi.com.tr (Postfix) with ESMTP id 14A5CA068E;
Wed, 30 Nov 2005 13:18:15 +0200 (EET)
Date: Wed, 30 Nov 2005 13:18:10 +0200 (EET)
From: Devrim GUNDUZ <devrim(at)gunduz(dot)org>
X-X-Sender: devrim2(at)mail(dot)kivi(dot)com(dot)tr
To: Jerry LeVan <jerry(dot)levan(at)gmail(dot)com>
Cc: Postgres General <pgsql-general(at)postgresql(dot)org>,
pgsqlrpms-hackers(at)pgfoundry(dot)org
Subject: Re: I can't build the 8.1.0 source rpm from postgresql.org
In-Reply-To: <Pine(dot)LNX(dot)4(dot)63(dot)0511301252510(dot)26395(at)mail(dot)kivi(dot)com(dot)tr>
Message-ID: <Pine(dot)LNX(dot)4(dot)63(dot)0511301304170(dot)26395(at)mail(dot)kivi(dot)com(dot)tr>
References: <D43BFB57-3C19-4FD7-AD22-8FA6DA7219EC(at)gmail(dot)com>
<Pine(dot)LNX(dot)4(dot)63(dot)0511301252510(dot)26395(at)mail(dot)kivi(dot)com(dot)tr>
MIME-Version: 1.0
X-Kivi-MailScanner-Information: Please contact the ISP for more information
X-Kivi-MailScanner: Found to be clean
X-Kivi-MailScanner-SpamCheck: not spam (whitelisted),
SpamAssassin (score=-2.82, required 6, autolearn=disabled,
ALL_TRUSTED -2.82)
X-Kivi-MailScanner-From: devrim(at)gunduz(dot)org
X-Virus-Scanned: by amavisd-new at hub.org
X-Spam-Status: No, score=0.089 required=5 tests=[AWL=0.089]
X-Spam-Score: 0.089
X-Spam-Level:
Content-Type: TEXT/PLAIN; CHARSET=iso-8859-9; FORMAT=flowed
Content-Transfer-Encoding: 8BIT
Content-ID: <Pine(dot)LNX(dot)4(dot)63(dot)0511301312251(dot)26395(at)mail(dot)kivi(dot)com(dot)tr>
X-Archive-Number: 200511/1381
X-Sequence-Number: 87524

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

On Wed, 30 Nov 2005, Devrim GUNDUZ wrote:

>> + %aconfver
>> /var/tmp/rpm-tmp.58757: line 79: fg: no job control
>> error: Bad exit status from /var/tmp/rpm-tmp.58757 (%prep)
>
> I can reproduce this in tcl-enabled builds. Working on it and will send a
> patch for the spec file ASAP.

Ok found it. It seems that during the cleanup process of 8.1 specfile, I
had accidentally removed aconfver macro :(

%{!?aconfver:%define aconfver autoconf}

This is now fixed in our CVS and the change will appear in 8.1.1 RPM set.

Until then, use

- --define 'aconfver autoconf'

to build the rpms with tcl support. Thanks for the report.

Regards,
- --
Devrim GUNDUZ
Kivi Bilişim Teknolojileri - http://www.kivi.com.tr
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDjYp24zE8DGqpiZARAvNuAJ9osse0ec+I85jOOo3WFaHnX7ZDCgCePetN
zdpBmc9pf6neB2iRY8/quog=
=tvk1
-----END PGP SIGNATURE-----
>From pgsql-general-owner(at)postgresql(dot)org Wed Nov 30 07:25:33 2005
X-Original-To: pgsql-general-postgresql(dot)org(at)localhost(dot)postgresql(dot)org
Received: from localhost (av.hub.org [200.46.204.144])
by postgresql.org (Postfix) with ESMTP id E6BAB9DCB66
for <pgsql-general-postgresql(dot)org(at)localhost(dot)postgresql(dot)org>; Wed, 30 Nov 2005 07:25:32 -0400 (AST)
Received: from postgresql.org ([200.46.204.71])
by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024)
with ESMTP id 09218-10
for <pgsql-general-postgresql(dot)org(at)localhost(dot)postgresql(dot)org>;
Wed, 30 Nov 2005 07:25:33 -0400 (AST)
X-Greylist: from auto-whitelisted by SQLgrey-
Received: from box.iiitb.ac.in (box.iiitb.ac.in [164.164.104.139])
by postgresql.org (Postfix) with ESMTP id E462D9DCAB1
for <pgsql-general(at)postgresql(dot)org>; Wed, 30 Nov 2005 07:25:29 -0400 (AST)
Received: by box.iiitb.ac.in (Postfix, from userid 20)
id B516AAC60; Wed, 30 Nov 2005 16:55:57 +0530 (IST)
Received: from jal.iiitb.ac.in (jal.iiitb.ac.in [10.100.100.246])
by box.iiitb.ac.in (Postfix) with ESMTP id 80E88AC51;
Wed, 30 Nov 2005 16:55:57 +0530 (IST)
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C5F5A0.C759B87A"
Subject: regarding Solaris 10
Content-class: urn:content-classes:message
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Date: Wed, 30 Nov 2005 16:53:16 +0530
Message-ID: <967CFC4343BF2A4DAFACD026D33DC85118EC98(at)jal(dot)iiitb(dot)ac(dot)in>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: regarding Solaris 10
Thread-Index: AcX1IHwXhTLvygszTl+T0G15r4WqXwAf/mHN
From: "surabhi.ahuja" <surabhi(dot)ahuja(at)iiitb(dot)ac(dot)in>
To: "Martijn van Oosterhout" <kleptog(at)svana(dot)org>,
"Janet Bagg" <J(dot)Bagg(at)kent(dot)ac(dot)uk>
Cc: <pgsql-general(at)postgresql(dot)org>
X-yoursite-MailScanner-Information: Please contact the ISP for more information
X-yoursite-MailScanner: Found to be clean
X-MailScanner-From: surabhi(dot)ahuja(at)iiitb(dot)ac(dot)in
X-Virus-Scanned: by amavisd-new at hub.org
X-Spam-Status: No, score=0.001 required=5 tests=[HTML_MESSAGE=0.001]
X-Spam-Score: 0.001
X-Spam-Level:
X-Archive-Number: 200511/1382
X-Sequence-Number: 87525

This is a multi-part message in MIME format.

------_=_NextPart_001_01C5F5A0.C759B87A
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

i was using Postgre8.0 on linux.

and was using the libpq libraries.

i have to port the existing code now, to solaris 10, X86 architecture.

are the libpq libraries still the same and the other api called to =
libpq, or they have to be changed?

=20

thanks,

regards

Surabhi

------_=_NextPart_001_01C5F5A0.C759B87A
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">=0A=
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">=0A=
<HTML>=0A=
<HEAD>=0A=
=0A=
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7226.0">=0A=
<TITLE>Re: [GENERAL] errors with 8.1 make on Solaris</TITLE>=0A=
</HEAD>=0A=
<BODY>=0A=
<P>i was using Postgre8.0 on linux.</P>=0A=
<P>and was using the libpq libraries.</P>=0A=
<P>i have to port the existing code now, to solaris 10, X86 =
architecture.</P>=0A=
<P>are the libpq libraries still the same and the other api called to =
libpq, or =0A=
they have to be changed?</P>=0A=
<P>&nbsp;</P>=0A=
<P>thanks,</P>=0A=
<P>regards</P>=0A=
<P>Surabhi</P>=0A=
=0A=
</BODY>=0A=
</HTML>
------_=_NextPart_001_01C5F5A0.C759B87A--

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2005-11-30 12:18:48 Re: regarding Solaris 10
Previous Message han.holl 2005-11-30 10:26:02 Re: I can't build the 8.1.0 source rpm from postgresql.org