[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #61740] WCSLIB causing with system's wide-character string (WCS) li
From: |
Mohammad Akhlaghi |
Subject: |
[bug #61740] WCSLIB causing with system's wide-character string (WCS) library in Gnulib checks |
Date: |
Wed, 29 Dec 2021 11:07:33 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0 |
URL:
<https://savannah.gnu.org/bugs/?61740>
Summary: WCSLIB causing with system's wide-character string
(WCS) library in Gnulib checks
Project: GNU Astronomy Utilities
Submitted by: makhlaghi
Submitted on: Wed 29 Dec 2021 04:07:31 PM UTC
Category: Installation
Severity: 3 - Normal
Item Group: Crash
Status: In Progress
Privacy: Public
Assigned to: makhlaghi
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
In Gnuastro, Gnulib does an extensive set of checks during configure time to
make sure that the system has all the necessary C library components. Because
they are very long, to help users notice high-level dependencies easier,
Gnuastro does the high-level library checks first.
However, one problem comes up: WCSLIB has the same library name (-lwcs) as the
system's wide-character string (WCS; '-lwcs'). On some systems this can cause
conflicts with Gnulib's 'getgroups' check and cause a crash later, when it is
being built (as shown in the P.S.
This bug was reported by Martin Guerrero Roncel
P.S. Compilation crash due to conflicts in Gnulib's checks:
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../..
-I/home/user/gnuastro/install/include -Wall -O3 -pthread -MT getcwd-lgpl.lo
-MD -MP -MF .deps/getcwd-lgpl.Tpo -c getcwd-lgpl.c -o getcwd-lgpl.o >/dev/null
2>&1
getgroups.c:33:1: error: conflicting types for 'rpl_getgroups'
getgroups (_GL_UNUSED int n, _GL_UNUSED GETGROUPS_T *groups)
^
./unistd.h:1702:22: note: expanded from macro 'getgroups'
# define getgroups rpl_getgroups
^
./unistd.h:1704:1: note: previous declaration is here
_GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups));
^
./time.h:156:23: note: expanded from macro '_GL_FUNCDECL_RPL'
_GL_FUNCDECL_RPL_1 (rpl_##func, rettype, parameters_and_attributes)
^
<scratch space>:39:1: note: expanded from here
rpl_getgroups
^
1 error generated.
make[4]: *** [getgroups.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../..
-I/home/user/gnuastro/install/include -Wall -O3 -pthread -MT getdelim.lo -MD
-MP -MF .deps/getdelim.Tpo -c getdelim.c -o getdelim.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../..
-I/home/user/gnuastro/install/include -Wall -O3 -pthread -MT getdtablesize.lo
-MD -MP -MF .deps/getdtablesize.Tpo -c getdtablesize.c -o getdtablesize.o
>/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../..
-I/home/user/gnuastro/install/include -Wall -O3 -pthread -MT getline.lo -MD
-MP -MF .deps/getline.Tpo -c getline.c -o getline.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../..
-I/home/user/gnuastro/install/include -Wall -O3 -pthread -MT getopt1.lo -MD
-MP -MF .deps/getopt1.Tpo -c getopt1.c -o getopt1.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../..
-I/home/user/gnuastro/install/include -Wall -O3 -pthread -MT getopt.lo -MD -MP
-MF .deps/getopt.Tpo -c getopt.c -o getopt.o >/dev/null 2>&1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61740>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #61740] WCSLIB causing with system's wide-character string (WCS) library in Gnulib checks,
Mohammad Akhlaghi <=