kdar debianisieren

Vom einfachen Programm zum fertigen Debian-Paket, Fragen rund um Programmiersprachen, Scripting und Lizenzierung.
Antworten
altzheimer
Beiträge: 221
Registriert: 06.03.2007 15:53:44
Kontaktdaten:

kdar debianisieren

Beitrag von altzheimer » 07.03.2009 10:29:02

Hallo zusammen!

Ich versuche seit ein paar Tagen aus der aktuellen Version (2.1.0) von kdar ein Debianpaket zu bauen. Das configure läuft ohne Fehlermeldungen durch, nur beim Kompilieren kommt es zu zahlreichen Warnungen und dem Abbruch von make.

Code: Alles auswählen

8<--------------------------
In file included from /usr/share/qt3/include/qwindowdefs.h:47,
                 from /usr/share/qt3/include/qobject.h:46,
                 from /usr/include/kde/dcopobject.h:26,
                 from /tmp/buildd/kdar-2.1.0/./src/./kdariface.h:8,
                 from /tmp/buildd/kdar-2.1.0/./src/kdariface_skel.cpp:9:
/usr/share/qt3/include/qstring.h: In member function 'char QChar::latin1() const
/usr/share/qt3/include/qstring.h:197: warning: conversion to 'char' from 'int' m
/usr/share/qt3/include/qstring.h: In member function 'void QChar::setCell(uchar)
/usr/share/qt3/include/qstring.h:222: warning: conversion to 'ushort' from 'int'
/usr/share/qt3/include/qstring.h: In member function 'void QChar::setRow(uchar)'
/usr/share/qt3/include/qstring.h:223: warning: conversion to 'ushort' from 'int'
/usr/share/qt3/include/qstring.h: In constructor 'QChar::QChar(uchar, uchar)':
/usr/share/qt3/include/qstring.h:267: warning: conversion to 'ushort' from 'int'
/usr/share/qt3/include/qstring.h: In constructor 'QStringData::QStringData(QChar
/usr/share/qt3/include/qstring.h:365: warning: conversion to 'unsigned int:30' f
/usr/share/qt3/include/qstring.h:365: warning: conversion to 'unsigned int:30' f
In file included from /usr/share/qt3/include/qobject.h:48,
                 from /usr/include/kde/dcopobject.h:26,
                 from /tmp/buildd/kdar-2.1.0/./src/./kdariface.h:8,
                 from /tmp/buildd/kdar-2.1.0/./src/kdariface_skel.cpp:9:
/usr/share/qt3/include/qevent.h: In member function 'void QDropEvent::setAction(
/usr/share/qt3/include/qevent.h:523: warning: conversion to 'unsigned char' from
/usr/share/qt3/bin/moc kdarConfigureDlg.h -o kdarConfigureDlg.moc
moc: kdarConfigureDlg.h: No such file
make[3]: *** [kdarConfigureDlg.moc] Error 1
make[3]: Leaving directory `/tmp/buildd/kdar-2.1.0/obj-x86_64-linux-gnu/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/kdar-2.1.0/obj-x86_64-linux-gnu'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/kdar-2.1.0/obj-x86_64-linux-gnu'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
8<-------------------------------
rules

Code: Alles auswählen

#!/usr/bin/make -f

cdbs_kde_enable_debug = --enable-debug

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/kde.mk

DEB_INSTALL_MANPAGES_kdar = debian/kdar.1

install/kdar::
	dh_install src/kdar.desktop usr/share/applications/kde
	rm -f debian/kdar/usr/share/applnk/Utilities/kdar.desktop
	rm -rf debian/kdar/usr/share/applnk/Utilities
	rm -rf debian/kdar/usr/share/applnk
	dh_desktop

	dh_icons

DEB_CONFIGURE_EXTRA_FLAGS= --prefix=/usr --enable-mode=64 --enable-largefile
Es sind auch alle notwendigen dev-Pakete installiert:

Code: Alles auswählen

debhelper autotools-dev cdbs kdelibs4-dev libxi-dev libdar-dev
Ich komme nicht weiter, selbst wenn ich es mit configure/make/make install versuche, kommen die selben Warnungen...


Gruß
Stephan

Antworten