Jump to content

Error on compiling: missing version


Go to solution Solved by Rook,

3 posts in this topic

Recommended Posts

Posted

Hello everyone!

 

I'm getting this strange error when I try to compline my project. iOS 9.0.2

Here are the error

Making all for tweak K9...
make -f Makefile --no-print-directory --no-keep-going \
		internal-library-compile \
		_THEOS_CURRENT_TYPE=tweak THEOS_CURRENT_INSTANCE=K9 _THEOS_CURRENT_OPERATION=compile \
		THEOS_BUILD_DIR="." _THEOS_MAKE_PARALLEL=yes
make[2]: Nothing to be done for `internal-library-compile'.
Making all in K9...
make[1]: Entering directory `/private/var/mobile/K9/K9'
Making all for bundle K9...
mkdir -p "obj/K9.bundle/"
mkdir -p "obj/K9.bundle/"
mkdir -p "obj/K9.bundle/"
for d in Resources; do \
		if [ -d "$d" ]; then \
			rsync -a "$d/" "./obj/K9.bundle/" --exclude "_MTN" --exclude ".git" --exclude ".svn" --exclude ".DS_Store" --exclude "._*"; \
		else \
			echo "Warning: ignoring missing bundle resource directory $d."; \
		fi; \
	done
make -f Makefile --no-print-directory --no-keep-going \
		internal-bundle-compile \
		_THEOS_CURRENT_TYPE=bundle THEOS_CURRENT_INSTANCE=K9 _THEOS_CURRENT_OPERATION=compile \
		THEOS_BUILD_DIR="." _THEOS_MAKE_PARALLEL=yes
make[3]: Nothing to be done for `internal-bundle-compile'.
make[1]: Leaving directory `/private/var/mobile/K9/K9'
rm -rf "/private/var/mobile/K9/_"
/var/theos/bin/fakeroot.sh -p "/private/var/mobile/K9/.theos/fakeroot" -c
mkdir -p "/private/var/mobile/K9/_"
[ -d layout ] && rsync -a "layout/" "/private/var/mobile/K9/_" --exclude "DEBIAN" --exclude "_MTN" --exclude ".git" --exclude ".svn" --exclude ".DS_Store" --exclude "._*" || true
Making stage for tweak K9...
mkdir -p "/private/var/mobile/K9/_/Library/MobileSubstrate/DynamicLibraries/"
cp ./obj/K9.dylib "/private/var/mobile/K9/_/Library/MobileSubstrate/DynamicLibraries/"
if [ -f K9.plist ]; then cp K9.plist "/private/var/mobile/K9/_/Library/MobileSubstrate/DynamicLibraries/"; fi
Making stage in K9...
make[1]: Entering directory `/private/var/mobile/K9/K9'
[ -d layout ] && rsync -a "layout/" "/private/var/mobile/K9/_" --exclude "DEBIAN" --exclude "_MTN" --exclude ".git" --exclude ".svn" --exclude ".DS_Store" --exclude "._*" || true
Making stage for bundle K9...
mkdir -p "/private/var/mobile/K9/_/Library/PreferenceBundles/K9.bundle"
rsync -a "./obj/K9.bundle/" "/private/var/mobile/K9/_/Library/PreferenceBundles/K9.bundle"
mkdir -p /private/var/mobile/K9/_/Library/PreferenceLoader/Preferences
cp entry.plist /private/var/mobile/K9/_/Library/PreferenceLoader/Preferences/K9.plist
make[1]: Leaving directory `/private/var/mobile/K9/K9'
mkdir -p "/private/var/mobile/K9/_/DEBIAN"
sed -e '/^[Vv]ersion:/d' "/private/var/mobile/K9/control" > "/private/var/mobile/K9/_/DEBIAN/control"
echo "Version: 1.0.0-7" >> "/private/var/mobile/K9/_/DEBIAN/control"
echo "Installed-Size: 264" >> "/private/var/mobile/K9/_/DEBIAN/control"
COPYFILE_DISABLE=1 /var/theos/bin/fakeroot.sh -p "/private/var/mobile/K9/.theos/fakeroot" -r dpkg-deb -b "/private/var/mobile/K9/_" "./com.niro.K9_1.0.0-7_iphoneos-arm.deb" 
dpkg-deb: parse error, in file `/private/var/mobile/K9/_/DEBIAN/control' near line 11 package `com.niro.k9':
 missing version
make: *** [internal-package] Error 2
After some googling I found this http://stackoverflow.com/questions/17910807/internal-package-error-2-while-building-in-theos

 

Here is my control file in question

 

 

Package: com.niro.K9

Name: K9

Depends: mobilesubstrate, preferenceloader

Version: 1.0.0

Architecture: iphoneos-arm

Description: K9 is a modified client for Kik, within K9 you will find everything you need to enhance your Kik experience!

Maintainer: niro

Author: niro

Section: Tweaks

Homepage: http://iosgods.com

 

Thanks for the help have a good day/night!!

  • Solution
Posted

Add a new empty line at the end of your Control file.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines