Marcin Mielniczuk
2012-09-13 17:24:09 UTC
Hi,
I was trying to compile libaccounts-qt1, and came across this problem:
dh_install --sourcedir=debian/tmp
--
Marcin
--
Marcin
I was trying to compile libaccounts-qt1, and came across this problem:
dh_install --sourcedir=debian/tmp
install -d debian/libaccounts-qt1//usr/lib
cp -a debian/tmp//usr/lib/libaccounts-qt.so.1
debian/libaccounts-qt1//usr/lib/
cp -a debian/tmp//usr/lib/libaccounts-qt.so.1.1
debian/libaccounts-qt1//usr/lib/
cp -a debian/tmp//usr/lib/libaccounts-qt.so.1.1.4
debian/libaccounts-qt1//usr/lib/
install -d debian/libaccounts-qt-dev//usr/lib
cp -a debian/tmp//usr/lib/libaccounts-qt.so
debian/libaccounts-qt-dev//usr/lib/
install -d debian/libaccounts-qt-dev//usr/lib/pkgconfig
cp -a debian/tmp//usr/lib/pkgconfig/accounts-qt.pc
debian/libaccounts-qt-dev//usr/lib/pkgconfig/
install -d debian/libaccounts-qt-dev//usr/include/accounts-qt
cp -a debian/tmp//usr/include/accounts-qt/account.h
debian/libaccounts-qt-dev//usr/include/accounts-qt/
cp -a debian/tmp//usr/include/accounts-qt/Accounts
debian/libaccounts-qt-dev//usr/include/accounts-qt/
cp -a debian/tmp//usr/include/accounts-qt/accountscommon.h
debian/libaccounts-qt-dev//usr/include/accounts-qt/
cp -a debian/tmp//usr/include/accounts-qt/manager.h
debian/libaccounts-qt-dev//usr/include/accounts-qt/
cp -a debian/tmp//usr/include/accounts-qt/provider.h
debian/libaccounts-qt-dev//usr/include/accounts-qt/
cp -a debian/tmp//usr/include/accounts-qt/service.h
debian/libaccounts-qt-dev//usr/include/accounts-qt/
install -d debian/libaccounts-qt-tests//usr/bin
cp -a debian/tmp//usr/bin/accountstest
debian/libaccounts-qt-tests//usr/bin/
install -d debian/libaccounts-qt-tests//usr/share/libaccounts-qt-tests
cp -a debian/tmp//usr/share/libaccounts-qt-tests/e-mail.service-type
debian/libaccounts-qt-tests//usr/share/libaccounts-qt-tests/
cp -a debian/tmp//usr/share/libaccounts-qt-tests/MyProvider.provider
debian/libaccounts-qt-tests//usr/share/libaccounts-qt-tests/
cp -a debian/tmp//usr/share/libaccounts-qt-tests/MyService.service
debian/libaccounts-qt-tests//usr/share/libaccounts-qt-tests/
cp -a debian/tmp//usr/share/libaccounts-qt-tests/OtherService.service
debian/libaccounts-qt-tests//usr/share/libaccounts-qt-tests/
cp -a debian/tmp//usr/share/libaccounts-qt-tests/tests.xml
debian/libaccounts-qt-tests//usr/share/libaccounts-qt-tests/
dh_link
rm -f debian/libaccounts-qt1/usr/lib/libaccounts-qt.so.1.1
ln -sf libaccounts-qt.so.1.1.4
debian/libaccounts-qt1/usr/lib/libaccounts-qt.so.1.1
rm -f debian/libaccounts-qt1/usr/lib/libaccounts-qt.so.1
ln -sf libaccounts-qt.so.1.1.4
debian/libaccounts-qt1/usr/lib/libaccounts-qt.so.1
rm -f debian/libaccounts-qt-dev/usr/lib/libaccounts-qt.so
ln -sf libaccounts-qt.so.1.1.4
debian/libaccounts-qt-dev/usr/lib/libaccounts-qt.so
dh_strip --dbg-package=libaccounts-qt-dbg --exclude=tests
install -d debian/libaccounts-qt-dbg/usr/lib/debug//usr/lib
objcopy --only-keep-debug
debian/libaccounts-qt1/usr/lib/libaccounts-qt.so.1.1.4
debian/libaccounts-qt-dbg/usr/lib/debug//usr/lib/libaccounts-qt.so.1.1.4
chmod 644
debian/libaccounts-qt-dbg/usr/lib/debug//usr/lib/libaccounts-qt.so.1.1.4
strip --remove-section=.comment --remove-section=.note --strip-unneeded
debian/libaccounts-qt1/usr/lib/libaccounts-qt.so.1.1.4
objcopy --add-gnu-debuglink
debian/libaccounts-qt-dbg/usr/lib/debug//usr/lib/libaccounts-qt.so.1.1.4
debian/libaccounts-qt1/usr/lib/libaccounts-qt.so.1.1.4
dh_strip --dbg-package=libaccounts-qt-tests-dbg --exclude=Accounts
install -d debian/libaccounts-qt-tests-dbg/usr/lib/debug//usr/lib
objcopy --only-keep-debug
debian/libaccounts-qt1/usr/lib/libaccounts-qt.so.1.1.4
debian/libaccounts-qt-tests-dbg/usr/lib/debug//usr/lib/libaccounts-qt.so.1.1.4
chmod 644
debian/libaccounts-qt-tests-dbg/usr/lib/debug//usr/lib/libaccounts-qt.so.1.1.4
strip --remove-section=.comment --remove-section=.note --strip-unneeded
debian/libaccounts-qt1/usr/lib/libaccounts-qt.so.1.1.4
objcopy --add-gnu-debuglink
debian/libaccounts-qt-tests-dbg/usr/lib/debug//usr/lib/libaccounts-qt.so.1.1.4
debian/libaccounts-qt1/usr/lib/libaccounts-qt.so.1.1.4
objcopy:debian/libaccounts-qt1/usr/lib/stfmMFAE: cannot create debug link
section
Invalid operation
How can this be fixed?cp -a debian/tmp//usr/lib/libaccounts-qt.so.1
debian/libaccounts-qt1//usr/lib/
cp -a debian/tmp//usr/lib/libaccounts-qt.so.1.1
debian/libaccounts-qt1//usr/lib/
cp -a debian/tmp//usr/lib/libaccounts-qt.so.1.1.4
debian/libaccounts-qt1//usr/lib/
install -d debian/libaccounts-qt-dev//usr/lib
cp -a debian/tmp//usr/lib/libaccounts-qt.so
debian/libaccounts-qt-dev//usr/lib/
install -d debian/libaccounts-qt-dev//usr/lib/pkgconfig
cp -a debian/tmp//usr/lib/pkgconfig/accounts-qt.pc
debian/libaccounts-qt-dev//usr/lib/pkgconfig/
install -d debian/libaccounts-qt-dev//usr/include/accounts-qt
cp -a debian/tmp//usr/include/accounts-qt/account.h
debian/libaccounts-qt-dev//usr/include/accounts-qt/
cp -a debian/tmp//usr/include/accounts-qt/Accounts
debian/libaccounts-qt-dev//usr/include/accounts-qt/
cp -a debian/tmp//usr/include/accounts-qt/accountscommon.h
debian/libaccounts-qt-dev//usr/include/accounts-qt/
cp -a debian/tmp//usr/include/accounts-qt/manager.h
debian/libaccounts-qt-dev//usr/include/accounts-qt/
cp -a debian/tmp//usr/include/accounts-qt/provider.h
debian/libaccounts-qt-dev//usr/include/accounts-qt/
cp -a debian/tmp//usr/include/accounts-qt/service.h
debian/libaccounts-qt-dev//usr/include/accounts-qt/
install -d debian/libaccounts-qt-tests//usr/bin
cp -a debian/tmp//usr/bin/accountstest
debian/libaccounts-qt-tests//usr/bin/
install -d debian/libaccounts-qt-tests//usr/share/libaccounts-qt-tests
cp -a debian/tmp//usr/share/libaccounts-qt-tests/e-mail.service-type
debian/libaccounts-qt-tests//usr/share/libaccounts-qt-tests/
cp -a debian/tmp//usr/share/libaccounts-qt-tests/MyProvider.provider
debian/libaccounts-qt-tests//usr/share/libaccounts-qt-tests/
cp -a debian/tmp//usr/share/libaccounts-qt-tests/MyService.service
debian/libaccounts-qt-tests//usr/share/libaccounts-qt-tests/
cp -a debian/tmp//usr/share/libaccounts-qt-tests/OtherService.service
debian/libaccounts-qt-tests//usr/share/libaccounts-qt-tests/
cp -a debian/tmp//usr/share/libaccounts-qt-tests/tests.xml
debian/libaccounts-qt-tests//usr/share/libaccounts-qt-tests/
dh_link
rm -f debian/libaccounts-qt1/usr/lib/libaccounts-qt.so.1.1
ln -sf libaccounts-qt.so.1.1.4
debian/libaccounts-qt1/usr/lib/libaccounts-qt.so.1.1
rm -f debian/libaccounts-qt1/usr/lib/libaccounts-qt.so.1
ln -sf libaccounts-qt.so.1.1.4
debian/libaccounts-qt1/usr/lib/libaccounts-qt.so.1
rm -f debian/libaccounts-qt-dev/usr/lib/libaccounts-qt.so
ln -sf libaccounts-qt.so.1.1.4
debian/libaccounts-qt-dev/usr/lib/libaccounts-qt.so
dh_strip --dbg-package=libaccounts-qt-dbg --exclude=tests
install -d debian/libaccounts-qt-dbg/usr/lib/debug//usr/lib
objcopy --only-keep-debug
debian/libaccounts-qt1/usr/lib/libaccounts-qt.so.1.1.4
debian/libaccounts-qt-dbg/usr/lib/debug//usr/lib/libaccounts-qt.so.1.1.4
chmod 644
debian/libaccounts-qt-dbg/usr/lib/debug//usr/lib/libaccounts-qt.so.1.1.4
strip --remove-section=.comment --remove-section=.note --strip-unneeded
debian/libaccounts-qt1/usr/lib/libaccounts-qt.so.1.1.4
objcopy --add-gnu-debuglink
debian/libaccounts-qt-dbg/usr/lib/debug//usr/lib/libaccounts-qt.so.1.1.4
debian/libaccounts-qt1/usr/lib/libaccounts-qt.so.1.1.4
dh_strip --dbg-package=libaccounts-qt-tests-dbg --exclude=Accounts
install -d debian/libaccounts-qt-tests-dbg/usr/lib/debug//usr/lib
objcopy --only-keep-debug
debian/libaccounts-qt1/usr/lib/libaccounts-qt.so.1.1.4
debian/libaccounts-qt-tests-dbg/usr/lib/debug//usr/lib/libaccounts-qt.so.1.1.4
chmod 644
debian/libaccounts-qt-tests-dbg/usr/lib/debug//usr/lib/libaccounts-qt.so.1.1.4
strip --remove-section=.comment --remove-section=.note --strip-unneeded
debian/libaccounts-qt1/usr/lib/libaccounts-qt.so.1.1.4
objcopy --add-gnu-debuglink
debian/libaccounts-qt-tests-dbg/usr/lib/debug//usr/lib/libaccounts-qt.so.1.1.4
debian/libaccounts-qt1/usr/lib/libaccounts-qt.so.1.1.4
objcopy:debian/libaccounts-qt1/usr/lib/stfmMFAE: cannot create debug link
section
Invalid operation
--
Marcin
--
Marcin