Package Details: lib32-ncurses5-compat-libs 6.1-2

Git Clone URL: https://aur.archlinux.org/lib32-ncurses5-compat-libs.git (read-only, click to copy)
Package Base: lib32-ncurses5-compat-libs
Description: System V Release 4.0 curses emulation library (32-bit), ABI 5
Upstream URL: https://www.gnu.org/software/ncurses/
Licenses: MIT
Submitter: lpapp
Maintainer: Corax
Last Packager: Corax
Votes: 94
Popularity: 1.60
First Submitted: 2015-09-22 11:38
Last Updated: 2019-03-07 22:49

Pinned Comments

Corax commented on 2019-06-10 18:11

Make sure you have the multilib-devel group installed before reporting issues while building the package. I will not add it as a makedepends because it is not a makedepends for lib32-ncurses5 either. See https://wiki.archlinux.org/index.php/Makepkg#Build_32-bit_packages_on_a_64-bit_system

Corax commented on 2016-08-19 23:33

If anyone is still having trouble getting used to PGP signing, make sure to add the key mentioned in the PKGBUILD:
$ gpg --keyserver pool.sks-keyservers.net --recv-keys 702353E0F7E48EDB

Latest Comments

1 2 3 4 5 6 ... Next › Last »

Corax commented on 2019-06-10 18:11

Make sure you have the multilib-devel group installed before reporting issues while building the package. I will not add it as a makedepends because it is not a makedepends for lib32-ncurses5 either. See https://wiki.archlinux.org/index.php/Makepkg#Build_32-bit_packages_on_a_64-bit_system

Corax commented on 2019-06-10 18:07

@mrtnster: see https://aur.archlinux.org/packages/lib32-ncurses5-compat-libs/#comment-678446, looks like I need to add a pinned comment...

mrtnster commented on 2019-06-10 14:30

I was building this package in a clean chroot environment and I had the same compilation issue Corax had earlier. It turned out that the 32bit version of the libgcc_s.so library was missing. Adding lib32-gcc-libs as a dependency fixes the problem.

darcn commented on 2019-05-22 00:36

@Corax: I compiled it now from the terminal and it worked, don't know why it didn't at first

Corax commented on 2019-05-20 18:47

@darcn: that's very weird, the same compilation line works fine for me, can you check that src/ncurses-6.1/ncurses/curses.priv.h exists?

darcn commented on 2019-05-19 21:19

There's an error while compiling, ../ncurses/./tinfo/alloc_ttype.c:41:10: error fatal: curses.priv.h: file or directory does not exist:

gcc -m32 -DHAVE_CONFIG_H -I../ncurses -I. -I../include -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt --param max-inline-insns-single=1200 -fPIC -c ../ncurses/./tinfo/add_tries.c -o ../obj_s/add_tries.o

gcc -m32 -DHAVE_CONFIG_H -I../ncurses -I. -I../include -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt --param max-inline-insns-single=1200 -fPIC -c ../ncurses/./tinfo/alloc_ttype.c -o ../obj_s/alloc_ttype.o

../ncurses/./tinfo/alloc_ttype.c:41:10: error fatal: curses.priv.h: No existe el fichero o el directorio compilación terminada.

make[1]: [Makefile:1422: ../obj_s/alloc_ttype.o] Error 1 make[1]: se sale del directorio '/var/tmp/pamac-build-nuggets/lib32-ncurses5-compat-libs/src/ncurses-6.1/ncurses' make: [Makefile:115: all] Error 2

Corax commented on 2019-03-07 22:51

@zigarrre: thanks for the heads-up, turns out this package was lagging a lot behind the latest changes in ncurses! I've pulled them in 6.1-2, notably removing the gcc-multilib dependency.

That said, depending on gcc-multilib is not an issue itself, because gcc provides gcc-multilib. I will not add multilib-devel as a dependency because it is an implicit prerequisite, see my previous comment.

zigarrre commented on 2019-03-05 22:30

gcc-multilib does not exist (possibly outdated?), please change makedepends to multilib-devel.

Otherwise build failes with: checking for C compiler default output... configure: error: C compiler cannot create executables

Corax commented on 2019-01-18 19:31

@Maikewng: almost missed your edit ;) Yes you were missing lib32-gcc-libs. I will not add it as a dependency, because it is part of the multilib-devel group, which is an implicit prerequisite for building any lib32-* package (just like base-devel for normal packages). See: https://wiki.archlinux.org/index.php/Makepkg#Build_32-bit_packages_on_a_64-bit_system

