Jump to content

THEOS make: *** [internal-package] Error 133


Go to solution Solved by Rook,

6 posts in this topic

Recommended Posts

Posted (edited)
i'm new to Theos and I am developing first tweak on iOS 9.0.2 iPad Air.

I have downgraded LD64 and Darwin CC and signed libs in usr/bin but Terminal keeps throwing this error:

 

 

 



iPad:~/welcome mobile$ make package install
/var/mobile/welcome/theos/makefiles/targets/Darwin-arm64/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang.
/var/mobile/welcome/theos/makefiles/targets/Darwin-arm64/iphone.mk:53: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.
Making all for tweak welcome...
Preprocessing Tweak.xm...
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Compiling Tweak.xm...
Linking tweak welcome...
ld: warning: ignoring file /var/mobile/welcome/theos/sdks/iPhoneOS8.1.sdk/usr/lib/dylib1.o, missing required architecture arm64 in file /var/mobile/welcome/theos/sdks/iPhoneOS8.1.sdk/usr/lib/dylib1.o (2 slices)
Stripping welcome...
Signing welcome...
Making stage for tweak welcome...
make: *** [internal-package] Error 133
iPad:~/welcome mobile$



 

Makefile:

 



ARCHS = armv7 arm64

include theos/makefiles/common.mk

TWEAK_NAME = welcome
welcome_FILES = Tweak.xm
welcome_FRAMEWORKS = UIKit
welcome_LDFLAGS += -Wl,-segalign,4000

include $(THEOS_MAKE_PATH)/tweak.mk

after-install::
install.exec "killall -9 SpringBoard"


Help! I have been setting up the development environment for a day! Thanks everyone!

Updated by Inv1ctus
Posted

Type in "make package messages=yes" and paste the output here.

 

Also, where did you get your iOS 8.1 SDK from?

Posted (edited)

@DiDA Hello. Thanks for replying. ;)  I got the sdk from iphone.howett.net/sdks . 

 

I use Theos on iPad by the way.

iPad:~ mobile$ cd /var/mobile/welcome
iPad:~/welcome mobile$ make package messages=yes
/var/mobile/welcome/theos/makefiles/targets/Darwin-arm64/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang.
/var/mobile/welcome/theos/makefiles/targets/Darwin-arm64/iphone.mk:53: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.
Making all for tweak welcome...
make -f Makefile --no-print-directory --no-keep-going \
                internal-library-compile \
                _THEOS_CURRENT_TYPE=tweak THEOS_CURRENT_INSTANCE=welcome _THEOS_CURRENT_OPERATION=compile \
                THEOS_BUILD_DIR="." _THEOS_MAKE_PARALLEL=yes
make[2]: Nothing to be done for `internal-library-compile'.
rm -rf "/private/var/mobile/welcome/_"
/var/mobile/welcome/theos/bin/fakeroot.sh -p "/private/var/mobile/welcome/.theos/fakeroot" -c
mkdir -p "/private/var/mobile/welcome/_"
[ -d layout ] && rsync -a "layout/" "/private/var/mobile/welcome/_" --exclude "DEBIAN" --exclude "_MTN" --exclude ".git" --exclude ".svn" --exclude ".DS_Store" --exclude "._*" || true
Making stage for tweak welcome...
mkdir -p "/private/var/mobile/welcome/_/Library/MobileSubstrate/DynamicLibraries/"
cp ./obj/welcome.dylib "/private/var/mobile/welcome/_/Library/MobileSubstrate/DynamicLibraries/"
if [ -f welcome.plist ]; then cp welcome.plist "/private/var/mobile/welcome/_/Library/MobileSubstrate/DynamicLibraries/"; fi
mkdir -p "/private/var/mobile/welcome/_/DEBIAN"
sed -e '/^[Vv]ersion:/d' "/private/var/mobile/welcome/control" > "/private/var/mobile/welcome/_/DEBIAN/control"
echo "Version: 0.0.1-5" >> "/private/var/mobile/welcome/_/DEBIAN/control"
echo "Installed-Size: 104" >> "/private/var/mobile/welcome/_/DEBIAN/control"
COPYFILE_DISABLE=1 /var/mobile/welcome/theos/bin/fakeroot.sh -p "/private/var/mobile/welcome/.theos/fakeroot" -r dpkg-deb -b "/private/var/mobile/welcome/_" "./com.fty.com_0.0.1-5_iphoneos-arm.deb" 
dyld: could not load inserted library '/var/mobile/welcome/theos/bin/libfauxsu.dylib' because no suitable image found.  Did find:
        /var/mobile/welcome/theos/bin/libfauxsu.dylib: mmap() error 22 at address=0x0012A000, size=0x00001000 segment=__DATA in Segment::map() mapping /var/mobile/welcome/theos/bin/libfauxsu.dylib

/var/mobile/welcome/theos/bin/fauxsu: line 43:  1277 Trace/BPT trap: 5       "$@"
make: *** [internal-package] Error 133
iPad:~/welcome mobile$ 

 

Updated by Inv1ctus
Posted (edited)

@DiDA It works! I followed the first topic and it worked! But I would like to research what is causing this problem...

 

For ones ran into similar error, please try navigating to theos/bin and delete the two files mentioned in the first link given above.

Updated by Inv1ctus

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