Jump to content

Photo

tengine passenger fails to build

- - - - - tengine passenger

9 replies to this topic

#1
uudruid74

uudruid74

    Advanced Member

  • Members
  • PipPipPip
  • 134 posts
  • LocationDallas, TX USA

OK, I'm new to tengine and passenger and just kinda blindly following the How-To's at this point.  I don't know if I really need passenger yet, but I'm thinking something is going to need it eventually.  Here's where I'm at (and I tried to set Ruby to 19 via eselect, didn't help):

>>>  '/var/tmp/portage/www-servers/tengine-2.1.0-r1/temp/build.log'

 * Messages for package www-servers/tengine-2.1.0-r1:

 * tengine group already exist.
 * group creation step skipped.
 * tengine user already exist.
 * user creation step skipped.
 * ERROR: www-servers/tengine-2.1.0-r1 failed (prepare phase):
 *   Passenger premake for /usr/bin/ruby19 failed!
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 5730:  Called _ruby_each_implementation 'passenger_premake'
 *   environment, line  581:  Called _ruby_invoke_environment 'ruby19' 'passenger_premake'
 *   environment, line  676:  Called passenger_premake
 *   environment, line 4594:  Called die
 * The specific snippet of code:
 *       rake -m nginx || die "Passenger premake for ${RUBY} failed!"
 *
 * If you need support, post the output of `emerge --info '=www-servers/tengine-2.1.0-r1'`,
 * the complete build log and the output of `emerge -pqv '=www-servers/tengine-2.1.0-r1'`.
 * The complete build log is located at '/var/tmp/portage/www-servers/tengine-2.1.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-servers/tengine-2.1.0-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/www-servers/tengine-2.1.0-r1/work/ruby19/tengine-2.1.0/passenger-release-5.0.6'
 * S: '/var/tmp/portage/www-servers/tengine-2.1.0-r1/work/ruby19/tengine-2.1.0'

Should I post the contents of any files?

 


https://github.com/u.../bashTheObjects -- Object Oriented Programming in BASH !!
https://eddon.systems -- Stuff I'm Working on.


#2
666threesixes666

666threesixes666

    Advanced Member

  • Members
  • PipPipPip
  • 129 posts

use newer ruby....   ruby22 (with Rubygems) *

 

i symlinked ruby and gem when i installed ruby, it wasn't working right at first.  the ruby page is possibly super out of date and may need updates....

 

/usr/bin/ruby -> ruby22

/usr/bin/gem -> gem22

 

make sure they're symlinked.

 

post the build log.


Duke: No more of that talk or I'll put the f*cking leeches on you, understand?

 

Paul: [about Percy] The man is mean and careless and stupid, and that's a bad combination in a place like this.


#3
uudruid74

uudruid74

    Advanced Member

  • Members
  • PipPipPip
  • 134 posts
  • LocationDallas, TX USA

I think I see what is happening.  The HOW-TO mentions to specify it to be external, like this:

TENGINE_EXTERNAL_MODULES_HTTP="passenger"

and I just realized that external could mean that the build is external to tengine, so I have to build it separately.  Sure enough, passenger has a separate ebuild, which wants to pull in apache!   But, it tried to build passenger when I emerged tengine, so I'll assume that was correct and the passenger ebuild is just for apache.

 

Well ... it finished successfully!   How odd.  I could have sworn I tried ruby22.  And BTW, 'eselect' is likely the preferred way to manage your Ruby version rather than a manual symlink.  It lets you switch back and forth.  Anyway, thanks for the help!


https://github.com/u.../bashTheObjects -- Object Oriented Programming in BASH !!
https://eddon.systems -- Stuff I'm Working on.


#4
uudruid74

uudruid74

    Advanced Member

  • Members
  • PipPipPip
  • 134 posts
  • LocationDallas, TX USA

NO, wait!  WTF am I smoking?  I must have been looking at the wrong screen or soemthing.  I see a failure message.   And it looks like its complaining about ruby21 now.   And I try it again and it complains about ruby19!!   What is IT smoking?

navi ~ # ls -l /usr/bin/ruby
lrwxrwxrwx 1 root root 6 Jun 29 19:30 /usr/bin/ruby -> ruby22
navi ~ #  ls -l /usr/bin/gem
lrwxrwxrwx 1 root root 5 Jun 29 19:30 /usr/bin/gem -> gem22

Emerge:

>>> Failed to emerge www-servers/tengine-2.1.0-r1, Log file:

>>>  '/var/tmp/portage/www-servers/tengine-2.1.0-r1/temp/build.log'

 * Messages for package www-servers/tengine-2.1.0-r1:

 * tengine group already exist.
 * group creation step skipped.
 * tengine user already exist.
 * user creation step skipped.
 * ERROR: www-servers/tengine-2.1.0-r1 failed (prepare phase):
 *   Passenger premake for /usr/bin/ruby19 failed!
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 5724:  Called _ruby_each_implementation 'passenger_premake'
 *   environment, line  581:  Called _ruby_invoke_environment 'ruby19' 'passenger_premake'
 *   environment, line  676:  Called passenger_premake
 *   environment, line 4588:  Called die
 * The specific snippet of code:
 *       rake -m nginx || die "Passenger premake for ${RUBY} failed!"
 *
 * If you need support, post the output of `emerge --info '=www-servers/tengine-2.1.0-r1'`,
 * the complete build log and the output of `emerge -pqv '=www-servers/tengine-2.1.0-r1'`.
 * The complete build log is located at '/var/tmp/portage/www-servers/tengine-2.1.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-servers/tengine-2.1.0-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/www-servers/tengine-2.1.0-r1/work/ruby19/tengine-2.1.0/passenger-release-5.0.6'
 * S: '/var/tmp/portage/www-servers/tengine-2.1.0-r1/work/ruby19/tengine-2.1.0'

I am not permitted to upload this type of file (build.log).  So here's a paste

 

http://paste.ubuntu.com/11796523/

 

Why is the spellchecker underlining EVERYTHING?

 

 


https://github.com/u.../bashTheObjects -- Object Oriented Programming in BASH !!
https://eddon.systems -- Stuff I'm Working on.


#5
666threesixes666

666threesixes666

    Advanced Member

  • Members
  • PipPipPip
  • 129 posts

yeah, its not the ebuild passenger....  its a use flag that pulls in tengine specific passenger.

 

"Your compiler failed with the exit status 4. This probably means that it ran out of memory."

 

i was having problems with this message until i updated world.....

 

so add that line to make.conf if you haven't already, update world, then try emerge -av tengine again =)


Duke: No more of that talk or I'll put the f*cking leeches on you, understand?

 

Paul: [about Percy] The man is mean and careless and stupid, and that's a bad combination in a place like this.


#6
uudruid74

uudruid74

    Advanced Member

  • Members
  • PipPipPip
  • 134 posts
  • LocationDallas, TX USA

yeah, its not the ebuild passenger....  its a use flag that pulls in tengine specific passenger.

 

"Your compiler failed with the exit status 4. This probably means that it ran out of memory."

 

i was having problems with this message until i updated world.....

 

so add that line to make.conf if you haven't already, update world, then try emerge -av tengine again =)

 

 

Ugh ... 4 GB isn't enough ??  World fails when it hits tengine again.   Trying to do @preserved-rebuild, but I don't see anything that would help a memory problem.  I guess I'll have to turn on swap to a file.  I don't have X or anything running that would eat up RAM. 

 

@preserved-rebuild fails building courier-imap.   Adding swap is not an option.


https://github.com/u.../bashTheObjects -- Object Oriented Programming in BASH !!
https://eddon.systems -- Stuff I'm Working on.


#7
uudruid74

uudruid74

    Advanced Member

  • Members
  • PipPipPip
  • 134 posts
  • LocationDallas, TX USA

Let's go again, this time its trying to rebuild stuff that's supposed to work.   It all worked fine before! And courier-unicode is installed at the latest version.   I'm doing an -auDNv courier-imap to upgrade depends before @preserved-rebuild since world failed.

 

First line appears to be an ebuild bug??

configure: error: The Courier Unicode Library appears not to be installed. You may need to install a separate development subpackage, in addition to the main package

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-mail/courier-imap-4.16.0/work/courier-imap-4.16.0/config.log
 * ERROR: net-mail/courier-imap-4.16.0 failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 2685:  Called econf '--disable-root-check' '--bindir=/usr/sbin' '--sysconfdir=/etc/courier-imap' '--libexecdir=/usr/lib64/courier-imap' '--localstatedir=/var/lib/courier-imap' '--with-authdaemonvar=/var/lib/courier-imap/authdaemon' '--enable-workarounds-for-imap-client-bugs' '--with-mailuser=mail' '--with-mailgroup=mail' '--with-fam' '--with-ipv6' '--without-gnutls' '--with-db=gdbm'
 *   phase-helpers.sh, line  526:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *
 * If you need support, post the output of `emerge --info '=net-mail/courier-imap-4.16.0'`,
 * the complete build log and the output of `emerge -pqv '=net-mail/courier-imap-4.16.0'`.
 * The complete build log is located at '/var/tmp/portage/net-mail/courier-imap-4.16.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-mail/courier-imap-4.16.0/temp/environment'.
 * Working directory: '/var/tmp/portage/net-mail/courier-imap-4.16.0/work/courier-imap-4.16.0'
 * S: '/var/tmp/portage/net-mail/courier-imap-4.16.0/work/courier-imap-4.16.0'

>>> Failed to emerge net-mail/courier-imap-4.16.0, Log file:

>>>  '/var/tmp/portage/net-mail/courier-imap-4.16.0/temp/build.log'

 * Messages for package net-mail/courier-imap-4.16.0:

 * ERROR: net-mail/courier-imap-4.16.0 failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 2685:  Called econf '--disable-root-check' '--bindir=/usr/sbin' '--sysconfdir=/etc/courier-imap' '--libexecdir=/usr/lib64/courier-imap' '--localstatedir=/var/lib/courier-imap' '--with-authdaemonvar=/var/lib/courier-imap/authdaemon' '--enable-workarounds-for-imap-client-bugs' '--with-mailuser=mail' '--with-mailgroup=mail' '--with-fam' '--with-ipv6' '--without-gnutls' '--with-db=gdbm'
 *   phase-helpers.sh, line  526:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *
 * If you need support, post the output of `emerge --info '=net-mail/courier-imap-4.16.0'`,
 * the complete build log and the output of `emerge -pqv '=net-mail/courier-imap-4.16.0'`.
 * The complete build log is located at '/var/tmp/portage/net-mail/courier-imap-4.16.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-mail/courier-imap-4.16.0/temp/environment'.
 * Working directory: '/var/tmp/portage/net-mail/courier-imap-4.16.0/work/courier-imap-4.16.0'
 * S: '/var/tmp/portage/net-mail/courier-imap-4.16.0/work/courier-imap-4.16.0'

Trying emerge @system to see what happens.  Something is borked somewhere.


https://github.com/u.../bashTheObjects -- Object Oriented Programming in BASH !!
https://eddon.systems -- Stuff I'm Working on.


#8
uudruid74

uudruid74

    Advanced Member

  • Members
  • PipPipPip
  • 134 posts
  • LocationDallas, TX USA

Courier is fixed via new imap release ... unicode lib update broke the reinstall.   Passenger I am giving up on.  I don't use Ruby anyway and it was just going to be a toy to try out.


https://github.com/u.../bashTheObjects -- Object Oriented Programming in BASH !!
https://eddon.systems -- Stuff I'm Working on.


#9
Oleg Vinichenko

Oleg Vinichenko

    Staff

  • Moderators
  • 357 posts

please, generate and paste here md5 sum of tengine tarball in /usr/portage/distfiles


www.funtoo.org

#10
uudruid74

uudruid74

    Advanced Member

  • Members
  • PipPipPip
  • 134 posts
  • LocationDallas, TX USA

I would, but its not there.   Its nearly empty.  Ah ... its in /var/src/distfiles!!  Here you go:

 

navi distfiles # md5sum tengine-2.1.0.tar.gz
fb60c57c2610c6a356153613c485e4af  tengine-2.1.0.tar.gz
 


https://github.com/u.../bashTheObjects -- Object Oriented Programming in BASH !!
https://eddon.systems -- Stuff I'm Working on.




Reply to this topic



  



Also tagged with one or more of these keywords: tengine, passenger

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users