Bug #8

make upgrade broken

Added by skrueger over 8 years ago. Updated almost 8 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

hi folks,

trying to run make upgrade in /usr/src fails here

failed command was "ldconfig -m ${DESTDIR}/usr/lib/gcc2" from etc/Makefile

patch would be:

.if exists(${DESTDIR}/usr/lib/gcc2)
ldconfig -m ${DESTDIR}/usr/lib/gcc2
.endif

another thing is that src/test/stress/fsstress doesn't compile, fix
would be adding -D__FreeBSD__ to CFLAGS or replace all __FreeBSD__ #defs
with __DragonFly__

take care

History

#1 Updated by dillon over 8 years ago

:hi folks,
:
:trying to run make upgrade in /usr/src fails here
:
:failed command was "ldconfig -m ${DESTDIR}/usr/lib/gcc2" from etc/Makefile
:
:patch would be:
:
:.if exists(${DESTDIR}/usr/lib/gcc2)
:ldconfig -m ${DESTDIR}/usr/lib/gcc2
:.endif
:
:another thing is that src/test/stress/fsstress doesn't compile, fix
:would be adding -D__FreeBSD__ to CFLAGS or replace all __FreeBSD__ #defs
:with __DragonFly__
:
:take care

That's odd. ldconfig doesn't fail for me on that line even
though that directory does not exist. It just generates a
warning but still exits with a status code of 0.

In anycase, the patch is the correct way to go about it so I
will apply it.

-Matt
Matthew Dillon
<>

Also available in: Atom PDF