Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fetch problem for an custom ebuild [SOLVED]
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
lbalan79
n00b
n00b


Joined: 12 Jun 2005
Posts: 56

PostPosted: Fri Jul 17, 2009 4:32 am    Post subject: Fetch problem for an custom ebuild [SOLVED] Reply with quote

I am trying to install the adaptec manager from https://bugs.gentoo.org/261634. For some reason I can not get the ebuild to digest. It always gives the following message:

Code:
ebuild asm-6.10.18359.ebuild digest

!!! app-admin/asm-6.10.18359 has fetch restriction turned on.
!!! This probably means that this ebuild's files must be downloaded
!!! manually.  See the comments in the ebuild for more information.

 * asm_linux_x86_v6_10_18359.rpm
 * Please download the appropriate asm RPM-archive:
 *
 * wget http://download.adaptec.com/raid/storage_manager/asm_linux_x64_v6_10_18359.rpm -P /usr/portage/distfiles
!!! Fetch failed for asm_linux_x86_v6_10_18359.rpm, can't update Manifest


Of course i did run wget http://download.adaptec.com/raid/storage_manager/asm_linux_x64_v6_10_18359.rpm -P /usr/portage/distfiles and I have the file on my machine.

Any ideas?


Last edited by lbalan79 on Sat Jul 18, 2009 4:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
sebaro
Veteran
Veteran


Joined: 03 Jul 2006
Posts: 1129
Location: Romania

PostPosted: Fri Jul 17, 2009 5:20 am    Post subject: Re: Fetch problem for an custom ebuild Reply with quote

lbalan79 wrote:

!!! app-admin/asm-6.10.18359 has fetch restriction turned on.
!!! This probably means that this ebuild's files must be downloaded
!!! manually. See the comments in the ebuild for more information.

* Please download the appropriate asm RPM-archive:
* wget http://download.adaptec.com/raid/storage_manager/asm_linux_x64_v6_10_18359.rpm -P /usr/portage/distfiles


For some packages/ebuilds you have to download them yourself.
Back to top
View user's profile Send private message
lbalan79
n00b
n00b


Joined: 12 Jun 2005
Posts: 56

PostPosted: Fri Jul 17, 2009 11:51 pm    Post subject: Reply with quote

Yes, I know that. I have the file under /usr/portage/distfiles and even under /usr/local/portage/distfiles with read rights. Tried even 777 rights on those files. For some reason the emerge fetch still does not pick them up.
Back to top
View user's profile Send private message
sebaro
Veteran
Veteran


Joined: 03 Jul 2006
Posts: 1129
Location: Romania

PostPosted: Sat Jul 18, 2009 5:26 am    Post subject: Reply with quote

Code:
ebuild asm-6.10.18359.ebuild digest
 
 !!! app-admin/asm-6.10.18359 has fetch restriction turned on.
 !!! This probably means that this ebuild's files must be downloaded
 !!! manually.  See the comments in the ebuild for more information.
 
  * asm_linux_x86_v6_10_18359.rpm
  * Please download the appropriate asm RPM-archive:
  *
  * wget http://download.adaptec.com/raid/storage_manager/asm_linux_x64_v6_10_18359.rpm -P /usr/portage/distfiles
 !!! Fetch failed for asm_linux_x86_v6_10_18359.rpm, can't update Manifest

As you can see, you need the x86 version but you're fetching x64.

Try
Code:
wget http://download.adaptec.com/raid/storage_manager/asm_linux_x86_v6_10_18359.rpm -P /usr/portage/distfiles
Back to top
View user's profile Send private message
TrueDFX
Retired Dev
Retired Dev


Joined: 02 Jun 2004
Posts: 1348

PostPosted: Sat Jul 18, 2009 12:54 pm    Post subject: Reply with quote

sebaro wrote:
As you can see, you need the x86 version but you're fetching x64.
You're right, but not for the right reason. :) What you're pointing out seems to be a bug in the ebuild:
Code:
   einfo "${PN}_linux_x86_v${MY_PV}.rpm"
   einfo "Please download the appropriate asm RPM-archive:"
   einfo ""
   einfo "wget http://download.adaptec.com/raid/storage_manager/${PN}_linux_${MYARCH}_v${MY_PV}.rpm -P ${DISTDIR}"
The first line unconditionally prints _x86_, while the last line picks up the arch.

You do need the x86 file, but only here when you're running ebuild digest: without all the files for all the arches, it cannot list those files' checksums in the Manifest file it's supposed to create.
Back to top
View user's profile Send private message
lbalan79
n00b
n00b


Joined: 12 Jun 2005
Posts: 56

PostPosted: Sat Jul 18, 2009 4:25 pm    Post subject: Reply with quote

Thank you so much for your help. Finally got it working.

Really appreciate it.
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