Hello,
I am getting an error installing Sage 7.4, due to package 2.7.5 failing to 
build.  I am working on a MacBook OS X El Capitan. Below the last portion 
of the log file.
Thank you,
Alejandra

[patch-2.7.5] 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 
file: libpatch.a(bitrotate.o) has no symbols

[patch-2.7.5] 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 
file: libpatch.a(chmodat.o) has no symbols

[patch-2.7.5] 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 
file: libpatch.a(chownat.o) has no symbols

[patch-2.7.5] 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 
file: libpatch.a(fd-hook.o) has no symbols

[patch-2.7.5] 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 
file: libpatch.a(gl_list.o) has no symbols

[patch-2.7.5] 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 
file: libpatch.a(stat-time.o) has no symbols

[patch-2.7.5] 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 
file: libpatch.a(statat.o) has no symbols

[patch-2.7.5] 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 
file: libpatch.a(timespec.o) has no symbols

[patch-2.7.5] 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 
file: libpatch.a(unistd.o) has no symbols

[patch-2.7.5] 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 
file: libpatch.a(wctype-h.o) has no symbols

[patch-2.7.5] 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 
file: libpatch.a(gl_xlist.o) has no symbols

[patch-2.7.5] 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 
file: libpatch.a(xsize.o) has no symbols

[patch-2.7.5] 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 
file: libpatch.a(bitrotate.o) has no symbols

[patch-2.7.5] 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 
file: libpatch.a(chmodat.o) has no symbols

[patch-2.7.5] 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 
file: libpatch.a(chownat.o) has no symbols

[patch-2.7.5] 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 
file: libpatch.a(fd-hook.o) has no symbols

[patch-2.7.5] 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 
file: libpatch.a(gl_list.o) has no symbols

[patch-2.7.5] 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 
file: libpatch.a(stat-time.o) has no symbols

[patch-2.7.5] 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 
file: libpatch.a(statat.o) has no symbols

[patch-2.7.5] 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 
file: libpatch.a(timespec.o) has no symbols

[patch-2.7.5] 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 
file: libpatch.a(unistd.o) has no symbols

[patch-2.7.5] 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 
file: libpatch.a(wctype-h.o) has no symbols

[patch-2.7.5] 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 
file: libpatch.a(gl_xlist.o) has no symbols

[patch-2.7.5] 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 
file: libpatch.a(xsize.o) has no symbols

[patch-2.7.5]   GEN      charset.alias

[patch-2.7.5]   GEN      ref-add.sed

[patch-2.7.5]   GEN      ref-del.sed

[patch-2.7.5] Making all in src

[patch-2.7.5]   CC       inp.o

[patch-2.7.5]   CC       patch.o

[patch-2.7.5] patch.c:492:14: warning: adding 'int' to a string does not 
append to the string [-Wstring-plus-int]

[patch-2.7.5]                        "s" + (in_offset == 1));

[patch-2.7.5]                        ~~~~^~~~~~~~~~~~~~~~~~

[patch-2.7.5] patch.c:492:14: note: use array indexing to silence this 
warning

[patch-2.7.5]                        "s" + (in_offset == 1));

[patch-2.7.5]                            ^

[patch-2.7.5]                        &   [                 ]

[patch-2.7.5] patch.c:617:55: warning: adding 'int' to a string does not 
append to the string [-Wstring-plus-int]

