Installing kicad(-doc) from overlay fails [Solved]

Anything that pertains to Portage

Moderator: Moderators

Installing kicad(-doc) from overlay fails [Solved]

Postby kiki » Sat Sep 06, 2014 0:00

Hello everyone,

I'm quite new to sabayon and this is my first encounter with emerge in this distro. My intention was to install kicad, so I chose the overlay gentoo-hacking with layman, ran an emerge --sync and --pretend and installed all of the dependencies with rigo (as far as possible), just as the wiki suggested it. I needed to adjust some keywords and use flags , some others were masked. As someone on the IRC channel told me I just ignored the masks and started compiling with emerge sci-electronics/kicad. When arriving at kicad-doc, the build process failed with the following error:

Code: Select all
>>> Failed to emerge sci-electronics/kicad-doc-20140717, Log file:

>>>  '/var/tmp/portage/sci-electronics/kicad-doc-20140717/temp/build.log'

 * Messages for package sci-electronics/kicad-doc-20140717:

 * ERROR: sci-electronics/kicad-doc-20140717::hacking-gentoo failed (install phase):
 *   doins failed


As emerge suggested, I uploaded

Afterwards, someone on the IRC recommended to install flash separately, and so I did. The output of emerge -pqv now only contains the first line (about the ebuild). I googled the error and also used the forum search, but neither returned any helpful results.

Any help is much appreciated :)
Last edited by kiki on Sat Sep 06, 2014 19:51, edited 1 time in total.
kiki
Baby Hen
 
Posts: 6
Joined: Fri Sep 05, 2014 23:11

Re: Installing kicad(-doc) from overlay fails

Postby Fitzcarraldo » Sat Sep 06, 2014 9:32

From the output you posted:

Code: Select all
install: cannot stat ‘/var/tmp/portage/sci-electronics/kicad-doc-20140717/work/kicad-doc-20140717+5006/doc/help/de/*.pdf’: No such file or directory

Try installing sci-electronics/kicad-doc first, or, alternatively, merging sci-electronics/kicad with USE="-doc".
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 8078
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Installing kicad(-doc) from overlay fails

Postby kiki » Sat Sep 06, 2014 10:58

Thank you for your reply, Fitzcarraldo! Unfortunately, "-doc" is already set for kicad and kicad-doc is installed before any other kicad. However, your reply gave me the idea to remove the language flags I don't need (everything but en) and that worked.

After emerging kicad-doc successfully, I ran into the next error: http://npaste.de/p/io/

The download for kicad-fp-library couldn't be found and even after an "emerge --sync && layman -S" the error persisted.
kiki
Baby Hen
 
Posts: 6
Joined: Fri Sep 05, 2014 23:11

Re: Installing kicad(-doc) from overlay fails

Postby Fitzcarraldo » Sat Sep 06, 2014 11:18

Try searching for kicad-fp-library-20140727.tar.bz2 on the Web by using a search engine. If you can find a copy on-line, download it and copy it into /usr/portage/distfiles/ then try merging again.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 8078
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Installing kicad(-doc) from overlay fails

Postby kiki » Sat Sep 06, 2014 11:56

I can't find it anywhere :( Other overlays all use way older versions, so I suppose I need to compile it without any package management if I want to have a newer version.
kiki
Baby Hen
 
Posts: 6
Joined: Fri Sep 05, 2014 23:11

Re: Installing kicad(-doc) from overlay fails

Postby Fitzcarraldo » Sat Sep 06, 2014 12:11

Your problem is that the ebuild is looking for kicad-fp-library-20140727.tar.bz2 but the repository http://downloads.mad-hacking.net/software/ does not have it. Either the ebuild is wrong or the developer of the tarball has deleted or renamed the tarball. He does have a couple of tarballs with similar names (kicad-library-20140717+5006.tar.bz2 and kicad-library-walter-20140717.tar.bz2) so you could try downloading either of them, renaming it, copying it to /usr/portage/distfiles/ and see if it works.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 8078
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Installing kicad(-doc) from overlay fails

Postby kiki » Sat Sep 06, 2014 19:50

Substituting the package didn't work due to checksum errors, so I tried and changed the ebuild and removed the fp-library from the dependencies. Installation took some time and finished without errors, and every Kicad component starts without error.

Here's the modified ebuild: http://npaste.de/p/5mW4/ The new checksums for the Manifest file are:
Code: Select all
EBUILD kicad-20140717.ebuild 2345 SHA256 06cc8c970a1883c9405aa02f79fb73a771064b870f9e52651df5a8847f5589b5 SHA512 5267fd90044bac5a8859bf96845b5f4c6850afd5e25d08dcdbd143996cc4a5fee24f701ffab7fe8c2ac695cd0d094e2bfc0a828ce99b3e5b7e80f9b288bafe0d WHIRLPOOL fca160b25ef97fc07bc7523b1a35f565765cb1266e990854a74be39a01c9a78c3d28935e22d3170b53fc279e4c176d6541c0110d772b044e54306e097f46f613


I'll mark this as solved now and see if I can contact the people who maintain the overlay. Thanks for your help, Fitzcarraldo!
kiki
Baby Hen
 
Posts: 6
Joined: Fri Sep 05, 2014 23:11


Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 1 guest