public inbox for [email protected]
help / color / mirror / Atom feedskytools build for 9.5 (EL-6 and EL-7)
8+ messages / 4 participants
[nested] [flat]
* skytools build for 9.5 (EL-6 and EL-7)
@ 2016-05-19 09:21 Cédric Villemain <[email protected]>
2016-05-23 06:41 ` Re: skytools build for 9.5 (EL-6 and EL-7) Devrim Gündüz <[email protected]>
0 siblings, 1 reply; 8+ messages in thread
From: Cédric Villemain @ 2016-05-19 09:21 UTC (permalink / raw)
To: pgsql-pkg-yum
fix "make rpm" for skytools, previous path for the README files was not
correct.
It's a very simple patch, can you apply it and build packages please ?
I wonder if all specs files have to be edited one by one, is it welcome
to write a script which will prepare specs files for each EL and F
component instead ?
thank you,
--
Cédric Villemain +33 (0)6 20 30 22 52
http://2ndQuadrant.fr/
PostgreSQL: Support 24x7 - Développement, Expertise et Formation
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: skytools build for 9.5 (EL-6 and EL-7)
2016-05-19 09:21 skytools build for 9.5 (EL-6 and EL-7) Cédric Villemain <[email protected]>
@ 2016-05-23 06:41 ` Devrim Gündüz <[email protected]>
2016-05-23 16:51 ` Re: skytools build for 9.5 (EL-6 and EL-7) Cédric Villemain <[email protected]>
2016-05-23 20:47 ` Re: skytools build for 9.5 (EL-6 and EL-7) =?UTF-8?Q?C=c3=a9dric_Villemain?= <[email protected]>
2016-05-29 23:50 ` Re: skytools build for 9.5 (EL-6 and EL-7) Martín Marqués <[email protected]>
0 siblings, 3 replies; 8+ messages in thread
From: Devrim Gündüz @ 2016-05-23 06:41 UTC (permalink / raw)
To: Cédric Villemain <[email protected]>; pgsql-pkg-yum
Hi Cédric,
On Thu, 2016-05-19 at 11:21 +0200, Cédric Villemain wrote:
> fix "make rpm" for skytools, previous path for the README files was not
> correct.
>
> It's a very simple patch, can you apply it and build packages please ?
Thanks for the patch, but Skytools has more problems than this, AFAICS. The
latest release (3.2.6) needs some autoconf/autoreconf/autowhatever magic before
it can be compiled, and I could not fix it on Friday. I'll look at it later on.
> I wonder if all specs files have to be edited one by one, is it welcome
> to write a script which will prepare specs files for each EL and F
> component instead ?
We have unified spec files for 90% of the stuff that we build. This was the
first step. Craig is working on a solution that will exactly work as you
described. That will be the next step.
Regards,
--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR
Attachments:
[application/pgp-signature] signature.asc (819B, 2-signature.asc)
download
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: skytools build for 9.5 (EL-6 and EL-7)
2016-05-19 09:21 skytools build for 9.5 (EL-6 and EL-7) Cédric Villemain <[email protected]>
2016-05-23 06:41 ` Re: skytools build for 9.5 (EL-6 and EL-7) Devrim Gündüz <[email protected]>
@ 2016-05-23 16:51 ` Cédric Villemain <[email protected]>
2 siblings, 0 replies; 8+ messages in thread
From: Cédric Villemain @ 2016-05-23 16:51 UTC (permalink / raw)
To: Devrim Gündüz <[email protected]>; pgsql-pkg-yum
Hi Devrim,
> Thanks for the patch, but Skytools has more problems than this, AFAICS. The
> latest release (3.2.6) needs some autoconf/autoreconf/autowhatever magic before
> it can be compiled, and I could not fix it on Friday. I'll look at it later on.
rpm were built with the patches, I confess I didn't check further.
I'm not sure RPM have support for testing builds etc ? With debian we
have a buildfarm, is there some continuous integration or Q&A in
yum.postgresql.org too ?
>> I wonder if all specs files have to be edited one by one, is it welcome
>> to write a script which will prepare specs files for each EL and F
>> component instead ?
>
> We have unified spec files for 90% of the stuff that we build. This was the
> first step. Craig is working on a solution that will exactly work as you
> described. That will be the next step.
ok, great !!
--
Cédric Villemain +33 (0)6 20 30 22 52
http://2ndQuadrant.fr/
PostgreSQL: Support 24x7 - Développement, Expertise et Formation
--
Sent via pgsql-pkg-yum mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-pkg-yum
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: skytools build for 9.5 (EL-6 and EL-7)
2016-05-19 09:21 skytools build for 9.5 (EL-6 and EL-7) Cédric Villemain <[email protected]>
2016-05-23 06:41 ` Re: skytools build for 9.5 (EL-6 and EL-7) Devrim Gündüz <[email protected]>
@ 2016-05-23 20:47 ` =?UTF-8?Q?C=c3=a9dric_Villemain?= <[email protected]>
2 siblings, 0 replies; 8+ messages in thread
From: =?UTF-8?Q?C=c3=a9dric_Villemain?= @ 2016-05-23 20:47 UTC (permalink / raw)
To: Devrim Gündüz <[email protected]>; pgsql-pkg-yum
Hi Devrim,
> Thanks for the patch, but Skytools has more problems than this, AFAICS. The
> latest release (3.2.6) needs some autoconf/autoreconf/autowhatever magic before
> it can be compiled, and I could not fix it on Friday. I'll look at it later on.
rpm were built with the patches, I confess I didn't check further.
I'm not sure RPM have support for testing builds etc ? With debian we
have a buildfarm, is there some continuous integration or Q&A in
yum.postgresql.org too ?
>> I wonder if all specs files have to be edited one by one, is it welcome
>> to write a script which will prepare specs files for each EL and F
>> component instead ?
>
> We have unified spec files for 90% of the stuff that we build. This was the
> first step. Craig is working on a solution that will exactly work as you
> described. That will be the next step.
ok, great !!
--
Cédric Villemain +33 (0)6 20 30 22 52
http://2ndQuadrant.fr/
PostgreSQL: Support 24x7 - Développement, Expertise et Formation
--
Cédric Villemain +33 (0)6 20 30 22 52
http://2ndQuadrant.fr/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
--
Sent via pgsql-pkg-yum mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-pkg-yum
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: skytools build for 9.5 (EL-6 and EL-7)
2016-05-19 09:21 skytools build for 9.5 (EL-6 and EL-7) Cédric Villemain <[email protected]>
2016-05-23 06:41 ` Re: skytools build for 9.5 (EL-6 and EL-7) Devrim Gündüz <[email protected]>
@ 2016-05-29 23:50 ` Martín Marqués <[email protected]>
2016-05-31 00:15 ` Re: skytools build for 9.5 (EL-6 and EL-7) Devrim Gündüz <[email protected]>
2 siblings, 1 reply; 8+ messages in thread
From: Martín Marqués @ 2016-05-29 23:50 UTC (permalink / raw)
To: Devrim Gündüz <[email protected]>; Cédric Villemain <[email protected]>; pgsql-pkg-yum
Hi,
El 23/05/16 a las 03:41, Devrim Gündüz escribió:
>
>> fix "make rpm" for skytools, previous path for the README files was not
>> correct.
>>
>> It's a very simple patch, can you apply it and build packages please ?
>
> Thanks for the patch, but Skytools has more problems than this, AFAICS. The
> latest release (3.2.6) needs some autoconf/autoreconf/autowhatever magic before
> it can be compiled, and I could not fix it on Friday. I'll look at it later on.
That's strange. I downloaded the src.rpm for skytools, changed the
postgres version in the .spec file (plus the changes from Cédic's patch)
and it compiled without a problem.
Could you expand on what compile errors you were getting?
--
Martín Marqués http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
--
Sent via pgsql-pkg-yum mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-pkg-yum
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: skytools build for 9.5 (EL-6 and EL-7)
2016-05-19 09:21 skytools build for 9.5 (EL-6 and EL-7) Cédric Villemain <[email protected]>
2016-05-23 06:41 ` Re: skytools build for 9.5 (EL-6 and EL-7) Devrim Gündüz <[email protected]>
2016-05-29 23:50 ` Re: skytools build for 9.5 (EL-6 and EL-7) Martín Marqués <[email protected]>
@ 2016-05-31 00:15 ` Devrim Gündüz <[email protected]>
2016-06-04 15:37 ` Re: skytools build for 9.5 (EL-6 and EL-7) =?UTF-8?Q?C=c3=a9dric_Villemain?= <[email protected]>
0 siblings, 1 reply; 8+ messages in thread
From: Devrim Gündüz @ 2016-05-31 00:15 UTC (permalink / raw)
To: Martín Marqués <[email protected]>; Cédric Villemain <[email protected]>; pgsql-pkg-yum
Hi,
On Sun, 2016-05-29 at 20:50 -0300, Martín Marqués wrote:
> That's strange. I downloaded the src.rpm for skytools, changed the
> postgres version in the .spec file (plus the changes from Cédic's patch)
> and it compiled without a problem.
>
> Could you expand on what compile errors you were getting?
Here you go:
+ ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --
program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr
--bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --
includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --
localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --
infodir=/usr/share/info --with-pgconfig=/usr/pgsql-9.6/bin/pg_config --
prefix=/usr/skytools-96 --with-python=/usr/bin/python
/var/tmp/rpm-tmp.e7TmxM: line 44: ./configure: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.e7TmxM (%build)
So, configure is not in the tarball. I even cannot generate it without getting
an error:
$ autoreconf
configure.ac:138: error: possibly undefined macro: AC_USUAL_PORT_CHECK
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:139: error: possibly undefined macro: AC_USUAL_PROGRAM_CHECK
configure.ac:140: error: possibly undefined macro: AC_USUAL_HEADER_CHECK
configure.ac:141: error: possibly undefined macro: AC_USUAL_TYPE_CHECK
configure.ac:142: error: possibly undefined macro: AC_USUAL_FUNCTION_CHECK
configure.ac:149: error: possibly undefined macro: AC_USUAL_LIBEVENT_OPT
configure.ac:154: error: possibly undefined macro: AC_USUAL_DEBUG
configure.ac:155: error: possibly undefined macro: AC_USUAL_CASSERT
autoreconf: /usr/bin/autoconf failed with exit status: 1
Regards,
--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR
Attachments:
[application/pgp-signature] signature.asc (819B, 2-signature.asc)
download
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: skytools build for 9.5 (EL-6 and EL-7)
2016-05-19 09:21 skytools build for 9.5 (EL-6 and EL-7) Cédric Villemain <[email protected]>
2016-05-23 06:41 ` Re: skytools build for 9.5 (EL-6 and EL-7) Devrim Gündüz <[email protected]>
2016-05-29 23:50 ` Re: skytools build for 9.5 (EL-6 and EL-7) Martín Marqués <[email protected]>
2016-05-31 00:15 ` Re: skytools build for 9.5 (EL-6 and EL-7) Devrim Gündüz <[email protected]>
@ 2016-06-04 15:37 ` =?UTF-8?Q?C=c3=a9dric_Villemain?= <[email protected]>
2016-06-04 17:40 ` Re: skytools build for 9.5 (EL-6 and EL-7) Martín Marqués <[email protected]>
0 siblings, 1 reply; 8+ messages in thread
From: =?UTF-8?Q?C=c3=a9dric_Villemain?= @ 2016-06-04 15:37 UTC (permalink / raw)
To: Devrim Gündüz <[email protected]>; Martín Marqués <[email protected]>; pgsql-pkg-yum
Hi Devrim,
> On Sun, 2016-05-29 at 20:50 -0300, Martín Marqués wrote:
>> That's strange. I downloaded the src.rpm for skytools, changed
>> the postgres version in the .spec file (plus the changes from
>> Cédic's patch) and it compiled without a problem.
>>
>> Could you expand on what compile errors you were getting?
>
> Here you go:
>
> + ./configure --build=x86_64-redhat-linux-gnu
> --host=x86_64-redhat-linux-gnu -- program-prefix=
> --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr
> --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
> --datadir=/usr/share -- includedir=/usr/include --libdir=/usr/lib64
> --libexecdir=/usr/libexec -- localstatedir=/var
> --sharedstatedir=/var/lib --mandir=/usr/share/man --
> infodir=/usr/share/info
> --with-pgconfig=/usr/pgsql-9.6/bin/pg_config --
> prefix=/usr/skytools-96 --with-python=/usr/bin/python
> /var/tmp/rpm-tmp.e7TmxM: line 44: ./configure: No such file or
> directory error: Bad exit status from /var/tmp/rpm-tmp.e7TmxM
> (%build)
>
> So, configure is not in the tarball. I even cannot generate it
> without getting an error:
>
> $ autoreconf configure.ac:138: error: possibly undefined macro:
> AC_USUAL_PORT_CHECK If this token and others are legitimate, please
> use m4_pattern_allow. See the Autoconf documentation.
> configure.ac:139: error: possibly undefined macro:
> AC_USUAL_PROGRAM_CHECK configure.ac:140: error: possibly undefined
> macro: AC_USUAL_HEADER_CHECK configure.ac:141: error: possibly
> undefined macro: AC_USUAL_TYPE_CHECK configure.ac:142: error:
> possibly undefined macro: AC_USUAL_FUNCTION_CHECK configure.ac:149:
> error: possibly undefined macro: AC_USUAL_LIBEVENT_OPT
> configure.ac:154: error: possibly undefined macro: AC_USUAL_DEBUG
> configure.ac:155: error: possibly undefined macro:
> AC_USUAL_CASSERT autoreconf: /usr/bin/autoconf failed with exit
> status: 1
I didn't tried to reproduce the issue locally but I've used the
resulting packages and they work well.
Did you hit this problem when building package ? What's the command
used? (so I can do the exact same thing and debug)
What source archive did you used ? (link ?)
Thank you,
--
Cédric Villemain +33 (0)6 20 30 22 52
http://2ndQuadrant.fr/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
--
Cédric Villemain +33 (0)6 20 30 22 52
http://2ndQuadrant.fr/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
--
Sent via pgsql-pkg-yum mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-pkg-yum
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: skytools build for 9.5 (EL-6 and EL-7)
2016-05-19 09:21 skytools build for 9.5 (EL-6 and EL-7) Cédric Villemain <[email protected]>
2016-05-23 06:41 ` Re: skytools build for 9.5 (EL-6 and EL-7) Devrim Gündüz <[email protected]>
2016-05-29 23:50 ` Re: skytools build for 9.5 (EL-6 and EL-7) Martín Marqués <[email protected]>
2016-05-31 00:15 ` Re: skytools build for 9.5 (EL-6 and EL-7) Devrim Gündüz <[email protected]>
2016-06-04 15:37 ` Re: skytools build for 9.5 (EL-6 and EL-7) =?UTF-8?Q?C=c3=a9dric_Villemain?= <[email protected]>
@ 2016-06-04 17:40 ` Martín Marqués <[email protected]>
0 siblings, 0 replies; 8+ messages in thread
From: Martín Marqués @ 2016-06-04 17:40 UTC (permalink / raw)
To: Cédric Villemain <[email protected]>; +Cc: Devrim Gündüz <[email protected]>; pgsql-pkg-yum
Hi,
My experience was specifically with a Fedora 22 with PGDG
postgresql-9.5 packages, where all I did was:
* dnf download --source skytools-94
* rpm -ivh skytools-94-3.2-4.f22.src.rpm
* Edit skytools.spec so it compiles against 9.5 instead of 9.4
* Apply patch Cédric sent
* removed the init file which isn't used in systemd distros
* rpmbuild -ba rpmbuild/SPECS/slytools.spec
I really don't know where those errors come from. Maybe it's on RH6
with old autoconf?
Regards,
2016-06-04 12:37 GMT-03:00 Cédric Villemain <[email protected]>:
> Hi Devrim,
>
>> On Sun, 2016-05-29 at 20:50 -0300, Martín Marqués wrote:
>>> That's strange. I downloaded the src.rpm for skytools, changed
>>> the postgres version in the .spec file (plus the changes from
>>> Cédic's patch) and it compiled without a problem.
>>>
>>> Could you expand on what compile errors you were getting?
>>
>> Here you go:
>>
>> + ./configure --build=x86_64-redhat-linux-gnu
>> --host=x86_64-redhat-linux-gnu -- program-prefix=
>> --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr
>> --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
>> --datadir=/usr/share -- includedir=/usr/include --libdir=/usr/lib64
>> --libexecdir=/usr/libexec -- localstatedir=/var
>> --sharedstatedir=/var/lib --mandir=/usr/share/man --
>> infodir=/usr/share/info
>> --with-pgconfig=/usr/pgsql-9.6/bin/pg_config --
>> prefix=/usr/skytools-96 --with-python=/usr/bin/python
>> /var/tmp/rpm-tmp.e7TmxM: line 44: ./configure: No such file or
>> directory error: Bad exit status from /var/tmp/rpm-tmp.e7TmxM
>> (%build)
>>
>> So, configure is not in the tarball. I even cannot generate it
>> without getting an error:
>>
>> $ autoreconf configure.ac:138: error: possibly undefined macro:
>> AC_USUAL_PORT_CHECK If this token and others are legitimate, please
>> use m4_pattern_allow. See the Autoconf documentation.
>> configure.ac:139: error: possibly undefined macro:
>> AC_USUAL_PROGRAM_CHECK configure.ac:140: error: possibly undefined
>> macro: AC_USUAL_HEADER_CHECK configure.ac:141: error: possibly
>> undefined macro: AC_USUAL_TYPE_CHECK configure.ac:142: error:
>> possibly undefined macro: AC_USUAL_FUNCTION_CHECK configure.ac:149:
>> error: possibly undefined macro: AC_USUAL_LIBEVENT_OPT
>> configure.ac:154: error: possibly undefined macro: AC_USUAL_DEBUG
>> configure.ac:155: error: possibly undefined macro:
>> AC_USUAL_CASSERT autoreconf: /usr/bin/autoconf failed with exit
>> status: 1
>
> I didn't tried to reproduce the issue locally but I've used the
> resulting packages and they work well.
>
> Did you hit this problem when building package ? What's the command
> used? (so I can do the exact same thing and debug)
> What source archive did you used ? (link ?)
>
> Thank you,
> --
> Cédric Villemain +33 (0)6 20 30 22 52
> http://2ndQuadrant.fr/
> PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
>
> --
> Cédric Villemain +33 (0)6 20 30 22 52
> http://2ndQuadrant.fr/
> PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
--
Martín Marqués http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
--
Sent via pgsql-pkg-yum mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-pkg-yum
^ permalink raw reply [nested|flat] 8+ messages in thread
end of thread, other threads:[~2016-06-04 17:40 UTC | newest]
Thread overview: 8+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-05-19 09:21 skytools build for 9.5 (EL-6 and EL-7) Cédric Villemain <[email protected]>
2016-05-23 06:41 ` Devrim Gündüz <[email protected]>
2016-05-23 16:51 ` Cédric Villemain <[email protected]>
2016-05-23 20:47 ` =?UTF-8?Q?C=c3=a9dric_Villemain?= <[email protected]>
2016-05-29 23:50 ` Martín Marqués <[email protected]>
2016-05-31 00:15 ` Devrim Gündüz <[email protected]>
2016-06-04 15:37 ` =?UTF-8?Q?C=c3=a9dric_Villemain?= <[email protected]>
2016-06-04 17:40 ` Martín Marqués <[email protected]>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox