Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 647260 - sys-fs/udev-236-r1 fails to build with sys-libs/glibc-2.27
Summary: sys-fs/udev-236-r1 fails to build with sys-libs/glibc-2.27
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: glibc-2.27
  Show dependency tree
 
Reported: 2018-02-10 23:18 UTC by Andreas K. Hüttel
Modified: 2018-03-07 15:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas K. Hüttel archtester gentoo-dev 2018-02-10 23:18:00 UTC
sys-fs/udev-236-r1 fails to build with sys-libs/glibc-2.27

x86_64-pc-linux-gnu-gcc  -Isrc/libsystemd/systemd@sta -Isrc/libsystemd -I../systemd-236/src/libsystemd -I. -I../systemd-236/ -Isrc/libsystemd-network -I../systemd-236/src/libsystemd-network -I../sys
temd-236/src/libsystemd/sd-network -I../systemd-236/src/libsystemd/sd-netlink -I../systemd-236/src/libsystemd/sd-id128 -I../systemd-236/src/libsystemd/sd-hwdb -I../systemd-236/src/libsystemd/sd-devi
ce -I../systemd-236/src/libsystemd/sd-bus -Isrc/core -I../systemd-236/src/core -Isrc/libudev -I../systemd-236/src/libudev -Isrc/udev -I../systemd-236/src/udev -Isrc/login -I../systemd-236/src/login 
-Isrc/timesync -I../systemd-236/src/timesync -Isrc/resolve -I../systemd-236/src/resolve -Isrc/journal -I../systemd-236/src/journal -Isrc/systemd -I../systemd-236/src/systemd -Isrc/shared -I../system
d-236/src/shared -Isrc/basic -I../systemd-236/src/basic -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu99 -Wextra -Werror=undef -Wlogical-op -Wmissing-include-dirs -Wold-style-defin
ition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wsuggest-attribute=noreturn -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=missing-declaratio
ns -Werror=return-type -Werror=incompatible-pointer-types -Werror=format=2 -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wimplicit-fallthrough=5 -Wshadow -Wendif-labels -Wstrict-aliasing
=2 -Wwrite-strings -Werror=overflow -Wdate-time -Wnested-externs -ffast-math -fno-common -fdiagnostics-show-option -fno-strict-aliasing -fvisibility=hidden -fstack-protector -fstack-protector-strong
 -fPIE --param=ssp-buffer-size=4 -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -Wno-format-signedness -Wno-error=nonnull -Werror=shadow -ffunction-sections -fdata-sections
 -include config.h -march=native -O2 -ggdb -frecord-gcc-switches -flto -fPIC -pthread -MMD -MQ 'src/libsystemd/systemd@sta/sd-bus_bus-bloom.c.o' -MF 'src/libsystemd/systemd@sta/sd-bus_bus-bloom.c.o.
d' -o 'src/libsystemd/systemd@sta/sd-bus_bus-bloom.c.o' -c ../systemd-236/src/libsystemd/sd-bus/bus-bloom.c
In file included from ../systemd-236/src/basic/missing.h:1282:0,
                 from ../systemd-236/src/basic/util.h:47,
                 from ../systemd-236/src/libsystemd/sd-bus/bus-bloom.c:23:
../systemd-236/src/basic/missing_syscall.h:310:23: error: static declaration of ‘copy_file_range’ follows non-static declaration
 static inline ssize_t copy_file_range(int fd_in, loff_t *off_in,
                       ^~~~~~~~~~~~~~~
In file included from ../systemd-236/src/basic/util.h:43:0,
                 from ../systemd-236/src/libsystemd/sd-bus/bus-bloom.c:23:
/usr/include/unistd.h:1110:9: note: previous declaration of ‘copy_file_range’ was here
 ssize_t copy_file_range (int __infd, __off64_t *__pinoff,
         ^~~~~~~~~~~~~~~


and many more similar ...
Comment 1 Arfrever Frehtes Taifersar Arahesis 2018-02-11 01:54:31 UTC
https://github.com/systemd/systemd/pull/7734
https://github.com/systemd/systemd/commit/0e50bfaefde2a01792f4e4bcad7e0d822c74835b

Fix was released in upstream version 237.
(Fix was also backported to Gentoo systemd-236-r5.)
Comment 2 Larry the Git Cow gentoo-dev 2018-02-13 16:03:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7346a1c028fb1d242b50c3a1cff4fd49d88af224

commit 7346a1c028fb1d242b50c3a1cff4fd49d88af224
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2018-02-13 16:03:11 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2018-02-13 16:03:36 +0000

    sys-fs/udev: bump to 237
    
    This update also drops the workaround for missing secure_getenv, which
    hasn't worked properly since the build system was switched to meson.
    
    Bug: https://bugs.gentoo.org/443030
    Closes: https://bugs.gentoo.org/647260
    Package-Manager: Portage-2.3.24_p18, Repoman-2.3.6_p99

 sys-fs/udev/Manifest         |   1 +
 sys-fs/udev/udev-237.ebuild  | 327 +++++++++++++++++++++++++++++++++++++++++++
 sys-fs/udev/udev-9999.ebuild |  21 +--
 3 files changed, 332 insertions(+), 17 deletions(-)