[OpenAFS-port-darwin] 10.5 support

Derrick Brashear shadow@gmail.com
Thu, 1 Aug 2013 10:18:26 -0400


--001a11c361fc022d2f04e2e3845b
Content-Type: text/plain; charset=ISO-8859-1

or just skip building the prefpane and use the pre 1.6.5 one.


On Thu, Aug 1, 2013 at 8:02 AM, Jonas Maebe <jonas.maebe@elis.ugent.be>wrote:

> Hi,
>
> Even though no new builds for 10.5/ppc are distributed anymore, is
> building/installing OpenAFS 1.6.5 for 10.5/ppc still supported? (or at
> least supposed to work?)
>
> After "./configure --with-afs-sysname=ppc_darwin_**90", and manually
> setting the OSXSDK variable in src/platform/DARWIN/Makefile to
> macosx10.5.sdk (for some reason that replacement didn't happen
> successfully), I get compilation failures while building the prefpane due
> to missing protocol declarations:
>
> CompileC build/OpenAFS.build/Release/**OpenAFS.build/Objects-normal/**i386/IpConfiguratorCommander.o
> /Data/dev/openafs-1.6.5/src/**platform/DARWIN/AFSPreference/**IpConfiguratorCommander.m
> normal i386 objective-c com.apple.compilers.gcc.4_0
>     cd /Data/dev/openafs-1.6.5/src/**platform/DARWIN/AFSPreference
>     /Developer/usr/bin/gcc-4.0 -x objective-c -arch i386
> -fmessage-length=0 -pipe -std=gnu99 -Wno-trigraphs -fpascal-strings
> -fasm-blocks -Os -Wreturn-type -Wunused-variable -isysroot
> /Developer/SDKs/MacOSX10.5.sdk -fobjc-gc -mmacosx-version-min=10.5
> -I/Data/dev/openafs-1.6.5/src/**platform/DARWIN/AFSPreference/**
> build/OpenAFS.build/Release/**OpenAFS.build/OpenAFS.hmap
> -F/Data/dev/openafs-1.6.5/src/**platform/DARWIN/AFSPreference/**build/Release
> -I/Data/dev/openafs-1.6.5/src/**platform/DARWIN/AFSPreference/**build/Release/include
> -I/Data/dev/openafs-1.6.5/src/**platform/DARWIN/AFSPreference/**
> build/OpenAFS.build/Release/**OpenAFS.build/DerivedSources/**i386
> -I/Data/dev/openafs-1.6.5/src/**platform/DARWIN/AFSPreference/**
> build/OpenAFS.build/Release/**OpenAFS.build/DerivedSources -include
> /var/folders/QZ/QZn+**OhEP2RWpbk+BYmguy+++7yI/-**
> Caches-/com.apple.Xcode.10213/**SharedPrecompiledHeaders/**
> AFSCommander_Prefix-**aszqskyvcvxmxbbcqetekstmlywa/**AFSCommander_Prefix.pch
> -c /Data/dev/openafs-1.6.5/src/**platform/DARWIN/AFSPreference/**IpConfiguratorCommander.m
> -o /Data/dev/openafs-1.6.5/src/**platform/DARWIN/AFSPreference/**
> build/OpenAFS.build/Release/**OpenAFS.build/Objects-normal/**
> i386/IpConfiguratorCommander.o
> In file included from /Data/dev/openafs-1.6.5/src/**
> platform/DARWIN/AFSPreference/**IpConfiguratorCommander.h:11,
>                  from /Data/dev/openafs-1.6.5/src/**
> platform/DARWIN/AFSPreference/**IpConfiguratorCommander.m:9:
> /Data/dev/openafs-1.6.5/src/**platform/DARWIN/AFSPreference/**AFSCommanderPref.h:24:
> error: cannot find protocol declaration for 'NSTableViewDataSource'
> /Data/dev/openafs-1.6.5/src/**platform/DARWIN/AFSPreference/**AFSCommanderPref.h:24:
> error: cannot find protocol declaration for 'NSTableViewDelegate'
>
>
> CompileC build/OpenAFS.build/Release/**OpenAFS.build/Objects-normal/**ppc/AFSCommanderPref.o
> /Data/dev/openafs-1.6.5/src/**platform/DARWIN/AFSPreference/**AFSCommanderPref.m
> normal ppc objective-c com.apple.compilers.gcc.4_0
>     cd /Data/dev/openafs-1.6.5/src/**platform/DARWIN/AFSPreference
>     /Developer/usr/bin/gcc-4.0 -x objective-c -arch ppc -fmessage-length=0
> -pipe -std=gnu99 -Wno-trigraphs -fpascal-strings -fasm-blocks -Os
> -Wreturn-type -Wunused-variable -isysroot /Developer/SDKs/MacOSX10.5.sdk
> -fobjc-gc -mtune=G5 -mmacosx-version-min=10.5 -I/Data/dev/openafs-1.6.5/src/
> **platform/DARWIN/AFSPreference/**build/OpenAFS.build/Release/**OpenAFS.build/OpenAFS.hmap
> -F/Data/dev/openafs-1.6.5/src/**platform/DARWIN/AFSPreference/**build/Release
> -I/Data/dev/openafs-1.6.5/src/**platform/DARWIN/AFSPreference/**build/Release/include
> -I/Data/dev/openafs-1.6.5/src/**platform/DARWIN/AFSPreference/**
> build/OpenAFS.build/Release/**OpenAFS.build/DerivedSources/**ppc
> -I/Data/dev/openafs-1.6.5/src/**platform/DARWIN/AFSPreference/**
> build/OpenAFS.build/Release/**OpenAFS.build/DerivedSources -include
> /var/folders/QZ/QZn+**OhEP2RWpbk+BYmguy+++7yI/-**
> Caches-/com.apple.Xcode.10213/**SharedPrecompiledHeaders/**
> AFSCommander_Prefix-**adtivpdsmpcjtcdrtawcqondpwln/**AFSCommander_Prefix.pch
> -c /Data/dev/openafs-1.6.5/src/**platform/DARWIN/AFSPreference/**AFSCommanderPref.m
> -o /Data/dev/openafs-1.6.5/src/**platform/DARWIN/AFSPreference/**
> build/OpenAFS.build/Release/**OpenAFS.build/Objects-normal/**
> ppc/AFSCommanderPref.o
> In file included from /Data/dev/openafs-1.6.5/src/**
> platform/DARWIN/AFSPreference/**AFSCommanderPref.m:9:
> /Data/dev/openafs-1.6.5/src/**platform/DARWIN/AFSPreference/**AFSCommanderPref.h:24:
> error: cannot find protocol declaration for 'NSTableViewDataSource'
> /Data/dev/openafs-1.6.5/src/**platform/DARWIN/AFSPreference/**AFSCommanderPref.h:24:
> error: cannot find protocol declaration for 'NSTableViewDelegate'
> /Data/dev/openafs-1.6.5/src/**platform/DARWIN/AFSPreference/**AFSCommanderPref.m:
> In function '-[AFSCommanderPref removeLink:]':
> /Data/dev/openafs-1.6.5/src/**platform/DARWIN/AFSPreference/**AFSCommanderPref.m:959:
> warning: 'NSPropertyListSerialization' may not respond to
> '+dataWithPropertyList:format:**options:error:'
> /Data/dev/openafs-1.6.5/src/**platform/DARWIN/AFSPreference/**AFSCommanderPref.m:959:
> warning: (Messages without a matching method signature
> /Data/dev/openafs-1.6.5/src/**platform/DARWIN/AFSPreference/**AFSCommanderPref.m:959:
> warning: will be assumed to return 'id' and accept
> /Data/dev/openafs-1.6.5/src/**platform/DARWIN/AFSPreference/**AFSCommanderPref.m:959:
> warning: '...' as arguments.)
>
> Thanks,
>
>
> Jonas
>
> PS: I'm mainly interested in the fix from 3bbd8eacf421c758b112e02d8fb24a**c0419b9331
> . I can check out and build that revision (or 1.6.2) if there is more
> chance that it will (still) work correctly with 10.5/ppc.
> ______________________________**_________________
> port-darwin mailing list
> port-darwin@openafs.org
> https://lists.openafs.org/**mailman/listinfo/port-darwin<https://lists.openafs.org/mailman/listinfo/port-darwin>
>
>


-- 
Derrick

--001a11c361fc022d2f04e2e3845b
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">or just skip building the prefpane and use the pre 1.6.5 o=
ne.<br></div><div class=3D"gmail_extra"><br><br><div class=3D"gmail_quote">=
On Thu, Aug 1, 2013 at 8:02 AM, Jonas Maebe <span dir=3D"ltr">&lt;<a href=
=3D"mailto:jonas.maebe@elis.ugent.be" target=3D"_blank">jonas.maebe@elis.ug=
ent.be</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Hi,<br>
<br>
Even though no new builds for 10.5/ppc are distributed anymore, is building=
/installing OpenAFS 1.6.5 for 10.5/ppc still supported? (or at least suppos=
ed to work?)<br>
<br>
After &quot;./configure --with-afs-sysname=3Dppc_darwin_<u></u>90&quot;, an=
d manually setting the OSXSDK variable in src/platform/DARWIN/Makefile to m=
acosx10.5.sdk (for some reason that replacement didn&#39;t happen successfu=
lly), I get compilation failures while building the prefpane due to missing=
 protocol declarations:<br>

<br>
CompileC build/OpenAFS.build/Release/<u></u>OpenAFS.build/Objects-normal/<u=
></u>i386/IpConfiguratorCommander.o /Data/dev/openafs-1.6.5/src/<u></u>plat=
form/DARWIN/AFSPreference/<u></u>IpConfiguratorCommander.m normal i386 obje=
ctive-c com.apple.compilers.gcc.4_0<br>

=A0 =A0 cd /Data/dev/openafs-1.6.5/src/<u></u>platform/DARWIN/AFSPreference=
<br>
=A0 =A0 /Developer/usr/bin/gcc-4.0 -x objective-c -arch i386 -fmessage-leng=
th=3D0 -pipe -std=3Dgnu99 -Wno-trigraphs -fpascal-strings -fasm-blocks -Os =
-Wreturn-type -Wunused-variable -isysroot /Developer/SDKs/MacOSX10.5.sdk -f=
objc-gc -mmacosx-version-min=3D10.5 -I/Data/dev/openafs-1.6.5/src/<u></u>pl=
atform/DARWIN/AFSPreference/<u></u>build/OpenAFS.build/Release/<u></u>OpenA=
FS.build/OpenAFS.hmap -F/Data/dev/openafs-1.6.5/src/<u></u>platform/DARWIN/=
AFSPreference/<u></u>build/Release -I/Data/dev/openafs-1.6.5/src/<u></u>pla=
tform/DARWIN/AFSPreference/<u></u>build/Release/include -I/Data/dev/openafs=
-1.6.5/src/<u></u>platform/DARWIN/AFSPreference/<u></u>build/OpenAFS.build/=
Release/<u></u>OpenAFS.build/DerivedSources/<u></u>i386 -I/Data/dev/openafs=
-1.6.5/src/<u></u>platform/DARWIN/AFSPreference/<u></u>build/OpenAFS.build/=
Release/<u></u>OpenAFS.build/DerivedSources -include /var/folders/QZ/QZn+<u=
></u>OhEP2RWpbk+BYmguy+++7yI/-<u></u>Caches-/com.apple.Xcode.10213/<u></u>S=
haredPrecompiledHeaders/<u></u>AFSCommander_Prefix-<u></u>aszqskyvcvxmxbbcq=
etekstmlywa/<u></u>AFSCommander_Prefix.pch -c /Data/dev/openafs-1.6.5/src/<=
u></u>platform/DARWIN/AFSPreference/<u></u>IpConfiguratorCommander.m -o /Da=
ta/dev/openafs-1.6.5/src/<u></u>platform/DARWIN/AFSPreference/<u></u>build/=
OpenAFS.build/Release/<u></u>OpenAFS.build/Objects-normal/<u></u>i386/IpCon=
figuratorCommander.o<br>

In file included from /Data/dev/openafs-1.6.5/src/<u></u>platform/DARWIN/AF=
SPreference/<u></u>IpConfiguratorCommander.h:11,<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0from /Data/dev/openafs-1.6.5/src/<u></u>=
platform/DARWIN/AFSPreference/<u></u>IpConfiguratorCommander.m:9:<br>
/Data/dev/openafs-1.6.5/src/<u></u>platform/DARWIN/AFSPreference/<u></u>AFS=
CommanderPref.h:24: error: cannot find protocol declaration for &#39;NSTabl=
eViewDataSource&#39;<br>
/Data/dev/openafs-1.6.5/src/<u></u>platform/DARWIN/AFSPreference/<u></u>AFS=
CommanderPref.h:24: error: cannot find protocol declaration for &#39;NSTabl=
eViewDelegate&#39;<br>
<br>
<br>
CompileC build/OpenAFS.build/Release/<u></u>OpenAFS.build/Objects-normal/<u=
></u>ppc/AFSCommanderPref.o /Data/dev/openafs-1.6.5/src/<u></u>platform/DAR=
WIN/AFSPreference/<u></u>AFSCommanderPref.m normal ppc objective-c com.appl=
e.compilers.gcc.4_0<br>

=A0 =A0 cd /Data/dev/openafs-1.6.5/src/<u></u>platform/DARWIN/AFSPreference=
<br>
=A0 =A0 /Developer/usr/bin/gcc-4.0 -x objective-c -arch ppc -fmessage-lengt=
h=3D0 -pipe -std=3Dgnu99 -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -=
Wreturn-type -Wunused-variable -isysroot /Developer/SDKs/MacOSX10.5.sdk -fo=
bjc-gc -mtune=3DG5 -mmacosx-version-min=3D10.5 -I/Data/dev/openafs-1.6.5/sr=
c/<u></u>platform/DARWIN/AFSPreference/<u></u>build/OpenAFS.build/Release/<=
u></u>OpenAFS.build/OpenAFS.hmap -F/Data/dev/openafs-1.6.5/src/<u></u>platf=
orm/DARWIN/AFSPreference/<u></u>build/Release -I/Data/dev/openafs-1.6.5/src=
/<u></u>platform/DARWIN/AFSPreference/<u></u>build/Release/include -I/Data/=
dev/openafs-1.6.5/src/<u></u>platform/DARWIN/AFSPreference/<u></u>build/Ope=
nAFS.build/Release/<u></u>OpenAFS.build/DerivedSources/<u></u>ppc -I/Data/d=
ev/openafs-1.6.5/src/<u></u>platform/DARWIN/AFSPreference/<u></u>build/Open=
AFS.build/Release/<u></u>OpenAFS.build/DerivedSources -include /var/folders=
/QZ/QZn+<u></u>OhEP2RWpbk+BYmguy+++7yI/-<u></u>Caches-/com.apple.Xcode.1021=
3/<u></u>SharedPrecompiledHeaders/<u></u>AFSCommander_Prefix-<u></u>adtivpd=
smpcjtcdrtawcqondpwln/<u></u>AFSCommander_Prefix.pch -c /Data/dev/openafs-1=
.6.5/src/<u></u>platform/DARWIN/AFSPreference/<u></u>AFSCommanderPref.m -o =
/Data/dev/openafs-1.6.5/src/<u></u>platform/DARWIN/AFSPreference/<u></u>bui=
ld/OpenAFS.build/Release/<u></u>OpenAFS.build/Objects-normal/<u></u>ppc/AFS=
CommanderPref.o<br>

In file included from /Data/dev/openafs-1.6.5/src/<u></u>platform/DARWIN/AF=
SPreference/<u></u>AFSCommanderPref.m:9:<br>
/Data/dev/openafs-1.6.5/src/<u></u>platform/DARWIN/AFSPreference/<u></u>AFS=
CommanderPref.h:24: error: cannot find protocol declaration for &#39;NSTabl=
eViewDataSource&#39;<br>
/Data/dev/openafs-1.6.5/src/<u></u>platform/DARWIN/AFSPreference/<u></u>AFS=
CommanderPref.h:24: error: cannot find protocol declaration for &#39;NSTabl=
eViewDelegate&#39;<br>
/Data/dev/openafs-1.6.5/src/<u></u>platform/DARWIN/AFSPreference/<u></u>AFS=
CommanderPref.m: In function &#39;-[AFSCommanderPref removeLink:]&#39;:<br>
/Data/dev/openafs-1.6.5/src/<u></u>platform/DARWIN/AFSPreference/<u></u>AFS=
CommanderPref.m:959: warning: &#39;NSPropertyListSerialization&#39; may not=
 respond to &#39;+dataWithPropertyList:format:<u></u>options:error:&#39;<br=
>

/Data/dev/openafs-1.6.5/src/<u></u>platform/DARWIN/AFSPreference/<u></u>AFS=
CommanderPref.m:959: warning: (Messages without a matching method signature=
<br>
/Data/dev/openafs-1.6.5/src/<u></u>platform/DARWIN/AFSPreference/<u></u>AFS=
CommanderPref.m:959: warning: will be assumed to return &#39;id&#39; and ac=
cept<br>
/Data/dev/openafs-1.6.5/src/<u></u>platform/DARWIN/AFSPreference/<u></u>AFS=
CommanderPref.m:959: warning: &#39;...&#39; as arguments.)<br>
<br>
Thanks,<br>
<br>
<br>
Jonas<br>
<br>
PS: I&#39;m mainly interested in the fix from 3bbd8eacf421c758b112e02d8fb24=
a<u></u>c0419b9331 . I can check out and build that revision (or 1.6.2) if =
there is more chance that it will (still) work correctly with 10.5/ppc.<br>

______________________________<u></u>_________________<br>
port-darwin mailing list<br>
<a href=3D"mailto:port-darwin@openafs.org" target=3D"_blank">port-darwin@op=
enafs.org</a><br>
<a href=3D"https://lists.openafs.org/mailman/listinfo/port-darwin" target=
=3D"_blank">https://lists.openafs.org/<u></u>mailman/listinfo/port-darwin</=
a><br>
<br>
</blockquote></div><br><br clear=3D"all"><br>-- <br>Derrick
</div>

--001a11c361fc022d2f04e2e3845b--