Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Aptana RadRails ebuild, some garbage when installing
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
sezaru
n00b
n00b


Joined: 10 Aug 2006
Posts: 47

PostPosted: Tue Mar 23, 2010 5:59 pm    Post subject: Aptana RadRails ebuild, some garbage when installing Reply with quote

Hello guys, I've made an ebuild for the lastest version of Aptana RadRails, it's installs and uninstalls great, but when installing, it shows a lot of garbage about some files, since this is one of my first ebuilds i don't know how to fix it, so if someone can help it would be great :D
Another thing that's not working is the last few lines when it should warn a message to the user when they install the aptana without sudo support.

So.. that's the ebuild:
Code:
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

PVR="1268158942"

DESCRIPTION="The leading IDE for web application development"
HOMEPAGE="http://www.aptana.com"
SRC_URI="
   x86?   ( http://download.aptana.org/tools/radrails/standalone/${PV}.${PVR}/linux/Aptana_RadRails_Setup_Linux_x86_${PV}.zip )
   amd64?   ( http://download.aptana.org/tools/radrails/standalone/${PV}.${PVR}/linux/Aptana_RadRails_Setup_Linux_x86_64_${PV}.zip )"

LICENSE="MPL-1.1"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="+sudo rails mysql sqlite3 mongrel"

DEPEND="app-arch/unzip"
RDEPEND="
   >=virtual/jre-1.5
   >=dev-lang/python-2.6.4
   >=dev-lang/ruby-1.8.6
   >=virtual/rubygems-0
   || ( >=net-libs/xulrunner-bin-1.8 net-libs/xulrunner:1.8 )
   sudo? ( >=app-admin/sudo-1.7.2 )
   rails? ( >=dev-ruby/rails-2.3.5 )
   mysql? ( >=dev-ruby/mysql-ruby-2.8.1 )
   sqlite3? ( >=dev-ruby/sqlite3-ruby )
   mongrel? ( >=www-servers/mongrel-1.1.5 )"

src_unpack() {
   if use amd64; then
      unpack "Aptana_RadRails_Setup_Linux_x86_64_${PV}.zip"
   elif use x86; then
      unpack "Aptana_RadRails_Setup_Linux_x86_${PV}.zip"
   fi

   mv "${WORKDIR}/Aptana RadRails" "${S}" || die
   
   cd "${S}" || die
}

src_install() {
   dodir "/opt/${PN}"
   insinto "/opt/${PN}"
   doins -r configuration dropins plugins features p2 || die
   
   exeinto "/opt/${PN}"
   doexe AptanaRadRails || die
   dosym "/opt/${PN}/AptanaRadRails" "/usr/local/bin/aptana-radrails" || die

   newicon "${FILESDIR}/aptana.svg" AptanaRadRails.svg || die
   make_desktop_entry "aptana-radrails" "Aptana RadRails" AptanaRadRails "Development" || die
}

pkg_config() {
   if use ! sudo; then
      ewarn "The sudo flag is disabled, without sudo you can't update/install/remove yours gems with aptana, you can do it manually thought."
   fi
}


And that's the garbage portage give me when installing:
Code:
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-util/aptana-radrails-2.0.4 from unknown repo
 * Aptana_RadRails_Setup_Linux_x86_64_2.0.4.zip RMD160 SHA1 SHA256 size ;-) ...       [ ok ]                                                                 
 * checking ebuild checksums ;-) ...                                    [ ok ]
 * checking auxfile checksums ;-) ...                                   [ ok ]
 * checking miscfile checksums ;-) ...                                  [ ok ]
 * CPV:  dev-util/aptana-radrails-2.0.4                                       
 * REPO:                                                                       
 * USE:  amd64 elibc_glibc kernel_linux multilib userland_GNU                 
>>> Unpacking source...                                                       
>>> Unpacking Aptana_RadRails_Setup_Linux_x86_64_2.0.4.zip to /var/tmp/portage/dev-util/aptana-radrails-2.0.4/work                                           
>>> Source unpacked in /var/tmp/portage/dev-util/aptana-radrails-2.0.4/work   
>>> Compiling source in /var/tmp/portage/dev-util/aptana-radrails-2.0.4/work/aptana-radrails-2.0.4 ...                                                       
>>> Source compiled.                                                           
>>> Test phase [not enabled]: dev-util/aptana-radrails-2.0.4                   

>>> Install aptana-radrails-2.0.4 into /var/tmp/portage/dev-util/aptana-radrails-2.0.4/image/ category dev-util                                               
>>> Completed installing aptana-radrails-2.0.4 into /var/tmp/portage/dev-util/aptana-radrails-2.0.4/image/                                                   

strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment
   opt/aptana-radrails/AptanaRadRails                       
   opt/aptana-radrails/plugins/org.jruby_1.2.0.9419p2/lib/native/openbsd-i386/libjnidispatch.so                                                               
   opt/aptana-radrails/plugins/org.jruby_1.2.0.9419p2/lib/native/sunos-sparcv9/libjnidispatch.so                                                             
