Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ImageMagick-6.7.1-0 fail emerging
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ZeTaKa
n00b
n00b


Joined: 26 Jan 2004
Posts: 25
Location: /home/zK

PostPosted: Sun Aug 07, 2011 8:37 am    Post subject: ImageMagick-6.7.1-0 fail emerging Reply with quote

Hi! i back to use gentoo after much time outside Linux world and have this fail in Imagemagick's emerge:

emerge --info =media-gfx/imagemagick-6.7.1.0

http://pastebin.com/MnmGj53v

If any know how solve it, will make to me a big favor, for is needed for install gnome

Thanks for all

Edit: The fail is:


libtool: install: /usr/bin/install -c coders/.libs/xwd.soT /var/tmp/portage/media-gfx/imagemagick-6.7.1.0/image//usr/lib64/ImageMagick-6.7.1/modules-Q16/coders/xwd.so
libtool: install: /usr/bin/install -c coders/.libs/xwd.lai /var/tmp/portage/media-gfx/imagemagick-6.7.1.0/image//usr/lib64/ImageMagick-6.7.1/modules-Q16/coders/xwd.la
libtool: install: warning: remember to run `libtool --finish /usr/lib64/ImageMagick-6.7.1/modules-Q16/coders'
make[2]: Leaving directory `/var/tmp/portage/media-gfx/imagemagick-6.7.1.0/work/ImageMagick-6.7.1-0'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/media-gfx/imagemagick-6.7.1.0/work/ImageMagick-6.7.1-0'
make: *** [install] Error 2
* ERROR: media-gfx/imagemagick-6.7.1.0 failed (install phase):
Cant understand for if i compile with ./configure && make && make install work perfectly, but don't count for portage, and continue without gnome

I think imagemagick isnt needed by gnome, is possible ignore it?
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Sun Aug 07, 2011 12:04 pm    Post subject: Reply with quote

Would you mind posting the actual error ?
Back to top
View user's profile Send private message
ZeTaKa
n00b
n00b


Joined: 26 Jan 2004
Posts: 25
Location: /home/zK

PostPosted: Sun Aug 07, 2011 12:28 pm    Post subject: Reply with quote

i mind you want all the log, but don't sure for my english is really poor. For if this what you want i post in new pastebin

http://pastebin.com/M3YZ3GJX

i have hope this is what you want.

Thanks for all
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Sun Aug 07, 2011 3:01 pm    Post subject: Reply with quote

It seems that the error is 'Could not find a typemap for C type 'Image::Magick' in Magick.xs, line 2404'.
Chances are it's actually a parallel make failure.
Back to top
View user's profile Send private message
ZeTaKa
n00b
n00b


Joined: 26 Jan 2004
Posts: 25
Location: /home/zK

PostPosted: Sun Aug 07, 2011 6:03 pm    Post subject: Reply with quote

With a risk to look really newbie, for really im, after 5/6 years without use Linux, how can i solve it?

Thanks and sorry but i'm googleing and don't find it.
Back to top
View user's profile Send private message
tetromino
Retired Dev
Retired Dev


Joined: 02 Dec 2003
Posts: 215

PostPosted: Sun Aug 07, 2011 6:40 pm    Post subject: Reply with quote

ZeTaKa wrote:
With a risk to look really newbie, for really im, after 5/6 years without use Linux, how can i solve it?

Try building imagemagick with a non-parallel make (i.e. with only one job being run at a time):
MAKEOPTS=-j1 emerge -1 imagemagick

If that helps, you should probably file a bug about it, so that maintainers can figure out why parallel make does not work for this package.
Back to top
View user's profile Send private message
ZeTaKa
n00b
n00b


Joined: 26 Jan 2004
Posts: 25
Location: /home/zK

PostPosted: Sun Aug 07, 2011 7:08 pm    Post subject: Reply with quote

I read it, in first google but just emerge -1 imagemagick , now im making a update of packages just for try, and after finish, will try. Thanks for all :)

Fail continue and thinking to use kde xD
Back to top
View user's profile Send private message
DaSchwartz
n00b
n00b


Joined: 07 Aug 2011
Posts: 4

PostPosted: Sun Aug 07, 2011 9:53 pm    Post subject: Reply with quote

I had the same error, and I havent been able to solve it yet. If anyone finds a solution, please reply to this or send me a PM.

Thanks!
Back to top
View user's profile Send private message
ZeTaKa
n00b
n00b


Joined: 26 Jan 2004
Posts: 25
Location: /home/zK

PostPosted: Mon Aug 08, 2011 12:26 pm    Post subject: Reply with quote

I post it to bug tacker
Back to top
View user's profile Send private message
Smoothhound
Tux's lil' helper
Tux's lil' helper


Joined: 23 Sep 2003
Posts: 149

PostPosted: Mon Aug 08, 2011 3:30 pm    Post subject: Reply with quote

I too have the same issue.

You can workaround it by disabling the perl use flag (if you can live without the Perl bindings). I couldn't find a bug on the tracker, did you raise one?
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Mon Aug 08, 2011 3:58 pm    Post subject: Reply with quote

Smoothhound wrote:
I too have the same issue.

You can workaround it by disabling the perl use flag (if you can live without the Perl bindings). I couldn't find a bug on the tracker, did you raise one?


I just had this problem too. It seems that a perl upgrade broke something. Here is a possible fix:

Code:
perl-cleaner --reallyall -- --jobs --keep-going


I am running it now. I am so busy that I might not have time to report back the result.

Note that the flags after "--" are flags to emerge. You don't need them, but I like to use them to speed things up.

Update: That didn't work, but it did show to me that the build systems for app-editors/vim and media-gfx/imagemagick, media-gfx/graphicsmagick are all broken on my system.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Mon Aug 08, 2011 6:02 pm    Post subject: Reply with quote

There's a recent bug in bugzilla about graphicsmagick, that looks suspiciously similar - the error there is also about 'Could not find a typemap for C type'.
Back to top
View user's profile Send private message
Odysseus
Apprentice
Apprentice


Joined: 23 Jun 2004
Posts: 250
Location: Miami, FL. I miss San Francisco!!!

PostPosted: Mon Aug 08, 2011 10:12 pm    Post subject: Reply with quote

I can confirm this is a perl related issue. I recompiled my entire system on Saturday after updating to GCC-4.5.3 late on Friday. Imagemagick was the only application that failed to re-emerge. I struggled using different settings trying to get it to build. I tried MAKEOPTS="j1", with no effect.

A few hours ago I discovered this thread in the forum and saw that Smoothhound and Shining Arcanine had mentioned perl as a possible culprit. I then tried to re-emerge imagemagick with USE="-perl" and it emerged without an issue.

I'm filing a bug report as soon a I finish posting this and I will reference this thread.

I hope this helps.

Ciao
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Tue Aug 09, 2011 4:28 am    Post subject: Reply with quote

VoidMage wrote:
There's a recent bug in bugzilla about graphicsmagick, that looks suspiciously similar - the error there is also about 'Could not find a typemap for C type'.


I think it is the same issue. Something changed in portage that broke this on both new systems and existing systems, but at this point, I have no idea what.

It is a shame we can't git-bisect the portage tree with a tinderbox. That would catch the issue.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Tue Aug 09, 2011 11:42 am    Post subject: Reply with quote

In the graphicsmagick bug, there's a claim perl-core/ExtUtils-ParseXS-3.20.0 is the culprit.
Back to top
View user's profile Send private message
ZeTaKa
n00b
n00b


Joined: 26 Jan 2004
Posts: 25
Location: /home/zK

PostPosted: Tue Aug 09, 2011 12:25 pm    Post subject: Reply with quote

But i cant understand how can compile it, without any problem with ./configure && make && make install, but with emerge fails, the most possible is any "extra option" in ./configure

If solve it, please post howto for i try a lot of thinks and in all have fail.
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Tue Aug 09, 2011 4:44 pm    Post subject: Reply with quote

VoidMage, thanks for the tip. From what I am reading in the bug report, masking the newest version of that package fixes this issue:

https://bugs.gentoo.org/show_bug.cgi?id=378197

I can verify that this works.

ZeTaKa wrote:
But i cant understand how can compile it, without any problem with ./configure && make && make install, but with emerge fails, the most possible is any "extra option" in ./configure

If solve it, please post howto for i try a lot of thinks and in all have fail.


If you use a packages.mask file, do the following:

echo "=perl-core/ExtUtils-ParseXS-3.20.0" >> /etc/portage/packages.mask
emerge -1v perl-core/ExtUtils-ParseXS


Otherwise, you will need to mask it via a file inside your packages.mask directory.
Back to top
View user's profile Send private message
ZeTaKa
n00b
n00b


Joined: 26 Jan 2004
Posts: 25
Location: /home/zK

PostPosted: Tue Aug 09, 2011 9:41 pm    Post subject: Reply with quote

Really really thanks

It works perfect!
Back to top
View user's profile Send private message
Odysseus
Apprentice
Apprentice


Joined: 23 Jun 2004
Posts: 250
Location: Miami, FL. I miss San Francisco!!!

PostPosted: Wed Aug 10, 2011 4:19 am    Post subject: Reply with quote

Shining Arcanine wrote:
If you use a packages.mask file, do the following:

echo "=perl-core/ExtUtils-ParseXS-3.20.0" >> /etc/portage/packages.mask
emerge -1v perl-core/ExtUtils-ParseXS


Otherwise, you will need to mask it via a file inside your packages.mask directory.


Actually you must make the change to your 'package.mask' file not 'packages.mask' note there is no 's' as package is singular not plural. If you echo to the 'packages.mask' file portage will not recognize it and you will end up with it still unmasked.

The correct command to successfully mask and emerge the downgraded program would be:
Code:
echo "=perl-core/ExtUtils-ParseXS-3.20.0" >> /etc/portage/package.mask
emerge -1v perl-core/ExtUtils-ParseXS


I hope this helps

Ciao
Back to top
View user's profile Send private message
lysergicacid
Guru
Guru


Joined: 25 Nov 2003
Posts: 352
Location: The Universe,Virgo Super Cluster,Milky Way,Earth

PostPosted: Sun Aug 28, 2011 11:38 pm    Post subject: bump.... Reply with quote

Shining Arcanine wrote:
VoidMage, thanks for the tip. From what I am reading in the bug report, masking the newest version of that package fixes this issue:

https://bugs.gentoo.org/show_bug.cgi?id=378197

I can verify that this works.

ZeTaKa wrote:
But i cant understand how can compile it, without any problem with ./configure && make && make install, but with emerge fails, the most possible is any "extra option" in ./configure

If solve it, please post howto for i try a lot of thinks and in all have fail.


If you use a packages.mask file, do the following:

echo "=perl-core/ExtUtils-ParseXS-3.20.0" >> /etc/portage/packages.mask
emerge -1v perl-core/ExtUtils-ParseXS


Otherwise, you will need to mask it via a file inside your packages.mask directory.


have just tried this solution and it doesnt work, -perl useflag (for imagemagik) with the above works tho
_________________
[img]http://valid.canardpc.com/cache/banner/2040927.png[/img]
Desktop:
[img]http://valid.canardpc.com/cache/banner/2703952.png[/img]
Back to top
View user's profile Send private message
psycho
Guru
Guru


Joined: 22 Jun 2007
Posts: 534
Location: New Zealand

PostPosted: Mon Aug 29, 2011 8:05 am    Post subject: Reply with quote

Looks like we have an update to ExtUtils-ParseXS so just re-installing this package will fix the problem (at least it did for me...imagemagick finally installs). So no need for "-perl".
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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