[patch-2.7.5]             say ("%d out of %d hunk%s %s", failed, hunk, "s" 
+ (hunk == 1),

[patch-2.7.5]                                                          
~~~~^~~~~~~~~~~~~

[patch-2.7.5] patch.c:617:55: note: use array indexing to silence this 
warning

[patch-2.7.5]             say ("%d out of %d hunk%s %s", failed, hunk, "s" 
+ (hunk == 1),

[patch-2.7.5]                                                              ^

[patch-2.7.5]                                                          &   
[            ]

[patch-2.7.5] 2 warnings generated.

[patch-2.7.5]   CC       pch.o

[patch-2.7.5]   CC       safe.o

[patch-2.7.5]   CC       util.o

[patch-2.7.5] util.c:562:22: warning: use of logical '&&' with constant 
operand [-Wconstant-logical-operand]

[patch-2.7.5]       if (! (O_CREAT && O_TRUNC))

[patch-2.7.5]                      ^  ~~~~~~~

[patch-2.7.5] util.c:562:22: note: use '&' for a bitwise operation

[patch-2.7.5]       if (! (O_CREAT && O_TRUNC))

[patch-2.7.5]                      ^~

[patch-2.7.5]                      &

[patch-2.7.5] util.c:562:22: note: remove constant to silence this warning

[patch-2.7.5]       if (! (O_CREAT && O_TRUNC))

[patch-2.7.5]                     ~^~~~~~~~~~

[patch-2.7.5] 1 warning generated.

[patch-2.7.5]   CC       version.o

[patch-2.7.5]   CC       merge.o

[patch-2.7.5] merge.c:471:35: warning: adding 'bool' to a string does not 
append to the string [-Wstring-plus-int]

[patch-2.7.5]           fputs (outstate->after_newline + "\n<<<<<<<\n", fp);

[patch-2.7.5]                  ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~

[patch-2.7.5] merge.c:471:35: note: use array indexing to silence this 
warning

[patch-2.7.5] merge.c:482:39: warning: adding 'bool' to a string does not 
append to the string [-Wstring-plus-int]

[patch-2.7.5]               fputs (outstate->after_newline + "\n|||||||\n", 
fp);

[patch-2.7.5]                      ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~

[patch-2.7.5] merge.c:482:39: note: use array indexing to silence this 
warning

[patch-2.7.5] merge.c:491:35: warning: adding 'bool' to a string does not 
append to the string [-Wstring-plus-int]

[patch-2.7.5]           fputs (outstate->after_newline + "\n=======\n", fp);

[patch-2.7.5]                  ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~

[patch-2.7.5] merge.c:491:35: note: use array indexing to silence this 
warning

[patch-2.7.5] merge.c:498:35: warning: adding 'bool' to a string does not 
append to the string [-Wstring-plus-int]

[patch-2.7.5]           fputs (outstate->after_newline + "\n>>>>>>>\n", fp);

[patch-2.7.5]                  ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~

[patch-2.7.5] merge.c:498:35: note: use array indexing to silence this 
warning

[patch-2.7.5] 4 warnings generated.

[patch-2.7.5]   CCLD     patch

[patch-2.7.5] Making all in tests

[patch-2.7.5] make[5]: Nothing to be done for `all'.

[patch-2.7.5] make[5]: Nothing to be done for `all-am'.

[patch-2.7.5] make  install-recursive

[patch-2.7.5] Making install in lib

[patch-2.7.5] make  install-am

[patch-2.7.5] if test no = no; then \

[patch-2.7.5]   case 'darwin15.6.0' in \

[patch-2.7.5]     darwin[56]*) \

[patch-2.7.5]       need_charset_alias=true ;; \

[patch-2.7.5]     darwin* | cygwin* | mingw* | pw32* | cegcc*) \

[patch-2.7.5]       need_charset_alias=false ;; \

[patch-2.7.5]     *) \

[patch-2.7.5]       need_charset_alias=true ;; \

[patch-2.7.5]   esac ; \

[patch-2.7.5] else \

[patch-2.7.5]   need_charset_alias=false ; \

[patch-2.7.5] fi ; \

[patch-2.7.5] if $need_charset_alias; then \

[patch-2.7.5]   /bin/sh 
/Users/alvarado/sage-7.4/local/var/tmp/sage/build/patch-2.7.5/src/build-aux/install-sh
 
-d /Users/alvarado/sage-7.4/local/lib ; \

[patch-2.7.5] fi ; \

[patch-2.7.5] if test -f /Users/alvarado/sage-7.4/local/lib/charset.alias; 
then \

[patch-2.7.5]   sed -f ref-add.sed 
/Users/alvarado/sage-7.4/local/lib/charset.alias > 
/Users/alvarado/sage-7.4/local/lib/charset.tmp ; \

[patch-2.7.5]   /usr/bin/install -c -m 644 
/Users/alvarado/sage-7.4/local/lib/charset.tmp 
/Users/alvarado/sage-7.4/local/lib/charset.alias ; \

[patch-2.7.5]   rm -f /Users/alvarado/sage-7.4/local/lib/charset.tmp ; \

[patch-2.7.5] else \

[patch-2.7.5]   if $need_charset_alias; then \

[patch-2.7.5]     sed -f ref-add.sed charset.alias > 
/Users/alvarado/sage-7.4/local/lib/charset.tmp ; \

