Description of problem: Package postgresql fails to build from source in Fedora rawhide. Version-Release number of selected component (if applicable): 12.4-3.fc34 Steps to Reproduce: $ fedpkg build $ fedpkg mockbuild Additional info: This package is tracked by Koschei. See: https://koschei.fedoraproject.org/package/postgresql The problem in mock and copr is: + ./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 pgdocdir=/usr/share/doc/postgresql PGVERSION=12.4 PGMAJORVERSION=12 NAME_DEFAULT_PREV_SERVICE=postgresql /var/tmp/rpm-tmp.JJAJhw: line 75: ./configure: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.JJAJhw (%build) The problem in Koji is different, but the package fails to build there as well. This is blocking the Python 3.10 rebuild and hence it is important for us to see it fixed. For all our attempts to build postgresql with Python 3.10, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.10/package/postgresql/ Testing and mass rebuild of packages with Python 3.10 is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.10: https://copr.fedorainfracloud.org/coprs/g/python/python3.10/ Let us know here if you have any questions. Python 3.10 will be included in Fedora 35. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.10. A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon. We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.
Correction: With this commit https://src.fedoraproject.org/rpms/postgresql/c/5a34bed68f9e043ae63eb650d26cec913e6f37aa?branch=master the failure is as described: + ./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 pgdocdir=/usr/share/doc/postgresql PGVERSION=12.4 PGMAJORVERSION=12 NAME_DEFAULT_PREV_SERVICE=postgresql /var/tmp/rpm-tmp.JJAJhw: line 75: ./configure: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.JJAJhw (%build) Previously (and also on Fedora 33 and 32), the failure is as shown in Koschei (because Koschei builds from latest SRPM, not dist git). Honza, could you please have a look? It seems that your commit from 3 weeks ago was never built.
Yeah, my fault most probably, looking at it :(
Fixed already for some time: https://src.fedoraproject.org/rpms/postgresql/c/dec2de7c?branch=master Although there is another issue that blocks building --failing test, but it should be fixed once the package is updated to the latest upstream version.
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle. Changing version to 34.
This is a mass-posted update. Sorry if it is not 100% accurate to this bugzilla. The Python 3.10 rebuild is in progress in a Koji side tag. If you manage to fix the problem, please commit the fix in the rawhide branch, but don't build the package in regular rawhide. You can either build the package in the side tag, with: $ fedpkg build --target=f35-python Or you can the build and we will eventually build it for you. Note that the rebuild is still in progress, so not all (build) dependencies of this package might be available right away. Thanks. See also https://fedoraproject.org/wiki/Changes/Python3.10 If you have general questions about the rebuild, please use this mailing list thread: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/G47SGOYIQLRDTWGOSLSWERZSSHXDEDH5/
The f35-python side tag has been merged to Rawhide. From now on, build as you would normally build.
This package was successfully rebuilt with Python 3.10. If you need this bugzilla open for tracking purposes, sorry for the automatic closing: feel free to reopen it.