compile 1.6 with epm failed #4199

Closed
michaelrsweet opened this Issue Oct 1, 2012 · 2 comments

Comments

Projects
None yet
1 participant
Collaborator

michaelrsweet commented Oct 1, 2012

Version: 1.6-current
CUPS.org User: schroederfred

i have tried to install cups 1.6.1 and create packages with epm 4.2 on
following system:

uname -a --> SunOS gslspb 5.11 snv_111b i86pc i386 i86pc

prtconf --> Memory size: 8064 Megabytes

prtdiag -->
System Configuration: Sun Microsystems Sun Fire X4200 Server
BIOS Configuration: American Megatrends Inc. 080010 09/27/2007
<BMC Configuration: IPMI 2.0 (KCS: Keyboard Controller Style)

<==== Processor Sockets ====================================
<
Version Location Tag

Dual Core AMD Opteron(tm) Processor 280 H0
Dual Core AMD Opteron(tm) Processor 280 H1
<ual Core AMD Opteron(tm) Processor 280 H2
Dual Core AMD Opteron(tm) Processor 280 H3
<...

/etc/release:
OpenSolaris 2009.06 snv_111b X86
Copyright 2009 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 07 May 2009

following errors occured during installation:

bzip2 -dc cups-1.6.1-source.tar.bz2 | tar xf -
cd cups-1.6.1
./configure --disable-gssapi --with-languages=all --with-smfmanifestdir=/var/svc/manifest/application
make > ok

-------------------------------------------------------

1st try:
make pkg

ESP Package Manager v4.2
Copyright 1999-2007 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@easysw.com".

Searching for product information...
Stripping executables in distribution...
epm: Unable to open file "scheduler/cups-polld" for destination "/usr/lib/cups/daemon/cups-polld" -
No such file or directory
*** Error code 1
The following command caused the error:
epm -v --output-dir dist -f pkg cups packaging/cups.list
make: Fatal error: Command failed for target `pkg'

-------------------------------------------------------

2nd try
after deactivating following line in packaging/cups.list
-> f 0555 root sys $SERVERBIN/daemon/cups-polld scheduler/cups-polld
because scheduler/cups-polld doesn't exist

make pkg

ESP Package Manager v4.2
Copyright 1999-2007 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@easysw.com".

Searching for product information...
Stripping executables in distribution...
Creating PKG distribution...
Creating package information file...
Creating package dependency file...
Creating postinstall script...
Creating preremove script...
Creating prototype file...
Building PKG binary distribution...
Packaging failed!
*** Error code 1
The following command caused the error:
epm -v --output-dir dist -f pkg cups packaging/cups.list
make: Fatal error: Command failed for target `pkg'

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

my questions:

  • is it still possible to make binary packages with epm for cups 1.6.1 ?
  • if yes, have i something to change or is there an update for 1.6.1 ?
    #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    thanks in advance for answer.
Collaborator

michaelrsweet commented Oct 1, 2012

CUPS.org User: mike

Fixed in Subversion repository.

Collaborator

michaelrsweet commented Oct 1, 2012

"str4199.patch":

Index: packaging/cups.list.in

