pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/39333: Mongrel build fails as non root user

>Number:         39333
>Category:       pkg
>Synopsis:       Mongrel build fails as non root user
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 10 13:45:02 +0000 2008
>Originator:     Bernd Ernesti
>Release:        NetBSD 4.99.71

System: NetBSD 4.99.71
Architecture: i386
Machine: i386

# pkg_info | grep ruby
ruby18-base- Ruby 1.8 based release minimum package
rubygems-1.1.1nb2   Ruby standard for publishing and managing third party 
ruby18-activesupport-2.1.0 Collection of classes and extensions for Rails
ruby18-activerecord-2.1.0 Object-relation mapping put on rails
ruby18-activeresource-2.1.0 Object-relational mapping for REST webservices
ruby18-actionpack-2.1.0 Two-step approach to web response generation
ruby18-actionmailer-2.1.0 Ruby framework for designing email-service layers
ruby18-daemons-1.0.10 Toolkit to convert Ruby scripts to a daemon
ruby18-gem_plugin-0.2.3 Gem-based plugin system


        There are several problems:
        - what is the 'WARNING:  no email specified'?
        - it would be nice to fix the 'WARNING:  bin/mongrel_rails is missing 
#! line' warning
        - ERROR: Failed to build gem native extension.
        - make uses '-o root -g wheel' options for install in the build stage

===> Building for mongrel-1.1.4nb1
WARNING:  no email specified
WARNING:  bin/mongrel_rails is missing #! line
  Successfully built RubyGem
  Name: mongrel
  Version: 1.1.4
  File: mongrel-1.1.4.gem
=> Installing gem into installation root
Building native extensions.  This could take a while...
ERROR:  Error installing 
        ERROR: Failed to build gem native extension.

/usr/pkg/bin/ruby18 extconf.rb install --no-update-sources --install-dir 
/usr/pkg/lib/ruby/gems/1.8 --install-root /pkgsrc/www/mongrel/work.i386/.inst 
--local /pkgsrc/www/mongrel/work.i386/mongrel-1.1.4/mongrel-1.1.4.gem -- 
checking for main() in -lc... yes
creating Makefile

cc -I. -I. -I/usr/pkg/lib/ruby/1.8/i386-netbsdelf -I. -I/usr/include  
-I/usr/include -fPIC -O2 -pthread -I/usr/include  -fPIC -pipe  -c http11.c
cc -I. -I. -I/usr/pkg/lib/ruby/1.8/i386-netbsdelf -I. -I/usr/include  
-I/usr/include -fPIC -O2 -pthread -I/usr/include  -fPIC -pipe  -c 
cc -shared -o http11.o http11_parser.o -L. -L/usr/pkg/lib 
-Wl,-R/usr/pkg/lib -L. -pthread -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib 
-Wl,-export-dynamic    -Wl,-R -Wl,/usr/pkg/lib -L/usr/pkg/lib -lruby18 -lc  
-lpthread -lcrypt -lm   -lc

make install
/usr/bin/install -c -o root -g wheel -m 0755 
 chown/chgrp: Operation not permitted
*** Error code 1

        cd www/mongrel

Home | Main Index | Thread Index | Old Index