OpenPrinting / cups-filters

filters, backends, driverless utility, ... - Everything which CUPS 2.x needs to be used on non-Mac systems
Apache License 2.0
159 stars 126 forks source link

Build fails: usr/lib/cups/filter #594

Open Vouivre opened 2 months ago

Vouivre commented 2 months ago

Describe the bug If I build cups-filters the build fails

.
.
.
make  install-exec-hook
 ./install-sh -c -d '/home/user/.cache/kiss/proc/25746/pkg/cups-filters/usr/share/doc/cups-filters'
 ./install-sh -c -d '/home/user/.cache/kiss/proc/25746/pkg/cups-filters/usr/share/man/man1'
 ./install-sh -c -d '/home/user/.cache/kiss/proc/25746/pkg/cups-filters/usr/share/cups/drv'
 /usr/bin/install -c -m 644 ABOUT-NLS AUTHORS COPYING CHANGES.md CHANGES-1.x.md INSTALL LICENSE NOTICE README.md DEVELOPING.md CONTRIBUTING.md '/home/user/.cache/kiss/proc/25746/pkg/cups-filters/usr/share/doc/cups-filters'
 ./install-sh -c -d '/home/user/.cache/kiss/proc/25746/pkg/cups-filters/usr/lib/cups/filter'
 ./install-sh -c -d '/home/user/.cache/kiss/proc/25746/pkg/cups-filters/usr/share/ppdc'
 ./install-sh -c -d '/home/user/.cache/kiss/proc/25746/pkg/cups-filters/usr/share/cups/mime'
 /usr/bin/install -c -m 644 utils/driverless.1 filter/foomatic-rip/foomatic-rip.1 '/home/user/.cache/kiss/proc/25746/pkg/cups-filters/usr/share/man/man1'
 ./install-sh -c -d '/home/user/.cache/kiss/proc/25746/pkg/cups-filters/usr/lib/cups/driver'
 ./install-sh -c -d '/home/user/.cache/kiss/proc/25746/pkg/cups-filters/usr/lib/cups/driver'
 ./install-sh -c -d '/home/user/.cache/kiss/proc/25746/pkg/cups-filters/usr/share/ppd/cupsfilters'
 /usr/bin/install -c -m 644 drv/cupsfilters.drv '/home/user/.cache/kiss/proc/25746/pkg/cups-filters/usr/share/cups/drv'
 ./install-sh -c -d '/home/user/.cache/kiss/proc/25746/pkg/cups-filters/usr/lib/cups/backend'
 ./install-sh -c -d '/home/user/.cache/kiss/proc/25746/pkg/cups-filters/usr/lib/cups/filter'
 /usr/bin/install -c -m 644 filter/pcl.h filter/escp.h '/home/user/.cache/kiss/proc/25746/pkg/cups-filters/usr/share/ppdc'
 /usr/bin/install -c -m 644 mime/cupsfilters.types mime/cupsfilters.convs mime/cupsfilters-universal.convs mime/cupsfilters-universal-postscript.convs '/home/user/.cache/kiss/proc/25746/pkg/cups-filters/usr/share/cups/mime'
mkdir: can't create directory '/home/user/.cache/kiss/proc/25746/pkg/cups-filters/usr/lib/cups/filter': File exists
make[2]: *** [Makefile:1463: install-pkgfilterPROGRAMS] Error 1
make[2]: *** Waiting for unfinished jobs....
mkdir: can't create directory '/home/user/.cache/kiss/proc/25746/pkg/cups-filters/usr/lib/cups/driver': File exists
make[2]: *** [Makefile:1830: install-pkgppdgenSCRIPTS] Error 1
.
.
.

To Reproduce

I get the error when I try to create a package for the distribution kisslinux. I use the following build instructions:

#!/bin/sh -e
./configure  \
    --prefix=/usr \
    --disable-mutool \

make
make DESTDIR="$1" install

System Information:

Linux Distribution: kisslinux

$ uname -a
Linux KISS 6.10.5 #6 SMP PREEMPT_DYNAMIC Tue Aug 20 19:40:03 UTC 2024 x86_64 GNU/Linux

Additional information: Maybe something similar to https://github.com/OpenPrinting/libppd/issues/45.