Skip to content
Guest Big Announcement

Make Package Errors- Help!

Featured Replies

Solved by Rook

  • Author

Anything?

I did that before you posted but tried again, and still the same error.

 

:cry:  :cry:

  • Replies 35
  • Views 6.2k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • At the top of your Tweak.xm, write #include <UIKit/UIKit.h>   If you have that, go into your makefile and put this if you haven't: injusticehacks_FRAMEWORKS = UIKit

  • Did you include the UIKit in your Tweak.xm? EDIT: My bad, didn't see that part

I did that before you posted but tried again, and still the same error.

 

:cry:  :cry:

Hmm, I don't know. That's extremely weird.

 

With the clang error, you could sign link in /usr/bin, but I highly doubt it will fix the above errors

  • Author

Hmm, I don't know. That's extremely weird.

 

With the clang error, you could sign link in /usr/bin, but I highly doubt it will fix the above errors

I did some digging on google and is something about the lib folder, the libsubstrate.dylib it says that is missing architecture from arm64 ...

  • Author
That Part I fixed already :p

 

The problem now is this shit: 

Last login: Wed Jan 13 02:34:23 on ttys000
Fredericos-Mac:~ root# cd /Users/fredericograciano/Desktop/injustice/
Fredericos-Mac:injustice root# make package
Making all for tweak Injusticehacks...
 Preprocessing Tweak.xm...
 Compiling Tweak.xm...
 Linking tweak Injusticehacks...
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/usr/lib/dylib1.o, missing required architecture arm64 in file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/usr/lib/dylib1.o (2 slices)
 Stripping Injusticehacks...
 Signing Injusticehacks...
/Users/fredericograciano/Desktop/injustice/theos/bin/ldid: line 1: html: No such file or directory
/Users/fredericograciano/Desktop/injustice/theos/bin/ldid: line 2: syntax error near unexpected token `<'
/Users/fredericograciano/Desktop/injustice/theos/bin/ldid: line 2: `  <head><tit'e>Found</title></head>
Making stage for tweak Injusticehacks...
dpkg-deb: building package 'com.yourcompany.injusticehacks' in './com.yourcompany.injusticehacks_2.7.1-7_iphoneos-arm.deb'.
Fredericos-Mac:injustice root# 


the make package works kind of it I get the .deb file but there is some bugs when using the command.

 

and when I try to install the .deb on my phone I get this:

 

4zEoXbb.jpg

 

 

dpkg-deb: file `/install.deb' contains ununderstood data member data.tar.xz , giving up

dpkg: error processing /tmp/_theos_install.deb (--install):

subprocess dpkg-deb --fsys-tarfile returned error exit status 2

Errors were encountered while processing:

Updated by DiDA

Your problem now seems that your theos is compressing the files inside the deb archive to a .xz format which the installer doesn't recognise. Normally, it should only be data.tar and not data.tar.xz like in your case.

 

Can you open this file with a Text Editor and paste the content here.

 

/makefiles/package/deb.mk

  • Author

Your problem now seems that your theos is compressing the files inside the deb archive to a .xz format which the installer doesn't recognise. Normally, it should only be data.tar and not data.tar.xz like in your case.

 

Can you open this file with a Text Editor and paste the content here.

 

/makefiles/package/deb.mk

here it is:

ifeq ($(_THEOS_PACKAGE_FORMAT_LOADED),)
_THEOS_PACKAGE_FORMAT_LOADED := 1

_THEOS_DEB_PACKAGE_CONTROL_PATH := $(or $(wildcard $(THEOS_PROJECT_DIR)/control),$(wildcard $(THEOS_PROJECT_DIR)/layout/DEBIAN/control))
_THEOS_DEB_CAN_PACKAGE := $(if $(_THEOS_DEB_PACKAGE_CONTROL_PATH),$(_THEOS_TRUE),$(_THEOS_FALSE))

_THEOS_DEB_HAS_DPKG_DEB := $(call __executable,dpkg-deb)
ifneq ($(_THEOS_DEB_HAS_DPKG_DEB),$(_THEOS_TRUE))
internal-package-check::
	@[member=Echo Undead]"$(MAKE) package requires dpkg-deb."; exit 1
endif

ifeq ($(_THEOS_DEB_CAN_PACKAGE),$(_THEOS_TRUE)) # Control file found (or layout/ found.)
THEOS_PACKAGE_NAME := $(shell grep -i "^Package:" "$(_THEOS_DEB_PACKAGE_CONTROL_PATH)" | cut -d' ' -f2-)
THEOS_PACKAGE_ARCH := $(shell grep -i "^Architecture:" "$(_THEOS_DEB_PACKAGE_CONTROL_PATH)" | cut -d' ' -f2-)
THEOS_PACKAGE_BASE_VERSION := $(shell grep -i "^Version:" "$(_THEOS_DEB_PACKAGE_CONTROL_PATH)" | cut -d' ' -f2-)

$(_THEOS_ESCAPED_STAGING_DIR)/DEBIAN:
	$(ECHO_NOTHING)mkdir -p "$(THEOS_STAGING_DIR)/DEBIAN"$(ECHO_END)
ifeq ($(_THEOS_HAS_STAGING_LAYOUT),1) # If we have a layout/ directory, copy layout/DEBIAN to the staging directory.
	$(ECHO_NOTHING)[ -d "$(THEOS_PROJECT_DIR)/layout/DEBIAN" ] && rsync -a "$(THEOS_PROJECT_DIR)/layout/DEBIAN/" "$(THEOS_STAGING_DIR)/DEBIAN" $(_THEOS_RSYNC_EXCLUDE_COMMANDLINE) || true$(ECHO_END)
endif # _THEOS_HAS_STAGING_LAYOUT

$(_THEOS_ESCAPED_STAGING_DIR)/DEBIAN/control: $(_THEOS_ESCAPED_STAGING_DIR)/DEBIAN
	$(ECHO_NOTHING)sed -e '/^[Vv]ersion:/d' "$(_THEOS_DEB_PACKAGE_CONTROL_PATH)" > "$@"$(ECHO_END)
	$(ECHO_NOTHING)echo "Version: $(_THEOS_INTERNAL_PACKAGE_VERSION)" >> "$@"$(ECHO_END)
	$(ECHO_NOTHING)echo "Installed-Size: $(shell du $(_THEOS_PLATFORM_DU_EXCLUDE) DEBIAN -ks "$(THEOS_STAGING_DIR)" | cut -f 1)" >> "$@"$(ECHO_END)

before-package:: $(_THEOS_ESCAPED_STAGING_DIR)/DEBIAN/control

_THEOS_DEB_PACKAGE_FILENAME = $(THEOS_PACKAGE_DIR)/$(THEOS_PACKAGE_NAME)_$(_THEOS_INTERNAL_PACKAGE_VERSION)_$(THEOS_PACKAGE_ARCH).deb
internal-package::
	$(ECHO_NOTHING)COPYFILE_DISABLE=1 $(FAKEROOT) -r dpkg-deb -b "$(THEOS_STAGING_DIR)" "$(_THEOS_DEB_PACKAGE_FILENAME)" $(STDERR_NULL_REDIRECT)$(ECHO_END)

# This variable is used in package.mk
after-package:: __THEOS_LAST_PACKAGE_FILENAME = $(_THEOS_DEB_PACKAGE_FILENAME)

else # _THEOS_DEB_CAN_PACKAGE == 0
internal-package::
	@[member=Echo Undead]"$(MAKE) package requires you to have a layout/ directory in the project root, containing the basic package structure, or a control file in the project root describing the package."; exit 1

endif # _THEOS_DEB_CAN_PACKAGE
endif # _THEOS_PACKAGE_FORMAT_LOADED

  • Solution

At line 33 above, edit the whole line replacing it with this code:
 

$(ECHO_NOTHING)COPYFILE_DISABLE=1 $(FAKEROOT) -r dpkg-deb -Zgzip -b "$(THEOS_STAGING_DIR)" "$(_THEOS_DEB_PACKAGE_FILENAME)" $(STDERR_NULL_REDIRECT)$(ECHO_END)

Save, then recompile and reinstall. :)

  • Author

At line 33 above, edit the whole line replacing it with this code:

 

$(ECHO_NOTHING)COPYFILE_DISABLE=1 $(FAKEROOT) -r dpkg-deb -Zgzip -b "$(THEOS_STAGING_DIR)" "$(_THEOS_DEB_PACKAGE_FILENAME)" $(STDERR_NULL_REDIRECT)$(ECHO_END)

Save, then recompile and reinstall. :)

Installed now. :)

 

Another problem tho...

 

In the Settings there isn't the Injustice Hacks option.

 

Can I send you my tweak.xm via PM and you have a look?

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.