Summary: | sys-cluster/libdlm-3.2.0 : /.../libdlm.c:376:7: error: called object ‘minor’ is not a function or function pointer | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo Cluster Team <cluster> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | treecleaner |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=515734 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 650738 | ||
Bug Blocks: | 575232, 646004 | ||
Attachments: |
emerge-history.txt
environment sys-cluster:libdlm-3.2.0:20160417-083000.log |
Description
Toralf Förster
2016-04-17 08:34:06 UTC
Created attachment 430902 [details]
emerge-history.txt
Created attachment 430904 [details]
environment
Created attachment 430908 [details]
sys-cluster:libdlm-3.2.0:20160417-083000.log
Ping - this is now blocking glibc-2.25 stabilization. GCC 7.2.0 with the new PIE requirement and new 17 desktop profile requirement Do you guys even fix bugs? do you guys even test stuff before demanding PIE core components do not build including lvm2 / nano. >>> Installing (4 of 391) sys-libs/libseccomp-2.3.2::gentoo >>> Emerging (5 of 391) sys-cluster/libdlm-3.2.0::gentoo >>> Failed to emerge sys-cluster/libdlm-3.2.0, Log file: >>> '/var/tmp/portage/sys-cluster/libdlm-3.2.0/temp/build.log' * Package: sys-cluster/libdlm-3.2.0 * Repository: gentoo * Maintainer: cluster@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox Configuring Makefiles for your system... Checking tree: nothing to do Completed Makefile configuration make: Entering directory '/var/tmp/portage/sys-cluster/libdlm-3.2.0/work/cluster-3.2.0/dlm/libdlm' x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fomit-frame-pointer -Wall -I/var/tmp/portage/sys-cluster/libdlm-3.2.0/work/cluster-3.2.0/make -DDEFAULT_CONFIG_DIR=\"/etc/cluster\" -DDEFAULT_CONFIG_FILE=\"cluster.conf\" -DLOGDIR=\"/var/log/cluster\" -DSYSLOGFACILITY=LOG_LOCAL4 -DSYSLOGLEVEL=LOG_INFO -DRELEASE_VERSION=\"3.2.0\" -fPIC -I/var/tmp/portage/sys-cluster/libdlm-3.2.0/work/cluster-3.2.0/dlm/libdlm -I/usr/include -I/usr//include -D_REENTRANT -c -o libdlm.o /var/tmp/portage/sys-cluster/libdlm-3.2.0/work/cluster-3.2.0/dlm/libdlm/libdlm.c x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fomit-frame-pointer -Wall -I/var/tmp/portage/sys-cluster/libdlm-3.2.0/work/cluster-3.2.0/make -DDEFAULT_CONFIG_DIR=\"/etc/cluster\" -DDEFAULT_CONFIG_FILE=\"cluster.conf\" -DLOGDIR=\"/var/log/cluster\" -DSYSLOGFACILITY=LOG_LOCAL4 -DSYSLOGLEVEL=LOG_INFO -DRELEASE_VERSION=\"3.2.0\" -fPIC -I/var/tmp/portage/sys-cluster/libdlm-3.2.0/work/cluster-3.2.0/dlm/libdlm -I/usr/include -I/usr//include -c -o libdlm_lt.o /var/tmp/portage/sys-cluster/libdlm-3.2.0/work/cluster-3.2.0/dlm/libdlm/libdlm.c cat /var/tmp/portage/sys-cluster/libdlm-3.2.0/work/cluster-3.2.0/dlm/libdlm/libdlm.pc.in | \ sed \ -e 's#@PREFIX@#/usr#g' \ -e 's#@LIBDIR@#/usr/lib64#g' \ -e 's#@INCDIR@#/usr/include#g' \ -e 's#@VERSION@#3.2.0#g' \ > libdlm.pc cat /var/tmp/portage/sys-cluster/libdlm-3.2.0/work/cluster-3.2.0/dlm/libdlm/libdlm_lt.pc.in | \ sed \ -e 's#@PREFIX@#/usr#g' \ -e 's#@LIBDIR@#/usr/lib64#g' \ -e 's#@INCDIR@#/usr/include#g' \ -e 's#@VERSION@#3.2.0#g' \ > libdlm_lt.pc /var/tmp/portage/sys-cluster/libdlm-3.2.0/work/cluster-3.2.0/dlm/libdlm/libdlm.c: In function 'open_control_device': /var/tmp/portage/sys-cluster/libdlm-3.2.0/work/cluster-3.2.0/dlm/libdlm/libdlm.c:376:7: error: called object 'minor' is not a function or function pointer minor(st.st_rdev) == minor) { ^~~~~ /var/tmp/portage/sys-cluster/libdlm-3.2.0/work/cluster-3.2.0/dlm/libdlm/libdlm.c:363:13: note: declared here int i, rv, minor, found = 0; ^~~~~ /var/tmp/portage/sys-cluster/libdlm-3.2.0/work/cluster-3.2.0/dlm/libdlm/libdlm.c: In function 'find_udev_device': /var/tmp/portage/sys-cluster/libdlm-3.2.0/work/cluster-3.2.0/dlm/libdlm/libdlm.c:420:36: error: called object 'minor' is not a function or function pointer if (stat(udev_path, &st) == 0 && minor(st.st_rdev) == minor) ^~~~~ /var/tmp/portage/sys-cluster/libdlm-3.2.0/work/cluster-3.2.0/dlm/libdlm/libdlm.c:402:56: note: declared here static int find_udev_device(const char *lockspace, int minor, char *udev_path) ^~~~~ /var/tmp/portage/sys-cluster/libdlm-3.2.0/work/cluster-3.2.0/dlm/libdlm/libdlm.c:442:8: error: called object 'minor' is not a function or function pointer if (minor(st.st_rdev) != minor) ^~~~~ /var/tmp/portage/sys-cluster/libdlm-3.2.0/work/cluster-3.2.0/dlm/libdlm/libdlm.c:402:56: note: declared here static int find_udev_device(const char *lockspace, int minor, char *udev_path) ^~~~~ /var/tmp/portage/sys-cluster/libdlm-3.2.0/work/cluster-3.2.0/dlm/libdlm/libdlm.c: In function 'open_control_device': /var/tmp/portage/sys-cluster/libdlm-3.2.0/work/cluster-3.2.0/dlm/libdlm/libdlm.c:376:7: error: called object 'minor' is not a function or function pointer minor(st.st_rdev) == minor) { ^~~~~ /var/tmp/portage/sys-cluster/libdlm-3.2.0/work/cluster-3.2.0/dlm/libdlm/libdlm.c:363:13: note: declared here int i, rv, minor, found = 0; ^~~~~ /var/tmp/portage/sys-cluster/libdlm-3.2.0/work/cluster-3.2.0/dlm/libdlm/libdlm.c: In function 'find_udev_device': /var/tmp/portage/sys-cluster/libdlm-3.2.0/work/cluster-3.2.0/dlm/libdlm/libdlm.c:420:36: error: called object 'minor' is not a function or function pointer if (stat(udev_path, &st) == 0 && minor(st.st_rdev) == minor) ^~~~~ /var/tmp/portage/sys-cluster/libdlm-3.2.0/work/cluster-3.2.0/dlm/libdlm/libdlm.c:402:56: note: declared here static int find_udev_device(const char *lockspace, int minor, char *udev_path) ^~~~~ /var/tmp/portage/sys-cluster/libdlm-3.2.0/work/cluster-3.2.0/dlm/libdlm/libdlm.c:442:8: error: called object 'minor' is not a function or function pointer if (minor(st.st_rdev) != minor) ^~~~~ /var/tmp/portage/sys-cluster/libdlm-3.2.0/work/cluster-3.2.0/dlm/libdlm/libdlm.c:402:56: note: declared here static int find_udev_device(const char *lockspace, int minor, char *udev_path) ^~~~~ /var/tmp/portage/sys-cluster/libdlm-3.2.0/work/cluster-3.2.0/dlm/libdlm/libdlm.c: In function 'dlm_release_lockspace': /var/tmp/portage/sys-cluster/libdlm-3.2.0/work/cluster-3.2.0/dlm/libdlm/libdlm.c:1404:20: warning: implicit declaration of function 'minor'; did you mean 'mknod'? [-Wimplicit-function-declaration] release_lockspace(minor(st.st_rdev), flags); ^~~~~ mknod /var/tmp/portage/sys-cluster/libdlm-3.2.0/work/cluster-3.2.0/dlm/libdlm/libdlm.c: In function 'dlm_release_lockspace': /var/tmp/portage/sys-cluster/libdlm-3.2.0/work/cluster-3.2.0/dlm/libdlm/libdlm.c:1404:20: warning: implicit declaration of function 'minor'; did you mean 'mknod'? [-Wimplicit-function-declaration] release_lockspace(minor(st.st_rdev), flags); ^~~~~ mknod make: *** [/var/tmp/portage/sys-cluster/libdlm-3.2.0/work/cluster-3.2.0/make/cobj.mk:2: libdlm.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [/var/tmp/portage/sys-cluster/libdlm-3.2.0/work/cluster-3.2.0/make/cobj.mk:6: libdlm_lt.o] Error 1 make: Leaving directory '/var/tmp/portage/sys-cluster/libdlm-3.2.0/work/cluster-3.2.0/dlm/libdlm' * ERROR: sys-cluster/libdlm-3.2.0::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-cluster/libdlm-3.2.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-cluster/libdlm-3.2.0::gentoo'`. * The complete build log is located at '/var/tmp/portage/sys-cluster/libdlm-3.2.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-cluster/libdlm-3.2.0/temp/environment'. * Working directory: '/var/tmp/portage/sys-cluster/libdlm-3.2.0/work/cluster-3.2.0/dlm' * S: '/var/tmp/portage/sys-cluster/libdlm-3.2.0/work/cluster-3.2.0/dlm' * Regenerating GNU info directory index... * Processed 163 info files. !!! existing preserved libs found fedorahosted.org shutdown in march 2017, the fedora cluster suite is 5 years old now and hosted at https://pagure.io/linux-cluster/cluster/releases I guess this should be tree cleaned along with cman stuff. See discussion here: https://github.com/gentoo/gentoo/pull/6700 (In reply to Ultrabug from comment #6) > fedorahosted.org shutdown in march 2017, the fedora cluster suite is 5 years > old now and hosted at https://pagure.io/linux-cluster/cluster/releases > > I guess this should be tree cleaned along with cman stuff. > > See discussion here: https://github.com/gentoo/gentoo/pull/6700 I have opened bug 650738 to ensure we can drop the optional support from lvm2 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=836da927394465e8f086d7ea270ac1f9a8a78041 commit 836da927394465e8f086d7ea270ac1f9a8a78041 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2018-04-29 21:49:13 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2018-04-29 21:49:13 +0000 sys-cluster/libdlm: Add build fix for glibc-2.26, bug 580296 Closes: https://bugs.gentoo.org/580296 Package-Manager: Portage-2.3.31, Repoman-2.3.9 sys-cluster/libdlm/files/libdlm-3.2.0-sysmacros.patch | 11 +++++++++++ sys-cluster/libdlm/libdlm-3.2.0.ebuild | 5 +++-- 2 files changed, 14 insertions(+), 2 deletions(-) |