Re: Merge #166 ?

Max Horn <[email protected]> Fri, 14 Dec 2018 13:18:07 +0100
Newsgroups gmane.os.apple.fink.core
Message-ID <[email protected]>

> On 12. Dec 2018, at 12:14, Max Horn <[email protected]> wrote:
> 
> 
> 
>> On 12. Dec 2018, at 11:11, Hanspeter Niederstrasser <[email protected]> wrote:
>> 
>> On 12/11/18 11:14 PM, Alexander Hansen wrote:
>>> I was thinking that it might help us if we do the aforementioned merge to facilitate community testing, etc.
>>> -akh
>> 
>> I'm OK with that. TheSin said he'd added a couple local changes on top of jwhowarth's pull and been running OK with them. I *think* it might be possible to edit the files via the web interface even though the pull comes from jwhowarth's clone. I know I can see the edit pencil icon, but I haven't tried to actually save a change.
> 
> You can probably also push to this PR. And then e.g. squash some changes.
> 
>> 
>> Might be good to have those changes then merge, or just merge as is and then ask TheSin to make a pull for his changes and merge them quickly.
> 
> Or, make a new PR with all the changes?
> 
> By chance, I have finally updated from OS X 10.11 to 10.14, so I guess I could help.
> 
> I just made a new https://github.com/fink/fink/pull/170 with the changes squashed into a PR, and will now work on addressing the open suggestions, and test it on my system.

So that PR seems to work, basically, but various packages have issues. Would be interesting to know what additional changes TheSin has...

I already pushed a fix for texinfo.info which enables it on 10.14. But now python27 fails to build (and that blocks a ton of other stuff):

gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -fwrapv -O3 -Wall -Wstrict-prototypes -I_ctypes/darwin -I/sw/include -I. -IInclude -I./Include -I/sw/include -I/sw/src/fink.build/python27-2.7.15-1/Python-2.7.15/Include -I/sw/src/fink.build/python27-2.7.15-1/Python-2.7.15 -c /sw/src/fink.build/python27-2.7.15-1/Python-2.7.15/Modules/_ctypes/darwin/dlfcn_simple.c -o build/temp.macosx-10.14-x86_64-2.7/sw/src/fink.build/python27-2.7.15-1/Python-2.7.15/Modules/_ctypes/darwin/dlfcn_simple.o -DMACOSX
gcc -L/sw/lib -bundle /sw/src/fink.build/python27-2.7.15-1/Python-2.7.15/libpython2.7.dylib -L/sw/lib -L/sw/lib -I. -IInclude -I./Include -I/sw/include build/temp.macosx-10.14-x86_64-2.7/sw/src/fink.build/python27-2.7.15-1/Python-2.7.15/Modules/_ctypes/_ctypes.o build/temp.macosx-10.14-x86_64-2.7/sw/src/fink.build/python27-2.7.15-1/Python-2.7.15/Modules/_ctypes/callbacks.o build/temp.macosx-10.14-x86_64-2.7/sw/src/fink.build/python27-2.7.15-1/Python-2.7.15/Modules/_ctypes/callproc.o build/temp.macosx-10.14-x86_64-2.7/sw/src/fink.build/python27-2.7.15-1/Python-2.7.15/Modules/_ctypes/stgdict.o build/temp.macosx-10.14-x86_64-2.7/sw/src/fink.build/python27-2.7.15-1/Python-2.7.15/Modules/_ctypes/cfield.o build/temp.macosx-10.14-x86_64-2.7/sw/src/fink.build/python27-2.7.15-1/Python-2.7.15/Module
 s/_ctypes/malloc_closure.o build/temp.macosx-10.14-x86_64-2.7/sw/src/fink.build/python27-2.7.15-1/Python-2.7.15/Modules/_ctypes/darwin/dlfcn_simple.o -L/sw/lib -L. -lffi -ldl -o build/lib.macosx-10.14-x86_64-2.7/_ctypes.so

Python build finished, but the necessary bits to build these modules were not found:
bsddb185           dl                 imageop
linuxaudiodev      nis                ossaudiodev
spwd               sunaudiodev        zlib
To find the necessary bits, look in setup.py in detect_modules() for the module's name.
(Fink package build should have 7 missing)

make: *** [sharedmods] Error 1
### execution of make failed, exit code 2
### execution of /tmp/fink.2ROxo failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-python27-2.7.15-1
(Reading database ... 91352 files and directories currently installed.)
Removing fink-buildlock-python27-2.7.15-1 ...
Failed: phase compiling: python27-2.7.15-1 failed



Moreover, it seems that building -pm5182 perlmod packages may fail, e.g.:

Params-Util-1.07/t/13_all.t
Params-Util-1.07/t/03_all.t
sudo -u fink-bld [ENV] sh -c /tmp/fink.fdGjL
/tmp/fink.L76Fh
#!/bin/sh -ev
 export PERL_EXTUTILS_AUTOINSTALL=--skip
 ARCHFLAGS="-I$sdkpath/System/Library/Perl/$perlversion/darwin-thread-multi-2level/CORE" /usr/bin/arch -x86_64 perl5.18 Makefile.PL PERL="/usr/bin/arch -x86_64 perl5.18" PREFIX=/sw INSTALLPRIVLIB=/sw/lib/perl5/5.18.2 INSTALLARCHLIB=/sw/lib/perl5/5.18.2/darwin-thread-multi-2level INSTALLSITELIB=/sw/lib/perl5/5.18.2 INSTALLSITEARCH=/sw/lib/perl5/5.18.2/darwin-thread-multi-2level INSTALLMAN1DIR=/sw/share/man/man1 INSTALLMAN3DIR=/sw/share/man/man3 INSTALLSITEMAN1DIR=/sw/share/man/man1 INSTALLSITEMAN3DIR=/sw/share/man/man3 INSTALLBIN=/sw/bin INSTALLSITEBIN=/sw/bin INSTALLSCRIPT=/sw/bin
sanexs-Fq82m.c:1:10: fatal error: 'EXTERN.h' file not found
#include "EXTERN.h"
         ^~~~~~~~~~
1 error generated.
Unresolvable broken external dependency.
This package requires a C compiler with full perl headers.
Trivial test code using them failed to compile.
NA: Unable to build distribution on this platform.
/usr/bin/make CC=gcc CXX=g++
make: *** No targets specified and no makefile found.  Stop.
### execution of /tmp/fink.L76Fh failed, exit code 2
### execution of /tmp/fink.fdGjL failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-params-util-pm5182-1.07-2




Cheers,
Max

_______________________________________________
fink-core mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.core
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-core