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

error: no dependency information found for /usr/lib/libxml2.so.2 #1079

Closed
jean-christophe-manciot opened this issue Jan 26, 2016 · 5 comments
Labels

Comments

@jean-christophe-manciot

On system Ubuntu Server 15.10 4.2.0-25-generic #30-Ubuntu SMP Mon Jan 18 12:31:50 UTC 2016 x86_64
I experience this error whether I run dpkg-buildpackage on sources with 2.8.6 tag or current commit 3c19e02
I tried to reinstall libxml2 but there is no change in behavior.

...
make[1]: Leaving directory '/home/actionmystique/Program-Files/Ubuntu/Nemo/git-nemo'
dh_installgsettings
dh_icons
dh_perl
dh_link
dh_compress
dh_fixperms
debian/rules override_dh_strip
make[1]: Entering directory '/home/actionmystique/Program-Files/Ubuntu/Nemo/git-nemo'
dh_strip --dbg-package=nemo-dbg
make[1]: Leaving directory '/home/actionmystique/Program-Files/Ubuntu/Nemo/git-nemo'
debian/rules override_dh_makeshlibs
make[1]: Entering directory '/home/actionmystique/Program-Files/Ubuntu/Nemo/git-nemo'
dh_makeshlibs -Xusr/lib/nemo/extensions-3.0/
make[1]: Leaving directory '/home/actionmystique/Program-Files/Ubuntu/Nemo/git-nemo'
dh_shlibdeps
dpkg-shlibdeps: error: no dependency information found for /usr/lib/libxml2.so.2 (used by debian/nemo/usr/lib/nemo/nemo-convert-metadata)
Hint: check if the library actually comes from a package.
dh_shlibdeps: dpkg-shlibdeps -Tdebian/nemo.substvars debian/nemo/usr/bin/nemo-connect-server debian/nemo/usr/bin/nemo-open-with debian/nemo/usr/bin/nemo-autorun-software debian/nemo/usr/bin/nemo debian/nemo/usr/lib/nemo/nemo-extensions-list debian/nemo/usr/lib/nemo/nemo-convert-metadata returned exit code 2
debian/rules:13: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: error: debian/rules binary gave error exit status 2

Whole log: nemo dpkg-buildpackage error.txt

@jean-christophe-manciot
Copy link
Author

Here's a workaround from dpkg-shlibdeps: error: no dependency information found for: add the following lines in debian/rules:

override_dh_shlibdeps:
    dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info

It is necessary to insert a TAB instead of spaces before "dh_shlibdeps ..."

@laurencechan
Copy link

laurencechan commented Dec 11, 2019

Here's a workaround from dpkg-shlibdeps: error: no dependency information found for: add the following lines in debian/rules:

override_dh_shlibdeps:
    dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info

It is necessary to insert a TAB instead of spaces before "dh_shlibdeps ..."

Hi~. This not work for me.
I add this line in debian/rules
image
But still encountered the same error message.
image

@jean-christophe-manciot
Copy link
Author

Is your editor transforming tabs into spaces?

@icarter09
Copy link
Member

@jean-christophe-manciot are you still experiencing this issue on the latest version of nemo?

@jean-christophe-manciot
Copy link
Author

No.

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

No branches or pull requests

4 participants