Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 194258

Summary: media-gfx/gimp-print-5.1.2 fails to build (when attempting to build libgutenprint.so.2.0.0)
Product: Gentoo Linux Reporter: Robin Kauffman <robink>
Component: [OLD] PrintingAssignee: Printing Team <printing>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
URL: http://kauffmanfamily.org/build.log_gimp-print-5.1.2
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: The gimp-print/gutenprint-5.1.2 build.log (bad/incomplete)
media-gfx/gimp-print-5.1.2 temp/environment file.
Output of 'emerge --info'
media-gfx/gimp-print-5.1.2 (Gutenprint 5.1.2) build.log

Description Robin Kauffman 2007-09-30 09:26:23 UTC
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.
Comment 1 Robin Kauffman 2007-09-30 09:28:11 UTC
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)
Comment 2 Robin Kauffman 2007-09-30 09:38:40 UTC
Created attachment 132222 [details]
media-gfx/gimp-print-5.1.2 temp/environment file.
Comment 3 Robin Kauffman 2007-09-30 09:39:26 UTC
Created attachment 132224 [details]
Output of 'emerge --info'
Comment 4 Robin Kauffman 2007-09-30 10:29:16 UTC
Comment on attachment 132220 [details]
The gimp-print/gutenprint-5.1.2 build.log (bad/incomplete)

This log is bad/incomplete.  Ignore it.
Comment 5 Robin Kauffman 2007-09-30 10:30:15 UTC
Created attachment 132227 [details]
media-gfx/gimp-print-5.1.2 (Gutenprint 5.1.2) build.log

Sorry about the incomplete log posted previously.
Comment 6 Stefan Schweizer (RETIRED) gentoo-dev 2007-10-10 18:14:37 UTC
Can you please retest with gutenprint version 5.1.3 as it is the latest in the tree?

Please reopen when the error persists.