bugGNU Astronomy Utilities - Bugs: bug #61740, WCSLIB causing with system's...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #61740: WCSLIB causing with system's wide-character string (WCS) library in Gnulib checks

Submitter:  Mohammad Akhlaghi <makhlaghi>
Submitted:  Wed 29 Dec 2021 04:07:31 PM UTC
   
 
Category:  Installation Severity:  3 - Normal
Item Group:  Crash Status:  Fixed
Privacy:  Public Assigned to:  makhlaghi
Open/Closed:  Closed

Wed 29 Dec 2021 04:27:59 PM UTC, comment #1: 

This bug has been fixed in Commit 1ac084b4383.

Mohammad Akhlaghi <makhlaghi>
Group administrator
Wed 29 Dec 2021 04:07:31 PM UTC, original submission:  

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


Mohammad Akhlaghi <makhlaghi>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by makhlaghi (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-12-29 makhlaghi StatusIn Progress Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code