> On Dec 5, 2016, at 02:35, Jacques Bloch <jacques.bl...@ur.de> wrote:
> 
> Dear Gary,
> 
> I submitted the same error report on Nov 21 but never got a reply. I was 
> aware that Homebrew had encountered the same error, but did not know how to 
> get around it with Fink, as I am not really an expert with the file structure 
> and build procedure of Fink. However, armed with your hint about where to 
> make the change suggested by Martin, I was able to get Octave to build. All I 
> did was indeed to replace line 251 in: 
> "/sw/fink/10.9-libcxx/stable/main/finkinfo/sci/octave-3.8.2.info 
> <http://octave-3.8.2.info/>” from
> ./configure %c
> to
> ./configure %c "ac_cv_func_mkostemp=no”
> 
> "fink update-all" then did the job properly and built octave 3.8.2-11.
> 
> Not sure why this does not work for you. Did you modify the current info 
> file? (I had trouble to find the info file at all).
> 
> Note: /sw/fink/dists is linked to /sw/fink/10.12 which is linked in turn to 
> /sw/fink/10.9-libcxx.
> 
> Good luck,
> Jacques
> 
> ---
> Dr. Jacques C.R. Bloch
> Institute for Theoretical Physics
> University of Regensburg
> 93040 Regensburg, Germany
> tel: +49 941 943-2018
> fax: +49 941 943-3887
> email: jacques.bl...@ur.de <mailto:jacques.bl...@ur.de>
> web: http://homepages.uni-regensburg.de/~blj05290 
> <http://homepages.uni-regensburg.de/~blj05290>
> 
> 
> 
>> On 4 Dec 2016, at 22:56, Gary K. Olson <garykol...@mac.com 
>> <mailto:garykol...@mac.com>> wrote:
>> 
>> On Dec 4, 2016, at 2:04 PM MDT, Gary Olson <garykol...@mac.com 
>> <mailto:garykol...@mac.com>> replied: 
>> 
>>> On Dec 3, 2016, at 4:08 PM, Martin Costabel <costa...@wanadoo.fr 
>>> <mailto:costa...@wanadoo.fr>> wrote:
>> 
>> 
>>> This is a bug that homebrew and macports also have noticed, caused by the 
>>> new function mkostemp in Sierra that octave doesn't yet know about. Octave 
>>> uses its own stdlib.h that does not have this function. A workaround is to 
>>> run configure as
>> 
>>> 
>> 
>>> ./configure %c "ac_cv_func_mkostemp=no"
>> 
>>> 
>> 
>>> With this, it built for me (after I updated fink-package-precedence to the 
>>> latest version, anyway; with the older one that was installed it crashed at 
>>> the end due to an otool error.)
>> 
>>> 
>> 
>>> --
>> 
>>> Martin
>> 
>> I changed the ./configure line in octave-3.8.2-11.info 
>> <http://octave-3.8.2-11.info/> (line 251) as that seemed the proper place 
>> and reran the the build, but I got the same error message as before.  I seem 
>> to be using the newest fink-package-prededence (11/10/16 for info file and 
>> 11/20/16 for the patch). I ran the build again with one build job, but got 
>> same error. Here is build script from last compile before error:
>> 
>>> libtool: compile:  oct-cxx -DHAVE_CONFIG_H -I. -I../.. -I../../libgnu 
>>> -I../../libgnu -I/sw/include -I/sw/include/freetype2 -O3 -MD -D_THREAD_SAFE 
>>> -pthread -MT Faddeeva/libcruft_la-Faddeeva.lo -MD -MP -MF 
>>> Faddeeva/.deps/libcruft_la-Faddeeva.Tpo -c Faddeeva/Faddeeva.cc 
>>> <http://faddeeva.cc/>  -fno-common -DPIC -o 
>>> Faddeeva/.libs/libcruft_la-Faddeeva.o
>>> In file included from Faddeeva/Faddeeva.cc:159 <http://faddeeva.cc:159/>:
>>> In file included from Faddeeva/Faddeeva.hh:30:
>>> In file included from 
>>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/complex:247:
>>> In file included from 
>>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/sstream:174:
>>> In file included from 
>>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ostream:140:
>>> In file included from 
>>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/locale:192:
>>> In file included from 
>>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:86:
>>> ../../libgnu/stdlib.h:668:19: error: no member named 'mkostemp' in the 
>>> global namespace
>>> _GL_CXXALIAS_SYS (mkostemp, int, (char * /*template*/, int /*flags*/));
>>> ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>> ../../libgnu/stdio.h:266:45: note: expanded from macro '_GL_CXXALIAS_SYS'
>>>       static rettype (*func) parameters = ::func;  \
>>>                                           ~~^
>>> 1 error generated.
>>> make[2]: *** [Faddeeva/libcruft_la-Faddeeva.lo] Error 1
>>> make[1]: *** [all-recursive] Error 1
>>> make: *** [all] Error 2
>>> ### execution of /tmp/fink.e0t0J failed, exit code 2
>>> ### execution of /tmp/fink.r32uz failed, exit code 2
>>> Removing runtime build-lock...
>>> Removing build-lock package...
>>> /sw/bin/dpkg-lockwait -r fink-buildlock-octave-3.8.2-11
>>> (Reading database ... 457004 files and directories currently installed.)
>>> Removing fink-buildlock-octave-3.8.2-11 ...
>>> Reading buildlock packages...
>>> /sw/bin/dpkg-lockwait -i /sw/fink/debs/fort77_1.18-19_darwin-x86_64.deb
>>> Selecting previously deselected package fort77.
>>> (Reading database ... 457003 files and directories currently installed.)
>>> Unpacking fort77 (from .../fort77_1.18-19_darwin-x86_64.deb) ...
>>> Setting up fort77 (1.18-19) ...
>>> 
>>> Failed: phase compiling: octave-3.8.2-11 failed
>> 
>> Any thoughts on what I am still doing wrong? 
>> Gary K Olson
>> 
>> My system info is:
>> 
>> Package manager version: 0.41.1
>> Distribution version: selfupdate-rsync Sun Dec  4 11:59:59 2016, 10.12, 
>> x86_64
>> Trees: local/main stable/main local/injected
>> Xcode.app: 8.1
>> Xcode command-line tools: 8.1.0.0.1.1476494586
>> Max. Fink build jobs:  1
>> 
>> 
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most 
>> engaging tech sites, SlashDot.org <http://slashdot.org/>! 
>> http://sdm.link/slashdot_______________________________________________ 
>> <http://sdm.link/slashdot_______________________________________________>
>> Fink-users mailing list
>> Fink-users@lists.sourceforge.net <mailto:Fink-users@lists.sourceforge.net>
>> List archive:
>> http://news.gmane.org/gmane.os.macosx.fink.user
>> Subscription management:
>> https://lists.sourceforge.net/lists/listinfo/fink-users
> 

I didn’t notice the message on the 21st, sorry.  

“fink dumpinfo -finfofile <packagename>” will give you the correct path to 
whatever .info file fink is actually using—this is particularly useful when 
you’re using the local directory.  

One note:  Fink caches the .info file, so it’s possible that Gary might be 
using the cached version.  Try using “fink index -f” to rebuild the cache.



------------------------------------------------------------------------------
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to