pkgsrc-Bulk archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc-2011Q3 NetBSD 5.0.2/x86_64 2011-11-09 21:19



 >> > => Build dependency checkperms>=1.1: NOT found
 >> > => Verifying /nonexistent for ../../sysutils/checkperms
 >> > make: don't know how to make /nonexistent. Stop
 >> 
 >> > make: stopped in /tree/pkgsrc/sysutils/checkperms
 >> > *** Error code 2
 >> 
 >> > Stop.
 >> > make: stopped in /tree/pkgsrc/audio/gst-buzztard
 >> 
 >> > Any idea where the /nonexistent comes from ?
 >> 
 >> DEPENDS_TARGET=/nonexistent

> And what would set DEPENDS_TARGET ?
> I can't see where this would be set ...

It looks like pbulk handles installing dependencies itself and sets
DEPENDS_TARGET=/nonexistent as a fallback if something bad happens.
I do the same in distbb for the same reason.

pkgtools/pbulk/files/pbulk/scripts/pkg-build:

run_make() {
    local run_cmd
    run_cmd=$1
    shift
    ${run_cmd} ${make} $1 \
        BATCH=1 \
        DEPENDS_TARGET=/nonexistent \
        ${MAKE_FLAGS} \
        WRKLOG=${bulklog}/${pkgname}/work.log
}

-- 
Best regards, Aleksey Cheusov.


Home | Main Index | Thread Index | Old Index