You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pagespeed.apache.org by GitBox <gi...@apache.org> on 2021/06/14 14:50:29 UTC

[GitHub] [incubator-pagespeed-ngx] drillsar opened a new issue #1735: can't build?

drillsar opened a new issue #1735:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1735


   Any recommendations?
   
   Using Gentoo Linux 5.10.27; GCC 10.3.0 
   
   /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/src/mod_pagespeed/psol/lib/Release/linux/x64/pagespeed_automatic.a(107.signals.o.o): in function `pagespeed_ol_apr_signal_description_get':
   signals.c:(.text.apr_signal_description_get+0xe): undefined reference to `sys_siglist'
   collect2: error: ld returned 1 exit status
   make[1]: *** [objs/Makefile:276: objs/nginx] Error 1
   make[1]: Leaving directory '/var/tmp/portage/www-servers/nginx-1.21.0/work/nginx-1.21.0'
   make: *** [Makefile:10: build] Error 2
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-pagespeed-ngx] eilandert commented on issue #1735: can't build?

Posted by GitBox <gi...@apache.org>.
eilandert commented on issue #1735:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1735#issuecomment-919495759


   Thanks @acachy.  I put sed in my deployment script and I managed to compile the latest-stable branch on Ubuntu Hirsute (21.04)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@pagespeed.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-pagespeed-ngx] eilandert edited a comment on issue #1735: can't build?

Posted by GitBox <gi...@apache.org>.
eilandert edited a comment on issue #1735:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1735#issuecomment-927318604


   > Cannot build on latest debian stable (11 bulseye) and unless this is fixed it won't build on the next Ubuntu LTS either
   
   This
   > sed -i -r 's/sys_siglist\[signum\]/strsignal(signum)/g' third_party/apr/src/threadproc/unix/signals.c 
   
   does the trick on at least ubuntu 21.04 (rolling) and 21.10 (devel)
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@pagespeed.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-pagespeed-ngx] luispabon commented on issue #1735: can't build?

Posted by GitBox <gi...@apache.org>.
luispabon commented on issue #1735:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1735#issuecomment-927313700


   Cannot build on latest debian stable (11 bulseye) and unless this is fixed it won't build on the next Ubuntu LTS either


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@pagespeed.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-pagespeed-ngx] acachy commented on issue #1735: can't build?

Posted by GitBox <gi...@apache.org>.
acachy commented on issue #1735:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1735#issuecomment-919472078


   I succeeded managing it in an ugly way
   
   Part of my deploy script:
   ```
   git submodule update --init --recursive --jobs=16 --force
   ...
   sed -i -r 's/sys_siglist\[signum\]/strsignal(signum)/g' third_party/apr/src/threadproc/unix/signals.c
   python build/gyp_chromium --depth=. 
   ```
   
   The problem for good solution is that I just can't build PSOL for ngx with mod_pagespeed later than commit #409bd76 (after this one the bazel-build was implemented)
   https://github.com/apache/incubator-pagespeed-mod/issues/2069


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@pagespeed.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-pagespeed-ngx] bayseek commented on issue #1735: can't build?

Posted by GitBox <gi...@apache.org>.
bayseek commented on issue #1735:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1735#issuecomment-864380518


   As already outlined in bug #1717 ,
   it's impossible to build on any recent OS if GLIBC >= 2.32
   OS and GCC versions don't really matter.
   
   As outlined among the [major features of GLIBC 2.32](https://sourceware.org/pipermail/libc-announce/2020/000029.html):
   
   >  * The deprecated arrays sys_siglist, _sys_siglist, and sys_sigabbrev
   >   are no longer available to newly linked binaries, and their declarations
   >   have been removed from <string.h>.  They are exported solely as
   >   compatibility symbols to support old binaries.  All programs should use
   >   strsignal instead.
   
   As already outlined in bug #1717 ,
   the building phase works just fine even on GCC >= 10 if GLIBC < 2.32 (that's the case of Fedora 32 as outlined by the former bug reporter; [only Fedora 33 switched to GLIBC >= 2.32](https://fedoraproject.org/wiki/Releases/33/ChangeSet#The_GNU_C_Library_version_2.32))
   
   PSOL needs to be fixed in order to be compliant with GLIBC >= 2.32; until then, it's going to be impossible to build pagespeed on any OS shipping a GLIBC released in the last 11 months.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-pagespeed-ngx] eilandert commented on issue #1735: can't build?

Posted by GitBox <gi...@apache.org>.
eilandert commented on issue #1735:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1735#issuecomment-927318604


   > Cannot build on latest debian stable (11 bulseye) and unless this is fixed it won't build on the next Ubuntu LTS either
   
   This
   > sed -i -r 's/sys_siglist\[signum\]/strsignal(signum)/g' third_party/apr/src/threadproc/unix/signals.c 
   does the trick on at least ubuntu 21.04 (rolling) and 21.10 (devel)
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@pagespeed.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org