Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.11.0
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Security Level: Public
    • Labels:
      None
    • Environment:
      Mac OS X 10.8, libcouchase 2.0.x, python 2.7.2 (apple installed) under virtualenv

      Description

      Trying a new system, I got several warnings during build.

      See below...

      (py27)Matts-MacBook-Pro:~ ingenthr$ pip install couchbase
      Downloading/unpacking couchbase
      Running setup.py egg_info for package couchbase

      Installing collected packages: couchbase
      Running setup.py install for couchbase
      building 'couchbase._libcouchbase' extension
      clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/argument.c -o build/temp.macosx-10.8-intel-2.7/src/argument.o
      clang: warning: argument unused during compilation: '-mno-fused-madd'
      clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/exceptions.c -o build/temp.macosx-10.8-intel-2.7/src/exceptions.o
      clang: warning: argument unused during compilation: '-mno-fused-madd'
      clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/ext.c -o build/temp.macosx-10.8-intel-2.7/src/ext.o
      clang: warning: argument unused during compilation: '-mno-fused-madd'
      clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/result.c -o build/temp.macosx-10.8-intel-2.7/src/result.o
      clang: warning: argument unused during compilation: '-mno-fused-madd'
      clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/opresult.c -o build/temp.macosx-10.8-intel-2.7/src/opresult.o
      clang: warning: argument unused during compilation: '-mno-fused-madd'
      clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/callbacks.c -o build/temp.macosx-10.8-intel-2.7/src/callbacks.o
      clang: warning: argument unused during compilation: '-mno-fused-madd'
      clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/convert.c -o build/temp.macosx-10.8-intel-2.7/src/convert.o
      clang: warning: argument unused during compilation: '-mno-fused-madd'
      src/convert.c:434:48: warning: implicit conversion loses integer precision: 'unsigned long' to 'lcb_uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
      return encode_common(value, buf, nbuf, flags_stackval);
      ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
      src/convert.c:477:14: warning: implicit conversion loses integer precision: 'unsigned long' to 'lcb_uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
      *flags = flags_stackval;
      ~ ^~~~~~~~~~~~~~
      2 warnings generated.
      clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/connection.c -o build/temp.macosx-10.8-intel-2.7/src/connection.o
      clang: warning: argument unused during compilation: '-mno-fused-madd'
      clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/store.c -o build/temp.macosx-10.8-intel-2.7/src/store.o
      clang: warning: argument unused during compilation: '-mno-fused-madd'
      clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/constants.c -o build/temp.macosx-10.8-intel-2.7/src/constants.o
      clang: warning: argument unused during compilation: '-mno-fused-madd'
      clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/multiresult.c -o build/temp.macosx-10.8-intel-2.7/src/multiresult.o
      clang: warning: argument unused during compilation: '-mno-fused-madd'
      clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/miscops.c -o build/temp.macosx-10.8-intel-2.7/src/miscops.o
      clang: warning: argument unused during compilation: '-mno-fused-madd'
      clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/typeutil.c -o build/temp.macosx-10.8-intel-2.7/src/typeutil.o
      clang: warning: argument unused during compilation: '-mno-fused-madd'
      clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/oputil.c -o build/temp.macosx-10.8-intel-2.7/src/oputil.o
      clang: warning: argument unused during compilation: '-mno-fused-madd'
      clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/get.c -o build/temp.macosx-10.8-intel-2.7/src/get.o
      clang: warning: argument unused during compilation: '-mno-fused-madd'
      clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/arithmetic.c -o build/temp.macosx-10.8-intel-2.7/src/arithmetic.o
      clang: warning: argument unused during compilation: '-mno-fused-madd'
      clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/http.c -o build/temp.macosx-10.8-intel-2.7/src/http.o
      clang: warning: argument unused during compilation: '-mno-fused-madd'
      clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/htresult.c -o build/temp.macosx-10.8-intel-2.7/src/htresult.o
      clang: warning: argument unused during compilation: '-mno-fused-madd'
      clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/ctranscoder.c -o build/temp.macosx-10.8-intel-2.7/src/ctranscoder.o
      clang: warning: argument unused during compilation: '-mno-fused-madd'
      src/ctranscoder.c:94:53: warning: implicit conversion loses integer precision: 'unsigned long' to 'lcb_uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
      rv = pycbc_tc_simple_encode(&vobj, &buf, &nbuf, flags);
      ~~~~~~~~~~~~~~~~~~~~~~ ^~~~~
      src/ctranscoder.c:135:51: warning: implicit conversion loses integer precision: 'unsigned long' to 'lcb_uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
      rv = pycbc_tc_simple_decode(&vobj, buf, nbuf, flags);
      ~~~~~~~~~~~~~~~~~~~~~~ ^~~~~
      2 warnings generated.
      clang -bundle -undefined dynamic_lookup -Wl,-F. -arch i386 -arch x86_64 build/temp.macosx-10.8-intel-2.7/src/argument.o build/temp.macosx-10.8-intel-2.7/src/exceptions.o build/temp.macosx-10.8-intel-2.7/src/ext.o build/temp.macosx-10.8-intel-2.7/src/result.o build/temp.macosx-10.8-intel-2.7/src/opresult.o build/temp.macosx-10.8-intel-2.7/src/callbacks.o build/temp.macosx-10.8-intel-2.7/src/convert.o build/temp.macosx-10.8-intel-2.7/src/connection.o build/temp.macosx-10.8-intel-2.7/src/store.o build/temp.macosx-10.8-intel-2.7/src/constants.o build/temp.macosx-10.8-intel-2.7/src/multiresult.o build/temp.macosx-10.8-intel-2.7/src/miscops.o build/temp.macosx-10.8-intel-2.7/src/typeutil.o build/temp.macosx-10.8-intel-2.7/src/oputil.o build/temp.macosx-10.8-intel-2.7/src/get.o build/temp.macosx-10.8-intel-2.7/src/arithmetic.o build/temp.macosx-10.8-intel-2.7/src/http.o build/temp.macosx-10.8-intel-2.7/src/htresult.o build/temp.macosx-10.8-intel-2.7/src/ctranscoder.o -lcouchbase -o build/lib.macosx-10.8-intel-2.7/couchbase/_libcouchbase.so
      ld: warning: ignoring file /usr/local/lib/libcouchbase.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libcouchbase.dylib

      Successfully installed couchbase
      Cleaning up...

      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            mnunberg Mark Nunberg
            Reporter:
            ingenthr Matt Ingenthron
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes