Видео смотреть бесплатно

Смотреть мамки видео

Официальный сайт printclick 24/7/365

Смотреть видео бесплатно

02.05.10 10:37 pashazz

Есть проблема![solved] Проблема со сборкой DEB-пакета

Собираю пакет для своей библиотеки libwinegame. Сам deb-пакет библиотеки создал, а development пакет - никак.



libwinegame-dev.install:
/usr/include/*

control:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

Source: libwinegame
Priority: optional
Maintainer: Pavel Zinin (Pashazz`s GnuPG key) <PZinin@gmail.com>
Build-Depends: debhelper (>= 7), libqt4-dev (>= 4.6.0), qt4-dev-tools(>= 4.6.0)
Standards-Version: 3.8.3
Section: libs
Homepage: http://winegame.googlecode.com

Package: libwinegame0
Section: libs
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: WineStuff (libwinegame) library
  WineStuff (also known as libwinegame) is a library, that used in WineGame application. WineStuff allows installing windows applications into wine prefixes. It is a WineGame engine.

Package: libwinegame-dev
Section: libdevel
Architecture: all
Depends: libwinegame0 (= ${binary:Version})
Description: WineStuff (libwinegame) library - development files
  WineStuff (also known as libwinegame) is a library, that used in WineGame application. WineStuff allows installing windows applications into wine prefixes. It is a WineGame engine.
 

rules:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100

#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.

# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1

build/Makefile:
   qmake



configure: configure-stamp
configure-stamp: build/Makefile
   dh_testdir
   # Add here commands to configure the package.

   

build: build-stamp

build-stamp: configure-stamp
   dh_testdir
   
   # Add here commands to compile the package.
   $(MAKE)

   touch $@

clean: build/Makefile
   dh_testdir
   dh_testroot
   rm -f build-stamp configure-stamp

   # Add here commands to clean up after the build process.
   
   $(MAKE) distclean

   dh_clean

install: build
   dh_testdir
   dh_testroot
   dh_prep
   dh_installdirs
   
      #install headers manually
   mkdir -p $(CURDIR)/debian/libwinegame/usr/include
   mkdir -p $(CURDIR)/debian/libwinegame0/usr/include
               #Where to put headers???
   cp $(CURDIR)/*.h $(CURDIR)/debian/libwinegame/usr/include
   cp $(CURDIR)/*.h $(CURDIR)/debian/libwinegame0/usr/include
   cp $(CURDIR)/*.h $(CURDIR)/debian/libwinegame-dev/usr/include
   
   $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/libwinegame install


# Build architecture-independent files here.
binary-indep: install
# We have nothing to do by default.

# Build architecture-dependent files here.
binary-arch: install
   dh_testdir
   dh_testroot
   dh_installchangelogs
#   dh_installdocs
#   dh_installexamples
   dh_install
#   dh_installmenu
#   dh_installdebconf
#   dh_installlogrotate
#   dh_installemacsen
#   dh_installpam
#   dh_installmime
#   dh_python
#   dh_installinit
#   dh_installcron
#   dh_installinfo
#   dh_installman
#   dh_link
   dh_strip
   dh_compress
   dh_fixperms
#   dh_perl
   dh_makeshlibs
   dh_installdeb
   dh_shlibdeps
   dh_gencontrol
   dh_md5sums
   dh_builddeb

binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure
 


Результат:

pasha@lucid-buildmachine:~/work/libwinegame-0.0.1-rc2$ dpkg-buildpackage -rfakeroot
dpkg-buildpackage: установка CFLAGS в значение по умолчанию: -g -O2
dpkg-buildpackage: установка CPPFLAGS в значение по умолчанию:
dpkg-buildpackage: установка LDFLAGS в значение по умолчанию: -Wl,-Bsymbolic-functions
dpkg-buildpackage: установка FFLAGS в значение по умолчанию: -g -O2
dpkg-buildpackage: установка CXXFLAGS в значение по умолчанию: -g -O2
dpkg-buildpackage: пакет исходных текстов libwinegame
dpkg-buildpackage: версия исходных текстов 0.0.1-rc2-1~ppa1
dpkg-buildpackage: исходные тексты изменены Pavel Zinin (Pashazz`s GnuPG key)
dpkg-buildpackage: архитектура хоста i386
fakeroot debian/rules clean
qmake
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
/usr/bin/make distclean
make[1]: Вход в каталог `/home/pasha/work/libwinegame-0.0.1-rc2'
rm -f moc_engine.cpp moc_corelib.cpp moc_prefix.cpp
rm -f engine.o corelib.o prefix.o moc_engine.o moc_corelib.o moc_prefix.o
rm -f *~ core *.core
rm -f libwinestuff.so.0.0.1
rm -f libwinestuff.so libwinestuff.so.0 libwinestuff.so.0.0 libwinestuff.a
rm -f Makefile
make[1]: Выход из каталога `/home/pasha/work/libwinegame-0.0.1-rc2'
dh_clean
rm -f debian/libwinegame0.substvars
rm -f debian/libwinegame0.*.debhelper
rm -f debian/libwinegame0.debhelper.log
rm -rf debian/libwinegame0/
rm -f debian/libwinegame-dev.substvars
rm -f debian/libwinegame-dev.*.debhelper
rm -f debian/libwinegame-dev.debhelper.log
rm -rf debian/libwinegame-dev/
rm -f debian/files
find . \( \( -type f -a \
\( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
-o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
-o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
-o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
\) -exec rm -f {} \; \) -o \
\( -type d -a -name autom4te.cache -prune -exec rm -rf {} \; \) \)
rm -f *-stamp
dpkg-source -b libwinegame-0.0.1-rc2
dpkg-source: инфо: используется формат исходника `1.0'
dpkg-source: инфо: сборка libwinegame с использованием существующего libwinegame_0.0.1-rc2.orig.tar.gz
dpkg-source: инфо: сборка libwinegame в libwinegame_0.0.1-rc2-1~ppa1.diff.gz
dpkg-source: предупреждение: файл libwinegame-0.0.1-rc2/libwinegame.pro не завершается символом новой строки (оригинальная или изменённая версия)
dpkg-source: предупреждение: the diff modifies the following upstream files:
libwinegame.pro
dpkg-source: инфо: use the '3.0 (quilt)' format to have separate and documented changes to upstream files, see dpkg-source(1)
dpkg-source: инфо: сборка libwinegame в libwinegame_0.0.1-rc2-1~ppa1.dsc
debian/rules build
qmake
dh_testdir
# Add here commands to configure the package.
dh_testdir
# Add here commands to compile the package.
/usr/bin/make
make[1]: Вход в каталог `/home/pasha/work/libwinegame-0.0.1-rc2'
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DWINESTUFF_LIBRARY -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -o engine.o engine.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DWINESTUFF_LIBRARY -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -o corelib.o corelib.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DWINESTUFF_LIBRARY -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -o prefix.o prefix.cpp
/usr/bin/moc-qt4 -DWINESTUFF_LIBRARY -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. engine.h -o moc_engine.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DWINESTUFF_LIBRARY -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -o moc_engine.o moc_engine.cpp
/usr/bin/moc-qt4 -DWINESTUFF_LIBRARY -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. corelib.h -o moc_corelib.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DWINESTUFF_LIBRARY -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -o moc_corelib.o moc_corelib.cpp
/usr/bin/moc-qt4 -DWINESTUFF_LIBRARY -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. prefix.h -o moc_prefix.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DWINESTUFF_LIBRARY -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -o moc_prefix.o moc_prefix.cpp
rm -f libwinestuff.so.0.0.1 libwinestuff.so libwinestuff.so.0 libwinestuff.so.0.0
g++ -Wl,-O1 -shared -Wl,-soname,libwinestuff.so.0 -o libwinestuff.so.0.0.1 engine.o corelib.o prefix.o moc_engine.o moc_corelib.o moc_prefix.o -L/usr/lib -lQtGui -lQtNetwork -lQtCore -lpthread
ln -s libwinestuff.so.0.0.1 libwinestuff.so
ln -s libwinestuff.so.0.0.1 libwinestuff.so.0
ln -s libwinestuff.so.0.0.1 libwinestuff.so.0.0
make[1]: Выход из каталога `/home/pasha/work/libwinegame-0.0.1-rc2'
touch build-stamp
fakeroot debian/rules binary
qmake
dh_testdir
# Add here commands to configure the package.
dh_testdir
# Add here commands to compile the package.
/usr/bin/make
make[1]: Вход в каталог `/home/pasha/work/libwinegame-0.0.1-rc2'
make[1]: Цель `first' не требует выполнения команд.
make[1]: Выход из каталога `/home/pasha/work/libwinegame-0.0.1-rc2'
touch build-stamp
dh_testdir
dh_testroot
dh_prep
rm -f debian/libwinegame0.substvars
rm -f debian/libwinegame0.*.debhelper
rm -rf debian/libwinegame0/
rm -f debian/libwinegame-dev.substvars
rm -f debian/libwinegame-dev.*.debhelper
rm -rf debian/libwinegame-dev/
dh_installdirs
install -d debian/libwinegame0
install -d debian/libwinegame-dev
install -d debian/libwinegame-dev/usr/include
#install headers manually
mkdir -p /home/pasha/work/libwinegame-0.0.1-rc2/debian/libwinegame/usr/include
mkdir -p /home/pasha/work/libwinegame-0.0.1-rc2/debian/libwinegame0/usr/include
cp /home/pasha/work/libwinegame-0.0.1-rc2/*.h /home/pasha/work/libwinegame-0.0.1-rc2/debian/libwinegame/usr/include
cp /home/pasha/work/libwinegame-0.0.1-rc2/*.h /home/pasha/work/libwinegame-0.0.1-rc2/debian/libwinegame0/usr/include
cp /home/pasha/work/libwinegame-0.0.1-rc2/*.h /home/pasha/work/libwinegame-0.0.1-rc2/debian/libwinegame-dev/usr/include
/usr/bin/make INSTALL_ROOT=/home/pasha/work/libwinegame-0.0.1-rc2/debian/libwinegame install
make[1]: Вход в каталог `/home/pasha/work/libwinegame-0.0.1-rc2'
install -m 755 -p "libwinestuff.so.0.0.1" "/home/pasha/work/libwinegame-0.0.1-rc2/debian/libwinegame/usr/lib/libwinestuff.so.0.0.1"
strip --strip-unneeded "/home/pasha/work/libwinegame-0.0.1-rc2/debian/libwinegame/usr/lib/libwinestuff.so.0.0.1"
ln -f -s "libwinestuff.so.0.0.1" "/home/pasha/work/libwinegame-0.0.1-rc2/debian/libwinegame/usr/lib/libwinestuff.so"
ln -f -s "libwinestuff.so.0.0.1" "/home/pasha/work/libwinegame-0.0.1-rc2/debian/libwinegame/usr/lib/libwinestuff.so.0"
ln -f -s "libwinestuff.so.0.0.1" "/home/pasha/work/libwinegame-0.0.1-rc2/debian/libwinegame/usr/lib/libwinestuff.so.0.0"
make[1]: Выход из каталога `/home/pasha/work/libwinegame-0.0.1-rc2'
dh_testdir
dh_testroot
dh_installchangelogs
install -d debian/libwinegame0/usr/share/doc/libwinegame0
install -o 0 -g 0 -p -m644 debian/changelog debian/libwinegame0/usr/share/doc/libwinegame0/changelog.Debian
install -d debian/libwinegame-dev/usr/share/doc/libwinegame-dev
install -o 0 -g 0 -p -m644 debian/changelog debian/libwinegame-dev/usr/share/doc/libwinegame-dev/changelog.Debian
dh_install
dh_install: libwinegame-dev missing files (usr/include/*), aborting
make: *** [binary-arch] Ошибка 2
dpkg-buildpackage: ошибка: fakeroot debian/rules binary возвратил код ошибки 2



Thanks, all well done


Теги:

Alex_P 02.05.10 11:47 # +1
Попробуй так:

1
2
3
4
5
6
7
8
9
10
11
12
install: build
   dh_testdir
   dh_testroot
   dh_prep
   dh_installdirs
   
      #install headers manually
   mkdir -p $(CURDIR)/debian/tmp/usr/include
               #Where to put headers???
   cp $(CURDIR)/*.h $(CURDIR)/debian/tmp/usr/include
   
   $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/tmp install



libwinegame-dev.install:
1
2
usr/include/*
 


libwinegame.install
1
2
usr/lib/*
 

Alex_P 02.05.10 11:53 # +2
Ошибочка :)
libwinegame0.install:
1
2
usr/lib/*
 

pashazz 02.05.10 19:13 # +0
спасибо, помогло.
Uni 02.05.10 13:01 # +0
плохо, что здесь нельзя исправлять написанное,правда?
nvbn 02.05.10 15:50 # +0
Попробуй собрать его через гуй debreate
pashazz 02.05.10 19:31 # +0
Кривая тулза. Только для тех, кто не в теме.

Лучшие блоги (все 133)
Топ пользователей Топ блогов
Топ пользователей Топ блогов
Элита (все 2589 из 203 городов)
Топ пользователей Топ блогов
welinux.ru

В хорошем качестве hd видео

Онлайн видео бесплатно


Смотреть русское с разговорами видео

Online video HD

Видео скачать на телефон

Русские фильмы бесплатно

Full HD video online

Смотреть видео онлайн

Смотреть HD видео бесплатно

School смотреть онлайн