[HTC One X+] Aust S5:
Hi PippoX3

I seem to have run into a build problem that i am not sure about. I recently "upgraded" distro to 14.04lts and since I get the following dependency errors when compiling, a google search hasn't turned up too much that seems to apply.

ben@lappy:~/Carbondev$ time mka carbon -j9

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=4.4.2

CARBON_VERSION="CARBON-KK-NIGHTLY"-20140506-1640

TARGET_PRODUCT=carbon_enrc2b

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a-neon

TARGET_CPU_VARIANT=cortex-a9

HOST_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-3.13.0-24-generic-x86_64-with-Ubuntu-14.04-trusty

HOST_BUILD_TYPE=release

BUILD_ID=KVT49L

OUT_DIR=/home/ben/Carbondev/out

============================================

/home/ben/Carbondev/out/target/product/enrc2b/obj/APPS/SignatureTest_intermediates

find: ‘src’: No such file or directory

PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Effect_Tick.ogg:system/media/audio/ui/Effect_Tick.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressReturn.ogg:system/media/audio/ui/KeypressReturn.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressDelete.ogg:system/media/audio/ui/KeypressDelete.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressSpacebar.ogg:system/media/audio/ui/KeypressSpacebar.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressStandard.ogg:system/media/audio/ui/KeypressStandard.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/VideoRecord.ogg:system/media/audio/ui/VideoRecord.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/camera_click.ogg:system/media/audio/ui/camera_click.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/LowBattery.ogg:system/media/audio/ui/LowBattery.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Dock.ogg:system/media/audio/ui/Dock.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Undock.ogg:system/media/audio/ui/Undock.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Lock.ogg:system/media/audio/ui/Lock.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Unlock.ogg:system/media/audio/ui/Unlock.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Effect_Tick_48k.ogg:system/media/audio/ui/Effect_Tick.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressStandard_48k.ogg:system/media/audio/ui/KeypressStandard.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressSpacebar_48k.ogg:system/media/audio/ui/KeypressSpacebar.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressDelete_48k.ogg:system/media/audio/ui/KeypressDelete.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressInvalid_48k.ogg:system/media/audio/ui/KeypressInvalid.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/KeypressReturn_48k.ogg:system/media/audio/ui/KeypressReturn.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/VideoRecord_48k.ogg:system/media/audio/ui/VideoRecord.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/camera_click_48k.ogg:system/media/audio/ui/camera_click.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Lock_48k.ogg:system/media/audio/ui/Lock.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/effects/ogg/Unlock_48k.ogg:system/media/audio/ui/Unlock.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/notifications/ogg/Ariel_48k.ogg:system/media/audio/notifications/Ariel.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/notifications/ogg/Ceres_48k.ogg:system/media/audio/notifications/Ceres.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/notifications/ogg/Carme_48k.ogg:system/media/audio/notifications/Carme.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/notifications/ogg/Elara_48k.ogg:system/media/audio/notifications/Elara.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/notifications/ogg/Europa_48k.ogg:system/media/audio/notifications/Europa.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/notifications/ogg/Iapetus_48k.ogg:system/media/audio/notifications/Iapetus.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/notifications/ogg/Io_48k.ogg:system/media/audio/notifications/Io.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/notifications/ogg/Rhea_48k.ogg:system/media/audio/notifications/Rhea.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/notifications/ogg/Salacia_48k.ogg:system/media/audio/notifications/Salacia.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/notifications/ogg/Titan_48k.ogg:system/media/audio/notifications/Titan.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/notifications/ogg/Tethys_48k.ogg:system/media/audio/notifications/Tethys.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/ringtones/ogg/Callisto_48k.ogg:system/media/audio/ringtones/Callisto.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/ringtones/ogg/Dione_48k.ogg:system/media/audio/ringtones/Dione.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/ringtones/ogg/Ganymede_48k.ogg:system/media/audio/ringtones/Ganymede.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/ringtones/ogg/Luna_48k.ogg:system/media/audio/ringtones/Luna.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/ringtones/ogg/Oberon_48k.ogg:system/media/audio/ringtones/Oberon.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/ringtones/ogg/Phobos_48k.ogg:system/media/audio/ringtones/Phobos.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/ringtones/ogg/Sedna_48k.ogg:system/media/audio/ringtones/Sedna.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/ringtones/ogg/Titania_48k.ogg:system/media/audio/ringtones/Titania.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/ringtones/ogg/Triton_48k.ogg:system/media/audio/ringtones/Triton.ogg ignored.

PRODUCT_COPY_FILES frameworks/base/data/sounds/ringtones/ogg/Umbriel_48k.ogg:system/media/audio/ringtones/Umbriel.ogg ignored.

build/core/Makefile:44: warning: overriding commands for target `/home/ben/Carbondev/out/target/product/enrc2b/system/etc/dhcpcd/dhcpcd.conf'

build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/ben/Carbondev/out/target/product/enrc2b/system/etc/dhcpcd/dhcpcd.conf'

build/core/Makefile:44: warning: overriding commands for target `/home/ben/Carbondev/out/target/product/enrc2b/system/bin/hostapd'

build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/ben/Carbondev/out/target/product/enrc2b/system/bin/hostapd'

build/core/Makefile:44: warning: overriding commands for target `/home/ben/Carbondev/out/target/product/enrc2b/system/bin/mtpd'

build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/ben/Carbondev/out/target/product/enrc2b/system/bin/mtpd'

build/core/Makefile:44: warning: overriding commands for target `/home/ben/Carbondev/out/target/product/enrc2b/system/bin/rild'

build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/ben/Carbondev/out/target/product/enrc2b/system/bin/rild'

build/core/Makefile:44: warning: overriding commands for target `/home/ben/Carbondev/out/target/product/enrc2b/system/lib/egl/egl.cfg'

build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/ben/Carbondev/out/target/product/enrc2b/system/lib/egl/egl.cfg'

build/core/Makefile:44: warning: overriding commands for target `/home/ben/Carbondev/out/target/product/enrc2b/system/lib/egl/libGLES_android.so'

build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/ben/Carbondev/out/target/product/enrc2b/system/lib/egl/libGLES_android.so'

build/core/Makefile:44: warning: overriding commands for target `/home/ben/Carbondev/out/target/product/enrc2b/system/lib/hw/gralloc.default.so'

build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/ben/Carbondev/out/target/product/enrc2b/system/lib/hw/gralloc.default.so'

build/core/Makefile:44: warning: overriding commands for target `/home/ben/Carbondev/out/target/product/enrc2b/system/lib/hw/keystore.default.so'

build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/ben/Carbondev/out/target/product/enrc2b/system/lib/hw/keystore.default.so'

build/core/Makefile:44: warning: overriding commands for target `/home/ben/Carbondev/out/target/product/enrc2b/system/lib/hw/local_time.default.so'

build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/ben/Carbondev/out/target/product/enrc2b/system/lib/hw/local_time.default.so'

build/core/Makefile:44: warning: overriding commands for target `/home/ben/Carbondev/out/target/product/enrc2b/system/lib/libril.so'

build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/ben/Carbondev/out/target/product/enrc2b/system/lib/libril.so'

build/core/Makefile:44: warning: overriding commands for target `/home/ben/Carbondev/out/target/product/enrc2b/system/lib/libmllite.so'

build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/ben/Carbondev/out/target/product/enrc2b/system/lib/libmllite.so'

build/core/Makefile:44: warning: overriding commands for target `/home/ben/Carbondev/out/target/product/enrc2b/system/lib/libmlplatform.so'

build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/ben/Carbondev/out/target/product/enrc2b/system/lib/libmlplatform.so'

PRODUCT_COPY_FILES device/htc/tegra3-common/configs/egl.cfg:system/lib/egl/egl.cfg ignored.

PRODUCT_COPY_FILES frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf ignored.

PRODUCT_COPY_FILES frameworks/base/data/keyboards/qwerty.kl:system/usr/keylayout/qwerty.kl ignored.

PRODUCT_COPY_FILES system/core/rootdir/init.usb.rc:root/init.usb.rc ignored.

PRODUCT_COPY_FILES system/core/rootdir/init.trace.rc:root/init.trace.rc ignored.

PRODUCT_COPY_FILES system/core/rootdir/ueventd.rc:root/ueventd.rc ignored.

No private recovery resources for TARGET_DEVICE enrc2b

make -C kernel/htc/enrc2b O=/home/ben/Carbondev/out/target/product/enrc2b/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/ben/Carbondev/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cyanogenmod_enrc2b_defconfig

host Executable: mkbootimg (/home/ben/Carbondev/out/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/mkbootimg)

host Executable: acp (/home/ben/Carbondev/out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp)

make[1]: Entering directory `/home/ben/Carbondev/kernel/htc/enrc2b'

/bin/bash: m4: command not found

Yacc: checkpolicy <= external/checkpolicy/policy_parse.y

make: *** [/home/ben/Carbondev/out/target/product/enrc2b/obj/ETC/sepolicy_intermediates/policy.conf] Error 127

make: *** Deleting file `/home/ben/Carbondev/out/target/product/enrc2b/obj/ETC/sepolicy_intermediates/policy.conf'

make: *** Waiting for unfinished jobs....

prebuilts/misc/linux-x86/bison/bison -d -v -o /home/ben/Carbondev/out/host/linux-x86/obj/EXECUTABLES/checkpolicy_intermediates/policy_parse.cpp external/checkpolicy/policy_parse.y

Lex: checkpolicy <= external/checkpolicy/policy_scan.l

/bin/bash: flex: command not found

make: *** [/home/ben/Carbondev/out/host/linux-x86/obj/EXECUTABLES/checkpolicy_intermediates/policy_scan.cpp] Error 127

make: *** [/home/ben/Carbondev/out/host/linux-x86/obj/EXECUTABLES/checkpolicy_intermediates/policy_parse.cpp] Broken pipe

GEN /home/ben/Carbondev/out/target/product/enrc2b/obj/KERNEL_OBJ/Makefile

drivers/net/wireless/bcmdhd_4334/Kconfig:28:warning: choice value used outside its choice group

arch/arm/configs/cyanogenmod_enrc2b_defconfig:182:warning: override: reassigning to symbol IOSCHED_DEADLINE

arch/arm/configs/cyanogenmod_enrc2b_defconfig:183:warning: override: reassigning to symbol IOSCHED_CFQ

warning: (QCT_9K_MODEM) selects MSM_SYSMON_COMM which has unmet direct dependencies (ARCH_TEGRA && MSM_SMD && MSM_SUBSYSTEM_RESTART)

warning: (QCT_9K_MODEM) selects MSM_RMNET_BAM which has unmet direct dependencies (NETDEVICES && MSM_BAM_DMUX)

warning: (QCT_9K_MODEM) selects MSM_SYSMON_COMM which has unmet direct dependencies (ARCH_TEGRA && MSM_SMD && MSM_SUBSYSTEM_RESTART)

warning: (QCT_9K_MODEM) selects MSM_RMNET_BAM which has unmet direct dependencies (NETDEVICES && MSM_BAM_DMUX)

#

# configuration written to .config

#

make[1]: Leaving directory `/home/ben/Carbondev/kernel/htc/enrc2b'

real	0m29.596s

user	0m20.391s

sys	0m5.595s