Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b9FZ7-0005Oq-Lz for pgsql-pkg-yum@arkaria.postgresql.org; Sat, 04 Jun 2016 17:40:53 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b9FZ6-0004Qc-Ue for pgsql-pkg-yum@arkaria.postgresql.org; Sat, 04 Jun 2016 17:40:52 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b9FZ3-0004N4-Bd for pgsql-pkg-yum@postgresql.org; Sat, 04 Jun 2016 17:40:49 +0000 Received: from mail-oi0-x232.google.com ([2607:f8b0:4003:c06::232]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1b9FYz-0003g0-8w for pgsql-pkg-yum@postgresql.org; Sat, 04 Jun 2016 17:40:48 +0000 Received: by mail-oi0-x232.google.com with SMTP id j1so171552384oih.3 for ; Sat, 04 Jun 2016 10:40:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-transfer-encoding; bh=kN6X6H9yG+N2MSylsYLRwYKSqPVgb4vgYBkZVwwRtQ0=; b=KSmcslLcnCZZYIjvscl4vjAEdYTQ5nlmVh8kgG1M60g+8YITCGI7h431XbrBd7jkAO 2hM466+QVE8JT+jFjGMUfsHHGGN1TxEm08v0g5Hqu/1PfpuIbd3kcA/0CGL0ec9/D7NU DFPAgm0TSvLn6IUc3L2ldYk5wHtU902lgdB08Nd0nkfstBd3vEIkPPqzX7i7sYOhmMKB yFMp686TXminFDWc8FaZSRU1W9/1oli1mdb2VPNYQvXF7/IgYZfrKFdjPrqfbiOKmT/B 8nOkFNbr1yHnCI2jZUX4fyGxlh2dYHNdtEwOLbEOXRb8v2gFjEyogPXvukbh7SYguK7F YqTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-transfer-encoding; bh=kN6X6H9yG+N2MSylsYLRwYKSqPVgb4vgYBkZVwwRtQ0=; b=AaTbaspurTPJdfiRftzXKmfZLS3n+MSCRoI/oTR91urMOleHBNh4r3MZKVLdrbBQ/t PzXjBEw1ebS3idGJtofqDaY5sW5oL4Zg8lv870EV+kZzw3nMZoXMtnNQHDabE6u7hhK3 5Do6USJdSeg/eeRtJ+g4QFuoREpKQyJSpofsMRIz/Yat8744z8BsK/JbMzX05cXzTrAP SxUIhw8RMSWBYoE8O7sxnfRkQP+muFtqoEvygAQr2Sllr//q5GL0irN1YeE6YtQ2QOht MoXxOd9mC/LMxs1PydjdX3CP8dgml3VYHfFi1z2A2yZlcEw9q8ye1fNC24Mw+y+pt3oc 5AqA== X-Gm-Message-State: ALyK8tJpCR2pmIr4dKSrnzbL8zcG0um9UUd1N4+8EsvODC3ELVh3Cb0mIRsEi/fnLQ5f+kCT6YmZrfFBQDHM+c3K MIME-Version: 1.0 X-Received: by 10.202.204.198 with SMTP id c189mr2222936oig.78.1465062041790; Sat, 04 Jun 2016 10:40:41 -0700 (PDT) Received: by 10.157.37.203 with HTTP; Sat, 4 Jun 2016 10:40:41 -0700 (PDT) In-Reply-To: <5752F5C0.4010100@2ndQuadrant.com> References: <573D85B0.3030204@2ndQuadrant.com> <1463985690.31384.34.camel@gunduz.org> <8623586b-c4a3-0c04-57b3-491584922188@2ndquadrant.com> <1464653723.26745.12.camel@gunduz.org> <5752F5C0.4010100@2ndQuadrant.com> Date: Sat, 4 Jun 2016 14:40:41 -0300 Message-ID: Subject: Re: skytools build for 9.5 (EL-6 and EL-7) From: =?UTF-8?B?TWFydMOtbiBNYXJxdcOpcw==?= To: =?UTF-8?Q?C=C3=A9dric_Villemain?= Cc: =?UTF-8?B?RGV2cmltIEfDvG5kw7x6?= , pgsql-pkg-yum Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-pkg-yum Precedence: bulk Sender: pgsql-pkg-yum-owner@postgresql.org 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=C3=A9dric 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=C3=A9dric Villemain : > Hi Devrim, > >> On Sun, 2016-05-29 at 20:50 -0300, Mart=C3=ADn Marqu=C3=A9s wrote: >>> That's strange. I downloaded the src.rpm for skytools, changed >>> the postgres version in the .spec file (plus the changes from >>> C=C3=A9dic's patch) and it compiled without a problem. >>> >>> Could you expand on what compile errors you were getting? >> >> Here you go: >> >> + ./configure --build=3Dx86_64-redhat-linux-gnu >> --host=3Dx86_64-redhat-linux-gnu -- program-prefix=3D >> --disable-dependency-tracking --prefix=3D/usr --exec-prefix=3D/usr >> --bindir=3D/usr/bin --sbindir=3D/usr/sbin --sysconfdir=3D/etc >> --datadir=3D/usr/share -- includedir=3D/usr/include --libdir=3D/usr/lib64 >> --libexecdir=3D/usr/libexec -- localstatedir=3D/var >> --sharedstatedir=3D/var/lib --mandir=3D/usr/share/man -- >> infodir=3D/usr/share/info >> --with-pgconfig=3D/usr/pgsql-9.6/bin/pg_config -- >> prefix=3D/usr/skytools-96 --with-python=3D/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=C3=A9dric Villemain +33 (0)6 20 30 22 52 > http://2ndQuadrant.fr/ > PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services > > -- > C=C3=A9dric Villemain +33 (0)6 20 30 22 52 > http://2ndQuadrant.fr/ > PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services --=20 Mart=C3=ADn Marqu=C3=A9s http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services --=20 Sent via pgsql-pkg-yum mailing list (pgsql-pkg-yum@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-pkg-yum