[MacPorts] #39377: selfupdate doesn't work

MacPorts noreply at macports.org
Fri Jun 7 15:04:29 PDT 2013


#39377: selfupdate doesn't work
-------------------------+--------------------------------
  Reporter:  waidmann@…  |      Owner:  macports-tickets@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  base        |    Version:  2.0.3
Resolution:              |   Keywords:
      Port:              |
-------------------------+--------------------------------

Comment (by cal@…):

 Your value of `GNUSTEP_SYSTEM_ROOT` actually doesn't matter, because
 MacPorts clears the environment before selfupdating.

 You shouldn't have modified `/usr/bin/gcc` to change your default
 compiler. Instead you should have adjusted `$PATH` or used the port select
 mechanism to choose your favorite GCC version (e.g., `port select --set
 gcc mp-gcc47`). MacPorts expects the compiler to be an Apple-provided one,
 which are in some areas significantly different from Free Software
 Foundation's GCC, which you apparently installed as `/usr/bin/gcc` (e.g.,
 the latter don't support `-arch` and building for multiple architectures
 at the same time).

 The problem you're seeing is
 {{{
 650     In file included from
 /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:43:0,
 651                      from
 /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6,
 652                      from conftest.m:26:
 653
 /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h:147:1:
 error: format string argument not a string type
 654     In file included from
 /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5:0,
 655                      from
 /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:10,
 656                      from conftest.m:26:
 657
 /System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:123:35:
 error: expected ';' before '__attribute__'
 658
 /System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:138:1:
 error: stray '@' in program
 659
 /System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:139:1:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
 660     In file included from
 /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:10:0,
 661                      from conftest.m:26:
 662
 /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:87:42:
 error: expected ';' before '__attribute__'
 663
 /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:91:41:
 error: expected ';' before '__attribute__'
 664
 /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:131:83:
 error: expected ';' before '__attribute__'
 665     In file included from
 /System/Library/Frameworks/Foundation.framework/Headers/NSCalendar.h:7:0,
 666                      from
 /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:14,
 667                      from conftest.m:26:
 668
 /System/Library/Frameworks/Foundation.framework/Headers/NSDate.h:27:47:
 error: expected ';' before '__attribute__'
 669     In file included from
 /System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h:8:0,
 670                      from
 /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:15,
 671                      from conftest.m:26:
 672
 /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:139:63:
 error: expected ';' before '__attribute__'
 673     In file included from
 /System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h:8:0,
 674                      from
 /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:15,
 675                      from conftest.m:26:
 676
 /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:277:46:
 error: expected ';' before '__attribute__'
 677
 /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:278:68:
 error: expected ';' before '__attribute__'
 678
 /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:279:64:
 error: expected ';' before '__attribute__'
 679
 /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:280:86:
 error: expected ';' before '__attribute__'
 680
 /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:291:48:
 error: expected ';' before '__attribute__'
 681
 /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:292:57:
 error: expected ';' before '__attribute__'
 682
 /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:336:46:
 error: expected ';' before '__attribute__'
 683
 /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:367:25:
 error: expected ';' before '__attribute__'
 684
 /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:368:30:
 error: expected ';' before '__attribute__'
 685
 /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:369:29:
 error: expected ';' before '__attribute__'
 686
 /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:370:34:
 error: expected ';' before '__attribute__'
 687
 /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:371:66:
 error: expected ';' before '__attribute__'
 688
 /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:372:133:
 error: expected ';' before '__attribute__'
 689
 /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:374:72:
 error: expected ';' before '__attribute__'
 690
 /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:375:61:
 error: expected ';' before '__attribute__'
 691
 /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:377:47:
 error: expected ';' before '__attribute__'
 692
 /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:378:42:
 error: expected ';' before '__attribute__'
 693
 /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:379:49:
 error: expected ';' before '__attribute__'
 694
 /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:380:44:
 error: expected ';' before '__attribute__'
 695
 /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:382:99:
 error: expected ';' before '__attribute__'
 696
 /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:383:69:
 error: expected ';' before '__attribute__'
 697
 /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:384:43:
 error: expected ';' before '__attribute__'
 698
 /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:385:71:
 error: expected ';' before '__attribute__'
 699
 /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:386:45:
 error: expected ';' before '__attribute__'
 700
 /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:411:1:
 error: stray '@' in program
 701
 /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:411:2:
 error: expected specifier-qualifier-list before 'package'
 702     In file included from
 /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:16:0,
 703                      from conftest.m:26:
 704
 /System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h:83:35:
 error: expected ';' before '__attribute__'
 705
 /System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h:91:22:
 error: expected ';' before '__attribute__'
 706     In file included from
 /System/Library/Frameworks/Foundation.framework/Headers/NSDecimalNumber.h:8:0,
 707                      from
 /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:21,
 708                      from conftest.m:26:
 709
 /System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h:56:57:
 error: expected ';' before '__attribute__'
 710
 /System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h:61:51:
 error: expected ';' before '__attribute__'
 711     In file included from
 /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:25:0,
 712                      from conftest.m:26:
 713
 /System/Library/Frameworks/Foundation.framework/Headers/NSException.h:61:63:
 error: expected ';' before '__attribute__'
 714
 /System/Library/Frameworks/Foundation.framework/Headers/NSException.h:62:85:
 error: expected ';' before '__attribute__'
 715     In file included from
 /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:27:0,
 716                      from conftest.m:26:
 717
 /System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:162:81:
 error: expected ';' before '__attribute__'
 718
 /System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:163:81:
 error: expected ';' before '__attribute__'
 719
 /System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:164:55:
 error: expected ';' before '__attribute__'
 720
 /System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:165:63:
 error: expected ';' before '__attribute__'
 721
 /System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:166:64:
 error: expected ';' before '__attribute__'
 722
 /System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:167:85:
 error: expected ';' before '__attribute__'
 723
 /System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:168:86:
 error: expected ';' before '__attribute__'
 724
 /System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:171:78:
 error: expected ';' before '__attribute__'
 725
 /System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:172:78:
 error: expected ';' before '__attribute__'
 726
 /System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:173:78:
 error: expected ';' before '__attribute__'
 727
 /System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:174:63:
 error: expected ';' before '__attribute__'
 728
 /System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:248:91:
 error: expected ';' before '__attribute__'
 729
 /System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:249:74:
 error: expected ';' before '__attribute__'
 730     In file included from
 /System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueCoding.h:9:0,
 731                      from
 /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:32,
 732                      from conftest.m:26:
 733
 /System/Library/Frameworks/Foundation.framework/Headers/NSSet.h:53:40:
 error: expected ';' before '__attribute__'
 734
 /System/Library/Frameworks/Foundation.framework/Headers/NSSet.h:58:41:
 error: expected ';' before '__attribute__'
 735     In file included from
 /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:32:0,
 736                      from conftest.m:26:
 737
 /System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueCoding.h:178:27:
 error: expected ';' before '__attribute__'
 738
 /System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueCoding.h:179:41:
 error: expected ';' before '__attribute__'
 739
 /System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueCoding.h:180:58:
 error: expected ';' before '__attribute__'
 740
 /System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueCoding.h:184:52:
 error: expected ';' before '__attribute__'
 741
 /System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueCoding.h:185:60:
 error: expected ';' before '__attribute__'
 742
 /System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueCoding.h:186:49:
 error: expected ';' before '__attribute__'
 743
 /System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueCoding.h:187:65:
 error: expected ';' before '__attribute__'
 744
 /System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueCoding.h:188:46:
 error: expected ';' before '__attribute__'
 745
 /System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueCoding.h:189:49:
 error: expected ';' before '__attribute__'
 746
 /System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueCoding.h:190:61:
 error: expected ';' before '__attribute__'
 747     In file included from
 /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:33:0,
 748                      from conftest.m:26:
 749
 /System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueObserving.h:189:100:
 error: expected ';' before '__attribute__'
 750     In file included from
 /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:34:0,
 751                      from conftest.m:26:
 752
 /System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:125:1:
 error: stray '@' in program
 753
 /System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:128:1:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
 754
 /System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:161:1:
 error: stray '@' in program
 755
 /System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:164:1:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
 756     In file included from
 /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:38:0,
 757                      from conftest.m:26:
 758
 /System/Library/Frameworks/Foundation.framework/Headers/NSNotification.h:29:5:
 error: stray '@' in program
 759
 /System/Library/Frameworks/Foundation.framework/Headers/NSNotification.h:29:6:
 error: expected specifier-qualifier-list before 'package'
 760     In file included from
 /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:44:0,
 761                      from conftest.m:26:
 762
 /System/Library/Frameworks/Foundation.framework/Headers/NSPort.h:67:1:
 error: stray '@' in program
 763
 /System/Library/Frameworks/Foundation.framework/Headers/NSPort.h:69:1:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
 764
 /System/Library/Frameworks/Foundation.framework/Headers/NSPort.h:113:1:
 error: stray '@' in program
 765
 /System/Library/Frameworks/Foundation.framework/Headers/NSPort.h:117:1:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
 766     In file included from
 /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:49:0,
 767                      from conftest.m:26:
 768
 /System/Library/Frameworks/Foundation.framework/Headers/NSRunLoop.h:47:27:
 error: expected ';' before '__attribute__'
 769     In file included from
 /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:53:0,
 770                      from conftest.m:26:
 771
 /System/Library/Frameworks/Foundation.framework/Headers/NSStream.h:108:1:
 error: stray '@' in program
 772
 /System/Library/Frameworks/Foundation.framework/Headers/NSStream.h:109:1:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
 773     In file included from
 /System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:8:0,
 774                      from
 /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:58,
 775                      from conftest.m:26:
 776
 /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:52:91:
 error: expected ';' before '__attribute__'
 777
 /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:53:64:
 error: expected ';' before '__attribute__'
 778
 /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:54:65:
 error: expected ';' before '__attribute__'
 779
 /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:55:65:
 error: expected ';' before '__attribute__'
 780
 /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:56:93:
 error: expected ';' before '__attribute__'
 781
 /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:67:59:
 error: expected ';' before '__attribute__'
 782
 /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:68:46:
 error: expected ';' before '__attribute__'
 783
 /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:70:29:
 error: expected ';' before '__attribute__'
 784
 /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:71:29:
 error: expected ';' before '__attribute__'
 785
 /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:73:50:
 error: expected ';' before '__attribute__'
 786
 /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:74:53:
 error: expected ';' before '__attribute__'
 787
 /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:76:26:
 error: expected ';' before '__attribute__'
 788
 /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:77:32:
 error: expected ';' before '__attribute__'
 789
 /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:79:26:
 error: expected ';' before '__attribute__'
 790
 /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:80:35:
 error: expected ';' before '__attribute__'
 791
 /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:83:40:
 error: expected ';' before '__attribute__'
 792
 /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:86:25:
 error: expected ';' before '__attribute__'
 793
 /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:89:60:
 error: expected ';' before '__attribute__'
 794
 /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:90:65:
 error: expected ';' before '__attribute__'
 795
 /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:93:39:
 error: expected ';' before '__attribute__'
 796
 /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:94:52:
 error: expected ';' before '__attribute__'
 797
 /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:95:53:
 error: expected ';' before '__attribute__'
 798
 /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:97:46:
 error: expected ';' before '__attribute__'
 799
 /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:98:57:
 error: expected ';' before '__attribute__'
 800
 /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:99:72:
 error: expected ';' before '__attribute__'
 801
 /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:100:34:
 error: expected ';' before '__attribute__'
 802
 /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:102:30:
 error: expected ';' before '__attribute__'
 803
 /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:103:31:
 error: expected ';' before '__attribute__'
 804
 /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:104:29:
 error: expected ';' before '__attribute__'
 805     In file included from
 /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:58:0,
 806                      from conftest.m:26:
 807
 /System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:160:79:
 error: expected ';' before '__attribute__'
 808
 /System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:161:53:
 error: expected ';' before '__attribute__'
 809
 /System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:162:53:
 error: expected ';' before '__attribute__'
 810
 /System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:163:81:
 error: expected ';' before '__attribute__'
 811
 /System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:168:57:
 error: expected ';' before '__attribute__'
 812
 /System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:169:84:
 error: expected ';' before '__attribute__'
 813
 /System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:170:46:
 error: expected ';' before '__attribute__'
 814
 /System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:173:40:
 error: expected ';' before '__attribute__'
 815
 /System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:174:65:
 error: expected ';' before '__attribute__'
 816
 /System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:176:59:
 error: expected ';' before '__attribute__'
 817     In file included from
 /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:75:0,
 818                      from conftest.m:26:
 819
 /System/Library/Frameworks/Foundation.framework/Headers/NSNetServices.h:136:17:
 error: expected ';' before '__attribute__'
 820
 /System/Library/Frameworks/Foundation.framework/Headers/NSNetServices.h:228:1:
 error: stray '@' in program
 821
 /System/Library/Frameworks/Foundation.framework/Headers/NSNetServices.h:232:1:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
 822
 /System/Library/Frameworks/Foundation.framework/Headers/NSNetServices.h:275:1:
 error: stray '@' in program
 823
 /System/Library/Frameworks/Foundation.framework/Headers/NSNetServices.h:279:1:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
 824
 /System/Library/Frameworks/Foundation.framework/Headers/NSNetServices.h:321:43:
 error: expected ';' before '__attribute__'
 825
 /System/Library/Frameworks/Foundation.framework/Headers/NSNetServices.h:327:72:
 error: expected ';' before '__attribute__'
 826
 /System/Library/Frameworks/Foundation.framework/Headers/NSNetServices.h:337:29:
 error: expected ';' before '__attribute__'
 827     In file included from
 /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:85:0,
 828                      from conftest.m:26:
 829
 /System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h:37:5:
 error: stray '@' in program
 830
 /System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h:37:6:
 error: expected specifier-qualifier-list before 'package'
 831     In file included from
 /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:85:0,
 832                      from conftest.m:26:
 833
 /System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h:131:5:
 error: stray '@' in program
 834
 /System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h:131:6:
 error: expected specifier-qualifier-list before 'package'
 835     In file included from
 /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:86:0,
 836                      from conftest.m:26:
 837
 /System/Library/Frameworks/Foundation.framework/Headers/NSXMLParser.h:67:1:
 error: stray '@' in program
 838
 /System/Library/Frameworks/Foundation.framework/Headers/NSXMLParser.h:70:1:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
 839     In file included from
 /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:93:0,
 840                      from conftest.m:26:
 841
 /System/Library/Frameworks/Foundation.framework/Headers/NSConnection.h:50:37:
 error: expected ';' before '__attribute__'
 842     In file included from
 /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:93:0,
 843                      from conftest.m:26:
 844
 /System/Library/Frameworks/Foundation.framework/Headers/NSConnection.h:114:1:
 error: stray '@' in program
 845
 /System/Library/Frameworks/Foundation.framework/Headers/NSConnection.h:118:1:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
 846     In file included from
 /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:118:0,
 847                      from conftest.m:26:
 848
 /System/Library/Frameworks/Foundation.framework/Headers/NSCache.h:43:1:
 error: stray '@' in program
 849
 /System/Library/Frameworks/Foundation.framework/Headers/NSCache.h:44:1:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
 850     In file included from
 /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:125:0,
 851                      from conftest.m:26:
 852
 /System/Library/Frameworks/Foundation.framework/Headers/NSGarbageCollector.h:26:22:
 error: expected ';' before '__attribute__'
 853     In file included from
 /System/Library/Frameworks/Foundation.framework/Headers/NSHashTable.h:5:0,
 854                      from
 /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:127,
 855                      from conftest.m:26:
 856
 /System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:59:1:
 error: stray '@' in program
 857
 /System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:59:11:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before
 'NSUInteger'
 858
 /System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:60:1:
 error: stray '@' in program
 859
 /System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:60:11:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before 'BOOL'
 860
 /System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:61:1:
 error: stray '@' in program
 861
 /System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:61:11:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before
 'NSUInteger'
 862
 /System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:62:1:
 error: stray '@' in program
 863
 /System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:62:11:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NSString'
 864
 /System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:65:1:
 error: stray '@' in program
 865
 /System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:65:11:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
 866
 /System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:66:1:
 error: stray '@' in program
 867
 /System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:66:11:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
 868
 /System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:69:1:
 error: stray '@' in program
 869
 /System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:69:11:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before 'BOOL'
 870
 /System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:70:1:
 error: stray '@' in program
 871
 /System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:70:11:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before 'BOOL'
 872     In file included from
 /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:130:0,
 873                      from conftest.m:26:
 874
 /System/Library/Frameworks/Foundation.framework/Headers/NSMetadata.h:78:1:
 error: stray '@' in program
 875
 /System/Library/Frameworks/Foundation.framework/Headers/NSMetadata.h:80:1:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
 876     In file included from
 /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:132:0,
 877                      from conftest.m:26:
 878
 /System/Library/Frameworks/Foundation.framework/Headers/NSOrthography.h:16:1:
 error: stray '@' in program
 879
 /System/Library/Frameworks/Foundation.framework/Headers/NSOrthography.h:16:22:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NSString'
 880
 /System/Library/Frameworks/Foundation.framework/Headers/NSOrthography.h:17:1:
 error: stray '@' in program
 881
 /System/Library/Frameworks/Foundation.framework/Headers/NSOrthography.h:17:22:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before
 'NSDictionary'
 882
 /System/Library/Frameworks/Foundation.framework/Headers/NSOrthography.h:28:1:
 error: stray '@' in program
 883
 /System/Library/Frameworks/Foundation.framework/Headers/NSOrthography.h:28:22:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NSString'
 884
 /System/Library/Frameworks/Foundation.framework/Headers/NSOrthography.h:29:1:
 error: stray '@' in program
 885
 /System/Library/Frameworks/Foundation.framework/Headers/NSOrthography.h:29:22:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NSArray'
 886
 /System/Library/Frameworks/Foundation.framework/Headers/NSOrthography.h:30:1:
 error: stray '@' in program
 887
 /System/Library/Frameworks/Foundation.framework/Headers/NSOrthography.h:30:22:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NSArray'
 888     In file included from
 /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:136:0,
 889                      from conftest.m:26:
 890
 /System/Library/Frameworks/Foundation.framework/Headers/NSScriptClassDescription.h:110:39:
 error: expected ';' before '__attribute__'
 891     In file included from
 /System/Library/Frameworks/Foundation.framework/Headers/NSSpellServer.h:7:0,
 892                      from
 /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:146,
 893                      from conftest.m:26:
 894
 /System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h:39:1:
 error: stray '@' in program
 895
 /System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h:39:22:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before
 'NSTextCheckingType'
 896
 /System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h:40:1:
 error: stray '@' in program
 897
 /System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h:40:22:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NSRange'
 898
 /System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h:47:1:
 error: stray '@' in program
 899
 /System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h:47:22:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before
 'NSOrthography'
 900
 /System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h:48:1:
 error: stray '@' in program
 901
 /System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h:48:22:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NSArray'
 902
 /System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h:49:1:
 error: stray '@' in program
 903
 /System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h:49:22:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NSDate'
 904
 /System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h:50:1:
 error: stray '@' in program
 905
 /System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h:50:22:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before
 'NSTimeZone'
 906
 /System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h:51:1:
 error: stray '@' in program
 907
 /System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h:51:22:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before
 'NSTimeInterval'
 908
 /System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h:52:1:
 error: stray '@' in program
 909
 /System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h:52:22:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before
 'NSDictionary'
 910
 /System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h:53:1:
 error: stray '@' in program
 911
 /System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h:53:22:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NSURL'
 912
 /System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h:54:1:
 error: stray '@' in program
 913
 /System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h:54:22:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NSString'
 914     In file included from
 /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:146:0,
 915                      from conftest.m:26:
 916
 /System/Library/Frameworks/Foundation.framework/Headers/NSSpellServer.h:71:1:
 error: stray '@' in program
 917
 /System/Library/Frameworks/Foundation.framework/Headers/NSSpellServer.h:73:1:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
 }}}
 which is the same as reported in #30298.

 Please restore `/usr/bin/gcc` in its original state and try again.

 Your logfile already is the correct and relevant one, no need to attach
 another one.

-- 
Ticket URL: <https://trac.macports.org/ticket/39377#comment:5>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list