Skip to content

Instantly share code, notes, and snippets.

@zeljic
Created February 27, 2016 17:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zeljic/4b53477c04039452386e to your computer and use it in GitHub Desktop.
Save zeljic/4b53477c04039452386e to your computer and use it in GitHub Desktop.
zeljic@ironhills:~/dev/lizzard $ conan install --build=missing
Requirements
zlib/1.2.8@lasote/stable
Packages
zlib/1.2.8@lasote/stable:5111d9c5cf2ac03a5fd63ec5f9092e3da8fdbe78
Installing requirements
zlib/1.2.8@lasote/stable: Installing package 5111d9c5cf2ac03a5fd63ec5f9092e3da8fdbe78
zlib/1.2.8@lasote/stable: Package not installed
zlib/1.2.8@lasote/stable: Looking for package 5111d9c5cf2ac03a5fd63ec5f9092e3da8fdbe78 in remotes
WARN: Unable to connect to local=http://localhost:9300
zlib/1.2.8@lasote/stable: WARN: Binary for 5111d9c5cf2ac03a5fd63ec5f9092e3da8fdbe78 not in remote: All remotes failed
zlib/1.2.8@lasote/stable: Building your package in /home/zeljic/.conan/data/zlib/1.2.8/lasote/stable/build/5111d9c5cf2ac03a5fd63ec5f9092e3da8fdbe78
zlib/1.2.8@lasote/stable: Copying sources to build folder
zlib/1.2.8@lasote/stable: Generated cmake created conanbuildinfo.cmake
Checking for gcc...
Compiler error reporting is too harsh for ./configure (perhaps remove -Werror).
** ./configure aborting.
zlib/1.2.8@lasote/stable: ERROR: Package '5111d9c5cf2ac03a5fd63ec5f9092e3da8fdbe78' build failed
zlib/1.2.8@lasote/stable: WARN: Build folder /home/zeljic/.conan/data/zlib/1.2.8/lasote/stable/build/5111d9c5cf2ac03a5fd63ec5f9092e3da8fdbe78
ERROR: zlib: Error 256 while executing cd zlib-1.2.8 && CFLAGS=' -mstackrealign -fPIC -O3' ./configure
@lasote
Copy link

lasote commented Feb 29, 2016

Hi, I confess that I don't know either what mstackrealign is, its an option specified in the official zlib docs for building.
I've found this:

Note that the -mstackrealign may cause build failures in non-Intel architeture systems.

So you are right, I've uploaded the conanfile again with the mstackrealign option only for intel architectures.
Try to remove your local zlib package with "conan remove zlib/1.2.8@lasote/stable" and install it again. (we are currently working in an update/upgrade command for these cases but its not ready yet)

Thanks for reporting it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment