Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Simple config downloaded does not complete #38

Open
starx opened this issue Mar 4, 2016 · 4 comments
Open

Simple config downloaded does not complete #38

starx opened this issue Mar 4, 2016 · 4 comments

Comments

@starx
Copy link

starx commented Mar 4, 2016

I downloaded a simple configuration from the website. Has php 7 and other software (most of them are to default settings) and it does not finishes.

Last few lines of the logs are these:

==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet_ruby/Puphpet::Ruby::Install[rv_ox4k0m0f44v5]/Rvm_gem[vine]/ensure: created
==> dev.ubuntu.puphpet: Info: Stage[main]: Unscheduling all events on Stage[main]
==> dev.ubuntu.puphpet: Info: Creating state file /opt/puppetlabs/puppet/cache/state/state.yaml
==> dev.ubuntu.puphpet: Notice: Applied catalog in 1003.15 seconds
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

Full log of the install is here
My puphpet configuration is zip

@starx
Copy link
Author

starx commented Mar 4, 2016

Errors are in regards to PHP's extensions: xdebug, sqllite and mongodb. If someone can guide me how to debug, I am happy to contribute.

@starx
Copy link
Author

starx commented Mar 4, 2016

Xdebug error:

==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet::Php::Xdebug/Exec[phpize && ./configure --enable-xdebug && make]/returns: In file included from /.puphpet-stuff/xdebug/xdebug.c:52:0:
==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet::Php::Xdebug/Exec[phpize && ./configure --enable-xdebug && make]/returns: /.puphpet-stuff/xdebug/php_xdebug.h:23:27: warning: missing terminating " character [enabled by default]
==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet::Php::Xdebug/Exec[phpize && ./configure --enable-xdebug && make]/returns:  #define XDEBUG_VERSION    "2.4.1-dev
==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet::Php::Xdebug/Exec[phpize && ./configure --enable-xdebug && make]/returns:                            ^
==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet::Php::Xdebug/Exec[phpize && ./configure --enable-xdebug && make]/returns: In file included from /.puphpet-stuff/xdebug/xdebug_handlers.h:22:0,
==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet::Php::Xdebug/Exec[phpize && ./configure --enable-xdebug && make]/returns:                  from /.puphpet-stuff/xdebug/php_xdebug.h:33,
==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet::Php::Xdebug/Exec[phpize && ./configure --enable-xdebug && make]/returns:                  from /.puphpet-stuff/xdebug/xdebug.c:52:
==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet::Php::Xdebug/Exec[phpize && ./configure --enable-xdebug && make]/returns: /.puphpet-stuff/xdebug/php_xdebug.h:23:27: warning: missing terminating " character [enabled by default]
==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet::Php::Xdebug/Exec[phpize && ./configure --enable-xdebug && make]/returns:  #define XDEBUG_VERSION    "2.4.1-dev
==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet::Php::Xdebug/Exec[phpize && ./configure --enable-xdebug && make]/returns:                            ^
==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet::Php::Xdebug/Exec[phpize && ./configure --enable-xdebug && make]/returns: /.puphpet-stuff/xdebug/xdebug.c:169:2: error: missing terminating " character
==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet::Php::Xdebug/Exec[phpize && ./configure --enable-xdebug && make]/returns:   XDEBUG_VERSION,
==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet::Php::Xdebug/Exec[phpize && ./configure --enable-xdebug && make]/returns:   ^
==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet::Php::Xdebug/Exec[phpize && ./configure --enable-xdebug && make]/returns: /.puphpet-stuff/xdebug/xdebug.c:169:16: error: expected expression before ',' token
==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet::Php::Xdebug/Exec[phpize && ./configure --enable-xdebug && make]/returns:   XDEBUG_VERSION,
==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet::Php::Xdebug/Exec[phpize && ./configure --enable-xdebug && make]/returns:                 ^
==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet::Php::Xdebug/Exec[phpize && ./configure --enable-xdebug && make]/returns: /.puphpet-stuff/xdebug/xdebug.c: In function 'zm_info_xdebug':
==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet::Php::Xdebug/Exec[phpize && ./configure --enable-xdebug && make]/returns: /.puphpet-stuff/xdebug/xdebug.c:1339:2: error: missing terminating " character
==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet::Php::Xdebug/Exec[phpize && ./configure --enable-xdebug && make]/returns:   php_info_print_table_row(2, "Version", XDEBUG_VERSION);
==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet::Php::Xdebug/Exec[phpize && ./configure --enable-xdebug && make]/returns:   ^
==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet::Php::Xdebug/Exec[phpize && ./configure --enable-xdebug && make]/returns: /.puphpet-stuff/xdebug/xdebug.c:1339:55: error: expected expression before ')' token
==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet::Php::Xdebug/Exec[phpize && ./configure --enable-xdebug && make]/returns:   php_info_print_table_row(2, "Version", XDEBUG_VERSION);
==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet::Php::Xdebug/Exec[phpize && ./configure --enable-xdebug && make]/returns:                                                        ^
==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet::Php::Xdebug/Exec[phpize && ./configure --enable-xdebug && make]/returns: /.puphpet-stuff/xdebug/xdebug.c: At top level:
==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet::Php::Xdebug/Exec[phpize && ./configure --enable-xdebug && make]/returns: /.puphpet-stuff/xdebug/xdebug.c:2712:2: error: missing terminating " character
==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet::Php::Xdebug/Exec[phpize && ./configure --enable-xdebug && make]/returns:   XDEBUG_VERSION,
==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet::Php::Xdebug/Exec[phpize && ./configure --enable-xdebug && make]/returns:   ^
==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet::Php::Xdebug/Exec[phpize && ./configure --enable-xdebug && make]/returns: /.puphpet-stuff/xdebug/xdebug.c:2712:16: error: expected expression before ',' token
==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet::Php::Xdebug/Exec[phpize && ./configure --enable-xdebug && make]/returns:   XDEBUG_VERSION,
==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet::Php::Xdebug/Exec[phpize && ./configure --enable-xdebug && make]/returns:                 ^
==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet::Php::Xdebug/Exec[phpize && ./configure --enable-xdebug && make]/returns: make: *** [xdebug.lo] Error 1
==> dev.ubuntu.puphpet: Error: phpize && ./configure --enable-xdebug && make returned 2 instead of one of [0]
==> dev.ubuntu.puphpet: Error: /Stage[main]/Puphpet::Php::Xdebug/Exec[phpize && ./configure --enable-xdebug && make]/returns: change from notrun to 0 failed: phpize && ./configure --enable-xdebug && make returned 2 instead of one of [0]
==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet::Php::Xdebug/Exec[copy xdebug.so to modules dir]: Dependency Exec[phpize && ./configure --enable-xdebug && make] has failures: true
==> dev.ubuntu.puphpet: Warning: /Stage[main]/Puphpet::Php::Xdebug/Exec[copy xdebug.so to modules dir]: Skipping because of failed dependencies
==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet::Php::Xdebug/File[/usr/bin/xdebug]/ensure: defined content as '{md5}813de5ab3b902336754e83d0391e375d'

@starx
Copy link
Author

starx commented Mar 4, 2016

SQLlite Error:

==> dev.ubuntu.puphpet: Notice: /Stage[main]/Supervisord::Reload/Exec[supervisorctl_update]: Triggered 'refresh' from 1 events
==> dev.ubuntu.puphpet: Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install php-sqlite' returned 100: Reading package lists...
==> dev.ubuntu.puphpet: Building dependency tree...
==> dev.ubuntu.puphpet: Reading state information...
==> dev.ubuntu.puphpet: E: Unable to locate package php-sqlite
==> dev.ubuntu.puphpet: Error: /Stage[main]/Puphpet_sqlite/Puphpet::Php::Pecl[sqlite]/Package[php-sqlite]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install php-sqlite' returned 100: Reading package lists...
==> dev.ubuntu.puphpet: Building dependency tree...
==> dev.ubuntu.puphpet: Reading state information...
==> dev.ubuntu.puphpet: E: Unable to locate package php-sqlite

I am guessing this is because there isn't any php7 specific extension of SQLlite. Same command with php5-sqlite runs

@starx
Copy link
Author

starx commented Mar 4, 2016

MongoDB Error:

==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet_mongodb/Puphpet::Php::Pecl[mongo]/Php::Pecl::Module[mongodb]/Exec[pecl-mongodb]/returns: checking for pkg-config... no
==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet_mongodb/Puphpet::Php::Pecl[mongo]/Php::Pecl::Module[mongodb]/Exec[pecl-mongodb]/returns: configure: error: Cannot find OpenSSL's libraries
==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet_mongodb/Puphpet::Php::Pecl[mongo]/Php::Pecl::Module[mongodb]/Exec[pecl-mongodb]/returns: ERROR: `/tmp/pear/temp/mongodb/configure --with-php-config=/usr/bin/php-config' failed
==> dev.ubuntu.puphpet: Notice: /Stage[main]/Puphpet_mongodb/Puphpet::Php::Pecl[mongo]/Php::Pecl::Module[mongodb]/Exec[pecl-mongodb]/returns: No information found for `mongodb'
==> dev.ubuntu.puphpet: Error: printf "\n" | pecl -d preferred_state=stable install mongodb && pecl info mongodb returned 1 instead of one of [0]
==> dev.ubuntu.puphpet: Error: /Stage[main]/Puphpet_mongodb/Puphpet::Php::Pecl[mongo]/Php::Pecl::Module[mongodb]/Exec[pecl-mongodb]/returns: change from notrun to 0 failed: printf "\n" | pecl -d preferred_state=stable install mongodb && pecl info mongodb returned 1 instead of one of [0]

Its complaining about OpenSSL's libraries

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant