Bugzilla – Bug 1079757
[glibc2.27] postgresql10 fails to build
Last modified: 2020-08-13 16:05:07 UTC
openSUSE Factory is in progress of merging GLIBC 2.27 - postgresql10 is amongst the packages failing to build [ 186s] copy_fetch.c:159:1: error: conflicting types for 'copy_file_range' [ 186s] copy_file_range(const char *path, off_t begin, off_t end, bool trunc) [ 186s] ^~~~~~~~~~~~~~~ [ 186s] In file included from copy_fetch.c:15:0: [ 186s] /usr/include/unistd.h:1110:9: note: previous declaration of 'copy_file_range' was here [ 186s] ssize_t copy_file_range (int __infd, __off64_t *__pinoff, [ 186s] ^~~~~~~~~~~~~~~ Full log at https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:C/postgresql10/standard/x86_64
The same issue happens with the older pgsql packages in Tumbleweed; do you want separate bugs for all of them?
One bug report is enough. There is a patchlevel update for all versions around the corner, so I'll have to touch the packages soon anyway. Either the update will fix the glibc issue already, or I'll take care of it along the way.
Yep, yesterday's PostgreSQL updates already contain a fix for this: --- snip --- Rename pg_rewind's copy_file_range function to avoid conflict with new Linux system call of that name (Andres Freund) This change prevents build failures with newer glibc versions. --- snap ---
Done.
This is an autogenerated message for OBS integration: This bug (1079757) was mentioned in https://build.opensuse.org/request/show/574648 Factory / postgresql93 https://build.opensuse.org/request/show/574649 Factory / postgresql94 https://build.opensuse.org/request/show/574651 Factory / postgresql95 https://build.opensuse.org/request/show/574652 Factory / postgresql96 https://build.opensuse.org/request/show/574653 Factory / postgresql10
This is an autogenerated message for OBS integration: This bug (1079757) was mentioned in https://build.opensuse.org/request/show/578690 42.3 / postgresql95
openSUSE-SU-2018:0529-1: An update that solves 6 vulnerabilities and has one errata is now available. Category: security (important) Bug References: 1051684,1051685,1053259,1067841,1067844,1077983,1079757 CVE References: CVE-2017-15098,CVE-2017-15099,CVE-2017-7546,CVE-2017-7547,CVE-2017-7548,CVE-2018-1053 Sources used: openSUSE Leap 42.3 (src): postgresql95-9.5.11-2.3.1, postgresql95-libs-9.5.11-2.3.1
This is an autogenerated message for OBS integration: This bug (1079757) was mentioned in https://build.opensuse.org/request/show/679960 Factory / postgresql10