NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lib/58359: libcbor/lib/Makefile has inadequate dependency
>Number: 58359
>Category: lib
>Synopsis: libcbor/lib/Makefile has inadequate dependency
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jun 22 13:20:00 +0000 2024
>Originator: Taylor R Campbell
>Release: current, 10
>Organization:
The NetOBJS Foundation
>Environment:
>Description:
The libcbor build requires a file configuration.h which we create by explicit make rules:
${OBJS}: cbor/configuration.h
cbor/configuration.h: ${VERS_FILE}
@mkdir -p cbor && ( \
echo '#define CBOR_MAJOR_VERSION ${CBOR_VERSION_MAJOR}' && \
...
echo '#define CBOR_INLINE_SPECIFIER ') > ${.TARGET}
However, this file is used not just to build OBJS, i.e., the .o files of the static library, but also the .po and .pico and .ln files and so on.
>How-To-Repeat:
make -jLARGE
>Fix:
Use ALLOBJS instead of OBJS.
Home |
Main Index |
Thread Index |
Old Index