posterior / distributions

Low-level primitives for collapsed Gibbs sampling in python and C++
BSD 3-Clause "New" or "Revised" License
16 stars 8 forks source link

protoc autogenerated files should not be in the git repository #10

Closed fsaad closed 7 years ago

fsaad commented 9 years ago

When running make, the following error message is thrown

[  6%] Building CXX object
src/CMakeFiles/distributions_shared.dir/io/schema.pb.cc.o In file included from
/distributions/src/io/schema.pb.cc:4:0:
distributions/src/../include/distributions/io/schema.pb.h:17:2: error: #error
This file was generated by an older version of protoc which is
incompatible with your Protocol Buffer headers Please regenerate this
file with a newer version of protoc.

distributions/src/../include/distributions/io/schema.pb.h:18:2: error: #error
This file was generated by an older version of protoc which is
incompatible with your Protocol Buffer headers Please regenerate this
file with a newer version of protoc.

/distributions/src/../include/distributions/io/schema.pb.h:19:2: error: #error
This file was generated by an older version of protoc which is
incompatible with your Protocol Buffer headers Please regenerate this
file with a newer version of protoc.

make[3]: *** [src/CMakeFiles/distributions_shared.dir/io/schema.pb.cc.o] Error 1
make[3]: Leaving directory `distributions/build/python' make[2]: ***
[src/CMakeFiles/distributions_shared.dir/all] Error 2 make[2]: Leaving directory
`distributions/build/python' make[1]: *** [all] Error 2 make[1]: Leaving
directory `distributions/build/python' make: *** [python_cc] Error 2

The solution is to remove the offending file, and rebuild schema.pb.h using make protobuf:

$ rm distributions/include/distributions/io/schema.pb.h
$ make protobuf

Now running make is successful.

fritzo commented 9 years ago

Feel free to submit a pr. You'll probably need to apt-get install protobuf-compiler in .travis.yml to make the build work on travis ci. https://github.com/posterior/distributions/blob/master/.travis.yml#L11

fsaad commented 7 years ago

This issue explains the failures happening on Travis with DISTRIBUTIONS_USE_PROTOBUF=1: https://travis-ci.org/posterior/distributions/jobs/297802278#L654

travis_fold:start:worker_info Worker information hostname: f6c752ff-e9fc-45f0-a81f-c0dd4181d953@1.production-2-worker-org-c-1-gce version: v3.3.1 https://github.com/travis-ci/worker/tree/1153e5010ef9863bf96264b75fba506109633460 instance: travis-job-0fa185c9-4112-4512-92cf-173340739556 travis-ci-garnet-trusty-1503972833 (via amqp) startup: 21.19508917s travis_fold:end:worker_info travis_fold:start:system_info Build system information Build language: python Build group: stable Build dist: trusty Build id: 297802275 Job id: 297802278 Runtime kernel version: 4.4.0-93-generic travis-build version: d1a96d134 Build image provisioning date and time Tue Aug 29 02:48:34 UTC 2017 Operating System Details Distributor ID: Ubuntu Description: Ubuntu 14.04.5 LTS Release: 14.04 Codename: trusty Cookbooks Version 4642454 https://github.com/travis-ci/travis-cookbooks/tree/4642454 git version git version 2.14.1 bash version GNU bash, version 4.3.11(1)-release (x86_64-pc-linux-gnu) gcc version gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. docker version Client: Version: 17.03.1-ce API version: 1.27 Go version: go1.7.5 Git commit: c6d412e Built: Mon Mar 27 17:10:36 2017 OS/Arch: linux/amd64 Server: Version: 17.03.1-ce API version: 1.27 (minimum version 1.12) Go version: go1.7.5 Git commit: c6d412e Built: Mon Mar 27 17:10:36 2017 OS/Arch: linux/amd64 Experimental: false clang version clang version 3.9.0 (tags/RELEASE_390/final) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/local/clang-3.9.0/bin jq version jq-1.5 bats version Bats 0.4.0 shellcheck version 0.4.6 shfmt version v1.3.1 ccache version ccache version 3.1.9 Copyright (C) 2002-2007 Andrew Tridgell Copyright (C) 2009-2011 Joel Rosdahl This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. cmake version cmake version 3.2.2 CMake suite maintained and supported by Kitware (kitware.com/cmake). heroku version heroku-cli/6.13.19-6cd27b3 (linux-x64) node-v8.3.0 imagemagick version Version: ImageMagick 6.7.7-10 2017-07-31 Q16 http://www.imagemagick.org md5deep version 4.2 mercurial version Mercurial Distributed SCM (version 4.2.2) (see https://mercurial-scm.org for more information) Copyright (C) 2005-2017 Matt Mackall and others This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. mysql version mysql Ver 14.14 Distrib 5.6.33, for debian-linux-gnu (x86_64) using EditLine wrapper openssl version OpenSSL 1.0.1f 6 Jan 2014 packer version Packer v1.0.2 Your version of Packer is out of date! The latest version is 1.0.4. You can update by downloading from www.packer.io postgresql client version psql (PostgreSQL) 9.6.4 ragel version Ragel State Machine Compiler version 6.8 Feb 2013 Copyright (c) 2001-2009 by Adrian Thurston subversion version svn, version 1.8.8 (r1568071) compiled Aug 10 2017, 17:20:39 on x86_64-pc-linux-gnu Copyright (C) 2013 The Apache Software Foundation. This software consists of contributions made by many people; see the NOTICE file for more information. Subversion is open source software, see http://subversion.apache.org/ The following repository access (RA) modules are available: * ra_svn : Module for accessing a repository using the svn network protocol. - with Cyrus SASL authentication - handles 'svn' scheme * ra_local : Module for accessing a repository on local disk. - handles 'file' scheme * ra_serf : Module for accessing a repository via WebDAV protocol using serf. - using serf 1.3.3 - handles 'http' scheme - handles 'https' scheme sudo version Sudo version 1.8.9p5 Configure options: --prefix=/usr -v --with-all-insults --with-pam --with-fqdn --with-logging=syslog --with-logfac=authpriv --with-env-editor --with-editor=/usr/bin/editor --with-timeout=15 --with-password-timeout=0 --with-passprompt=[sudo] password for %p: --without-lecture --with-tty-tickets --disable-root-mailer --enable-admin-flag --with-sendmail=/usr/sbin/sendmail --with-timedir=/var/lib/sudo --mandir=/usr/share/man --libexecdir=/usr/lib/sudo --with-sssd --with-sssd-lib=/usr/lib/x86_64-linux-gnu --with-selinux Sudoers policy plugin version 1.8.9p5 Sudoers file grammar version 43 Sudoers path: /etc/sudoers Authentication methods: 'pam' Syslog facility if syslog is being used for logging: authpriv Syslog priority to use when user authenticates successfully: notice Syslog priority to use when user authenticates unsuccessfully: alert Send mail if the user is not in sudoers Use a separate timestamp for each user/tty combo Lecture user the first time they run sudo Root may run sudo Allow some information gathering to give useful error messages Require fully-qualified hostnames in the sudoers file Visudo will honor the EDITOR environment variable Set the LOGNAME and USER environment variables Length at which to wrap log file lines (0 for no wrap): 80 Authentication timestamp timeout: 15.0 minutes Password prompt timeout: 0.0 minutes Number of tries to enter a password: 3 Umask to use or 0777 to use user's: 022 Path to mail program: /usr/sbin/sendmail Flags for mail program: -t Address to send mail to: root Subject line for mail messages: *** SECURITY information for %h *** Incorrect password message: Sorry, try again. Path to authentication timestamp dir: /var/lib/sudo Default password prompt: [sudo] password for %p: Default user to run commands as: root Value to override user's $PATH with: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin Path to the editor for use by visudo: /usr/bin/editor When to require a password for 'list' pseudocommand: any When to require a password for 'verify' pseudocommand: all File descriptors >= 3 will be closed before executing a command Environment variables to check for sanity: TZ TERM LINGUAS LC_* LANGUAGE LANG COLORTERM Environment variables to remove: RUBYOPT RUBYLIB PYTHONUSERBASE PYTHONINSPECT PYTHONPATH PYTHONHOME TMPPREFIX ZDOTDIR READNULLCMD NULLCMD FPATH PERL5DB PERL5OPT PERL5LIB PERLLIB PERLIO_DEBUG JAVA_TOOL_OPTIONS SHELLOPTS GLOBIGNORE PS4 BASH_ENV ENV TERMCAP TERMPATH TERMINFO_DIRS TERMINFO _RLD* LD_* PATH_LOCALE NLSPATH HOSTALIASES RES_OPTIONS LOCALDOMAIN CDPATH IFS Environment variables to preserve: JAVA_HOME TRAVIS CI DEBIAN_FRONTEND XAUTHORIZATION XAUTHORITY PS2 PS1 PATH LS_COLORS KRB5CCNAME HOSTNAME HOME DISPLAY COLORS Locale to use while parsing sudoers: C Directory in which to store input/output logs: /var/log/sudo-io File in which to store the input/output log: %{seq} Add an entry to the utmp/utmpx file when allocating a pty PAM service name to use PAM service name to use for login shells Create a new PAM session for the command to run in Maximum I/O log sequence number: 0 Local IP address and netmask pairs: 10.240.0.10/255.255.255.255 172.17.0.1/255.255.0.0 Sudoers I/O plugin version 1.8.9p5 gzip version gzip 1.6 Copyright (C) 2007, 2010, 2011 Free Software Foundation, Inc. Copyright (C) 1993 Jean-loup Gailly. This is free software. You may redistribute copies of it under the terms of the GNU General Public License . There is NO WARRANTY, to the extent permitted by law. Written by Jean-loup Gailly. zip version Copyright (c) 1990-2008 Info-ZIP - Type 'zip "-L"' for software license. This is Zip 3.0 (July 5th 2008), by Info-ZIP. Currently maintained by E. Gordon. Please send bug reports to the authors using the web page at www.info-zip.org; see README for details. Latest sources and executables are at ftp://ftp.info-zip.org/pub/infozip, as of above date; see http://www.info-zip.org/ for other sites. Compiled with gcc 4.8.2 for Unix (Linux ELF) on Oct 21 2013. Zip special compilation options: USE_EF_UT_TIME (store Universal Time) BZIP2_SUPPORT (bzip2 library version 1.0.6, 6-Sept-2010) bzip2 code and library copyright (c) Julian R Seward (See the bzip2 license for terms of use) SYMLINK_SUPPORT (symbolic links supported) LARGE_FILE_SUPPORT (can read and write large files on file system) ZIP64_SUPPORT (use Zip64 to store large files in archives) UNICODE_SUPPORT (store and read UTF-8 Unicode paths) STORE_UNIX_UIDs_GIDs (store UID/GID sizes/values using new extra field) UIDGID_NOT_16BIT (old Unix 16-bit UID/GID extra field not used) [encryption, version 2.91 of 05 Jan 2007] (modified for Zip 3) Encryption notice: The encryption code of this program is not copyrighted and is put in the public domain. It was originally written in Europe and, to the best of our knowledge, can be freely distributed in both source and object forms from any country, including the USA under License Exception TSU of the U.S. Export Administration Regulations (section 740.13(e)) of 6 June 2002. Zip environment options: ZIP: [none] ZIPOPT: [none] vim version VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Nov 24 2016 16:43:18) Included patches: 1-52 Extra patches: 8.0.0056 Modified by pkg-vim-maintainers@lists.alioth.debian.org Compiled by buildd@ Huge version without GUI. Features included (+) or not (-): +acl +farsi +mouse_netterm +syntax +arabic +file_in_path +mouse_sgr +tag_binary +autocmd +find_in_path -mouse_sysmouse +tag_old_static -balloon_eval +float +mouse_urxvt -tag_any_white -browse +folding +mouse_xterm -tcl ++builtin_terms -footer +multi_byte +terminfo +byte_offset +fork() +multi_lang +termresponse +cindent +gettext -mzscheme +textobjects -clientserver -hangul_input +netbeans_intg +title -clipboard +iconv +path_extra -toolbar +cmdline_compl +insert_expand -perl +user_commands +cmdline_hist +jumplist +persistent_undo +vertsplit +cmdline_info +keymap +postscript +virtualedit +comments +langmap +printer +visual +conceal +libcall +profile +visualextra +cryptv +linebreak +python +viminfo +cscope +lispindent -python3 +vreplace +cursorbind +listcmds +quickfix +wildignore +cursorshape +localmap +reltime +wildmenu +dialog_con -lua +rightleft +windows +diff +menu -ruby +writebackup +digraphs +mksession +scrollbind -X11 -dnd +modify_fname +signs -xfontset -ebcdic +mouse +smartindent -xim +emacs_tags -mouseshape -sniff -xsmp +eval +mouse_dec +startuptime -xterm_clipboard +ex_extra +mouse_gpm +statusline -xterm_save +extra_search -mouse_jsbterm -sun_workshop -xpm system vimrc file: "$VIM/vimrc" user vimrc file: "$HOME/.vimrc" 2nd user vimrc file: "~/.vim/vimrc" user exrc file: "$HOME/.exrc" fall-back for $VIM: "/usr/share/vim" Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 Linking: gcc -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,--as-needed -o vim -lm -ltinfo -lnsl -lselinux -lacl -lattr -lgpm -ldl -L/usr/lib/python2.7/config-x86_64-linux-gnu -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions iptables version iptables v1.4.21 curl version curl 7.35.0 (x86_64-pc-linux-gnu) libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3 wget version GNU Wget 1.15 built on linux-gnu. rsync version rsync version 3.1.0 protocol version 31 gimme version v1.2.0 nvm version 0.33.2 perlbrew version /home/travis/perl5/perlbrew/bin/perlbrew - App::perlbrew/0.80 phpenv version rbenv 1.1.1-4-g4ebd1bd rvm version rvm 1.29.2 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io/] default ruby version ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux] CouchDB version couchdb 1.6.1 ElasticSearch version 5.5.0 Installed Firefox version firefox 55.0.2 MongoDB version MongoDB 3.2.16 Pre-installed PostgreSQL versions 9.2.22 9.3.18 9.4.13 9.5.8 9.6.4 RabbitMQ Version 3.6.11 Redis version redis-server 4.0.1 riak version 2.2.3 Pre-installed Go versions 1.7.4 ant version Apache Ant(TM) version 1.9.3 compiled on April 8 2014 mvn version Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T19:39:06Z) Maven home: /usr/local/maven-3.5.0 Java version: 1.8.0_144, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-8-oracle/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "4.4.0-81-generic", arch: "amd64", family: "unix" gradle version ------------------------------------------------------------ Gradle 4.0.1 ------------------------------------------------------------ Build time: 2017-07-07 14:02:41 UTC Revision: 38e5dc0f772daecca1d2681885d3d85414eb6826 Groovy: 2.4.11 Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015 JVM: 1.8.0_144 (Oracle Corporation 25.144-b01) OS: Linux 4.4.0-81-generic amd64 lein version WARNING: You're currently running as root; probably by accident. Press control-C to abort or Enter to continue as root. Set LEIN_ROOT to disable this warning. Leiningen 2.7.1 on Java 1.8.0_144 Java HotSpot(TM) 64-Bit Server VM Pre-installed Node.js versions v4.8.4 v6.11.2 v6.9.4 v7.4.0 v8.4 phpenv versions system 5.6 * 5.6.31 (set by /home/travis/.phpenv/version) 7.0 7.0.22 hhvm hhvm-stable composer --version Composer version 1.4.2 2017-05-17 08:17:52 Pre-installed Ruby versions ruby-2.2.7 ruby-2.3.4 ruby-2.4.1 travis_fold:end:system_info  removed ‘/etc/apt/sources.list.d/basho_riak.list’ Executing: /tmp/tmp.RhR32dJ0kj/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927 gpg: requesting key EA312927 from hkp server keyserver.ubuntu.com gpg: key EA312927: "MongoDB 3.2 Release Signing Key " 1 new signature gpg: Total number processed: 1 gpg: new signatures: 1 W: http://dl.hhvm.com/ubuntu/dists/trusty/InRelease: Signature by key 36AEF64D0207E7EEE352D4875A16E7281BE7A449 uses weak digest algorithm (SHA1) W: http://ppa.launchpad.net/couchdb/stable/ubuntu/dists/trusty/Release.gpg: Signature by key 15866BAFD9BCC4F3C1E0DFC7D69548E1C17EAB57 uses weak digest algorithm (SHA1) travis_fold:start:git.checkout travis_time:start:09dca95c $ git clone --depth=50 --branch=2.2.1 https://github.com/posterior/distributions.git posterior/distributions Cloning into 'posterior/distributions'... remote: Counting objects: 1087, done. remote: Compressing objects: 0% (1/527)  remote: Compressing objects: 1% (6/527)  remote: Compressing objects: 2% (11/527)  remote: Compressing objects: 3% (16/527)  remote: Compressing objects: 4% (22/527)  remote: Compressing objects: 5% (27/527)  remote: Compressing objects: 6% (32/527)  remote: Compressing objects: 7% (37/527)  remote: Compressing objects: 8% (43/527)  remote: Compressing objects: 9% (48/527)  remote: Compressing objects: 10% (53/527)  remote: Compressing objects: 11% (58/527)  remote: Compressing objects: 12% (64/527)  remote: Compressing objects: 13% (69/527)  remote: Compressing objects: 14% (74/527)  remote: Compressing objects: 15% (80/527)  remote: Compressing objects: 16% (85/527)  remote: Compressing objects: 17% (90/527)  remote: Compressing objects: 18% (95/527)  remote: Compressing objects: 19% (101/527)  remote: Compressing objects: 20% (106/527)  remote: Compressing objects: 21% (111/527)  remote: Compressing objects: 22% (116/527)  remote: Compressing objects: 23% (122/527)  remote: Compressing objects: 24% (127/527)  remote: Compressing objects: 25% (132/527)  remote: Compressing objects: 26% (138/527)  remote: Compressing objects: 27% (143/527)  remote: Compressing objects: 28% (148/527)  remote: Compressing objects: 29% (153/527)  remote: Compressing objects: 30% (159/527)  remote: Compressing objects: 31% (164/527)  remote: Compressing objects: 32% (169/527)  remote: Compressing objects: 33% (174/527)  remote: Compressing objects: 34% (180/527)  remote: Compressing objects: 35% (185/527)  remote: Compressing objects: 36% (190/527)  remote: Compressing objects: 37% (195/527)  remote: Compressing objects: 38% (201/527)  remote: Compressing objects: 39% (206/527)  remote: Compressing objects: 40% (211/527)  remote: Compressing objects: 41% (217/527)  remote: Compressing objects: 42% (222/527)  remote: Compressing objects: 43% (227/527)  remote: Compressing objects: 44% (232/527)  remote: Compressing objects: 45% (238/527)  remote: Compressing objects: 46% (243/527)  remote: Compressing objects: 47% (248/527)  remote: Compressing objects: 48% (253/527)  remote: Compressing objects: 49% (259/527)  remote: Compressing objects: 50% (264/527)  remote: Compressing objects: 51% (269/527)  remote: Compressing objects: 52% (275/527)  remote: Compressing objects: 53% (280/527)  remote: Compressing objects: 54% (285/527)  remote: Compressing objects: 55% (290/527)  remote: Compressing objects: 56% (296/527)  remote: Compressing objects: 57% (301/527)  remote: Compressing objects: 58% (306/527)  remote: Compressing objects: 59% (311/527)  remote: Compressing objects: 60% (317/527)  remote: Compressing objects: 61% (322/527)  remote: Compressing objects: 62% (327/527)  remote: Compressing objects: 63% (333/527)  remote: Compressing objects: 64% (338/527)  remote: Compressing objects: 65% (343/527)  remote: Compressing objects: 66% (348/527)  remote: Compressing objects: 67% (354/527)  remote: Compressing objects: 68% (359/527)  remote: Compressing objects: 69% (364/527)  remote: Compressing objects: 70% (369/527)  remote: Compressing objects: 71% (375/527)  remote: Compressing objects: 72% (380/527)  remote: Compressing objects: 73% (385/527)  remote: Compressing objects: 74% (390/527)  remote: Compressing objects: 75% (396/527)  remote: Compressing objects: 76% (401/527)  remote: Compressing objects: 77% (406/527)  remote: Compressing objects: 78% (412/527)  remote: Compressing objects: 79% (417/527)  remote: Compressing objects: 80% (422/527)  remote: Compressing objects: 81% (427/527)  remote: Compressing objects: 82% (433/527)  remote: Compressing objects: 83% (438/527)  remote: Compressing objects: 84% (443/527)  remote: Compressing objects: 85% (448/527)  remote: Compressing objects: 86% (454/527)  remote: Compressing objects: 87% (459/527)  remote: Compressing objects: 88% (464/527)  remote: Compressing objects: 89% (470/527)  remote: Compressing objects: 90% (475/527)  remote: Compressing objects: 91% (480/527)  remote: Compressing objects: 92% (485/527)  remote: Compressing objects: 93% (491/527)  remote: Compressing objects: 94% (496/527)  remote: Compressing objects: 95% (501/527)  remote: Compressing objects: 96% (506/527)  remote: Compressing objects: 97% (512/527)  remote: Compressing objects: 98% (517/527)  remote: Compressing objects: 99% (522/527)  remote: Compressing objects: 100% (527/527)  remote: Compressing objects: 100% (527/527), done. Receiving objects: 0% (1/1087) Receiving objects: 1% (11/1087) Receiving objects: 2% (22/1087) Receiving objects: 3% (33/1087) Receiving objects: 4% (44/1087) Receiving objects: 5% (55/1087) Receiving objects: 6% (66/1087) Receiving objects: 7% (77/1087) Receiving objects: 8% (87/1087) Receiving objects: 9% (98/1087) Receiving objects: 10% (109/1087) Receiving objects: 11% (120/1087) Receiving objects: 12% (131/1087) Receiving objects: 13% (142/1087) Receiving objects: 14% (153/1087) Receiving objects: 15% (164/1087) Receiving objects: 16% (174/1087) Receiving objects: 17% (185/1087) Receiving objects: 18% (196/1087) Receiving objects: 19% (207/1087) Receiving objects: 20% (218/1087) Receiving objects: 21% (229/1087) Receiving objects: 22% (240/1087) Receiving objects: 23% (251/1087) Receiving objects: 24% (261/1087) Receiving objects: 25% (272/1087) Receiving objects: 26% (283/1087) Receiving objects: 27% (294/1087) Receiving objects: 28% (305/1087) Receiving objects: 29% (316/1087) Receiving objects: 30% (327/1087) Receiving objects: 31% (337/1087) Receiving objects: 32% (348/1087) Receiving objects: 33% (359/1087) Receiving objects: 34% (370/1087) Receiving objects: 35% (381/1087) Receiving objects: 36% (392/1087) Receiving objects: 37% (403/1087) Receiving objects: 38% (414/1087) Receiving objects: 39% (424/1087) Receiving objects: 40% (435/1087) Receiving objects: 41% (446/1087) Receiving objects: 42% (457/1087) Receiving objects: 43% (468/1087) Receiving objects: 44% (479/1087) Receiving objects: 45% (490/1087) Receiving objects: 46% (501/1087) Receiving objects: 47% (511/1087) Receiving objects: 48% (522/1087) Receiving objects: 49% (533/1087) Receiving objects: 50% (544/1087) Receiving objects: 51% (555/1087) Receiving objects: 52% (566/1087) Receiving objects: 53% (577/1087) Receiving objects: 54% (587/1087) Receiving objects: 55% (598/1087) Receiving objects: 56% (609/1087) Receiving objects: 57% (620/1087) Receiving objects: 58% (631/1087) Receiving objects: 59% (642/1087) Receiving objects: 60% (653/1087) Receiving objects: 61% (664/1087) Receiving objects: 62% (674/1087) Receiving objects: 63% (685/1087) Receiving objects: 64% (696/1087) Receiving objects: 65% (707/1087) Receiving objects: 66% (718/1087) Receiving objects: 67% (729/1087) Receiving objects: 68% (740/1087) Receiving objects: 69% (751/1087) Receiving objects: 70% (761/1087) Receiving objects: 71% (772/1087) Receiving objects: 72% (783/1087) Receiving objects: 73% (794/1087) Receiving objects: 74% (805/1087) Receiving objects: 75% (816/1087) Receiving objects: 76% (827/1087) Receiving objects: 77% (837/1087) Receiving objects: 78% (848/1087) Receiving objects: 79% (859/1087) Receiving objects: 80% (870/1087) Receiving objects: 81% (881/1087) Receiving objects: 82% (892/1087) Receiving objects: 83% (903/1087) Receiving objects: 84% (914/1087) Receiving objects: 85% (924/1087) Receiving objects: 86% (935/1087) Receiving objects: 87% (946/1087) Receiving objects: 88% (957/1087) Receiving objects: 89% (968/1087) Receiving objects: 90% (979/1087) Receiving objects: 91% (990/1087) Receiving objects: 92% (1001/1087) remote: Total 1087 (delta 701), reused 839 (delta 514), pack-reused 0 Receiving objects: 93% (1011/1087) Receiving objects: 94% (1022/1087) Receiving objects: 95% (1033/1087) Receiving objects: 96% (1044/1087) Receiving objects: 97% (1055/1087) Receiving objects: 98% (1066/1087) Receiving objects: 99% (1077/1087) Receiving objects: 100% (1087/1087) Receiving objects: 100% (1087/1087), 434.56 KiB | 5.79 MiB/s, done. Resolving deltas: 0% (0/701) Resolving deltas: 1% (9/701) Resolving deltas: 2% (15/701) Resolving deltas: 3% (23/701) Resolving deltas: 4% (29/701) Resolving deltas: 5% (37/701) Resolving deltas: 6% (48/701) Resolving deltas: 7% (52/701) Resolving deltas: 8% (60/701) Resolving deltas: 11% (80/701) Resolving deltas: 22% (161/701) Resolving deltas: 23% (166/701) Resolving deltas: 25% (178/701) Resolving deltas: 26% (188/701) Resolving deltas: 27% (195/701) Resolving deltas: 32% (227/701) Resolving deltas: 33% (237/701) Resolving deltas: 34% (239/701) Resolving deltas: 35% (251/701) Resolving deltas: 37% (262/701) Resolving deltas: 38% (271/701) Resolving deltas: 39% (279/701) Resolving deltas: 46% (325/701) Resolving deltas: 48% (338/701) Resolving deltas: 49% (344/701) Resolving deltas: 52% (368/701) Resolving deltas: 53% (372/701) Resolving deltas: 54% (381/701) Resolving deltas: 56% (393/701) Resolving deltas: 59% (415/701) Resolving deltas: 60% (422/701) Resolving deltas: 61% (433/701) Resolving deltas: 62% (438/701) Resolving deltas: 63% (444/701) Resolving deltas: 64% (453/701) Resolving deltas: 65% (456/701) Resolving deltas: 68% (481/701) Resolving deltas: 69% (486/701) Resolving deltas: 71% (501/701) Resolving deltas: 72% (505/701) Resolving deltas: 73% (512/701) Resolving deltas: 74% (519/701) Resolving deltas: 75% (527/701) Resolving deltas: 77% (546/701) Resolving deltas: 78% (549/701) Resolving deltas: 79% (555/701) Resolving deltas: 80% (561/701) Resolving deltas: 81% (568/701) Resolving deltas: 82% (577/701) Resolving deltas: 85% (597/701) Resolving deltas: 86% (603/701) Resolving deltas: 90% (632/701) Resolving deltas: 92% (649/701) Resolving deltas: 93% (655/701) Resolving deltas: 94% (664/701) Resolving deltas: 95% (670/701) Resolving deltas: 96% (673/701) Resolving deltas: 97% (686/701) Resolving deltas: 98% (693/701) Resolving deltas: 99% (694/701) Resolving deltas: 100% (701/701) Resolving deltas: 100% (701/701), done. Note: checking out '9895f413e96681ff68b1aa4c5693b1385421394e'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b travis_time:end:09dca95c:start=1509942300056845581,finish=1509942300766065593,duration=709220012 $ cd posterior/distributions $ git checkout -qf 2.2.1 travis_fold:end:git.checkout  Setting environment variables from .travis.yml $ export FLAVOR=_cc $ export DISTRIBUTIONS_USE_PROTOBUF=1 travis_time:start:02d38637 $ source ~/virtualenv/python2.7_with_system_site_packages/bin/activate travis_time:end:02d38637:start=1509942300789750965,finish=1509942300796661104,duration=6910139 $ python --version Python 2.7.6 $ pip --version pip 9.0.1 from /home/travis/virtualenv/python2.7_with_system_site_packages/local/lib/python2.7/site-packages (python 2.7) travis_fold:start:before_install.1 travis_time:start:214ed71c $ pip uninstall numpy -y || echo 'numpy not installed' Uninstalling numpy-1.13.1: Successfully uninstalled numpy-1.13.1 travis_time:end:214ed71c:start=1509942301387531675,finish=1509942301914607143,duration=527075468 travis_fold:end:before_install.1 travis_fold:start:before_install.2 travis_time:start:1f0ea6fe $ sudo add-apt-repository -y ppa:cython-dev/master-ppa gpg: keyring `/tmp/tmpbbvsj2tp/secring.gpg' created gpg: keyring `/tmp/tmpbbvsj2tp/pubring.gpg' created gpg: requesting key 6CA77592 from hkp server keyserver.ubuntu.com gpg: /tmp/tmpbbvsj2tp/trustdb.gpg: trustdb created gpg: key 6CA77592: public key "Launchpad PPA for Cython-dev" imported gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) OK travis_time:end:1f0ea6fe:start=1509942301919284233,finish=1509942304463991089,duration=2544706856 travis_fold:end:before_install.2 travis_fold:start:before_install.3 travis_time:start:1846d640 $ sudo apt-get update -qq W: http://dl.hhvm.com/ubuntu/dists/trusty/InRelease: Signature by key 36AEF64D0207E7EEE352D4875A16E7281BE7A449 uses weak digest algorithm (SHA1) W: http://ppa.launchpad.net/couchdb/stable/ubuntu/dists/trusty/Release.gpg: Signature by key 15866BAFD9BCC4F3C1E0DFC7D69548E1C17EAB57 uses weak digest algorithm (SHA1) travis_time:end:1846d640:start=1509942304468827416,finish=1509942308702620995,duration=4233793579 travis_fold:end:before_install.3 travis_fold:start:before_install.4 travis_time:start:008589b4 $ sudo apt-get install -qq cython python-numpy python-scipy Selecting previously unselected package libamd2.3.1:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 92755 files and directories currently installed.) Preparing to unpack .../libamd2.3.1_1%3a4.2.1-3ubuntu1_amd64.deb ... Unpacking libamd2.3.1:amd64 (1:4.2.1-3ubuntu1) ... Selecting previously unselected package libcamd2.3.1:amd64. Preparing to unpack .../libcamd2.3.1_1%3a4.2.1-3ubuntu1_amd64.deb ... Unpacking libcamd2.3.1:amd64 (1:4.2.1-3ubuntu1) ... Selecting previously unselected package libccolamd2.8.0:amd64. Preparing to unpack .../libccolamd2.8.0_1%3a4.2.1-3ubuntu1_amd64.deb ... Unpacking libccolamd2.8.0:amd64 (1:4.2.1-3ubuntu1) ... Selecting previously unselected package libblas3. Preparing to unpack .../libblas3_1.2.20110419-7_amd64.deb ... Unpacking libblas3 (1.2.20110419-7) ... Selecting previously unselected package libcolamd2.8.0:amd64. Preparing to unpack .../libcolamd2.8.0_1%3a4.2.1-3ubuntu1_amd64.deb ... Unpacking libcolamd2.8.0:amd64 (1:4.2.1-3ubuntu1) ... Selecting previously unselected package libgfortran3:amd64. Preparing to unpack .../libgfortran3_4.8.4-2ubuntu1~14.04.3_amd64.deb ... Unpacking libgfortran3:amd64 (4.8.4-2ubuntu1~14.04.3) ... Selecting previously unselected package liblapack3. Preparing to unpack .../liblapack3_3.5.0-2ubuntu1_amd64.deb ... Unpacking liblapack3 (3.5.0-2ubuntu1) ... Selecting previously unselected package libcholmod2.1.2:amd64. Preparing to unpack .../libcholmod2.1.2_1%3a4.2.1-3ubuntu1_amd64.deb ... Unpacking libcholmod2.1.2:amd64 (1:4.2.1-3ubuntu1) ... Selecting previously unselected package libumfpack5.6.2:amd64. Preparing to unpack .../libumfpack5.6.2_1%3a4.2.1-3ubuntu1_amd64.deb ... Unpacking libumfpack5.6.2:amd64 (1:4.2.1-3ubuntu1) ... Selecting previously unselected package libwebp5:amd64. Preparing to unpack .../libwebp5_0.4.0-4_amd64.deb ... Unpacking libwebp5:amd64 (0.4.0-4) ... Selecting previously unselected package libwebpmux1:amd64. Preparing to unpack .../libwebpmux1_0.4.0-4_amd64.deb ... Unpacking libwebpmux1:amd64 (0.4.0-4) ... Selecting previously unselected package cython. Preparing to unpack .../cython_0.20.1+git90-g0e6e38e-1ubuntu2_amd64.deb ... Unpacking cython (0.20.1+git90-g0e6e38e-1ubuntu2) ... Selecting previously unselected package python-decorator. Preparing to unpack .../python-decorator_3.4.0-2build1_all.deb ... Unpacking python-decorator (3.4.0-2build1) ... Selecting previously unselected package python-pil. Preparing to unpack .../python-pil_2.3.0-1ubuntu3.4_amd64.deb ... Unpacking python-pil (2.3.0-1ubuntu3.4) ... Selecting previously unselected package python-imaging. Preparing to unpack .../python-imaging_2.3.0-1ubuntu3.4_all.deb ... Unpacking python-imaging (2.3.0-1ubuntu3.4) ... Selecting previously unselected package python-numpy. Preparing to unpack .../python-numpy_1%3a1.8.2-0ubuntu0.1_amd64.deb ... Unpacking python-numpy (1:1.8.2-0ubuntu0.1) ... Selecting previously unselected package python-scipy. Preparing to unpack .../python-scipy_0.13.3-1build1_amd64.deb ... Unpacking python-scipy (0.13.3-1build1) ... Processing triggers for man-db (2.6.7.1-1ubuntu1) ... Setting up libamd2.3.1:amd64 (1:4.2.1-3ubuntu1) ... Setting up libcamd2.3.1:amd64 (1:4.2.1-3ubuntu1) ... Setting up libccolamd2.8.0:amd64 (1:4.2.1-3ubuntu1) ... Setting up libblas3 (1.2.20110419-7) ... update-alternatives: using /usr/lib/libblas/libblas.so.3 to provide /usr/lib/libblas.so.3 (libblas.so.3) in auto mode Setting up libcolamd2.8.0:amd64 (1:4.2.1-3ubuntu1) ... Setting up libgfortran3:amd64 (4.8.4-2ubuntu1~14.04.3) ... Setting up liblapack3 (3.5.0-2ubuntu1) ... update-alternatives: using /usr/lib/lapack/liblapack.so.3 to provide /usr/lib/liblapack.so.3 (liblapack.so.3) in auto mode Setting up libcholmod2.1.2:amd64 (1:4.2.1-3ubuntu1) ... Setting up libumfpack5.6.2:amd64 (1:4.2.1-3ubuntu1) ... Setting up libwebp5:amd64 (0.4.0-4) ... Setting up libwebpmux1:amd64 (0.4.0-4) ... Setting up cython (0.20.1+git90-g0e6e38e-1ubuntu2) ... Setting up python-decorator (3.4.0-2build1) ... Setting up python-pil (2.3.0-1ubuntu3.4) ... Setting up python-imaging (2.3.0-1ubuntu3.4) ... Setting up python-numpy (1:1.8.2-0ubuntu0.1) ... Setting up python-scipy (0.13.3-1build1) ... Processing triggers for libc-bin (2.19-0ubuntu6.13) ... travis_time:end:008589b4:start=1509942308706983081,finish=1509942316566287592,duration=7859304511 travis_fold:end:before_install.4 travis_fold:start:before_install.5 travis_time:start:076f0e50 $ sudo apt-get install libprotobuf-dev libeigen3-dev Reading package lists... 0% Reading package lists... 100% Reading package lists... Done Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree Reading state information... 0% Reading state information... 0% Reading state information... Done The following additional packages will be installed: libprotobuf-lite8 libprotobuf8 Suggested packages: libeigen3-doc libmrpt-dev The following NEW packages will be installed: libeigen3-dev libprotobuf-dev libprotobuf-lite8 libprotobuf8 0 upgraded, 4 newly installed, 0 to remove and 106 not upgraded. Need to get 1,264 kB of archives. After this operation, 8,447 kB of additional disk space will be used. 0% [Working] Get:1 http://us-central1.gce.archive.ubuntu.com/ubuntu trusty/main amd64 libprotobuf-lite8 amd64 2.5.0-9ubuntu1 [52.7 kB] 1% [1 libprotobuf-lite8 8,192 B/52.7 kB 16%] 8% [Working] Get:2 http://us-central1.gce.archive.ubuntu.com/ubuntu trusty/main amd64 libprotobuf8 amd64 2.5.0-9ubuntu1 [296 kB] 9% [2 libprotobuf8 8,042 B/296 kB 3%] 32% [Working] Get:3 http://us-central1.gce.archive.ubuntu.com/ubuntu trusty/universe amd64 libeigen3-dev all 3.2.0-8 [494 kB] 33% [3 libeigen3-dev 12.3 kB/494 kB 2%] 68% [Working] Get:4 http://us-central1.gce.archive.ubuntu.com/ubuntu trusty/main amd64 libprotobuf-dev amd64 2.5.0-9ubuntu1 [421 kB] 69% [4 libprotobuf-dev 7,496 B/421 kB 2%] 100% [Working] Fetched 1,264 kB in 0s (38.6 MB/s) Selecting previously unselected package libprotobuf-lite8:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 94736 files and directories currently installed.) Preparing to unpack .../libprotobuf-lite8_2.5.0-9ubuntu1_amd64.deb ... Unpacking libprotobuf-lite8:amd64 (2.5.0-9ubuntu1) ... Selecting previously unselected package libprotobuf8:amd64. Preparing to unpack .../libprotobuf8_2.5.0-9ubuntu1_amd64.deb ... Unpacking libprotobuf8:amd64 (2.5.0-9ubuntu1) ... Selecting previously unselected package libeigen3-dev. Preparing to unpack .../libeigen3-dev_3.2.0-8_all.deb ... Unpacking libeigen3-dev (3.2.0-8) ... Selecting previously unselected package libprotobuf-dev:amd64. Preparing to unpack .../libprotobuf-dev_2.5.0-9ubuntu1_amd64.deb ... Unpacking libprotobuf-dev:amd64 (2.5.0-9ubuntu1) ... Setting up libprotobuf-lite8:amd64 (2.5.0-9ubuntu1) ... Setting up libprotobuf8:amd64 (2.5.0-9ubuntu1) ... Setting up libeigen3-dev (3.2.0-8) ... Setting up libprotobuf-dev:amd64 (2.5.0-9ubuntu1) ... Processing triggers for libc-bin (2.19-0ubuntu6.13) ... travis_time:end:076f0e50:start=1509942316570843531,finish=1509942318067147477,duration=1496303946 travis_fold:end:before_install.5 travis_fold:start:before_install.6 travis_time:start:1c600c2c $ pip install cpplint Collecting cpplint /home/travis/virtualenv/python2.7_with_system_site_packages/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning. SNIMissingWarning /home/travis/virtualenv/python2.7_with_system_site_packages/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning Downloading cpplint-1.3.0.tar.gz (71kB) [?25l  14% |████▋ | 10kB 3.8MB/s eta 0:00:01  28% |█████████▏ | 20kB 1.9MB/s eta 0:00:01  42% |█████████████▊ | 30kB 2.3MB/s eta 0:00:01  57% |██████████████████▎ | 40kB 2.1MB/s eta 0:00:01  71% |██████████████████████▉ | 51kB 2.3MB/s eta 0:00:01  85% |███████████████████████████▍ | 61kB 2.7MB/s eta 0:00:01  99% |████████████████████████████████| 71kB 3.0MB/s eta 0:00:01  100% |████████████████████████████████| 81kB 2.7MB/s [?25hBuilding wheels for collected packages: cpplint Running setup.py bdist_wheel for cpplint ... [?25l- done [?25h Stored in directory: /home/travis/.cache/pip/wheels/f5/ba/81/00c14f0d4606c2f5de5273d2c35efa6355bb6fa6e5fa8ca104 Successfully built cpplint Installing collected packages: cpplint Successfully installed cpplint-1.3.0 travis_time:end:1c600c2c:start=1509942318071501283,finish=1509942319353283188,duration=1281781905 travis_fold:end:before_install.6 travis_fold:start:install.1 travis_time:start:146a5d84 $ make install$FLAVOR mkdir -p lib mkdir -p build/python cd build/python && cmake -DCMAKE_BUILD_TYPE=Python -DCMAKE_INSTALL_PREFIX=/home/travis/virtualenv/python2.7_with_system_site_packages ../.. -- The C compiler identification is GNU 4.8.4 -- The CXX compiler identification is GNU 4.8.4 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done CXX_FLAGS = -mfpmath=sse -fPIC -std=c++0x -Wall -Wextra -Werror -Wno-unused-parameter -Wno-strict-aliasing -O3 -msse4.1 -ffast-math -funsafe-math-optimizations -- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0") -- Finding YEPPP library locate: can not stat () `/var/lib/mlocate/mlocate.db': No such file or directory -- missing YEPPP library -- Finding AMD LibM library locate: can not stat () `/var/lib/mlocate/mlocate.db': No such file or directory -- missing AMD LibM -- Finding Intel MKL library locate: can not stat () `/var/lib/mlocate/mlocate.db': No such file or directory -- missing Intel MKL -- Looking for include file pthread.h -- Looking for include file pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found PROTOBUF: /usr/lib/x86_64-linux-gnu/libprotobuf.so -- Using Google Protocol Buffers -- Configuring done -- Generating done -- Build files have been written to: /home/travis/build/posterior/distributions/build/python cd build/python && make make[1]: Entering directory `/home/travis/build/posterior/distributions/build/python' make[2]: Entering directory `/home/travis/build/posterior/distributions/build/python' make[3]: Entering directory `/home/travis/build/posterior/distributions/build/python' Scanning dependencies of target distributions_shared make[3]: Leaving directory `/home/travis/build/posterior/distributions/build/python' make[3]: Entering directory `/home/travis/build/posterior/distributions/build/python' [ 6%] Building CXX object src/CMakeFiles/distributions_shared.dir/io/schema.pb.cc.o In file included from /home/travis/build/posterior/distributions/src/io/schema.pb.cc:4:0: /home/travis/build/posterior/distributions/src/../include/distributions/io/schema.pb.h:17:2: error: #error This file was generated by an older version of protoc which is #error This file was generated by an older version of protoc which is ^ /home/travis/build/posterior/distributions/src/../include/distributions/io/schema.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers. Please #error incompatible with your Protocol Buffer headers. Please ^ /home/travis/build/posterior/distributions/src/../include/distributions/io/schema.pb.h:19:2: error: #error regenerate this file with a newer version of protoc. #error regenerate this file with a newer version of protoc. ^ make[3]: *** [src/CMakeFiles/distributions_shared.dir/io/schema.pb.cc.o] Error 1 make[3]: Leaving directory `/home/travis/build/posterior/distributions/build/python' make[2]: *** [src/CMakeFiles/distributions_shared.dir/all] Error 2 make[2]: Leaving directory `/home/travis/build/posterior/distributions/build/python' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/travis/build/posterior/distributions/build/python' make: *** [python_cc] Error 2 travis_time:end:146a5d84:start=1509942319357795598,finish=1509942321608630892,duration=2250835294  The command "make install$FLAVOR" failed and exited with 2 during . Your build has been stopped.