Thread: Build errors on Fedora, latest snapshot

Build errors on Fedora, latest snapshot

From
Devrim GUNDUZ
Date:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,

I was trying to rebuild pgadmin3 package for FC1 using the srpm on snake,
and I got the following error:

============================
+ make all
make  all-recursive
make[1]: Entering directory `/usr/src/redhat/BUILD/pgadmin3-1.1.0'
Making all in src
make[2]: Entering directory `/usr/src/redhat/BUILD/pgadmin3-1.1.0/src'
cd .. && \
  /bin/sh /usr/src/redhat/BUILD/pgadmin3-1.1.0/config/missing --run
automake-1.7 --foreign  src/Makefile
configure.ac:9: version mismatch.  This is Automake 1.7.8,
configure.ac:9: but the definition used by this AM_INIT_AUTOMAKE
configure.ac:9: comes from Automake 1.7.5.  You should recreate
configure.ac:9: aclocal.m4 with aclocal and run automake again.
make[2]: *** [Makefile.in] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/pgadmin3-1.1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/pgadmin3-1.1.0'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.8188 (%build)


    
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.8188 (%build)
=====================

Any comments?

- --
Devrim GUNDUZ
devrim@gunduz.org                devrim.gunduz@linux.org.tr
            http://www.tdmsoft.com
            http://www.gunduz.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/wOEHtl86P3SPfQ4RAi0YAJ95oOUwbA98jigkErHz0pLjSMfcpQCgvaA6
RkVgWll/q+gWiZnESOm+80o=
=uOLY
-----END PGP SIGNATURE-----


Re: Build errors on Fedora, latest snapshot

From
Adam H.Pendleton
Date:
On Sunday, Nov 23, 2003, at 11:32 US/Eastern, Devrim GUNDUZ wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> Hi,
>
> I was trying to rebuild pgadmin3 package for FC1 using the srpm on
> snake,
> and I got the following error:
>
> ============================
> + make all
> make  all-recursive
> make[1]: Entering directory `/usr/src/redhat/BUILD/pgadmin3-1.1.0'
> Making all in src
> make[2]: Entering directory `/usr/src/redhat/BUILD/pgadmin3-1.1.0/src'
> cd .. && \
>   /bin/sh /usr/src/redhat/BUILD/pgadmin3-1.1.0/config/missing --run
> automake-1.7 --foreign  src/Makefile
> configure.ac:9: version mismatch.  This is Automake 1.7.8,
> configure.ac:9: but the definition used by this AM_INIT_AUTOMAKE
> configure.ac:9: comes from Automake 1.7.5.  You should recreate
> configure.ac:9: aclocal.m4 with aclocal and run automake again.

Did you make any modifications to the source files before rebuilding?
This happens when the configure script detects a change in the
automake/autoconf files (or the source files I suppose) files, and
tries to re-build them.  Since configure is not distributed with the
SRPM, this is the error you get.

ahp

Attachment

Re: Build errors on Fedora, latest snapshot

From
Jean-Michel POURE
Date:
Le Dimanche 23 Novembre 2003 21:10, Adam H.Pendleton a écrit :
> Did you make any modifications to the source files before rebuilding?  
> This happens when the configure script detects a change in the
> automake/autoconf files (or the source files I suppose) files, and
> tries to re-build them.  Since configure is not distributed with the
> SRPM, this is the error you get.

What should we do then, run bootstrap before configure?
Cheers, Jean-Michel


Re: Build errors on Fedora, latest snapshot

From
Devrim GUNDUZ
Date:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,

On Sun, 23 Nov 2003, Adam H.Pendleton wrote:

> Did you make any modifications to the source files before rebuilding?

No. I've just tried to rebuild the rpm.

> This happens when the configure script detects a change in the
> automake/autoconf files (or the source files I suppose) files, and
> tries to re-build them.  Since configure is not distributed with the
> SRPM, this is the error you get.

So, what should I do? There wasn't any errors while building the snapshot
of the previous day.

Regards,
- --
Devrim GUNDUZ
devrim@gunduz.org                devrim.gunduz@linux.org.tr
            http://www.tdmsoft.com
            http://www.gunduz.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/wb32tl86P3SPfQ4RAn1TAJ48iXtdhsRwOmVOLAElgamzpB3lcwCfUCeR
P2xn4upECRMnnxfgivmI774=
=1Yio
-----END PGP SIGNATURE-----


Re: Build errors on Fedora, latest snapshot

From
Jean-Michel POURE
Date:
Le Lundi 24 Novembre 2003 05:36, Adam H. Pendleton a écrit :
> Well, yes, but in order to do that (at least from the SRPM), you would
> have to distribute configure.ac, all the Makefile.ins, the config
> directory, etc.  Not to mention that the user would have to have the
> proper versions of autoconf and automake.

You are right Adam. Then, should Devrim build the RPM from tar.gz like I do? I
am sending him the script.

Best regards,
Jean-Michel