Re: [Boost-bugs] [Boost C++ Libraries] #9156: 1.54 broke NO_ZLIB=1 and NO_COMPRESSION=1

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9156: 1.54 broke NO_ZLIB=1 and NO_COMPRESSION=1
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-01-14 14:22:55


#9156: 1.54 broke NO_ZLIB=1 and NO_COMPRESSION=1
-------------------------------------+-------------------------------------
  Reporter: Warren Togami | Owner: turkanis
  <wtogami@…> | Status: new
      Type: Bugs | Component: iostreams
 Milestone: Boost 1.55.0 | Severity: Regression
   Version: Boost 1.55.0 | Keywords: zlib iostreams
Resolution: | /zlib/zlib
-------------------------------------+-------------------------------------

Comment (by anonymous):

 Under Ubuntu 14.04.1 LTS, this is the output of trying to build Boost 1.57
 iostreams without zlib and WITHOUT specifying NO_COMPRESSION or NO_ZLIB:

 {{{
 Performing configuration checks

     - zlib : no (cached)
     - zlib : no (cached)

 Component configuration:

     - atomic : not building
     - chrono : not building
     - container : not building
     - context : not building
     - coroutine : not building
     - date_time : not building
     - exception : not building
     - filesystem : not building
     - graph : not building
     - graph_parallel : not building
     - iostreams : building
     - locale : not building
     - log : not building
     - math : not building
     - mpi : not building
     - program_options : not building
     - python : not building
     - random : not building
     - regex : not building
     - serialization : not building
     - signals : not building
     - system : not building
     - test : not building
     - thread : not building
     - timer : not building
     - wave : not building

 ...patience...
 ...found 22554 targets...
 ...updating 8 targets...
 gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-4.8/release/threading-
 multi/bzip2.o
 libs/iostreams/src/bzip2.cpp:20:56: fatal error: bzlib.h: No such file or
 directory
  #include "bzlib.h" // Julian Seward's "bzip.h" header.
                                                         ^
 compilation terminated.

     "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
 -pthread -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_IOSTREAMS_DYN_LINK=1
 -DBOOST_IOSTREAMS_USE_DEPRECATED -DNDEBUG -I"." -c -o
 "bin.v2/libs/iostreams/build/gcc-4.8/release/threading-multi/bzip2.o"
 "libs/iostreams/src/bzip2.cpp"

 ...failed gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-4.8/release
 /threading-multi/bzip2.o...
 ...skipped <pbin.v2/libs/iostreams/build/gcc-4.8/release/threading-
 multi>libboost_iostreams.so.1.57.0 for lack of
 <pbin.v2/libs/iostreams/build/gcc-4.8/release/threading-multi>bzip2.o...
 ...skipped
 <p~/projects/icam/tmp/boost_install/lib>libboost_iostreams.so.1.57.0 for
 lack of <pbin.v2/libs/iostreams/build/gcc-4.8/release/threading-
 multi>libboost_iostreams.so.1.57.0...
 ...skipped <p~/projects/icam/tmp/boost_install/lib>libboost_iostreams.so
 for lack of
 <p~/projects/icam/tmp/boost_install/lib>libboost_iostreams.so.1.57.0...
 gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-4.8/release/link-static
 /threading-multi/bzip2.o
 libs/iostreams/src/bzip2.cpp:20:56: fatal error: bzlib.h: No such file or
 directory
  #include "bzlib.h" // Julian Seward's "bzip.h" header.
                                                         ^
 compilation terminated.

     "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
 -pthread -DBOOST_ALL_NO_LIB=1 -DBOOST_IOSTREAMS_USE_DEPRECATED -DNDEBUG
 -I"." -c -o "bin.v2/libs/iostreams/build/gcc-4.8/release/link-static
 /threading-multi/bzip2.o" "libs/iostreams/src/bzip2.cpp"

 ...failed gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-4.8/release
 /link-static/threading-multi/bzip2.o...
 ...skipped <pbin.v2/libs/iostreams/build/gcc-4.8/release/link-static
 /threading-multi>libboost_iostreams.a(clean) for lack of
 <pbin.v2/libs/iostreams/build/gcc-4.8/release/link-static/threading-
 multi>bzip2.o...
 ...skipped <pbin.v2/libs/iostreams/build/gcc-4.8/release/link-static
 /threading-multi>libboost_iostreams.a for lack of
 <pbin.v2/libs/iostreams/build/gcc-4.8/release/link-static/threading-
 multi>bzip2.o...
 ...skipped <p~/projects/icam/tmp/boost_install/lib>libboost_iostreams.a
 for lack of <pbin.v2/libs/iostreams/build/gcc-4.8/release/link-static
 /threading-multi>libboost_iostreams.a...
 ...failed updating 2 targets...
 ...skipped 6 targets...
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9156#comment:8>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:17 UTC