Maikewng commented on 2019-01-15 16:06

@Corax : I am also getting the same error of @calzonealamuerte . Here's the config.log as you requested, hope you can figure out what's going wrong.

[code] This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was generated by GNU Autoconf 2.52.20170501. Invocation command line was

$ ./configure --prefix=/usr --mandir=/usr/share/man --with-shared --with-normal --without-debug --without-ada --with-install-prefix=/home/michele/AUR/lib32-ncurses5-compat-libs/pkg/lib32-ncurses5-compat-libs --enable-widec --libdir=/usr/lib32 --with-abi-version=5 --without-pkg-config --without-gpm

----------
Platform.
----------

hostname = xxx uname -m = x86_64 uname -r = 4.20.0-arch1-1-ARCH uname -s = Linux uname -v = #1 SMP PREEMPT Mon Dec 24 03:00:40 UTC 2018

/usr/bin/uname -p = unknown /bin/uname -X = unknown

/bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown

PATH = /usr/local/bin:/usr/local/sbin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/paola/esp/xtensa-exp32-elf/bin

------------
Core tests.
------------

configure:1134: PATH=".;."; conftest.sh ./configure: line 1135: conftest.sh: command not found configure:1137: $? = 127 configure:1150: checking for egrep configure:1160: result: grep -E configure:1174: result: Configuring NCURSES 6.1 ABI 6 (Tue Jan 15 16:48:35 CET 2019) configure:1178: checking for package version configure:1199: result: 6.0 configure:1202: checking for package patch date configure:1219: result: 20180127 configure:1230: testing ABI VERSION 5:0:9 ... configure:1234: testing VERSION_MAJOR 6 ... configure:1238: testing VERSION_MINOR 0 ... configure:1242: testing VERSION_PATCH 20180127 ... configure:1314: WARNING: overriding ABI version 6 to 5 configure:1384: checking build system type configure:1402: result: x86_64-pc-linux-gnu configure:1409: checking host system type configure:1423: result: x86_64-pc-linux-gnu configure:1431: checking target system type configure:1445: result: x86_64-pc-linux-gnu configure:1477: result: Configuring for linux-gnu configure:1503: checking for prefix configure:1515: result: /usr configure:1684: checking for C compiler version configure:1687: gcc -m32 --version </dev/null >&5 gcc (GCC) 8.2.1 20181127 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:1690: $? = 0 configure:1692: gcc -m32 -v </dev/null >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp --enable-cet=auto Thread model: posix gcc version 8.2.1 20181127 (GCC) configure:1695: $? = 0 configure:1697: gcc -m32 -V </dev/null >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:1700: $? = 1 configure:1720: checking for C compiler default output configure:1723: gcc -m32 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now conftest.c >&5 /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../libgcc_s.so.1 when searching for libgcc_s.so.1 /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so.1 when searching for libgcc_s.so.1 /usr/bin/ld: cannot find libgcc_s.so.1 collect2: error: ld returned 1 exit status configure:1726: $? = 1 configure: failed program was:

line 1704 "configure"
include "confdefs.h"

int main (void) {

; return 0; } configure:1749: error: C compiler cannot create executables

-----------------
Cache variables.
-----------------

ac_cv_build=x86_64-pc-linux-gnu ac_cv_build_alias=x86_64-pc-linux-gnu ac_cv_env_CC_set=set ac_cv_env_CC_value='gcc -m32' ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-march=x86-64 -mtune=generic -O2 -pipe -fno-plt' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value=-D_FORTIFY_SOURCE=2 ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-march=x86-64 -mtune=generic -O2 -pipe -fno-plt' ac_cv_env_CXX_set=set ac_cv_env_CXX_value='g++ -m32' ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=x86_64-pc-linux-gnu ac_cv_host_alias=x86_64-pc-linux-gnu ac_cv_prog_egrep='grep -E' ac_cv_target=x86_64-pc-linux-gnu ac_cv_target_alias=x86_64-pc-linux-gnu cf_cv_abi_version=5 cf_cv_rel_version=5.9 cf_cv_system_name=linux-gnu cf_cv_timestamp='Tue Jan 15 16:48:35 CET 2019'

------------
confdefs.h.
------------
define PACKAGE "ncurses"
define NCURSES_VERSION "6.0"
define NCURSES_PATCHDATE 20180127
define SYSTEM_NAME "linux-gnu"

configure: exit 77 [/code]

EDIT: installing lib32-gcc-libs from the multilib-devel repository solved the issue. Should it be added to the dependencies? Also I need some help to figure out code quoting in AUR