LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-27-2019, 11:08 AM   #616
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, linux Mint,Manjaro...
Posts: 595

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369

I've found a patch to build xfsdump with new xfsprogs-5.2.x

Follow link: https://fossies.org/diffs/xfsprogs/5...cp.c-diff.html to see what's going on.

and the patch enclosed.
Attached Files
File Type: txt xfsdump-3.1.8.patch.txt (368 Bytes, 4 views)
 
Old 08-27-2019, 11:19 AM   #617
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 1,735

Rep: Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435
Quote:
Originally Posted by nobodino View Post
I've found a patch to build xfsdump with new xfsprogs-5.2.x

Follow link: https://fossies.org/diffs/xfsprogs/5...cp.c-diff.html to see what's going on.

and the patch enclosed.
Same exact patch that rworkman determined.

You (or anyone?) have any luck with Firefox? That's the last thing I don't have ready to go here. node.js needed an update, but Firefox itself runs into some kind of type conflict with __u64 and others undefined, and trying to add <linux/types.h> (wrong place maybe?) isn't fixing it.

Odd that Google hasn't turned up anyone else running into this. Hopefully it's not another case of everyone who is using this library is patching it somehow...
 
Old 08-27-2019, 11:46 AM   #618
Poprocks
Member
 
Registered: Sep 2003
Location: Toronto, Canada
Distribution: Slackware
Posts: 402

Rep: Reputation: 203Reputation: 203Reputation: 203
Quote:
Originally Posted by nobodino View Post
regression test up to "Thu Aug 1 00:20:07 UTC 2019" with glibc-2.30
Not so bad, only 9 packages don't build properly.
- seamonkey:
- libmilter: RES_USE_INET6 deprecated in glibc-2.30
- postfix: RES_USE_INET6, RESINSECURE1 and RES_INSECURE2 deprecated in glibc-2.30
- jove: stropts.h deprecated in glibc-2.30
- gftp: stropts.h deprecated in glibc-2.30
- nn: stropts.h deprecated in glibc-2.30
- yptools: new gettid function in glibc-2.30
- gst-plugins-good:
- thunderbird:

See the enclosed errors due to glibc-2.30 and some patch for: libmilter, jove, gftp, and nn
Does seamonkey actually fail to build, or just produce warnings from utilizing deprecated functions?
 
Old 08-27-2019, 12:29 PM   #619
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 1,735

Rep: Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435
Quote:
Originally Posted by Poprocks View Post
Does seamonkey actually fail to build, or just produce warnings from utilizing deprecated functions?
It did fail to build, and required a patch for glibc-2.30's gettid() and -fpermissive added to CXXFLAGS.
 
1 members found this post helpful.
Old 08-27-2019, 01:46 PM   #620
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, linux Mint,Manjaro...
Posts: 595

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
With glibc-2.30, firefox builds here but not thunderbird, nor seamonkey (see glibc-2.30-errors.txt).
With glibc-2.29, only libnm-qt and plasma-nm don't build anymore (new NetworkManager), and as I've read somewhere (?) they won't build anymore...

Last edited by nobodino; 08-27-2019 at 02:02 PM.
 
Old 08-30-2019, 09:05 AM   #621
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, linux Mint,Manjaro...
Posts: 595

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
I've found a patch to build gst-plugins-good with glibc-2.30:

Follow link: https://github.com/GStreamer/gst-plu...cc08a17cb9893c to see what's going on.

and the patch enclosed
Attached Files
File Type: txt gst-plugins-good-glibc-2.30.patch.txt (1.3 KB, 1 views)
 
Old 08-30-2019, 09:28 AM   #622
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, linux Mint,Manjaro...
Posts: 595

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
I've found a patch to build yptools with glibc-2.30:

Follow link: https://github.com/thkukuk/ypbind-mt...4276d441a57cfb to see what's going on.

and the patch enclosed (adapted from the link above, otherwise it fails to build), with the patch to the SlackBuild.

All the patch for glibc-2.30 and the new SlackBuilds are here: https://github.com/nobodino/slackwar...ith-glibc-2.30
Attached Files
File Type: txt ypbind-mt-glibc-2.30.patch.txt (1.0 KB, 0 views)
File Type: txt yptools.SlackBuild.diff.txt (506 Bytes, 0 views)