x86_64-pc-linux-gnu-strip: Unable to recognise the format of the input file `/var/tmp/portage/dev-util/aptana-radrails-2.0.4/image/opt/aptana-radrails/plugins/org.jruby_1.2.0.9419p2/lib/native/sunos-sparcv9/libjnidispatch.so'           
   opt/aptana-radrails/plugins/org.jruby_1.2.0.9419p2/lib/native/sunos-sparc/libjnidispatch.so                                                               
x86_64-pc-linux-gnu-strip: Unable to recognise the format of the input file `/var/tmp/portage/dev-util/aptana-radrails-2.0.4/image/opt/aptana-radrails/plugins/org.jruby_1.2.0.9419p2/lib/native/sunos-sparc/libjnidispatch.so'             
   opt/aptana-radrails/plugins/org.jruby_1.2.0.9419p2/lib/native/sunos-x86/libjnidispatch.so                                                                 
   opt/aptana-radrails/plugins/org.jruby_1.2.0.9419p2/lib/native/freebsd-i386/libjnidispatch.so                                                               
   opt/aptana-radrails/plugins/org.jruby_1.2.0.9419p2/lib/native/linux-amd64/libjnidispatch.so                                                               
   opt/aptana-radrails/plugins/org.jruby_1.2.0.9419p2/lib/native/sunos-amd64/libjnidispatch.so                                                               
   opt/aptana-radrails/plugins/org.jruby_1.2.0.9419p2/lib/native/freebsd-amd64/libjnidispatch.so                                                             
   opt/aptana-radrails/plugins/org.jruby_1.2.0.9419p2/lib/native/linux-i386/libjnidispatch.so                                                                 
   opt/aptana-radrails/plugins/org.jruby_1.2.0.9419p2/lib/native/x86-SunOS/libjffi.so                                                                         
   opt/aptana-radrails/plugins/org.jruby_1.2.0.9419p2/lib/native/i386-Linux/libjffi.so                                                                       
   opt/aptana-radrails/plugins/org.jruby_1.2.0.9419p2/lib/native/amd64-SunOS/libjffi.so                                                                       
   opt/aptana-radrails/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.200.v20090519/eclipse_1206.so                                               

 * QA Notice: The following files contain runtime text relocations
 *  Text relocations force the dynamic linker to perform extra   
 *  work at startup, waste system resources, and may pose a security
 *  risk.  On some architectures, the code may not even function   
 *  properly, if at all.                                           
 *  For more information, see http://hardened.gentoo.org/pic-fix-guide.xml
 *  Please include the following list of files in your report:           
 * TEXTREL opt/aptana-radrails/plugins/org.jruby_1.2.0.9419p2/lib/native/openbsd-i386/libjnidispatch.so                                                       

scanelf: scanelf_file_phdr(): /var/tmp/portage/dev-util/aptana-radrails-2.0.4/image/opt/aptana-radrails/plugins/org.jruby_1.2.0.9419p2/lib/native/openbsd-i386/libjnidispatch.so: more than 2 PT_LOAD's !?                                   
scanelf: scanelf_file_phdr(): /var/tmp/portage/dev-util/aptana-radrails-2.0.4/image/opt/aptana-radrails/plugins/org.jruby_1.2.0.9419p2/lib/native/openbsd-i386/libjnidispatch.so: more than 2 PT_LOAD's !?                                   

 * QA Notice: The following files contain writable and executable sections
 *  Files with such sections will not work properly (or at all!) on some 
 *  architectures/operating systems.  A bug should be filed at           
 *  http://bugs.gentoo.org/ to make sure the issue is fixed.             
 *  For more information, see http://hardened.gentoo.org/gnu-stack.xml   
 *  Please include the following list of files in your report:           
 *  Note: Bugs should be filed for the respective maintainers             
 *  of the package in question and not hardened@g.o.
 * --- --- RWX opt/aptana-radrails/plugins/org.jruby_1.2.0.9419p2/lib/native/sunos-sparcv9/libjnidispatch.so
 * --- --- RWX opt/aptana-radrails/plugins/org.jruby_1.2.0.9419p2/lib/native/sunos-sparc/libjnidispatch.so
 * --- --- RWX opt/aptana-radrails/plugins/org.jruby_1.2.0.9419p2/lib/native/sunos-x86/libjnidispatch.so
 * RWX --- --- opt/aptana-radrails/plugins/org.jruby_1.2.0.9419p2/lib/native/linux-amd64/libjnidispatch.so
 * RWX --- --- opt/aptana-radrails/plugins/org.jruby_1.2.0.9419p2/lib/native/linux-i386/libjnidispatch.so
 * --- --- RWX opt/aptana-radrails/plugins/org.jruby_1.2.0.9419p2/lib/native/x86-SunOS/libjffi.so


>>> Installing (1 of 1) dev-util/aptana-radrails-2.0.4
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.



Thanks in advance
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum