Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dpkg-buildpackage -us -uc does not work after d9681c374 #65

Open
xrobau opened this issue Oct 18, 2023 · 1 comment
Open

dpkg-buildpackage -us -uc does not work after d9681c374 #65

xrobau opened this issue Oct 18, 2023 · 1 comment

Comments

@xrobau
Copy link

xrobau commented Oct 18, 2023

One of the changes made in d9681c3 was to add this line to configure.ac:

AX_CHECK_REAL_FILE([${prefix}/lib64], libdir='${exec_prefix}/lib64')

Unfortunately, this SHOULD be ${prefix}/lib64/${host} in both cases. While it doesn't matter that much to the OS itself, all the libspandsp installers are hard-coded to be /usr/lib (which is a symlink to /usr/lib64, so that doesn't matter) but also require something to match a glob of /usr/lib/*/libspandsp

For an example, see https://github.com/freeswitch/spandsp/blob/master/debian/libspandsp3.install

This is fixed by this patch, which simply adds ${host} to both sides. xrobau/freeswitch-ubuntubuilder@7924f4a#diff-1acd998070a18f72fce00e939f0d05162806ad9af641eb0821df6c78a58b6f41

However, the end result is that it does nothing. Overriding libdir is NOT something that it should be doing, so a better idea is to remove that line totally.

xrobau referenced this issue in xrobau/freeswitch-ubuntubuilder Oct 18, 2023
@Beerlesklopfer
Copy link

on 933d40d dpkg-buildpackage -uc -us -b results to:
[...]
dh_install
dh_install: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_install: warning: Cannot find (any matches for) "debian/tmp/usr/lib//libspandsp.so." (tried in ., debian/tmp)

dh_install: warning: libspandsp3 missing files: debian/tmp/usr/lib//libspandsp.so.
dh_install: warning: Cannot find (any matches for) "debian/tmp/usr/lib/*/libspandsp.so" (tried in ., debian/tmp)

dh_install: warning: libspandsp3-dev missing files: debian/tmp/usr/lib//libspandsp.so
dh_install: warning: Cannot find (any matches for) "debian/tmp/usr/lib/
/libspandsp.a" (tried in ., debian/tmp)

dh_install: warning: libspandsp3-dev missing files: debian/tmp/usr/lib//libspandsp.a
dh_install: warning: Cannot find (any matches for) "debian/tmp/usr/lib/
/pkgconfig/spandsp.pc" (tried in ., debian/tmp)

dh_install: warning: libspandsp3-dev missing files: debian/tmp/usr/lib/*/pkgconfig/spandsp.pc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants