[fink:package-submissions] #4988 avoid PR81797 in gcc7 on APFS filesystem

Jack Howarth via Fink-tracker <[email protected]>
Newsgroups gmane.os.apple.fink.tracker
Message-ID </p/fink/package-submissions/4988/e9346abe3ba079f33d6ea03c211218b336a0578a.package-submissions@fink.p.sourceforge.net>
New gcc7-apfs.patch file for gcc7 to avoid PR81797 in gcc7 on APFS filesystem


Attachments:

- [gcc7-apfs.patch](https://sourceforge.net/p/fink/package-submissions/_discuss/thread/3f2d0ccf/7ba0/attachment/gcc7-apfs.patch) (684 Bytes; application/octet-stream)


---

** [package-submissions:#4988] avoid PR81797 in gcc7 on APFS filesystem**

**Status:** open
**Group:** Undergoing_Validation
**Created:** Sat Sep 02, 2017 10:05 PM UTC by Jack Howarth
**Last Updated:** Sat Sep 02, 2017 10:06 PM UTC
**Owner:** nobody


The attached info file and new gcc7-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: gcc7.info
===================================================================
RCS file: /cvsroot/fink/dists/10.9-libcxx/stable/main/finkinfo/languages/gcc7.info,v
retrieving revision 1.2
diff -u -r1.2 gcc7.info
--- gcc7.info	15 Aug 2017 12:31:37 -0000	1.2
+++ gcc7.info	2 Sep 2017 21:58:52 -0000
@@ -6,6 +6,8 @@
 Source-MD5: ff370482573133a7fcdd96cd2f552292
 PatchFile: %n.patch
 PatchFile-MD5: 07a7b64b31864ff2344c42104fd48d0e
+PatchFile2: %n-apfs.patch
+PatchFile2-MD5: 6f281ae553506c142114c06bf48eb269 
 PatchScript: <<
 	#!/bin/sh -ev
 	%{default_script}
@@ -285,6 +287,9 @@
  Build with -fsf-7 suffix and place non-overlapping files into new gcc7-compiler
  package which can co-exist with other gccXX-compiler packages. Overlapping files
  are left in main gcc7 package which still conflicts with other gccXX packages.
+
+ 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.
 <<
~~~

and the new patch contains...

~~~
diff -uNr gcc-7.2.0.orig/libstdc++-v3/include/Makefile.in gcc-7.2.0/libstdc++-v3/include/Makefile.in
--- gcc-7.2.0.orig/libstdc++-v3/include/Makefile.in     2017-07-25 14:05:07.000000000 -0400
+++ gcc-7.2.0/libstdc++-v3/include/Makefile.in  2017-09-02 12:22:08.000000000 -0400
@@ -1764,6 +1764,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 witj  '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.