[cups.development] [RFE] STR #1621: epm can't build CUPS packages

Kurt Pfeifle kpfeifle at danka.de
Sat Apr 29 09:43:14 PDT 2006


[STR New]

epm from current SVN (both, trunk/5.0 as well as 4.x branch) can not build
CUPS packages:

  kurt at soprano:~/SVNstuff/cups> make rpm
  ESP Package Manager v4.0.1
  Copyright 1999-2006 by Easy Software Products.
  
  EPM is free software and comes with ABSOLUTELY NO WARRANTY; for details
  see the GNU General Public License in the file COPYING or at
  "http://www.fsf.org/gpl.html".  Report all problems to "epm at easysw.com".
  
  Searching for product information...
  Stripping executables in distribution...
  Creating RPM distribution...
  Creating spec file...
  Copying temporary distribution files...
  epm: Unable to open "man/backend." -
       No such file or directory
  Packaging failed!
  make: *** [rpm] Error 1

  kurt at soprano:~/SVNstuff/cups> ls -l man/backend.*
  -rw-r--r--  1 kurt kurt 2285 2006-04-03 00:36 man/backend.7.gz
  -rw-r--r--  1 kurt kurt 5604 2006-04-02 23:25 man/backend.man

I added the line

  $MAN7EXT=7.gz

to packaging/cups.list to make it build the RPM (not sure what the real
fix should be). 


For the sake of it, I also tested creation of other package types.

* "make deb" works.
* "make slackware" fails.
* "make epm" fails. 

"make slackware" (after the "make rpm" had succeeded), but this resulted
in another error (maybe because my system is not a Slackware one):

  kurt at soprano:~/SVNstuff/cups> sudo make slackware
  ESP Package Manager v4.0.1
  Copyright 1999-2006 by Easy Software Products.
  
  EPM is free software and comes with ABSOLUTELY NO WARRANTY; for details
  see the GNU General Public License in the file COPYING or at
  "http://www.fsf.org/gpl.html".  Report all problems to "epm at easysw.com".
 
  Searching for product information...
  Stripping executables in distribution...
  Creating Slackware cups pkg distribution...
  Copying temporary distribution files...
  Building Slackware package...
  Packaging failed!
  make: *** [slackware] Error 1

"make epm" also fails:

  kurt at soprano:~/SVNstuff/cups> make epm
  ESP Package Manager v4.0.1
  Copyright 1999-2006 by Easy Software Products.
  
  EPM is free software and comes with ABSOLUTELY NO WARRANTY; for details
  see the GNU General Public License in the file COPYING or at
  "http://www.fsf.org/gpl.html".  Report all problems to "epm at easysw.com".
  
  Searching for product information...
  Stripping executables in distribution...
  Creating PORTABLE distribution...
  Copying cups license and readme files...
  epm: Unable to open "packaging/cups.license" -
       No such file or directory
  Packaging failed!
  make: *** [epm] Error 1


Also, "build rpm" shows a nice overview/summary at the end of the
packaging process:

  Building RPM binary distribution...
       1885k  linux-2.6-intel/cups-1.2svn-linux-2.6-intel.rpm
         80k  linux-2.6-intel/cups-devel-1.2svn-linux-2.6-intel.rpm
         69k  linux-2.6-intel/cups-es-1.2svn-linux-2.6-intel.rpm
         64k  linux-2.6-intel/cups-ja-1.2svn-linux-2.6-intel.rpm
        106k  linux-2.6-intel/cups-libs-1.2svn-linux-2.6-intel.rpm
         14k  linux-2.6-intel/cups-lpd-1.2svn-linux-2.6-intel.rpm
         53k  linux-2.6-intel/cups-pl-1.2svn-linux-2.6-intel.rpm
         63k  linux-2.6-intel/cups-sv-1.2svn-linux-2.6-intel.rpm
  Done!


It would be nice to see a similar thing at the end of "make deb" too.

Thanks :-)

Link: http://www.cups.org/str.php?L1621
Version: 1.2-feature





More information about the cups mailing list