pkgsrc-Users archive

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

Re: bootstrap failure on FreeBSD 12



Ug, it turns out it was something in my shell configuration.
When I used a vanilla csh everything worked. I've shot myself in
the foot before this way using pkgsrc.



On Sun, Oct 6, 2019 at 10:20 PM Mike Owens <mikeowens%gmail.com@localhost> wrote:
Jason,

Thanks for your help. I tried it and specified 2019Q2 and it yielded the same error message:

config.status: creating lib/config.h
cd: lib: No such file or directory
*** [all] Error code 1

bmake: stopped in /opt/local/pkg-2019Q2/work/pkg_install
1 error

bmake: stopped in /opt/local/pkg-2019Q2/work/pkg_install
===> exited with status 2
aborted.
./auto-pkgsrc-setup: cannot create /opt/local/pkg-2019Q2/etc/mk.conf: No such file or directory



On Sun, Oct 6, 2019 at 10:11 AM Jason Bacon <outpaddling%yahoo.com@localhost> wrote:
On 2019-10-04 15:00, Mike Owens wrote:
> I am following the instructions per documentation to build pkgsrc on
> FreeBSD:
>
>     cvs -danoncvs%anoncvs.netbsd.org@localhost:/cvsroot checkout pkgsrc
>     cd pkgsrc/bootstrap
>     ./bootstrap
>
> It seems to build libarchive and then fails with the following error:
>
> -------------------------------------------
> configure: updating cache config.cache
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating add/Makefile
> config.status: creating admin/Makefile
> config.status: creating create/Makefile
> config.status: creating delete/Makefile
> config.status: creating info/Makefile
> config.status: creating lib/Makefile
> config.status: creating lib/pkg_install.conf.5
> config.status: creating lib/pkg_install.conf.cat
> <http://pkg_install.conf.cat>
> config.status: creating lib/config.h
> cd: lib: No such file or directory
> *** [all] Error code 1
>
> bmake: stopped in /var/data/tmp/pkgsrc/bootstrap/work/pkg_install
> 1 error
>
> bmake: stopped in /var/data/tmp/pkgsrc/bootstrap/work/pkg_install
> ===> exited with status 2
> aborted.
> -------------------------------------------
>
> There is a lib directory present in bootstrap/work/pkg_install. I
> tried to step into the directory and run make just to see and I get
> the same error:
>
> -------------------------------------------
> cd work/pkg_install/
> ../bmake/bmake
> cd: lib: No such file or directory
> *** Error code 1
>
> Stop.
> bmake: stopped in /var/data/tmp/pkgsrc/bootstrap/work/pkg_install
> -------------------------------------------
>
> The system is FreeBSD web 12.0-RELEASE-p7 GENERIC  amd64
>
Try

http://netbsd.org/~bacon/auto-pkgsrc-setup

I just tested it on FreeBSD 12 and it worked fine for me.  Whether it
works or not will help you narrow down the cause.

Cheers,

     JB




--
Mike


--
Mike


Home | Main Index | Thread Index | Old Index