[ 
https://issues.apache.org/jira/browse/AVRO-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13851948#comment-13851948
 ] 

Hudson commented on AVRO-1369:
------------------------------

ABORTED: Integrated in AvroJava #411 (See 
[https://builds.apache.org/job/AvroJava/411/])
AVRO-1369. C: Use correct byte-swapping macros on Mac OS X.

Contributed by thinker0. (dcreager: rev 1551944)
* /avro/trunk/CHANGES.txt
* /avro/trunk/lang/c/src/codec.c


> MacOSX build fatal error: 'byteswap.h' file not found
> -----------------------------------------------------
>
>                 Key: AVRO-1369
>                 URL: https://issues.apache.org/jira/browse/AVRO-1369
>             Project: Avro
>          Issue Type: Bug
>          Components: c
>    Affects Versions: 1.7.5
>         Environment: Mac OS X 10.8.4
>            Reporter: thinker0
>             Fix For: 1.7.6
>
>         Attachments: byteswap-h-mac-osx-patch.diff
>
>
> {code}
> $ brew -v install avro-c
> Homebrew 0.9.4
> ==> Downloading 
> http://www.apache.org/dyn/closer.cgi?path=avro/avro-1.7.5/c/avro-c-1.7.5.tar.gz
> Already downloaded: /Library/Caches/Homebrew/avro-c-1.7.5.tar.gz
> tar xf /Library/Caches/Homebrew/avro-c-1.7.5.tar.gz
> ==> cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/avro-c/1.7.5 
> -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAMEWORK=LAST -Wno-dev
> cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/avro-c/1.7.5 
> -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAMEWORK=LAST -Wno-dev
> -- The C compiler identification is Clang 4.2.0
> -- The CXX compiler identification is Clang 4.2.0
> -- Check for working C compiler: /usr/local/Library/ENV/4.3/cc
> -- Check for working C compiler: /usr/local/Library/ENV/4.3/cc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: /usr/local/Library/ENV/4.3/c++
> -- Check for working CXX compiler: /usr/local/Library/ENV/4.3/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.5")
> Enabled deflate codec
> -- Found Snappy: /usr/local/lib/libsnappy.dylib
> Enabled snappy codec
> -- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.28")
> -- checking for module 'liblzma'
> --   package 'liblzma' not found
> Disabled lzma codec. liblzma not found.
> -- Searching for asciidoc...
> CMake Warning at docs/CMakeLists.txt:51 (message):
>   asciidoc not found.  HTML documentation will *NOT* be built.
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /tmp/avro-c-lfmK/avro-c-1.7.5
> ==> make install
> make install
> Scanning dependencies of target avro-static
> Scanning dependencies of target avro-shared
> [  1%] [  2%] [  2%] [  3%] [  6%] [  6%] [  6%] [  7%] Building C object 
> src/CMakeFiles/avro-shared.dir/array.o
> Building C object src/CMakeFiles/avro-static.dir/array.o
> Building C object src/CMakeFiles/avro-shared.dir/allocation.o
> Building C object src/CMakeFiles/avro-static.dir/consumer.o
> Building C object src/CMakeFiles/avro-shared.dir/codec.o
> Building C object src/CMakeFiles/avro-static.dir/codec.o
> Building C object src/CMakeFiles/avro-static.dir/allocation.o
> Building C object src/CMakeFiles/avro-shared.dir/consumer.o
> /tmp/avro-c-lfmK/avro-c-1.7.5/src/codec.c:21:10: fatal error: 'byteswap.h' 
> file not found
> #include <byteswap.h>
>          ^
> /tmp/avro-c-lfmK/avro-c-1.7.5/src/codec.c:21:10: fatal error: 'byteswap.h' 
> file not found
> #include <byteswap.h>
>          ^
> 1 error generated.
> make[2]: *** [src/CMakeFiles/avro-shared.dir/codec.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> 1 error generated.
> make[2]: *** [src/CMakeFiles/avro-static.dir/codec.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> [  8%] [  9%] make[1]: *** [src/CMakeFiles/avro-shared.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs....
> Building C object src/CMakeFiles/avro-static.dir/datafile.o
> Building C object src/CMakeFiles/avro-static.dir/consume-binary.o
> make[1]: *** [src/CMakeFiles/avro-static.dir/all] Error 2
> make: *** [all] Error 2
> {code}
> # 
> https://github.com/ferol/Lunchbox/commit/ae333fccd621778d88aced9533a135a25316cef1



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to