On 9/22/14, 3:21 AM, Emmanuel Caux wrote:
> Hi,
>
> Trying to update my fink installation on a
>
> MacBook Pro 15 pouces, début 2008
> *Processeur*  2,5 GHz Intel Core 2 Duo
> *Mémoire*  4 Go 667 MHz DDR2 SDRAM
> *Graphisme*  NVIDIA GeForce 8600M GT 512 Mo
> *Logiciel*  OS X 10.9.5 (13F34)
> Package manager version: 0.37.0
> Distribution version: selfupdate-rsync Fri Sep 19 18:34:35 2014, 10.9,
> x86_64
> Trees: local/main stable/main
> Xcode.app: 6.0.1
> Xcode command-line tools: 6.0.0.0.1.1410400753
> Max. Fink build jobs:  1
>
> I have the following error :
>
> Failed: phase compiling: gcc48-4.8.3-1001 failed
>

That's not actually the error.  That's the result of the error, which is 
below.

> I have done all what is suggested to solve the problem, but still have
> the same error message.
>
> Many thanks for helping me.
>
> Cheers,
>
> The full message is :
>
> …

<snip>

> gcc -c -DHAVE_CONFIG_H -g  -I. -I../../gcc-4.8.3/libiberty/../include
> -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic
> ../../gcc-4.8.3/libiberty/fibheap.c -o fibheap.o
> *warning: **unknown warning option*
> *      '-Werror=unused-command-line-argument-hard-error-in-future'; did
> you mean*
> *      '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]*
> *../../gcc-4.8.3/libiberty/fibheap.c:151:7: **warning: **implicit
> declaration of*
> *      function 'free' is invalid in C99 [-Wimplicit-function-declaration]*
>        free (heapa);
> *      ^*
> *../../gcc-4.8.3/libiberty/fibheap.c:220:30: **error: **use of
> undeclared identifier*
> *      'LONG_MIN'*
>    if (okey == key && okey != FIBHEAPKEY_MIN)
> *                             ^*
> *../../gcc-4.8.3/libiberty/fibheap.c:38:24: note: *expanded from macro
>        'FIBHEAPKEY_MIN'
> #define FIBHEAPKEY_MIN  LONG_MIN
> *                        ^*
> *../../gcc-4.8.3/libiberty/fibheap.c:261:36: **error: **use of
> undeclared identifier*
> *      'LONG_MIN'*
>    fibheap_replace_key (heap, node, FIBHEAPKEY_MIN);
> *                                   ^*
> *../../gcc-4.8.3/libiberty/fibheap.c:38:24: note: *expanded from macro
>        'FIBHEAPKEY_MIN'
> #define FIBHEAPKEY_MIN  LONG_MIN
> *                        ^*
> *../../gcc-4.8.3/libiberty/fibheap.c:265:7: **warning: **implicitly
> declaring library*
> *      function 'abort' with type 'void (void) __attribute__((noreturn))'*
>        abort ();
> *      ^*
> *../../gcc-4.8.3/libiberty/fibheap.c:265:7: note: *please include the header
>        <stdlib.h> or explicitly provide a declaration for 'abort'
> *../../gcc-4.8.3/libiberty/fibheap.c:368:3: **warning: **implicitly
> declaring library*
> *      function 'memset' with type 'void *(void *, int, unsigned long)'*
>    memset (a, 0, sizeof (fibnode_t) * D);
> *  ^*
> *../../gcc-4.8.3/libiberty/fibheap.c:368:3: note: *please include the header
>        <string.h> or explicitly provide a declaration for 'memset'
> 4 warnings and 2 errors generated.
> make[3]: *** [fibheap.o] Error 1
> make[2]: *** [all-stage1-libiberty] Error 2
> make[1]: *** [stage1-bubble] Error 2
> make: *** [bootstrap-lean] Error 2
> ### execution of /tmp/fink.0n0dd failed, exit code 2
> ### execution of /tmp/fink.m7VqB failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-gcc48-4.8.3-1001
> (Reading database ... 52829 files and directories currently installed.)
> Removing fink-buildlock-gcc48-4.8.3-1001 ...
> Failed: phase compiling: gcc48-4.8.3-1001 failed
> !! PLEASE NOTE MY NEW EMAIL ADDRESS !!
>
> --------------------------------------------------------------
> /Emmanuel Caux,emmanuel.c...@irap.omp.eu <mailto:emmanuel.c...@irap.omp.eu>/
> /DR2 CNRS   -   Departement MICMAC/
> /Institut de Recherche en Astrophysique et Planétologie
> (IRAP formerly CESR)
> /
> /BP 44346, 31028 Toulouse Cedex 4, France/
> /Phone : (+33) 561 556 689/
> /Fax :       (+33) 561 556 651/
> --------------------------------------------------------------
>
>
>

fink was updated over the weekend to work more properly with Xcode 6, so 
the first thing I would suggest to you is to run 'fink selfupdate' and 
get fink-0.37.1.  We have seen that some configure tests will behave 
differently under clang from Xcode 6 when 
-Werror=unused-command-line-argument-hard-error-in-future is present and 
that might potentially be affecting your build.

Also, if you're using /sw for your Fink tree, and you're in a hurry, you 
can get gcc48 from the binary distribution via "sudo apt-get install 
gcc48", as well as enabling it for fink via "fink configure". 
Unfortunately, if you're not using /sw, that won't work.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
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