[XDA-University] Micha_Btz:
moin,

this is the first time, when i tried to build a pacman rom.

but i compile CM legacyxperia, so the build environment is working, also the java version.

i think in the java version there is no difference between pac and cyanogenmod.

~/handy/build/pacman$ LC_ALL=C ./build-pac.sh -j2 -c mango
Building P A C v4.3.Build-1

Looking for PAC product dependencies
Check for LegacyXperia/android_device_semc_mango in local_manifest
LegacyXperia/android_device_semc_mango already in local_manifest
Check for LegacyXperia/android_device_semc_mogami-common in local_manifest
LegacyXperia/android_device_semc_mogami-common already in local_manifest
Check for LegacyXperia/android_device_semc_msm7x30-common in local_manifest
LegacyXperia/android_device_semc_msm7x30-common already in local_manifest
Check for LegacyXperia/msm7x30-3.4.x-nAa in local_manifest
LegacyXperia/msm7x30-3.4.x-nAa already in local_manifest
Check for CyanogenMod/android_hardware_sony_DASH in local_manifest
CyanogenMod/android_hardware_sony_DASH already in local_manifest
Check for LegacyXperia/proprietary_vendor_semc in local_manifest
LegacyXperia/proprietary_vendor_semc already in local_manifest

Setting up environment
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/goldfish/vendorsetup.sh
including device/generic/mips/vendorsetup.sh
including device/generic/x86/vendorsetup.sh
including device/semc/mango/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including vendor/pa/vendorsetup.sh
including vendor/pac/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/cm/bash_completion/git.bash
including vendor/cm/bash_completion/repo.bash

Lunching device
build/core/product_config.mk:238: *** _nic.PRODUCTS.[[vendor/pac/products/pac_mango.mk]]: "hardware/ti/wlan/mac80211/wl127x-wlan-products.mk" does not exist. Stop.
Device mango not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_semc_mango
Default revision: cm-10.2
Checking branch info
Default revision cm-10.2 not found in android_device_semc_mango. Bailing.
Branches found:
cm-9.0.0
gb-release-7.2
gingerbread
gingerbread-release
ics
ics-release
jellybean
jellybean-stable
master
cm-7.1.0
Use the ROOMSERVICE_BRANCHES environment variable to specify a list of fallback branches.
build/core/product_config.mk:238: *** _nic.PRODUCTS.[[vendor/pac/products/pac_mango.mk]]: "hardware/ti/wlan/mac80211/wl127x-wlan-products.mk" does not exist. Stop.

** Don't have a product spec for: 'pac_mango'
** Do you have the right repo manifest?

Starting compilation
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3.1
CM_VERSION=
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11-1-amd64-x86_64-with-debian-jessie-sid
HOST_BUILD_TYPE=release
BUILD_ID=JLS36I
OUT_DIR=/home/mdomann/handy/build/pacman/out
============================================
Checking build tools versions...
************************************************************
You are attempting to build with an unsupported JDK.

You use OpenJDK but only Sun/Oracle JDK is supported.
Please follow the machine setup instructions at
https://source.android.com/source/download.html

Continue at your own peril!
************************************************************
************************************************************
You are attempting to build with an unsupported version
of java.

Your version is: java version "1.6.0_27".
The correct version is: Java SE 1.6 or 1.7.

Please follow the machine setup instructions at
https://source.android.com/source/download.html
************************************************************
No private recovery resources for TARGET_DEVICE generic
build/core/tasks/kernel.mk:84: **********************************************************
build/core/tasks/kernel.mk:85: * Kernel source found, but no configuration was defined *
build/core/tasks/kernel.mk:86: * Please add the TARGET_KERNEL_CONFIG variable to your *
build/core/tasks/kernel.mk:87: * BoardConfig.mk file *
build/core/tasks/kernel.mk:88: **********************************************************
Can't open build/target/board/generic/arch/arm/configs/: No such file or directory at -e line 1.
Can't open build/target/board/generic/arch/arm/configs/: No such file or directory at -e line 1.
make: *** No rule to make target `bacon'. Stop.

ERROR: vendor/pac/tools/squisher only works with a full build environment. should exist.
Total time elapsed: 1 minutes 1 seconds

At first it lock good i think, but from lunching there are the device not found. Any hints what should i do to solve this errors?

TIA Micha

EDIT: I think there are problems with the vendor/pac/dependencies/mango.dependencies mango.adds and mango.removes files

but i can'T fix this on my own