PiBa-NL / PiBa-NL-WIKI

Wiki pages about things i like..
11 stars 11 forks source link

cd /usr/MyFirewall/ && time ./build.sh --update-pkg-repo -> error #15

Open riya1494 opened 5 years ago

riya1494 commented 5 years ago

Hi ,

Can anyone help me with the below error ? Note : I have executed all commands given in the document ( tps://github.com/PiBa-NL/PiBa-NL-WIKI/wiki/How-to-building-a-pfSense-.iso-from-sources) I have got the below error while doing this command cd /usr/MyFirewall/ && time ./build.sh --update-pkg-repo , I have checked logs path given and its showing no errors.

[00:00:00] Warning: MASTERNAME 'MyFirewall_MyFirewall_2_4_amd64-MyFirewall_devel' too long for mounting, using hashed version of '9fc86b'
[00:00:00] Creating the reference jail... done
[00:00:00] Mounting system devices for MyFirewall_MyFirewall_2_4_amd64-MyFirewall_devel
[00:00:00] Mounting ports/packages/distfiles
[00:00:00] Using packages from previously failed build: /usr/local/poudriere/data/packages/MyFirewall_MyFirewall_2_4_amd64-MyFirewall_devel/.building
[00:00:00] Mounting packages from: /usr/local/poudriere/data/packages/MyFirewall_MyFirewall_2_4_amd64-MyFirewall_devel
[00:00:00] Appending to make.conf: /usr/local/etc/poudriere.d/MyFirewall_devel-make.conf
/etc/resolv.conf -> /usr/local/poudriere/data/.m/9fc86b/ref/etc/resolv.conf
[00:00:00] Starting jail MyFirewall_MyFirewall_2_4_amd64-MyFirewall_devel
[00:00:00] Logs: /usr/local/poudriere/data/logs/bulk/MyFirewall_MyFirewall_2_4_amd64-MyFirewall_devel/2019-02-06_23h22m04s
make: cannot open /usr/ports/Mk/bsd.port.mk.
[00:00:00] Error: Error looking up pre-build ports vars
[00:00:00] Cleaning up
[00:00:00] Unmounting file systems
+ echo '>>> ERROR: Something went wrong...'
>>> ERROR: Something went wrong...
+ print_error_pfS
+ echo

+ echo '####################################'
####################################
+ echo 'Something went wrong, check errors!'
Something went wrong, check errors!
+ echo '####################################'
####################################
+ echo

+ echo $'NOTE: a lot of times you can run \'./build.sh --clean-builder\' to resolve.'
NOTE: a lot of times you can run './build.sh --clean-builder' to resolve.
+ echo

+ [ -n /usr/MyFirewall/logs/poudriere.log -a -f /usr/MyFirewall/logs/poudriere.log ]
+ kill 38934
Terminated
root@integ-freebsd11-1:/usr/MyFirewall # 
riya1494 commented 5 years ago

Hi PiBa-NL,

Can you please suggest us for the above issue reported !

PiBa-NL commented 5 years ago

The only thing that might be 'something' of a clue in the above seems to be this:

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

That makes me wonder, did you do the portsnap fetch extract ?

https://github.com/PiBa-NL/PiBa-NL-WIKI/wiki/How-to-building-a-pfSense-.iso-from-sources#troubleshooting And please format your post properly.. (Did that for you now.. putting the wall of text in 'code' tags..) It makes it way more readable..

riya1494 commented 5 years ago

Yes , portsnap fetch extract is done ! but still getting the same error. make: cannot open /usr/ports/Mk/bsd.port.mk.

PiBa-NL commented 5 years ago

Try and see if the file exists 'somewhere'?: find / -name bsd.port.mk

For me the result of that is this, does your machine show the same or at least the last one?:

/usr/MyFirewall/tmp/installer-dir/usr/share/mk/bsd.port.mk
/usr/MyFirewall/tmp/final-dir/usr/share/mk/bsd.port.mk
/usr/MyFirewall/tmp/FreeBSD-src/share/mk/bsd.port.mk
/usr/MyFirewall/tmp/stage-dir/usr/share/mk/bsd.port.mk
/usr/share/mk/bsd.port.mk
/usr/local/poudriere/ports/MyFirewall_devel/Mk/bsd.port.mk
/usr/local/poudriere/jails/MyFirewall_MyFirewall_2_4_amd64/usr/share/mk/bsd.port.mk
/usr/local/poudriere/jails/MyFirewall_MyFirewall_2_4_amd64/usr/src/share/mk/bsd.port.mk
/usr/ports/Mk/bsd.port.mk
LCHOICEzz commented 4 years ago

The same questions. Could yuo give a solutions about these problem?