Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 325961 - net-print/gutenprint-5.2.5-r1 fails to compile
Summary: net-print/gutenprint-5.2.5-r1 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-28 10:06 UTC by haarp
Modified: 2011-10-27 06:03 UTC (History)
3 users (show)

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


Attachments
Build log (pastefile,21.07 KB, text/plain)
2010-06-28 10:07 UTC, haarp
Details
emerge --info (pastefile,12.76 KB, text/plain)
2010-07-01 11:58 UTC, haarp
Details
Makefile (Makefile,30.74 KB, text/plain)
2010-07-01 12:02 UTC, haarp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description haarp 2010-06-28 10:06:52 UTC
There seems to be a bug somewhere in the Makefile:

"Makefile:204: *** missing separator.  Stop."

Full build log attached
Comment 1 haarp 2010-06-28 10:07:32 UTC
Created attachment 236799 [details]
Build log
Comment 2 Rafał Mużyło 2010-06-29 16:32:52 UTC
That log doesn't say much, attach that Makefile.
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2010-07-01 10:45:01 UTC
attach the emerge --info output as well
Comment 4 haarp 2010-07-01 11:58:10 UTC
Created attachment 237131 [details]
emerge --info
Comment 5 haarp 2010-07-01 12:02:35 UTC
Created attachment 237133 [details]
Makefile
Comment 6 Rafał Mużyło 2010-07-01 15:39:04 UTC
Well, for the moment it seems that autoconf disagrees
with the way AC_COPYRIGHT is used.
Comment 7 Emmanuel Rosa 2010-08-15 20:50:46 UTC
For me it failed to compile because it could not find Foomatic/Default.pm. Turns out in was at /usr/lib/perl5/vendor_perl/5.10.1/Foomatic rather than /usr/lib/perl5/vendor_perl/5.12.1/Foomatic. So I emerged net-print/foomatic-db-engine and then successfully emerged net-print/gutenprint.
Comment 8 Guy 2010-10-16 16:18:35 UTC
(In reply to comment #7)
> For me it failed to compile because it could not find Foomatic/Default.pm.
> Turns out in was at /usr/lib/perl5/vendor_perl/5.10.1/Foomatic rather than
> /usr/lib/perl5/vendor_perl/5.12.1/Foomatic. So I emerged
> net-print/foomatic-db-engine and then successfully emerged
> net-print/gutenprint.
> 

Thank you. That worked great.

For people curious as to how to find these missing .pm files for themselves, the emerge log will tell you when one is missing. Such messages usually take the form of:

Can't locate Foomatic/Defaults.pm in @INC (@INC contains: {blah blah blah}

Be sure you have gentoolkit installed and then do:
equery b Missing_File.pm  {i.e. equery b Defaults.pm}

Look for the line containing the correct path fragment {i.e. Foomatic/Defaults.pm} and emerge the indicated package like so:

# equery b Defaults.pm
 * Searching for Defaults.pm ... 
net-print/foomatic-db-engine-4.0.4 (/usr/lib64/perl5/vendor_perl/5.10.1/Foomatic/Defaults.pm)

The generic issue appears to be related to how Perl pm files are generated and installed and doesn't really have anything to do with Gentoo. Following the above will allow you to fix the general problem correctly for yourself as you encounter specific instances.
Comment 9 Carlo Marcelo Arenas Belon 2011-04-17 19:11:37 UTC
this is probably no longer an issue with 5.2.6 which is already on the tree and tagged also for ~ARCH, so maybe no longer relevant?

beware that 5.2.6 also fails to build (at least on ~amd64, but likely all other arch too) for different reasons though as shown in BUG362943
Comment 10 Tim Harder gentoo-dev 2011-10-27 06:03:18 UTC
This should be fixed in versions currently in the tree.