LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-04-2021, 06:45 AM   #1
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,560

Rep: Reputation: 890Reputation: 890Reputation: 890Reputation: 890Reputation: 890Reputation: 890Reputation: 890
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?
 
Old 04-04-2021, 07:05 AM   #2
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,560

Original Poster
Rep: Reputation: 890Reputation: 890Reputation: 890Reputation: 890Reputation: 890Reputation: 890Reputation: 890
downgrading to glib2-2.66.8 solves the problem.
 
1 members found this post helpful.
Old 04-05-2021, 05:42 AM   #3
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,068

Rep: Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145
FWIW this is the upstream issue

https://gitlab.gnome.org/GNOME/pan/-/issues/128
 
Old 04-05-2021, 12:24 PM   #4
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,560

Original Poster
Rep: Reputation: 890Reputation: 890Reputation: 890Reputation: 890Reputation: 890Reputation: 890Reputation: 890
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
---------------------------------------
Attached Files
File Type: txt pan-glib2.diff.txt (24.5 KB, 19 views)

Last edited by nobodino; 04-05-2021 at 12:26 PM.
 
Old 04-06-2021, 10:40 PM   #5
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,560

Original Poster
Rep: Reputation: 890Reputation: 890Reputation: 890Reputation: 890Reputation: 890Reputation: 890Reputation: 890
fixed in -current tree.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slackware64-current multilib: Pan-0.146 error sending posts (pan issue 103) PATCH FIX kingbeowulf Slackware 18 07-19-2020 08:29 PM
[SOLVED] Slackware-current: Bash-completion regression orbea Slackware 2 04-05-2016 03:44 PM
[SOLVED] i915 regression in -current NicePics13 Slackware 12 09-13-2015 05:36 PM
xorg regression in -current mina86 Slackware 5 03-06-2013 10:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration