You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2023/04/09 08:07:01 UTC

[Bug 66560] New: make test fails with undefined reference to sys_siglist

https://bz.apache.org/bugzilla/show_bug.cgi?id=66560

            Bug ID: 66560
           Summary: make test fails with undefined reference to
                    sys_siglist
           Product: APR
           Version: 1.7.3
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: APR
          Assignee: bugs@apr.apache.org
          Reporter: martyausmainz@gmx.de
  Target Milestone: ---

Created attachment 38533
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=38533&action=edit
patch for configure to check for sys_siglist

When I'm building APR-1.7.3 on my LFS based system I get following error in
"make test"

/bin/sh /home/ebtcheck/t/apr-fixing/apr-1.7.3/libtool --silent --mode=link
--tag=CC gcc -g -O2 -pthread   -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT
-D_GNU_SOURCE   -I../include -I./../include   -no-install    -o
globalmutexchild globalmutexchild.lo ../libapr-1.la   -luuid -lrt -lcrypt 
-lpthread -ldl
/usr/bin/ld: ../.libs/libapr-1.so: undefined reference to `sys_siglist'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:115: globalmutexchild] Error 1
make[2]: Leaving directory '/home/ebtcheck/t/apr-fixing/apr-1.7.3/test'
make[1]: *** [/home/ebtcheck/t/apr-fixing/apr-1.7.3/build/apr_rules.mk:119:
all-recursive] Error 1
make[1]: Leaving directory '/home/ebtcheck/t/apr-fixing/apr-1.7.3/test'
make: *** [Makefile:129: check] Error 2


I did some research and I found at least a workaround to fix the issue. I
commented out the block starting "ac_fn_c_check_decl "$LINENO" "sys_siglist"
"ac_cv_have_decl_sys_siglist" "#include <signal.h>" and added a "for ac_func in
sys_siglist" block

See attached patch

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org