Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
>=glibc-2.26 related patches 4 stable amd64 pkg
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3663

PostPosted: Sat Oct 07, 2017 5:15 pm    Post subject: >=glibc-2.26 related patches 4 stable amd64 pkg Reply with quote

Finalizing gcc-7.2 + 2.29.1 + glibc-2.26.1 (all three masked as of '2017/10/08') upgrade on amd64 via
Code:
emerge -e world
rose few issues, partially unsolved.

stable networkmanager-1.4.4-r1 being smashed by glibc, here requires following patch:
Code:
--- NetworkManager-1.4.4/src/systemd/src/basic/parse-util.c   2016-12-13 12:08:32.000000000 +0300
+++ NetworkManager-1.4.4/src/systemd/src/basic/parse-util.c.new   2017-10-07 18:37:01.840585279 +0300
@@ -25,7 +25,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <xlocale.h>
 
 #include "alloc-util.h"
 #include "extract-word.h"
.NB EAPI=6 AFAIR.
Thks 4 ur attention.


Last edited by CaptainBlood on Fri Oct 13, 2017 8:15 pm; edited 10 times in total
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3663

PostPosted: Sat Oct 07, 2017 9:41 pm    Post subject: Reply with quote

stable iproute2-4.4.0:
Code:
cat /usr/local/portage/sys-apps/iproute2/files/iproute2-4.4.0-r1-001-stdint.h.patch--- iproute2-4.4.0/tc/tc_core.c   2017-10-07 21:31:50.880701681 +0300
+++ iproute2-4.4.0/tc/tc_core.c.new   2017-10-07 22:40:43.750747546 +0300
@@ -12,6 +12,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <stdint.h>
 #include <unistd.h>
 #include <syslog.h>
 #include <fcntl.h>
in local repo, as it's EAPI=5.

Last edited by CaptainBlood on Fri Oct 13, 2017 10:05 pm; edited 3 times in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54448
Location: 56N 3W

PostPosted: Sat Oct 07, 2017 9:45 pm    Post subject: Reply with quote

CaptainBlood,

File bugs, if there are none already.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3663

PostPosted: Sat Oct 07, 2017 9:59 pm    Post subject: Reply with quote

Hum,
1) Kinda lazy.
2) Last time I did (providing patch to bug file), was suggested 2 do kinda repo on git (????) then submit then .... ( poor undestanding of the whole process ) => time consuming, sorry.
3) toolchain is masked, head to toes!
4) my patching quality is poor (almost null at ebuild level, little better at C/C++ ...), straight forward without any contitionnal statements ...
5) Have plenty of unfixed ebuilds.
6) So sorta dirty cheat post take it or leave it kind of stuff.
Regards
PS: If I create an ebuild on my own, would be a # story.
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3663

PostPosted: Tue Oct 10, 2017 3:18 pm    Post subject: Reply with quote

media-lib/mlt-6.4.1-r2 as kdenlive dependancy... my initial patch didn't fix.
portage tree version's on par with upstream.
A so documented patch on Aug, 31th, ranked 248.
At short glance, seem very much like line.
no 9999 here. Hum
EAPI=6 is good
So should all 248 patches be applied...
Well my patch was faulty, but this fixes:
Code:
--- mlt-6.4.1/src/framework/mlt_property.h   2016-11-16 09:53:11.000000000 +0300
+++ mlt-6.4.1/src/framework/mlt_property.h.new   2017-10-10 18:46:57.280827770 +0300
@@ -31,7 +31,11 @@
 #endif
 
 #if defined(__GLIBC__) || defined(__APPLE__) || (__FreeBSD_version >= 900506)
-#include <xlocale.h>
+#  if __GLIBC_MINOR__ >= 26 && !defined(__APPLE__)
+#    include <locale.h>
+#  else
+#    include <xlocale.h>
+#  endif
 #else
 typedef char* locale_t;
 #endif
letting ebuild to raise a further error :twisted: later fixed by no-lto.
lto was fine here with previous stable toolchain.
Thks 4 ur attention, interest & support.


Last edited by CaptainBlood on Fri Oct 13, 2017 10:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3663

PostPosted: Tue Oct 10, 2017 9:34 pm    Post subject: Reply with quote

sci-libs/opencascade-6.9.1-r2:
Code:
-- opencascade-6.9.1/inc/Standard_CLocaleSentry.hxx   2015-09-25 17:19:12.000000000 +0300
+++ ./opencascade-6.9.1/inc/Standard_CLocaleSentry.hxx.new   2017-10-11 00:09:30.431218479 +0300
@@ -36,7 +36,11 @@
 #endif // ifndef HAVE_LOCALE_H
 
 #ifdef HAVE_XLOCALE_H
-  #include <xlocale.h>
+#    if defined(__GLIBC__) && __GLIBC_MINOR__ >= 26
+#        include <locale.h>
+#    else
+#include <xlocale.h>
+#   endif
 #endif
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3663

PostPosted: Wed Oct 11, 2017 1:05 am    Post subject: Reply with quote

nfs-utils-1.3.4-r1:
Code:
nfs-utils-1.3.4/support/nsm/rpc.c   2016-08-03 21:25:15.000000000 +0300
+++ nfs-utils-1.3.4/support/nsm/rpc.c.new   2017-10-11 03:46:15.921481038 +0300
@@ -40,6 +40,7 @@
 
 #include <time.h>
 #include <stdbool.h>
+#include <stdint.h>
 #include <string.h>
 #include <unistd.h>
 #include <fcntl.h>


Last edited by CaptainBlood on Fri Oct 13, 2017 10:04 pm; edited 1 time in total
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3663

PostPosted: Fri Oct 13, 2017 6:18 pm    Post subject: Reply with quote

xorg-server>=1.9.4:
Code:
--- xorg-server-1.19.4/config/udev.c   2017-10-13 11:26:40.255527283 +0300
+++ xorg-server-1.19.4/config/udev.c.new   2017-10-13 11:49:38.285555103 +0300
@@ -30,9 +30,7 @@
 #include <libudev.h>
 #include <ctype.h>
 #include <unistd.h>
-#ifdef HAVE_SYS_SYSMACROS_H
 #include <sys/sysmacros.h>
-#endif
 
 #include "input.h"
 #include "inputstr.h"
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3663

PostPosted: Fri Oct 13, 2017 6:22 pm    Post subject: Reply with quote

sys-fs/eudev-3.1.5 also hits the "sys/sysmacros.h" issue...
Code:
-- eudev-3.1.5/src/udev/udevadm-info.c   2015-09-11 21:54:26.000000000 +0300
+++ eudev-3.1.5/src/udev/udevadm-info.c.new   2017-10-13 12:33:54.755608733 +0300
@@ -22,13 +22,13 @@
 #include <ctype.h>
 #include <stdarg.h>
 #include <unistd.h>
+#include <sys/sysmacros.h>
 #include <dirent.h>
 #include <errno.h>
 #include <getopt.h>
 #include <fcntl.h>
 #include <sys/stat.h>
 #include <sys/types.h>
-
 #include "udev.h"
 #include "udev-util.h"
 #include "udevadm-util.h"
Code:
--- eudev-3.1.5/src/udev/udev-rules.c   2015-10-13 01:22:14.000000000 +0300
+++ eudev-3.1.5/src/udev/udev-rules.c.new   2017-10-13 22:41:57.549910165 +0300
@@ -24,6 +24,7 @@
 #include <fcntl.h>
 #include <ctype.h>
 #include <unistd.h>
+#include <sys/sysmacros.h>
 #include <errno.h>
 #include <dirent.h>
 #include <fnmatch.h>
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum