[fink:package-submissions] #4990 avoid PR81797 in gcc5 on APFS filesystem

Jack Howarth via Fink-tracker <[email protected]>
Newsgroups gmane.os.apple.fink.tracker
Message-ID <59abf78533262e3e2fd55e23.package-submissions@fink.p.sourceforge.net>


---

** [package-submissions:#4990] avoid PR81797 in gcc5 on APFS filesystem**

**Status:** open
**Group:** Undergoing_Validation
**Created:** Sun Sep 03, 2017 12:37 PM UTC by Jack Howarth
**Last Updated:** Sun Sep 03, 2017 12:37 PM UTC
**Owner:** nobody


The attached info file and new gcc5-apfs.patch works around https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 until upstream finds the proper fix. The info file change is...

~~~
Index: gcc5.info
===================================================================
RCS file: /cvsroot/fink/dists/10.9-libcxx/stable/main/finkinfo/languages/gcc5.info,v
retrieving revision 1.12
diff -u -r1.12 gcc5.info
--- gcc5.info	21 Aug 2017 12:06:12 -0000	1.12
+++ gcc5.info	3 Sep 2017 12:30:32 -0000
@@ -18,6 +18,8 @@
 PatchFile3-MD5: a3d829ef0ce865868a102c763f85a901
 PatchFile4: %n-xcode9.patch
 PatchFile4-MD5: c64f7fb0193324f39b031a076aff05d9
+PatchFile5: %n-apfs.patch
+PatchFile5-MD5: 0e1165443be9e5fd17fd86867b3883e8
 PatchScript: <<
 	%{default_script}
 	# autoconf2.6ish patch for modern XQuartz paths
@@ -333,6 +335,9 @@
  and https://github.com/gcc-mirror/gcc/commit/ec8c949f8f296d1270fc41404175cd7249df4cd4 for Xcode 9.
  Add const correct fix from https://gcc.gnu.org/ml/gcc-patches/2017-01/msg00053.html for Xcode 9
  to gcc5-PR71767_PR57438_PR67710.patch.
+
+ Add apfs patch to suppress https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797
+ by adding ".NOTPARALLEL: install-headers" to libstdc++-v3/include/Makefile.in.
 <<
 Homepage: http://gcc.gnu.org/
 Maintainer: None <[email protected]>
~~~

and the new patch contains...

~~~
diff -uNr gcc-5.4.0.orig/libstdc++-v3/include/Makefile.in gcc-5.4.0/libstdc++-v3/include/Makefile.in
--- gcc-5.4.0.orig/libstdc++-v3/include/Makefile.in     2016-04-20 09:00:24.000000000 -0400
+++ gcc-5.4.0/libstdc++-v3/include/Makefile.in  2017-09-02 18:58:29.000000000 -0400
@@ -1694,6 +1694,8 @@
 @GLIBCXX_HOSTED_TRUE@install-data-local: install-headers
 @GLIBCXX_HOSTED_FALSE@install-data-local: install-freestanding-headers
 
+.NOTPARALLEL: install-headers
+
 # This is a subset of the full install-headers rule.  We only need <ciso646>,
 # <cstddef>, <cfloat>, <limits>, <climits>, <cstdint>, <cstdlib>, <new>,
 # <typeinfo>, <exception>, <initializer_list>, <cstdalign>, <cstdarg>,
~~~

Tested with 'fink -m' on 10.13 booted from an APFS filesystem.


---

Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/fink/package-submissions/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/fink/admin/package-submissions/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Fink-tracker mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.tracker
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.