Skip to content

build fails: libppd/usr/lib': File exists #45

Open

Description

@Vouivre

Describe the bug
I want to package libppd for the kisslinux distribution. When I build libppdI get:

.
.
.
make[2]: Leaving directory '/home/user/.cache/kiss/proc/20326/build/libppd'
make[1]: Leaving directory '/home/user/.cache/kiss/proc/20326/build/libppd'
Salut
make[1]: Entering directory '/home/user/.cache/kiss/proc/20326/build/libppd'
make[2]: Entering directory '/home/user/.cache/kiss/proc/20326/build/libppd'
 ./install-sh -c -d '/home/user/.cache/kiss/proc/20326/pkg/libppd/usr/share/doc/libppd'
 ./install-sh -c -d '/home/user/.cache/kiss/proc/20326/pkg/libppd/usr/lib/pkgconfig'
 ./install-sh -c -d '/home/user/.cache/kiss/proc/20326/pkg/libppd/usr/share/ppdc'
 ./install-sh -c -d '/home/user/.cache/kiss/proc/20326/pkg/libppd/usr/include/ppd'
 ./install-sh -c -d '/home/user/.cache/kiss/proc/20326/pkg/libppd/usr/lib'
mkdir: can't create directory '/home/user/.cache/kiss/proc/20326/pkg/libppd/usr/lib': File exists
make[2]: *** [Makefile:1094: install-libLTLIBRARIES] Error 1
make[2]: *** Waiting for unfinished jobs....
 /usr/bin/install -c -m 644 libppd.pc '/home/user/.cache/kiss/proc/20326/pkg/libppd/usr/lib/pkgconfig'
 /usr/bin/install -c -m 644 ppd/epson.h ppd/hp.h ppd/label.h ppd/font.defs ppd/media.defs ppd/raster.defs '/home/user/.cache/kiss/proc/20326/pkg/libppd/usr/share/ppdc'
 /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/20326/pkg/libppd/usr/share/doc/libppd'
 /usr/bin/install -c -m 644 ppd/ppd.h ppd/ppdc.h ppd/ppd-filter.h '/home/user/.cache/kiss/proc/20326/pkg/libppd/usr/include/ppd'
make[2]: Leaving directory '/home/user/.cache/kiss/proc/20326/build/libppd'
make[1]: *** [Makefile:2157: install-am] Error 2
make[1]: Leaving directory '/home/user/.cache/kiss/proc/20326/build/libppd'
make: *** [Makefile:1681: install-recursive] Error 1
-> libppd Build failed
-> libppd Log stored to /home/user/.cache/kiss/logs/2024-07-09/libppd-2024-07-09-21:34-20326

To Reproduce
I have a buildfile which contains the following commands

#!/bin/sh -e

./configure  \
    --prefix=/usr \
    --disable-mutool

make
make DESTDIR="$1" install

I get the problem at the make install step.

System Information:
Linux version:

$ uname -a
Linux KISS 6.4.7 #8 SMP PREEMPT_DYNAMIC Fri Aug 18 06:34:34 UTC 2023 x86_64 GNU/Linux

I will provide more information if necessary.

Activity

  1. Vouivre commented on Aug 22, 2024

    @Vouivre
    Author

    With version 2.1b1 the problem seems to be solved. I don't know which commit solved it. If there is no problem with final version 2.1 I will close this issue.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions