build fails: libppd/usr/lib': File exists
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- c
- Domain
- build-system
Research direction
Start with the reported build file and the generated Makefile target at Makefile:1094, then reproduce the failure at make DESTDIR="$1" install. Inspect how the install step handles /usr/lib and compare it with the other destination directories shown in the log. Done means the libppd package installs successfully without the File exists error.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- C
- Stars
- 5
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OpenPrinting/libppd
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
OpenPrinting/libppd#86 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
OpenPrinting/libppd#82 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
OpenPrinting/libppd#81 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
OpenPrinting/libppd#79 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
OpenPrinting/libppd#85 ·
All issues in OpenPrinting/libppd
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
level/task module/gcp type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
hapostgres/pg_auto_failover#1190 ·
-
docs
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
P3 sonic-vpp
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
sonic-net/sonic-buildimage#29662 ·