pkgsrc-Users archive

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

Re: bootstrap failure on FreeBSD 12



I just tried on a newer FreeBSD machine, and it built fine

===> bootstrap started: Mon Oct  7 11:47:40 PDT 2019
===> bootstrap ended:   Mon Oct  7 11:50:01 PDT 2019
% uname -srm
FreeBSD 13.0-CURRENT amd64
%

The fact that you do not have a work/pkg_install/lib (I'm assuming) is unusual - there is one in my pkgsrc/bootstrap/work/pkg_install directory

% ls -al work/pkg_install/lib/
total 928
drwxr-xr-x   3 root  wheel    1536 Oct  7 11:48 .
drwxr-xr-x  13 root  wheel     512 Oct  7 11:48 ..
drwxr-xr-x   2 root  wheel     512 Oct  7 11:48 CVS
...

especially on a clean cvs checkout.

Have you tried running the ./cleanup script (maybe to fix a previous terminated run?) and then re-running bootstrap?

Also, take a look in the checked out pkgsrc/pkg_install/files directory to check that you have a lib directory there

In all, though, it's difficult to tell without seeing exactly what's on your filesystem or bootstrap/work directory




On Sun, 6 Oct 2019 at 21:45, 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


Home | Main Index | Thread Index | Old Index