upgrade to guile @1.8.3_0 failed
lorenz schori
lorenz.schori at gmx.ch
Fri Nov 9 07:01:51 PST 2007
Hi
I had the same problem under leopard and fixed it by manually turning
off HAVE_STAT64 after configuration phase (look at post-configure hook
in the portfile).
Lorenz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Portfile
Type: application/octet-stream
Size: 2247 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20071109/b9be03f5/Portfile.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no-dylib.diff
Type: application/octet-stream
Size: 3042 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20071109/b9be03f5/no-dylib.obj
-------------- next part --------------
On Nov 9, 2007, at 1:54 PM, William Davis wrote:
> upgrade to guile @1.8.3_0 failed to compile
>
> revelant -d output:
>
> /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -
> DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I/opt/local/include -
> D_THREAD_SAFE -O2 -Wall -Wmissing-prototypes -Werror -MT
> libguile_la-fports.lo -MD -MP -MF .deps/libguile_la-fports.Tpo -c -o
> libguile_la-fports.lo `test -f 'fports.c' || echo './'`fports.c
> /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I/opt/local/
> include -D_THREAD_SAFE -O2 -Wall -Wmissing-prototypes -Werror -MT
> libguile_la-fports.lo -MD -MP -MF .deps/libguile_la-fports.Tpo -c
> fports.c -fno-common -DPIC -o .libs/libguile_la-fports.o
> cc1: warnings being treated as errors
> fports.c: In function 'scm_open_file':
> fports.c:364: warning: implicit declaration of function 'open64'
> fports.c: At top level:
> fports.c:614: error: syntax error before 'fport_seek_or_seek64'
> fports.c:614: error: syntax error before 'off64_t'
> fports.c:615: warning: return type defaults to 'int'
> fports.c:615: warning: no previous prototype for
> 'fport_seek_or_seek64'
> fports.c: In function 'fport_seek_or_seek64':
> fports.c:616: error: 'port' undeclared (first use in this function)
> fports.c:616: error: (Each undeclared identifier is reported only once
> fports.c:616: error: for each function it appears in.)
> fports.c:618: error: 'off64_t' undeclared (first use in this function)
> fports.c:618: error: syntax error before 'rv'
> fports.c:623: error: 'offset' undeclared (first use in this function)
> fports.c:623: error: 'whence' undeclared (first use in this function)
> fports.c:626: error: 'result' undeclared (first use in this function)
> fports.c:626: error: 'rv' undeclared (first use in this function)
> fports.c:626: warning: implicit declaration of function 'lseek64'
> fports.c: In function 'fport_seek':
> fports.c:677: error: 'off64_t' undeclared (first use in this function)
> fports.c:677: error: syntax error before 'rv'
> fports.c:678: error: 'rv' undeclared (first use in this function)
> fports.c: In function 'scm_i_fport_truncate':
> fports.c:711: warning: implicit declaration of function 'ftruncate64'
> make[3]: *** [libguile_la-fports.lo] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> Error: Target org.macports.build returned: shell command " cd "/opt/
> local/var/macports/build/
> _opt_local_var_macports_sources_rsync
> .macports.org_release_ports_lang_guile/work/guile-1.8.3" && make all
> " returned error 2
> Command output: /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I.. -I..
> -I/opt/local/include -D_THREAD_SAFE -O2 -Wall -Wmissing-prototypes -
> Werror -MT libguile_la-fports.lo -MD -MP -MF .deps/libguile_la-
> fports.Tpo -c fports.c -fno-common -DPIC -o .libs/libguile_la-
> fports.o
> cc1: warnings being treated as errors
> fports.c: In function 'scm_open_file':
> fports.c:364: warning: implicit declaration of function 'open64'
> fports.c: At top level:
> fports.c:614: error: syntax error before 'fport_seek_or_seek64'
> fports.c:614: error: syntax error before 'off64_t'
> fports.c:615: warning: return type defaults to 'int'
> fports.c:615: warning: no previous prototype for
> 'fport_seek_or_seek64'
> fports.c: In function 'fport_seek_or_seek64':
> fports.c:616: error: 'port' undeclared (first use in this function)
> fports.c:616: error: (Each undeclared identifier is reported only once
> fports.c:616: error: for each function it appears in.)
> fports.c:618: error: 'off64_t' undeclared (first use in this function)
> fports.c:618: error: syntax error before 'rv'
> fports.c:623: error: 'offset' undeclared (first use in this function)
> fports.c:623: error: 'whence' undeclared (first use in this function)
> fports.c:626: error: 'result' undeclared (first use in this function)
> fports.c:626: error: 'rv' undeclared (first use in this function)
> fports.c:626: warning: implicit declaration of function 'lseek64'
> fports.c: In function 'fport_seek':
> fports.c:677: error: 'off64_t' undeclared (first use in this function)
> fports.c:677: error: syntax error before 'rv'
> fports.c:678: error: 'rv' undeclared (first use in this function)
> fports.c: In function 'scm_i_fport_truncate':
> fports.c:711: warning: implicit declaration of function 'ftruncate64'
> make[3]: *** [libguile_la-fports.lo] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> Warning: the following items did not execute (for guile):
> org.macports.destroot org.macports.build
> DEBUG:
> Error: Unable to upgrade port: 1
>
> Query: are all of the patches still needed?
>
> William Davis
> frstanATbellsouthDOTnet
> Mac OS X.5.0 Darwin 9.0.0
> Mac Mini Intel Duo @ 1.86 GHz
>
> Mundus vult decepi, ego non
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-users
>
More information about the macports-users
mailing list