Augustin-FL / building-pfsense-iso-from-source

How to: Building a pfSense .iso from sources
52 stars 48 forks source link

make: cannot open /usr/ports/Mk/bsd.port.mk #14

Closed LCHOICEzz closed 4 years ago

LCHOICEzz commented 4 years ago

Hello Augustin-FL I try to follow your steps.

When I execute ./build.sh --update-pkg-repo, I meet this problem: make: cannot open /usr/ports/Mk/bsd.port.mk. [00:00:01] Error: Error looking up pre-build ports vars

I have tried to re-execute portsnap fetch extract and add privilege to /usr/ports/Mk/bsd.port.mk The result is same as I have met.

So could you help me solve this problem?

Thanks!

Augustin-FL commented 4 years ago

portsnap fetch extract is a prerequisite and is part of the things you need to do before starting the build

I am not sure of what happens when you try to execute portsnap in the middle of the build...I guess you have to re-create or update the jail accordingly ?

you should restart the build from the beginning (ie, reinstall freeBSD then start over)

LCHOICEzz commented 4 years ago

portsnap fetch extract is a prerequisite and is part of the things you need to do before starting the build

I am not sure of what happens when you try to execute portsnap in the middle of the build...I guess you have to re-create or update the jail accordingly ?

you should restart the build from the beginning (ie, reinstall freeBSD then start over)

Thank you very much. I have solved this problem through re-execute portsnap fetch extract. However, I can not find any RELENG_2_5_0 in github.com/pfsense/pfsense and the same as FreeBSD-ports. Could you help me to solve this problem?

Augustin-FL commented 4 years ago

This guide has been written for 2.5.0 (which does not exist yet)

as far as I am aware of, 2.5.0 is not planned for release yet. Netgate changed their plans last week (they decided to roll out a 2.4.5 release before 2.5.0). please see #13 for details