--- packaging/cups.list.in (revision 10629)
+++ packaging/cups.list.in (working copy)
@@ -293,7 +293,6 @@
d 0755 root sys $SERVERBIN/daemon -
f 0555 root sys $SERVERBIN/daemon/cups-deviced scheduler/cups-deviced
f 0555 root sys $SERVERBIN/daemon/cups-driverd scheduler/cups-driverd
-f 0555 root sys $SERVERBIN/daemon/cups-polld scheduler/cups-polld
d 0755 root sys $SERVERBIN/driver -
d 0755 root sys $SERVERBIN/filter -
f 0555 root sys $SERVERBIN/filter/commandtops filter/commandtops
@@ -366,8 +365,6 @@
l 0755 root sys $LIBDIR/libcups.sl libcups.sl.2
f 0555 root sys $LIBDIR/libcupscgi.sl.1 cgi-bin/libcupscgi.sl.1 nostrip()
l 0755 root sys $LIBDIR/libcupscgi.sl libcupscgi.sl.1
-f 0555 root sys $LIBDIR/libcupsdriver.sl.1 driver/libcupsdriver.sl.1 nostrip()
-l 0755 root sys $LIBDIR/libcupsdriver.sl libcupsdriver.sl.1
f 0555 root sys $LIBDIR/libcupsimage.sl.2 filter/libcupsimage.sl.2 nostrip()
l 0755 root sys $LIBDIR/libcupsimage.sl libcupsimage.sl.2
f 0555 root sys $LIBDIR/libcupsmime.sl.1 scheduler/libcupsmime.sl.1 nostrip()
@@ -377,7 +374,6 @@
%system aix
f 0555 root sys $LIBDIR/libcups_s.a cups/libcups_s.a nostrip()
f 0555 root sys $LIBDIR/libcupscgi_s.a cgi-bin/libcupscgi_s.a nostrip()
-f 0555 root sys $LIBDIR/libcupsdriver_s.a driver/libcupsdriver_s.a nostrip()
f 0555 root sys $LIBDIR/libcupsimage_s.a filter/libcupsimage_s.a nostrip()
f 0555 root sys $LIBDIR/libcupsmime_s.a scheduler/libcupsmime_s.a nostrip()
f 0555 root sys $LIBDIR/libcupsppdc_s.a ppdc/libcupsppdc_s.a nostrip()
@@ -386,8 +382,6 @@
l 0755 root sys $LIBDIR/libcups.dylib libcups.2.dylib
f 0555 root sys $LIBDIR/libcupscgi.1.dylib cgi-bin/libcupscgi.1.dylib nostrip()
l 0755 root sys $LIBDIR/libcupscgi.dylib libcupscgi.1.dylib
-f 0555 root sys $LIBDIR/libcupsdriver.1.dylib driver/libcupsdriver.1.dylib nostrip()
-l 0755 root sys $LIBDIR/libcupsdriver.dylib libcupsdriver.1.dylib
f 0555 root sys $LIBDIR/libcupsimage.2.dylib filter/libcupsimage.2.dylib nostrip()
l 0755 root sys $LIBDIR/libcupsimage.dylib libcupsimage.2.dylib
f 0555 root sys $LIBDIR/libcupsmime.1.dylib scheduler/libcupsmime.1.dylib nostrip()
@@ -399,8 +393,6 @@
l 0755 root sys $LIBDIR/libcups.so libcups.so.2
f 0555 root sys $LIBDIR/libcupscgi.so.1 cgi-bin/libcupscgi.so.1 nostrip()
l 0755 root sys $LIBDIR/libcupscgi.so libcupscgi.so.1
-f 0555 root sys $LIBDIR/libcupsdriver.so.1 driver/libcupsdriver.so.1 nostrip()
-l 0755 root sys $LIBDIR/libcupsdriver.so libcupsdriver.so.1
f 0555 root sys $LIBDIR/libcupsimage.so.2 filter/libcupsimage.so.2 nostrip()
l 0755 root sys $LIBDIR/libcupsimage.so libcupsimage.so.2
f 0555 root sys $LIBDIR/libcupsmime.so.1 scheduler/libcupsmime.so.1 nostrip()
@@ -418,7 +410,9 @@
d 0775 root $CUPS_GROUP $CACHEDIR -
d 0775 root $CUPS_GROUP $CACHEDIR/rss -
#d 0755 root $CUPS_GROUP $CACHEDIR/ppd -
+%system !darwin
d 0755 root $CUPS_GROUP $STATEDIR -
+%system all
d 0511 root $CUPS_PRIMARY_SYSTEM_GROUP $STATEDIR/certs -

Data files

@@ -530,7 +524,7 @@
#f 0444 root sys $DATADIR/templates/zh_TW templates/zh_TW/*.tmpl

Config files

-d 0755 root sys $SERVERROOT -
+d 0755 root $CUPS_GROUP $SERVERROOT -
d 0755 root $CUPS_GROUP $SERVERROOT/interfaces -
d 0755 root $CUPS_GROUP $SERVERROOT/ppd -
d 0700 root $CUPS_GROUP $SERVERROOT/ssl -

michaelrsweet added this to the Stable milestone Mar 17, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment