[SOLVED]Help with debian/rules

Contribute code to SolydXK and make it even better.
User avatar
Snap
Posts: 1244
Joined: 25 Aug 2013 20:01
Location: Spain

[SOLVED]Help with debian/rules

Postby Snap » 19 Oct 2014 17:03

I'm having problems packaging Cadence. This is the debian/rules file at this point

Code: Select all

#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#DH_VERBOSE = 1

# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk

# see FEATURE AREAS in dpkg-buildflags(1)
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# see ENVIRONMENT in dpkg-buildflags(1)
# package maintainers to append CFLAGS
#export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
# package maintainers to append LDFLAGS
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed


# main packaging script based on dh7 syntax
%:
	dh $@ 

# debmake generated override targets
# This is example for Cmake (See http://bugs.debian.org/641051 )
#override_dh_auto_configure:
#	dh_auto_configure -- \
#	-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
override_dh_auto_install:
	$(MAKE) DESTDIR=$$(pwd)/debian/cadence prefix=/usr install
And I'm getting these errors

Code: Select all

dh_usrlocal: debian/cadence/usr/local/bin/cadence-jackmeter is not a directory
dh_usrlocal: debian/cadence/usr/local/bin/catarina is not a directory
dh_usrlocal: debian/cadence/usr/local/bin/cadence-xycontroller is not a directory
dh_usrlocal: debian/cadence/usr/local/bin/cadence-pulse2jack is not a directory
dh_usrlocal: debian/cadence/usr/local/bin/claudia-launcher is not a directory
dh_usrlocal: debian/cadence/usr/local/bin/cadence-jacksettings is not a directory
dh_usrlocal: debian/cadence/usr/local/bin/claudia is not a directory
dh_usrlocal: debian/cadence/usr/local/bin/cadence-logs is not a directory
dh_usrlocal: debian/cadence/usr/local/bin/catia is not a directory
dh_usrlocal: debian/cadence/usr/local/bin/cadence-aloop-daemon is not a directory
dh_usrlocal: debian/cadence/usr/local/bin/cadence is not a directory
dh_usrlocal: debian/cadence/usr/local/bin/cadence-session-start is not a directory
dh_usrlocal: debian/cadence/usr/local/bin/cadence-render is not a directory
rmdir: failed to remove ‘debian/cadence/usr/local/bin’: Directory not empty
dh_usrlocal: rmdir debian/cadence/usr/local/bin returned exit code 1
make: *** [binary] Error 1
debian/rules:22: recipe for target 'binary' failed
dpkg-buildpackage: error: debian/rules binary gave error exit status 2
These are not directories, they are executables as they should. Any tips or guidance about what I'm doing wrong?

Thanks.
This likely means that your installation is broken. -Mr Pixbuf.

Image

User avatar
Snap
Posts: 1244
Joined: 25 Aug 2013 20:01
Location: Spain

Re: Help with debian/rules

Postby Snap » 20 Oct 2014 08:32

Solved. It was not rules, it was a wrong selection in the control file.
This likely means that your installation is broken. -Mr Pixbuf.

Image


Return to “Code”

Who is online

Users browsing this forum: No registered users and 2 guests