You are not logged in.
Hello everyone, so recently I had some issues with Pacman being unable to update as it said it needed to update the ncurses library from 6.5 to 6.6 and it was unable to do that because the modelsim-intel-starter package required me to have ncurses 6.5, so after uninstalling modelsim I found that I was able to update my system however I am no longer able to install modelsim from the AUR
whenever I try I get the following error
yay -S modelsim-intel-starter
-> No AUR package found for lib32-ncurses=6.5
-> could not find all required packages: lib32-ncurses =6.5
Offline
The problem here is that lib32-ncurses5-compat-libs is out of date. You need to update to that 6.6, I don't know if it's as simple as a pkgver bump or not, or you have to wait for the maintainer to do it.
Offline
Mod note: moving to AUR Issues.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
You need to update to that 6.6, I don't know if it's as simple as a pkgver bump or not
Sadly not the patches have to be adjusted. Based on https://gitlab.archlinux.org/archlinux/ … 126aa0b331:
diff --git a/PKGBUILD b/PKGBUILD
index f0cb077..99dcb1b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
_name=ncurses
pkgname=lib32-${_name}5-compat-libs
-pkgver=6.5
-pkgrel=3
+pkgver=6.6
+pkgrel=1
pkgdesc="System V Release 4.0 curses emulation library (32-bit), ABI 5"
arch=(x86_64)
url=https://invisible-island.net/ncurses/ncurses.html
@@ -18,23 +18,24 @@ makedepends=(
)
source=(
$_name::git+https://github.com/ThomasDickey/ncurses-snapshots.git?signed#tag=v${pkgver/./_}
- $_name-6.3-libs.patch
- $_name-6.3-pkgconfig.patch
+ $_name-6.6-libs.patch
+ $_name-6.5-20250118-pkgconfig.patch
+
)
-sha512sums=('da9a9e6227d14deef580785b49ab366e9b1c99890c1dd428a566572d01a7fc7da1ed110c9a80047ce6dee813f4dadf37ba43f8048c43b0ab6074a10b0c4b4ef2'
- 'adb02b838c40f1e58a1b31c26d5cd0f2a1c43f3b6d68e839981764c0f6c905a9eb51dd36ff018628fdeb20747cc7467727d57135408ab4848259384077a52b28'
- '2d2c0ec3c880e638ab4aa3dbff5e28e4cd233153e24816bd87e077f848aa3edd5114cd0f2a7f6e8869dd1861a2746e512886c18264ff1676927dcc320c5ef958')
-b2sums=('c0c577b633d74838d109b30ea387c10fce70fb7fea548f4f965d508dc0fc1efd2ef45a81f5c5cc960a236ccee0e3aa1d4d99d0b666692c9b5bfcdd75bad604a0'
- '31bb10e82dd018a75e57252052650d9f0f5eb5e7e887118c2ea40032b11f59ec6aa4d9bae804c615cbecdf3382f3434e0c9e9e8440fdefe66a507be020b8965c'
- 'fb6cf606cf3db7f6b306272696a63bce83d52cfa91e850f9a7bdb9d3d8455a26943529a9cf79731dddc7f763c27211a9afab9c4c31dbb6d12fd720eb390eb0a3')
+sha512sums=('cad17bf83ef3ccd71fb7c33933ddbbbef2e8bd050d5e4e4ebb344b5df8292b1cd3c9e1787e88087d73cc96f625ba0c7cd6714d7720af7f8bd50b314e9838d2a7'
+ '46031bb868d4522c751aa15e569213b172ffb48cf708d9f6188d89a4c9f2085c94cab9f601f1ab16a46e760fe7ef3f06bfa9efb308261ed7c1187cc167829a82'
+ '50f18928512b37935d29d463da2013772413752a8718f403d717464e50ea4f8e9b85c0bf6ec1c30c49f2798d2a2814bbb687e254b560faf9543d6142ca27204a')
+b2sums=('af7f3dd1fd2d471d6b1b144acfbf4f44bdbf040ff8746a48aa9fdcc86f74a004939a31204d22966ef857096ccd7da6ee74769996e082a5a2735b1e6e934319a3'
+ 'bcf601da8243e332ace14966fd0f1bb2e11fb1ac11c49260ac711db20efa66f2c7357fcd741eaebf855ce0a205e9b22dd11d2a6523be8e9fb4f1db0d4dfeb482'
+ 'e98fcd297be873e0719d73b7d1611a98943d5efc3a2c5c1b61b901f36ebe40dd1a98c65b5605ee5ff6a5288e4217bea4d0dddc4767732f464bd4949270e42ac6')
validpgpkeys=('19882D92DDA4C400C22C0D56CC2AF4472167BE03') # Thomas Dickey <dickey@invisible-island.net>
prepare() {
# do not link against test libraries
- patch -Np1 -d $_name -i ../$_name-6.3-libs.patch
+ patch -Np1 -d $_name -i ../$_name-6.6-libs.patch
# do not leak build-time LDFLAGS into the pkgconfig files:
# https://bugs.archlinux.org/task/68523
- patch -Np1 -d $_name -i ../$_name-6.3-pkgconfig.patch
+ patch -Np1 -d $_name -i ../$_name-6.5-20250118-pkgconfig.patch
# NOTE: can't run autoreconf because the autotools setup is custom and ancient
}
diff --git a/ncurses-6.3-libs.patch b/ncurses-6.3-libs.patch
deleted file mode 100644
index 1933a54..0000000
--- a/ncurses-6.3-libs.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-diff -ruN a/c++/Makefile.in b/c++/Makefile.in
---- a/c++/Makefile.in 2021-07-03 20:53:57.000000000 +0200
-+++ b/c++/Makefile.in 2021-11-03 10:58:04.147647447 +0100
-@@ -118,7 +118,7 @@
- -l@FORM_NAME@@USE_LIB_SUFFIX@ \
- -l@MENU_NAME@@USE_LIB_SUFFIX@ \
- -l@PANEL_NAME@@USE_LIB_SUFFIX@ \
-- -lncurses@USE_LIB_SUFFIX@ @SHLIB_LIST@
-+ -lncurses@USE_LIB_SUFFIX@
-
- LIBROOT = ncurses++
-
-@@ -157,8 +157,7 @@
- LDFLAGS_DEFAULT = $(LINK_@DFT_UPR_MODEL@) $(LDFLAGS_@DFT_UPR_MODEL@)
-
- # flags for library built by this makefile
--LDFLAGS = $(TEST_ARGS) @LDFLAGS@ \
-- @LD_MODEL@ $(TEST_LIBS) @LIBS@ $(CXXLIBS)
-+LDFLAGS = @LDFLAGS@ @LD_MODEL@ @LIBS@ $(CXXLIBS)
-
- AUTO_SRC = \
- etip.h
-diff -ruN a/form/Makefile.in b/form/Makefile.in
---- a/form/Makefile.in 2021-07-03 17:45:33.000000000 +0200
-+++ b/form/Makefile.in 2021-11-03 10:58:45.301114373 +0100
-@@ -110,7 +110,7 @@
- LDFLAGS = @LDFLAGS@ @LD_MODEL@ @LIBS@
-
- SHLIB_DIRS = -L../lib
--SHLIB_LIST = $(SHLIB_DIRS) -lncurses@USE_LIB_SUFFIX@ @SHLIB_LIST@
-+SHLIB_LIST = $(SHLIB_DIRS) -lncurses@USE_LIB_SUFFIX@
-
- RPATH_LIST = @RPATH_LIST@
- RESULTING_SYMS = @RESULTING_SYMS@
-diff -ruN a/menu/Makefile.in b/menu/Makefile.in
---- a/menu/Makefile.in 2021-07-03 17:45:33.000000000 +0200
-+++ b/menu/Makefile.in 2021-11-03 10:58:59.461160284 +0100
-@@ -110,7 +110,7 @@
- LDFLAGS = @LDFLAGS@ @LD_MODEL@ @LIBS@
-
- SHLIB_DIRS = -L../lib
--SHLIB_LIST = $(SHLIB_DIRS) -lncurses@USE_LIB_SUFFIX@ @SHLIB_LIST@
-+SHLIB_LIST = $(SHLIB_DIRS) -lncurses@USE_LIB_SUFFIX@
-
- RPATH_LIST = @RPATH_LIST@
- RESULTING_SYMS = @RESULTING_SYMS@
-diff -ruN a/panel/Makefile.in b/panel/Makefile.in
---- a/panel/Makefile.in 2021-07-03 17:45:33.000000000 +0200
-+++ b/panel/Makefile.in 2021-11-03 10:59:33.957938691 +0100
-@@ -112,7 +112,7 @@
- LDFLAGS = @LDFLAGS@ @LD_MODEL@ @LIBS@
-
- SHLIB_DIRS = -L../lib
--SHLIB_LIST = $(SHLIB_DIRS) -lncurses@USE_LIB_SUFFIX@ @SHLIB_LIST@
-+SHLIB_LIST = $(SHLIB_DIRS) -lncurses@USE_LIB_SUFFIX@
-
- RPATH_LIST = @RPATH_LIST@
- RESULTING_SYMS = @RESULTING_SYMS@
diff --git a/ncurses-6.3-pkgconfig.patch b/ncurses-6.3-pkgconfig.patch
deleted file mode 100644
index e3b5d46..0000000
--- a/ncurses-6.3-pkgconfig.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -ruN a/misc/gen-pkgconfig.in b/misc/gen-pkgconfig.in
---- a/misc/gen-pkgconfig.in 2021-08-07 23:36:33.000000000 +0200
-+++ b/misc/gen-pkgconfig.in 2021-11-03 11:12:51.127160950 +0100
-@@ -83,7 +83,7 @@
- fi
-
- lib_flags=
--for opt in -L$libdir @EXTRA_PKG_LDFLAGS@ @LIBS@
-+for opt in -L$libdir @LIBS@
- do
- case $opt in
- -l*) # LIBS is handled specially below
-diff -ruN a/misc/ncurses-config.in b/misc/ncurses-config.in
---- a/misc/ncurses-config.in 2021-08-07 23:36:14.000000000 +0200
-+++ b/misc/ncurses-config.in 2021-11-03 11:26:12.393533954 +0100
-@@ -101,7 +101,7 @@
- # There is no portable way to find the list of standard library directories.
- # Require a POSIX shell anyway, to keep this simple.
- lib_flags=
--for opt in -L$libdir @EXTRA_PKG_LDFLAGS@ $LIBS
-+for opt in -L$libdir $LIBS
- do
- case $opt in
- -specs*) # ignore linker specs-files which were used to build library
diff --git a/ncurses-6.5-20250118-pkgconfig.patch b/ncurses-6.5-20250118-pkgconfig.patch
new file mode 100644
index 0000000..3e02c2b
--- /dev/null
+++ b/ncurses-6.5-20250118-pkgconfig.patch
@@ -0,0 +1,56 @@
+diff -up ncurses-6.5-20250118/misc/gen-pkgconfig.in.config ncurses-6.5-20250118/misc/gen-pkgconfig.in
+--- ncurses-6.5-20250118/misc/gen-pkgconfig.in.config 2024-09-28 22:21:23.000000000 +0200
++++ ncurses-6.5-20250118/misc/gen-pkgconfig.in 2025-01-23 15:11:09.010013512 +0100
+@@ -83,7 +83,7 @@ if [ "$includedir" != "/usr/include" ];
+ fi
+
+ lib_flags=
+-for opt in -L$libdir @EXTRA_PKG_LDFLAGS@ @LIBS@
++for opt in -L$libdir @LIBS@
+ do
+ case $opt in
+ -l*) # LIBS is handled specially below
+diff -up ncurses-6.5-20250118/misc/ncurses-config.in.config ncurses-6.5-20250118/misc/ncurses-config.in
+--- ncurses-6.5-20250118/misc/ncurses-config.in.config 2024-09-28 22:18:19.000000000 +0200
++++ ncurses-6.5-20250118/misc/ncurses-config.in 2025-01-23 15:12:11.696971472 +0100
+@@ -41,7 +41,6 @@ exec_prefix="@exec_prefix@"
+
+ bindir="@bindir@"
+ includedir="@includedir@"
+-libdir="@libdir@"
+ datarootdir="@datarootdir@"
+ datadir="@datadir@"
+ mandir="@mandir@"
+@@ -110,7 +109,7 @@ fi
+ # There is no portable way to find the list of standard library directories.
+ # Require a POSIX shell anyway, to keep this simple.
+ lib_flags=
+-for opt in -L$libdir @EXTRA_PKG_LDFLAGS@ $LIBS
++for opt in $LIBS
+ do
+ case $opt in
+ -specs*) # ignore linker specs-files which were used to build library
+@@ -129,13 +128,13 @@ do
+ lib_check=`echo "x$opt" | sed -e 's/^.-L//'`
+ [ -d "$lib_check" ] || continue
+ case "$lib_check" in
+- @LD_SEARCHPATH@) # skip standard libdir
++ ////) # skip standard libdir (disabled for multilib)
+ if [ "$lib_check" = "$libdir" ]
+ then
+ lib_first=no
+ IFS_save="$IFS"
+ IFS='|'
+- LIBDIRS="@LD_SEARCHPATH@"
++ LIBDIRS=""
+ for lib_check in $LIBDIRS
+ do
+ if [ -d "$lib_check" ]
+@@ -324,7 +323,6 @@ while [ $# -gt 0 ]; do
+ echo "$INCS"
+ ;;
+ --libdir)
+- echo "${libdir}"
+ ;;
+ --mandir)
+ echo "${mandir}"
diff --git a/ncurses-6.6-libs.patch b/ncurses-6.6-libs.patch
new file mode 100644
index 0000000..58096c4
--- /dev/null
+++ b/ncurses-6.6-libs.patch
@@ -0,0 +1,58 @@
+diff -up ncurses-6.6/c++/Makefile.in.libs ncurses-6.6/c++/Makefile.in
+--- ncurses-6.6/c++/Makefile.in.libs 2025-10-18 15:33:46.000000000 +0200
++++ ncurses-6.6/c++/Makefile.in 2026-02-03 13:44:52.804086419 +0100
+@@ -120,7 +120,7 @@ SHLIB_LIST = $(SHLIB_DIRS) \
+ -l@FORM_NAME@@ABI_SUFFIX@ \
+ -l@MENU_NAME@@ABI_SUFFIX@ \
+ -l@PANEL_NAME@@ABI_SUFFIX@ \
+- -lncurses@ABI_SUFFIX@ @SHLIB_LIST@
++ -lncurses@ABI_SUFFIX@ #@SHLIB_LIST@
+
+ LIBROOT = ncurses++
+
+@@ -159,8 +159,7 @@ LDFLAGS_SHARED = $(TEST_LDFLAGS) $(CFLAG
+ LDFLAGS_DEFAULT = $(LINK_@DFT_UPR_MODEL@) $(LDFLAGS_@DFT_UPR_MODEL@)
+
+ # flags for library built by this makefile
+-LDFLAGS = $(TEST_ARGS) @LDFLAGS@ \
+- @LD_MODEL@ $(TEST_LIBS) @LIBS@ $(CXXLIBS)
++LDFLAGS = @LDFLAGS@ @LD_MODEL@ @LIBS@ $(CXXLIBS)
+
+ AUTO_SRC = \
+ etip.h
+diff -up ncurses-6.6/form/Makefile.in.libs ncurses-6.6/form/Makefile.in
+--- ncurses-6.6/form/Makefile.in.libs 2025-10-25 19:58:52.000000000 +0200
++++ ncurses-6.6/form/Makefile.in 2026-02-03 13:44:22.436830350 +0100
+@@ -115,7 +115,7 @@ LINK = $(LIBTOOL_LINK)
+ LDFLAGS = @LDFLAGS@ @LD_MODEL@ @LIBS@
+
+ SHLIB_DIRS = -L../lib
+-SHLIB_LIST = $(SHLIB_DIRS) -lncurses@ABI_SUFFIX@ @SHLIB_LIST@
++SHLIB_LIST = $(SHLIB_DIRS) -lncurses@ABI_SUFFIX@ #@SHLIB_LIST@
+
+ RPATH_LIST = @RPATH_LIST@
+ RESULTING_SYMS = @RESULTING_SYMS@
+diff -up ncurses-6.6/menu/Makefile.in.libs ncurses-6.6/menu/Makefile.in
+--- ncurses-6.6/menu/Makefile.in.libs 2025-10-25 19:59:51.000000000 +0200
++++ ncurses-6.6/menu/Makefile.in 2026-02-03 13:44:37.181954688 +0100
+@@ -115,7 +115,7 @@ LINK = $(LIBTOOL_LINK)
+ LDFLAGS = @LDFLAGS@ @LD_MODEL@ @LIBS@
+
+ SHLIB_DIRS = -L../lib
+-SHLIB_LIST = $(SHLIB_DIRS) -lncurses@ABI_SUFFIX@ @SHLIB_LIST@
++SHLIB_LIST = $(SHLIB_DIRS) -lncurses@ABI_SUFFIX@ #@SHLIB_LIST@
+
+ RPATH_LIST = @RPATH_LIST@
+ RESULTING_SYMS = @RESULTING_SYMS@
+diff -up ncurses-6.6/panel/Makefile.in.libs ncurses-6.6/panel/Makefile.in
+--- ncurses-6.6/panel/Makefile.in.libs 2025-10-25 20:00:30.000000000 +0200
++++ ncurses-6.6/panel/Makefile.in 2026-02-03 13:43:46.943531054 +0100
+@@ -117,7 +117,7 @@ LINK = $(LIBTOOL_LINK)
+ LDFLAGS = @LDFLAGS@ @LD_MODEL@ @LIBS@
+
+ SHLIB_DIRS = -L../lib
+-SHLIB_LIST = $(SHLIB_DIRS) -lncurses@ABI_SUFFIX@ @SHLIB_LIST@
++SHLIB_LIST = $(SHLIB_DIRS) -lncurses@ABI_SUFFIX@ #@SHLIB_LIST@
+
+ RPATH_LIST = @RPATH_LIST@
+ RESULTING_SYMS = @RESULTING_SYMS@Edit:
I can not test this as my system's current kernel has CONFIG_X86_X32 unset.
Last edited by loqs (2026-02-23 01:44:38)
Offline