LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   regression on -current with pan (https://www.linuxquestions.org/questions/slackware-14/regression-on-current-with-pan-4175693116/)

nobodino 04-04-2021 06:45 AM

regression on -current with pan
 
pan doesn't nuild anymore on -current, here are the errors below:
-----------------------------
/usr/include/c++/10.2.0/type_traits:2925:3: error: template with C linkage
2925 | template<typename _Fn, typename... _Args>
| ^~~~~~~~
file-util.cc:25:1: note: 'extern "C"' linkage started here
25 | extern "C"
| ^~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/gatomic.h:31,
from /usr/include/glib-2.0/glib/gthread.h:32,
from /usr/include/glib-2.0/glib/gasyncqueue.h:32,
from /usr/include/glib-2.0/glib.h:32,
from file-util.cc:30:
/usr/include/c++/10.2.0/type_traits:2930:3: error: template with C linkage
2930 | template<typename _Fn, typename... _Args>
| ^~~~~~~~
file-util.cc:25:1: note: 'extern "C"' linkage started here
25 | extern "C"
| ^~~~~~~~~~
make[3]: *** [Makefile:457: file-util.o] Error 1
make[3]: Leaving directory '/tmp/pan-0.146/pan/general'
make[2]: *** [Makefile:391: all-recursive] Error 1
make[2]: Leaving directory '/tmp/pan-0.146/pan'
make[1]: *** [Makefile:592: all-recursive] Error 1
make[1]: Leaving directory '/tmp/pan-0.146'
make: *** [Makefile:446: all] Error 2
-------------------------------------
seems to be related to glib2-2.68.0 as for qt5-webkit?

nobodino 04-04-2021 07:05 AM

downgrading to glib2-2.66.8 solves the problem.

ponce 04-05-2021 05:42 AM

FWIW this is the upstream issue

https://gitlab.gnome.org/GNOME/pan/-/issues/128

nobodino 04-05-2021 12:24 PM

1 Attachment(s)
I made a patch which takes into account glib2-2.68.0 problem (modified SlackBuild):
---------------------------------------
# zcat $CWD/0d775547f0e7cf7529538704814469e1db5496f2.patch.gz | patch -p1 --verbose || exit 1
# zcat $CWD/495bfb2eb9228b5b5cef8b50e11af577e4b473f8.patch.gz | patch -p1 --verbose || exit 1
# patch to build with glib2-2.68.0
cat $CWD/pan-glib2.diff | patch -Esp1 --verbose || exit 1
---------------------------------------

nobodino 04-06-2021 10:40 PM

fixed in -current tree.


All times are GMT -5. The time now is 06:29 PM.