I can't build the 8.1.0 source rpm from postgresql.org
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)
RPM build errors:
InstallSourcePackage: Header V3 DSA signature: NOKEY, key ID
748f7d0e
user devrim does not exist - using root
group devrim does not exist - using root
user devrim does not exist - using root
group devrim does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.58757 (%prep)
********************************************
Any suggestions?
Jerry
On Tuesday 29 November 2005 00:42, Jerry LeVan wrote:
/var/tmp/rpm-tmp.58757: line 79: fg: no job control
error: Bad exit status from /var/tmp/rpm-tmp.58757 (%prep)
[ cut ]
Any suggestions?
Well, I would look at what line 79 of /var/tmp/rpm-tmp.58757 has to say.
Cheers,
Han Holl
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@postgresql.org Wed Nov 30 07:18:27 2005
X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org
Received: from localhost (av.hub.org [200.46.204.144])
by postgresql.org (Postfix) with ESMTP id 7325F9DCBB4
for <pgsql-general-postgresql.org@localhost.postgresql.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.org@localhost.postgresql.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@postgresql.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@gunduz.org>
X-X-Sender: devrim2@mail.kivi.com.tr
To: Jerry LeVan <jerry.levan@gmail.com>
Cc: Postgres General <pgsql-general@postgresql.org>,
pgsqlrpms-hackers@pgfoundry.org
Subject: Re: I can't build the 8.1.0 source rpm from postgresql.org
In-Reply-To: <Pine.LNX.4.63.0511301252510.26395@mail.kivi.com.tr>
Message-ID: <Pine.LNX.4.63.0511301304170.26395@mail.kivi.com.tr>
References: <D43BFB57-3C19-4FD7-AD22-8FA6DA7219EC@gmail.com>
<Pine.LNX.4.63.0511301252510.26395@mail.kivi.com.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@gunduz.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.LNX.4.63.0511301312251.26395@mail.kivi.com.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@postgresql.org Wed Nov 30 07:25:33 2005
X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org
Received: from localhost (av.hub.org [200.46.204.144])
by postgresql.org (Postfix) with ESMTP id E6BAB9DCB66
for <pgsql-general-postgresql.org@localhost.postgresql.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.org@localhost.postgresql.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@postgresql.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@jal.iiitb.ac.in>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: regarding Solaris 10
Thread-Index: AcX1IHwXhTLvygszTl+T0G15r4WqXwAf/mHN
From: "surabhi.ahuja" <surabhi.ahuja@iiitb.ac.in>
To: "Martijn van Oosterhout" <kleptog@svana.org>,
"Janet Bagg" <J.Bagg@kent.ac.uk>
Cc: <pgsql-general@postgresql.org>
X-yoursite-MailScanner-Information: Please contact the ISP for more information
X-yoursite-MailScanner: Found to be clean
X-MailScanner-From: surabhi.ahuja@iiitb.ac.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> </P>=0A=
<P>thanks,</P>=0A=
<P>regards</P>=0A=
<P>Surabhi</P>=0A=
=0A=
</BODY>=0A=
</HTML>
------_=_NextPart_001_01C5F5A0.C759B87A--