Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 487942 - =media-gfx/gimp-2.8.6 - linking .libs/file-aa: ld: cannot find -lgpm
Summary: =media-gfx/gimp-2.8.6 - linking .libs/file-aa: ld: cannot find -lgpm
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sebastian Pipping
Depends on:
Reported: 2013-10-13 23:05 UTC by Iddo
Modified: 2014-09-20 00:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

emerge info & log file (gimpemergeinfo.gz,135.52 KB, application/x-gzip)
2013-10-14 13:48 UTC, Iddo

Note You need to log in before you can comment on or make changes to this bug.
Description Iddo 2013-10-13 23:05:11 UTC
Fails on emerge.

Here's the business bit:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgpm
collect2: error: ld returned 1 exit status
make[3]: *** [file-aa] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-gfx/gimp-2.8.6/work/gimp-2.8.6/plug-ins/common'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-gfx/gimp-2.8.6/work/gimp-2.8.6/plug-ins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/gimp-2.8.6/work/gimp-2.8.6'
make: *** [all] Error 2
emake failed
 * ERROR: media-gfx/gimp-2.8.6::gentoo failed (compile phase):
 *   compile failure
 * Call stack:
 *, line   93:  Called src_compile
 *   environment, line 6287:  Called gnome2_src_compile
 *   environment, line 3412:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
The attachment contains the following:

emerge --info '=media-gfx/gimp-2.8.6::gentoo' >gimpemergeinfo

cat /var/tmp/portage/media-gfx/gimp-2.8.6/temp/build.log >> gimpemergeinfo

cat /var/tmp/portage/media-gfx/gimp-2.8.6/temp/environment >> gimpemergeinfo
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-10-13 23:42:20 UTC
(In reply to Iddo from comment #0)
> The attachment contains the following:

Which attachment?

Please attach the complete build.log and comment with `emerge --info`.

Thank you in advance.
Comment 2 Iddo 2013-10-14 13:48:00 UTC
Created attachment 360878 [details]
emerge info & log file
Comment 3 Sebastian Pipping gentoo-dev 2013-10-27 01:50:07 UTC
To be honest I cannot remove gpm for testing from my box easily:

  # sudo emerge --depclean sys-libs/gpm
  Calculating dependencies... done!
    sys-libs/gpm-1.20.7-r2 pulled in by:
      app-misc/mc-4.8.10 requires sys-libs/gpm
      sys-libs/ncurses-5.9-r3 requires sys-libs/gpm[abi_x86_64(-)], sys-libs/gpm
      www-client/w3m-0.5.3-r3 requires >=sys-libs/gpm-1.19.3-r5

Is my understanding correct that

 - you have use flag "aalib" enabled for Gimp 2.8.6 and that

 - installing sys-libs/gpm solves the link error for you ?

In that case I could adjust

  aalib? ( media-libs/aalib )


  aalib? ( media-libs/aalib sys-libs/gpm )

in the dependencies for you.  Looking forward to your feedback.
Comment 4 Sebastian Pipping gentoo-dev 2014-09-20 00:33:18 UTC
Grepping for gpm does not result in any matches from gimp.  Daring to close as obsolete.