[Android Q&A, Help & Troubleshooting] mastrgamr:
I'm a complete beginner to the ROM building world, and decided to work with a custom ROM as a base for practice.

I chose SlimBean for my Nexus 4 (mako).

I already setup up my build environment through the sources on github, started building an otapackage and somewhere down the line I think the build ran into an error I'm not sure what to do about it but I think it has to do with the kernel (that comes with the ROM?) or linaro, but here's the last bit of lines on my terminal:

warning: (ARCH_MSM_KRAITMP && ARCH_MSM_CORTEX_A5) selects HAVE_HW_BRKPT_RESERVED_RW_ACCESS which has unmet direct dependencies (HAVE_HW_BREAKPOINT)
warning: (ARCH_MSM_KRAITMP && ARCH_MSM_CORTEX_A5) selects HAVE_HW_BRKPT_RESERVED_RW_ACCESS which has unmet direct dependencies (HAVE_HW_BREAKPOINT)
Install: /Volumes/android/wizard/out/host/darwin-x86/bin/checkpolicy
make[2]: /Volumes/android/wizard/prebuilt/darwin-x86/toolchain/linaro/bin/arm-linux-gnueabihf-gcc: Command not found
Install: /Volumes/android/wizard/out/host/darwin-x86/bin/checkfc
target Prebuilt: system_core_charger_battery_0.png (/Volumes/android/wizard/out/target/product/mako/obj/ETC/system_core_charger_battery_0.png_intermediates/battery_0.png)
target Prebuilt: system_core_charger_battery_1.png (/Volumes/android/wizard/out/target/product/mako/obj/ETC/system_core_charger_battery_1.png_intermediates/battery_1.png)
target Prebuilt: system_core_charger_battery_2.png (/Volumes/android/wizard/out/target/product/mako/obj/ETC/system_core_charger_battery_2.png_intermediates/battery_2.png)
target Prebuilt: system_core_charger_battery_3.png (/Volumes/android/wizard/out/target/product/mako/obj/ETC/system_core_charger_battery_3.png_intermediates/battery_3.png)
target Prebuilt: system_core_charger_battery_4.png (/Volumes/android/wizard/out/target/product/mako/obj/ETC/system_core_charger_battery_4.png_intermediates/battery_4.png)
target Prebuilt: system_core_charger_battery_5.png (/Volumes/android/wizard/out/target/product/mako/obj/ETC/system_core_charger_battery_5.png_intermediates/battery_5.png)
target Prebuilt: system_core_charger_battery_charge.png (/Volumes/android/wizard/out/target/product/mako/obj/ETC/system_core_charger_battery_charge.png_intermediates/battery_charge.png)
target Prebuilt: system_core_charger_battery_fail.png (/Volumes/android/wizard/out/target/product/mako/obj/ETC/system_core_charger_battery_fail.png_intermediates/battery_fail.png)
Install: /Volumes/android/wizard/out/host/darwin-x86/bin/checkseapp
Copy: /Volumes/android/wizard/out/target/product/mako/root/init.slim.rc
Copy: /Volumes/android/wizard/out/target/product/mako/root/init.usb.rc
Copy: /Volumes/android/wizard/out/target/product/mako/root/init.trace.rc
Copy: /Volumes/android/wizard/out/target/product/mako/root/init.mako.rc
Copy: /Volumes/android/wizard/out/target/product/mako/root/init.mako.usb.rc
Copy: /Volumes/android/wizard/out/target/product/mako/root/fstab.mako
Copy: /Volumes/android/wizard/out/target/product/mako/root/ueventd.mako.rc
Install: /Volumes/android/wizard/out/host/darwin-x86/bin/minigzip
target Prebuilt: nandroid-md5.sh (/Volumes/android/wizard/out/target/product/mako/obj/RECOVERY_EXECUTABLES/nandroid-md5.sh_intermediates/nandroid-md5.sh)
target Prebuilt: killrecovery.sh (/Volumes/android/wizard/out/target/product/mako/obj/RECOVERY_EXECUTABLES/killrecovery.sh_intermediates/killrecovery.sh)
target Prebuilt: parted (/Volumes/android/wizard/out/target/product/mako/obj/RECOVERY_EXECUTABLES/parted_intermediates/parted)
target Prebuilt: sdparted (/Volumes/android/wizard/out/target/product/mako/obj/RECOVERY_EXECUTABLES/sdparted_intermediates/sdparted)
Install: /Volumes/android/wizard/out/host/darwin-x86/framework/dumpkey.jar
target Prebuilt: (/Volumes/android/wizard/out/target/product/mako/system/bin/monkey)
GEN /Volumes/android/wizard/out/target/product/mako/obj/KERNEL_OBJ/Makefile
target Prebuilt: (/Volumes/android/wizard/out/target/product/mako/system/usr/share/bmd/RFFspeed_501.bmd)
target Prebuilt: (/Volumes/android/wizard/out/target/product/mako/system/usr/share/bmd/RFFstd_501.bmd)
target Prebuilt: (/Volumes/android/wizard/out/target/product/mako/system/bin/bmgr)
target Prebuilt: (/Volumes/android/wizard/out/target/product/mako/system/bin/ime)
CHK include/linux/version.h
target Prebuilt: (/Volumes/android/wizard/out/target/product/mako/system/bin/input)
target Prebuilt: (/Volumes/android/wizard/out/target/product/mako/system/bin/pm)
target Prebuilt: (/Volumes/android/wizard/out/target/product/mako/system/bin/svc)
CC scripts/mod/empty.o
/bin/sh: /Volumes/android/wizard/prebuilt/darwin-x86/toolchain/linaro/bin/arm-linux-gnueabihf-gcc: No such file or directory
make[4]: *** [scripts/mod/empty.o] Error 1
make[3]: *** [scripts/mod] Error 2
make[2]: *** [scripts] Error 2
make[2]: *** Waiting for unfinished jobs....
target Prebuilt: system_etcdir (/Volumes/android/wizard/out/target/product/mako/system/etc/hosts)
Install: /Volumes/android/wizard/out/host/darwin-x86/bin/aapt
make[1]: *** [sub-make] Error 2
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished jobs....
target StaticLib: libc (/Volumes/android/wizard/out/target/product/mako/obj/STATIC_LIBRARIES/libc_intermediates/libc.a)

I think it's because of this that ended the compilation:

/bin/sh: /Volumes/android/wizard/prebuilt/darwin-x86/toolchain/linaro/bin/arm-linux-gnueabihf-gcc: No such file or directory

If it is kernel related, is there a way to not have that compiled and build the ROM so that the default AOSP kernel is compiled with the ROM? Eventually I want to do that anyway.

What is to be done about this?

I'm new to building in general but I have successfully compiled android AOSP 4.3r2.1 through linux on virtualbox on my windows machine. I prefer to work on my macbook.