[patch-2.7.5]     /usr/bin/install -c -m 644 
/Users/alvarado/sage-7.4/local/lib/charset.tmp 
/Users/alvarado/sage-7.4/local/lib/charset.alias ; \

[patch-2.7.5]     rm -f /Users/alvarado/sage-7.4/local/lib/charset.tmp ; \

[patch-2.7.5]   fi ; \

[patch-2.7.5] fi

[patch-2.7.5] make[7]: Nothing to be done for `install-data-am'.

[patch-2.7.5] Making install in src

[patch-2.7.5]  ../build-aux/install-sh -c -d 
'/Users/alvarado/sage-7.4/local/bin'

[patch-2.7.5]   /usr/bin/install -c patch 
'/Users/alvarado/sage-7.4/local/bin'

[patch-2.7.5] make[6]: Nothing to be done for `install-data-am'.

[patch-2.7.5] Making install in tests

[patch-2.7.5] make[6]: Nothing to be done for `install-exec-am'.

[patch-2.7.5] make[6]: Nothing to be done for `install-data-am'.

[patch-2.7.5] make[6]: Nothing to be done for `install-exec-am'.

[patch-2.7.5]  build-aux/install-sh -c -d 
'/Users/alvarado/sage-7.4/local/share/man/man1'

[patch-2.7.5]  /usr/bin/install -c -m 644 'patch.man' 
'/Users/alvarado/sage-7.4/local/share/man/man1/patch.1'

[patch-2.7.5] dyld: lazy symbol binding failed: Symbol not found: 
_clock_gettime

[patch-2.7.5]   Referenced from: /Users/alvarado/sage-7.4/local/bin/patch

[patch-2.7.5]   Expected in: /usr/lib/libSystem.B.dylib

[patch-2.7.5] 

[patch-2.7.5] dyld: Symbol not found: _clock_gettime

[patch-2.7.5]   Referenced from: /Users/alvarado/sage-7.4/local/bin/patch

[patch-2.7.5]   Expected in: /usr/lib/libSystem.B.dylib

[patch-2.7.5] 

[patch-2.7.5] Cannot find the patch program we just installed

[patch-2.7.5] 

[patch-2.7.5] real 3m7.187s

[patch-2.7.5] user 0m47.279s

[patch-2.7.5] sys 0m40.888s

[patch-2.7.5] 
************************************************************************

[patch-2.7.5] Error installing package patch-2.7.5

[patch-2.7.5] 
************************************************************************

[patch-2.7.5] Please email sage-devel 
(http://groups.google.com/group/sage-devel)

[patch-2.7.5] explaining the problem and including the relevant part of the 
log file

[patch-2.7.5]   /Users/alvarado/sage-7.4/logs/pkgs/patch-2.7.5.log

[patch-2.7.5] Describe your computer, operating system, etc.

[patch-2.7.5] If you want to try to fix the problem yourself, *don't* just 
cd to

[patch-2.7.5] /Users/alvarado/sage-7.4/local/var/tmp/sage/build/patch-2.7.5 
and type 'make' or whatever is appropriate.

[patch-2.7.5] Instead, the following commands setup all environment 
variables

[patch-2.7.5] correctly and load a subshell for you to debug the error:

[patch-2.7.5]   (cd 
'/Users/alvarado/sage-7.4/local/var/tmp/sage/build/patch-2.7.5' && 
'/Users/alvarado/sage-7.4/sage' --sh)

[patch-2.7.5] When you are done debugging, you can type "exit" to leave the 
subshell.

[patch-2.7.5] 
************************************************************************

make[2]: *** 
[/Users/alvarado/sage-7.4/local/var/lib/sage/installed/patch-2.7.5] Error 1

make[1]: *** [all-toolchain] Error 2


real 3m16.267s

user 0m47.973s

sys 0m41.654s

***************************************************************

Error building Sage.


The following package(s) may have failed to build (not necessarily

during this run of 'make all'):


* package: patch-2.7.5

  log file: /Users/alvarado/sage-7.4/logs/pkgs/patch-2.7.5.log

  build directory: 
/Users/alvarado/sage-7.4/local/var/tmp/sage/build/patch-2.7.5


The build directory may contain configuration files and other potentially

helpful information. WARNING: if you now run 'make' again, the build

directory will, by default, be deleted. Set the environment variable

SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.


make: *** [all] Error 1

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to