pkgsrc-Users archive

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

Re: pbulk : don't know how to make /nonexistent



On Thu, Jul 14, 2022 at 10:55:24PM +0530, Mayuresh wrote:
> On Thu, Jul 14, 2022 at 10:50:43PM +0530, Mayuresh wrote:
> > pbulk is mysterious...
> 
> Work around I know is to go and build failed package manually. It builds
> without any problem. But when there are too many of them failing pbulk
> doesn't turn out to be of much value.

Just in case if someone finds this thread, hopefully this will be useful:

During several trial and errors while getting things work, a few packages
got built with pbulk prefix (not exactly prefix in all cases, but the word
pbulk appears somewhere in their BUILD_INFO).

Following is a way to identify them so that they can be deleted and
rebuilt.

find /usr/pkgsrc/packages/All -name *.tgz |
while read pkg
do
    tar xfO $pkg +BUILD_INFO | grep -q pbulk
    if [ $? = 0 ]
    then
        echo $pkg
    fi
done

Note that build is a function of not just pbulk.conf, but also of packages
that are already built. If the latter had problems due to faulty settings
in the past it can lead to hard to diagnose trouble.
-- 
Mayuresh


Home | Main Index | Thread Index | Old Index