Last edited by nobodino; 08-30-2019 at 09:31 AM.
 
Old 08-30-2019, 11:03 AM   #623
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, linux Mint,Manjaro...
Posts: 595

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
I've found a patch to build seamonkey with glibc-2.30:

Follow link: http://www.linuxfromscratch.org/blfs...seamonkey.html to see what's going on.

and the patch enclosed to the SlackBuild.

nota: thunderbird-68.0 builds fine with glibc-2.30.

So except libnm-qt and plasma-nm which don't build neither whith glibc-2.29 and glibc-2.30, eveything else builds with glibc-2.30.
Attached Files
File Type: txt seamonkey.SlackBuild.diff.txt (457 Bytes, 2 views)

Last edited by nobodino; 08-30-2019 at 11:35 AM.
 
Old 09-01-2019, 12:08 PM   #624
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, linux Mint,Manjaro...
Posts: 595

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
regression test up to "Fri Aug 30 18:50:32 UTC 2019": (x86_64 version and glibc-2.30)

Everything builds fine except libnm-qt and plasma-nm.
 
Old 09-04-2019, 11:07 AM   #625
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, linux Mint,Manjaro...
Posts: 595

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
updated patches to build with glibc-2.30 with "official patches" and not my handmade patches:

- jove: patch from gentoo https://gitweb.gentoo.org/repo/gento...e38cc5a778db9e
- postfix: patch from fedora https://src.fedoraproject.org/rpms/p...cros-fix.patch
- gftp patch from fedora https://src.fedoraproject.org/rpms/g...-stropts.patch
- nn adapted gftp patch to nn

github project updated

Last edited by nobodino; 09-04-2019 at 11:08 AM.
 
Old 09-05-2019, 11:00 PM   #626
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, linux Mint,Manjaro...
Posts: 595

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
updated patch to build with glibc-2.30 for seamonkey-2.49.5:
- patch from https://src.fedoraproject.org/rpms/s...4-gettid.patch

github project updated
 
Old 09-15-2019, 02:45 AM   #627
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, linux Mint,Manjaro...
Posts: 595

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
regression test up to "Fri Sep 13 19:16:00 UTC 2019": (x86_64 version and glibc-2.30)

Everything builds fine except:
- libnm-qt
- plasma-nm
- xfsdump: the patch isn't included in the source
- seamonkey: one patch doesn't apply cleanly
-------------
seamonkey-2.49.5/client.py
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- ./mozilla/modules/libpref/init/all.js.orig 2017-07-07 00:37:54.000000000 -0500
|+++ ./mozilla/modules/libpref/init/all.js 2017-07-21 11:21:29.152341810 -0500
--------------------------
patching file mozilla/modules/libpref/init/all.js
Using Plan A...
Hunk #1 succeeded at 235 (offset 8 lines).
done
Hmm... Looks like a unified diff to me...
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nrbu seamonkey-2.49.4/seamonkey-2.49.4/mozilla/tools/profiler/core/platform.h seamonkey-2.49.4-OK/seamonkey-2.49.4/mozilla/tools/profiler/core/platform.h
|--- seamonkey-2.49.4/seamonkey-2.49.4/mozilla/tools/profiler/core/platform.h 2018-07-12 05:19:15.000000000 +0300
|+++ seamonkey-2.49.4-OK/seamonkey-2.49.4/mozilla/tools/profiler/core/platform.h 2019-07-27 20:31:47.675086876 +0300
--------------------------
File to patch:
-------------------------
- the second patch needs the "-p2" option and not "-p1" to apply cleanly
-------------------------
# Fix for glibc-2.30's included gettid():
zcat $CWD/seamonkey.gettid.patch.gz | patch -p2 --verbose || exit 1

Last edited by nobodino; 09-15-2019 at 03:15 AM.
 
  


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] /usr/bin/X11/X11/....... 10 X11 subsets & counting walter74 Linux - General 2 06-07-2015 12:36 AM
How do I get the /etc/X11/X file rebuilt from scratch rickh Debian 4 05-07-2006 11:06 PM
ali aladdin v agp stinks :scratch: :scratch: :scratch: Mr Marmmalade Linux - Hardware 1 07-08-2003 05:11 AM

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

All times are GMT -5. The time now is 12:44 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration