When attempting to build gimp-print-5.1.2 with the stock Gentoo ebuild, the build process fails when attempting to link libgutenprint.so.2.0.0 by calling GCC. GCC (4.1.2) gets passed a slightly malformed -soname option ('-soname name'), chokes on -soname (which it shouldn't do), and assumes 'name' is an input file and thus dies with an error 1. When attempting to build gutenprint by hand from the /var/tmp/portage/media-gfx/gimp-print-5.1.2/work/gutenprint-5.1.2 directory, the build process completes successfully (even when passing ./configure the same options that the ebuild passes to it). This makes me think that there's something in the environment that might be throwing off the build process, but I have no clue what it would be, just thought I'd suggest it. Included is the environment file for your perusal. Thank you in advance. -Robin K. Reproducible: Always Steps to Reproduce: 1. Unmask media-gfx/gimp-print-5.1.2 2. Emerge media-gfx/gimp-print-5.1.2 with the cups, gimp, gtk, ppds and readline USE flags set. Actual Results: Build process fails as GCC can't find 'libgutenprint.so.2' (which should be an argument to -soname which should ultimately be passed to ld, or whatever part of binutils handles doing the final linking of dynamic libraries). Expected Results: Completed linking the library, finished the rest of the build process and installed the package. I'm using the beginner bug submission process and don't want to retype everything, so I'll attach my build.log, `emerge --info` and /var/tmp/portage/media-gfx/gimp-print-5.1.2/temp/environment files in a followup note. Apologies in advance.
Created attachment 132220 [details] The gimp-print/gutenprint-5.1.2 build.log (bad/incomplete) Build log for media-gfx/gimp-print-5.1.2 (Gutenprint 5.1.2)
Created attachment 132222 [details] media-gfx/gimp-print-5.1.2 temp/environment file.
Created attachment 132224 [details] Output of 'emerge --info'
Comment on attachment 132220 [details] The gimp-print/gutenprint-5.1.2 build.log (bad/incomplete) This log is bad/incomplete. Ignore it.
Created attachment 132227 [details] media-gfx/gimp-print-5.1.2 (Gutenprint 5.1.2) build.log Sorry about the incomplete log posted previously.
Can you please retest with gutenprint version 5.1.3 as it is the latest in the tree? Please reopen when the error persists.