fulalas created an issue (rpm-software-management/rpm#4070)
**Describe the bug**
Can build up to 6.0.0, not 6.0.1
**To Reproduce**
Just try to build from 6.0.1 source
**Output**
```
[109/220] Building CXX object lib/CMakeFiles/librpm.dir/keystore.cc.o
FAILED: [code=1] lib/CMakeFiles/librpm.dir/keystore.cc.o
/usr/bin/clang++ -DHAVE_CONFIG_H -DLIBRPMALIAS_EXECPATH=\"/usr/bin\"
-DLIBRPMALIAS_FILENAME=\"rpmpopt-6.0.1\" -DLOCALEDIR=\"/usr/share/locale\"
-DLOCALSTATEDIR=\"/var\" -DSYSCONFDIR=\"/etc\" -D_FILE_OFFSET_BITS=64
-D_GNU_SOURCE -Dlibrpm_EXPORTS
-I/tmp/porteux-builder-2.5/001-core/rpm/rpm-6.0.1/build
-I/tmp/porteux-builder-2.5/001-core/rpm/rpm-6.0.1/misc
-I/tmp/porteux-builder-2.5/001-core/rpm/rpm-6.0.1/include
-I/tmp/porteux-builder-2.5/001-core/rpm/rpm-6.0.1/lib
-I/tmp/porteux-builder-2.5/001-core/rpm/rpm-6.0.1/rpmio
-I/tmp/porteux-builder-2.5/001-core/rpm/rpm-6.0.1/build/lib -O3
-march=x86-64-v2 -mtune=generic -fno-semantic-interposition -fno-trapping-math
-ftree-vectorize -fno-unwind-tables -fno-asynchronous-unwind-tables
-ffunction-sections -fdata-sections -flto=auto
-Wno-unused-command-line-argument -fvisibility-inlines-hidden -Wno-sign-compare
-std=gnu++20 -fPIC -Wall -Wpointer-arith -Wempty-body -Wformat-security -MD -MT
lib/CMakeFiles/librpm.dir/keystore.cc.o -MF
lib/CMakeFiles/librpm.dir/keystore.cc.o.d -o
lib/CMakeFiles/librpm.dir/keystore.cc.o -c
/tmp/porteux-builder-2.5/001-core/rpm/rpm-6.0.1/lib/keystore.cc
/tmp/porteux-builder-2.5/001-core/rpm/rpm-6.0.1/lib/keystore.cc:129:19: error:
static declaration of 'delete_key_compat' follows non-static declaration
129 | static rpmRC rpm::delete_key_compat(auto keystore, rpmtxn txn,
rpmPubkey key, auto skip)
| ^
/tmp/porteux-builder-2.5/001-core/rpm/rpm-6.0.1/lib/keystore.hh:30:18: note:
previous declaration is here
30 | friend rpmRC delete_key_compat(auto keystore, rpmtxn txn, rpmPubkey
key, auto skip);
| ^
1 error generated.
```
**Environment**
- OS / Distribution: PorteuX 2.5 dev
- Version 6.0.1
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/4070
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/[email protected]>_______________________________________________
Rpm-maint mailing list
[email protected]
https://lists.rpm.org/mailman/listinfo/rpm-maint