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

Bug 217354

Summary: net-print/gutenprint 5.1.7 installs libtool shell script instead of executables
Product: Gentoo Linux Reporter: James Cloos <cloos>
Component: [OLD] PrintingAssignee: Printing Team <printing>
Status: RESOLVED FIXED    
Severity: normal CC: rhill
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 245009    

Description James Cloos 2008-04-12 04:35:56 UTC
The executables which should be installed in /usr/share/gutenprint are instead libtool's shell scripts.

/usr/share/gutenprint/bjc-unprint:     Bourne shell script text executable
/usr/share/gutenprint/escp2-weavetest: Bourne shell script text executable
/usr/share/gutenprint/pcl-unprint:     Bourne shell script text executable
/usr/share/gutenprint/run-weavetest:   Bourne shell script text executable
/usr/share/gutenprint/testdither:      Bourne shell script text executable
/usr/share/gutenprint/unprint:         Bourne shell script text executable

As an example, /usr/share/gutenprint/unprint starts out with:

#! /bin/sh

# unprint - temporary wrapper script for .libs/unprint
# Generated by ltmain.sh - GNU libtool 1.5.24 (1.1220.2.455 2007/06/24 02:13:29)
#
# The unprint program cannot be directly executed until all the libtool
# libraries that it depends on are installed.
#
# This wrapper script should never be moved out of the build directory.
# If it is, it will not operate correctly.

The ebuild uses this to install the executables which go in /usr/share/gutenprint:

       exeinto /usr/share/gutenprint
        doexe test/{unprint,pcl-unprint,bjc-unprint,parse-escp2,escp2-weavetest,run-testdither,run-weavetest,testdither}

Hense the bug.

I don't know whether the build process changed recently, ie whether that ebuild idiom used to work.
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2009-03-04 22:37:48 UTC
are these files actually used for anything?  they appear to be part of the package's test suite.