I too get the error with the redefinition of is_integral_helper.
error: redefinition of 'struct std::__is_integral_helper<unsigned char>'
Git Clone URL: | https://aur.archlinux.org/ncurses5-compat-libs.git (read-only, click to copy) |
---|---|
Package Base: | ncurses5-compat-libs |
Description: | System V Release 4.0 curses emulation library, ABI 5 |
Upstream URL: | https://invisible-island.net/ncurses/ncurses.html |
Licenses: | MIT |
Conflicts: | libtinfo5 |
Provides: | libtinfo5 |
Submitter: | Barthalion |
Maintainer: | micwoj92 |
Last Packager: | micwoj92 |
Votes: | 591 |
Popularity: | 2.24 |
First Submitted: | 2015-09-18 21:03 (UTC) |
Last Updated: | 2025-01-16 16:10 (UTC) |
I too get the error with the redefinition of is_integral_helper.
error: redefinition of 'struct std::__is_integral_helper<unsigned char>'
getting:
/usr/sbin/g++ -DHAVE_CONFIG_H -DBUILDING_NCURSES_CXX -I../c++ -I. -I../include -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/home/cafeed28/.cache/yay/ncurses5-compat-libs/src=/usr/src/debug/ncurses5-compat-libs -flto=auto -fPIC -c ../c++/cursesf.cc -o ../obj_s/cursesf.o
In file included from /usr/include/c++/15.1.1/bits/move.h:37,
from /usr/include/c++/15.1.1/bits/exception_ptr.h:41,
from /usr/include/c++/15.1.1/exception:168,
from /usr/include/c++/15.1.1/ios:43,
from /usr/include/c++/15.1.1/bits/ostream.h:43,
from /usr/include/c++/15.1.1/ostream:42,
from /usr/include/c++/15.1.1/iostream:43,
from ../c++/etip.h:351,
from ../c++/cursesw.h:52,
from ../c++/cursesp.h:41,
from ../c++/cursesf.h:41,
from ../c++/cursesf.cc:36:
/usr/include/c++/15.1.1/type_traits:360:12: error: redefinition of 'struct std::__is_integral_helper<unsigned char>'
360 | struct __is_integral_helper<unsigned char>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/15.1.1/type_traits:348:12: note: previous definition of 'struct std::__is_integral_helper<unsigned char>'
348 | struct __is_integral_helper<bool>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
my build environment:
g++ (GCC) 15.1.1 20250425
WSL version: 2.5.7.0
Kernel version: 6.6.87.1-1
WSLg version: 1.0.66
MSRDC version: 1.2.6074
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.19045.5737
@gothicVI this just changes URL field to https, nothing else is changed, so not worth it imo.
Please bump the pkgreg if you update otherwise we'll see the update but never build or install it.
What is your build environment? I have same lines in config.log and it works fine.
Getting:
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
==> ERROR: A failure occurred in build().
Aborting...
Seems to be caused by this in config.log:
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
Thanks.
@micwoj92 I am quite sure I’ve clicked adopt by mistake and didn’t notice until you said it. I am not interested in adopting it. Disowning.
@seds, since you adopted this pkg so fast, can you also update it?🙃
disowning since i no longer use xilinx-ise
Pinned Comments
WoefulDerelict commented on 2016-05-23 19:35 (UTC) (edited on 2018-08-18 20:22 (UTC) by WoefulDerelict)
This PKGBUILD verifies the authenticity of the source via PGP signatures which are not part of the Arch Linux keyring. In order to complete the process it is necessary to import the key(s) from the ‘validpgpkeys’ array into the user’s keyring before calling makepkg. There is a helpful article explaining this process by one of Arch Linux's developers located here: http://allanmcrae.com/2015/01/two-pgp-keyrings-for-package-management-in-arch-linux/
Instructions on importing keys from a keyserver and how to automate the retrieval process can be found in the Arch Linux wiki here: https://wiki.archlinux.org/index.php/GnuPG#Use_a_keyserver This article also contains helpful information describing the installation of GnuPG, its configuration and usage.
Execute the following to import keys using gpg:
gpg --recv-keys <KEYID - See 'validpgpkeys' array in PKGBUILD>
The PGP signature check can be skipped by passing --skippgpcheck to makepkg.
Consult the makepkg manual page for a full list of options. [https://www.archlinux.org/pacman/makepkg.8.html]