Jump to content

Make Package Errors- Help!


Go to solution Solved by Rook,

36 posts in this topic

Recommended Posts

Posted

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

Posted

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 ...

Posted (edited)
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
Posted

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

Posted

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
Posted

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. :)

Posted

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

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