Ubuntor
Anmeldungsdatum: 3. September 2016
Beiträge: Zähle...
|
Ich habe mir in einer virtuellen Maschine Ubuntu 18.04 frisch installiert und aktualisiert. Mit "apt-get source gimp" habe ich mir die Quellen geholt und mit "dpkg-buildpackage -b -us -uc" gebaut. Der Build endet mit einem Fehler:
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131 | ...
PASS: test-gimpidtable
PASS: test-gimptilebackendtilemanager
SKIP: test-session-2-6-compatibility
SKIP: test-session-2-8-compatibility-multi-window
SKIP: test-session-2-8-compatibility-single-window
../../test-driver: line 107: 14081 Trace/breakpoint trap (core dumped) "$@" > $log_file 2>&1
FAIL: test-save-and-export
../../test-driver: line 107: 14303 Trace/breakpoint trap (core dumped) "$@" > $log_file 2>&1
FAIL: test-single-window-mode
../../test-driver: line 107: 14366 Trace/breakpoint trap (core dumped) "$@" > $log_file 2>&1
FAIL: test-tools
../../test-driver: line 107: 14444 Trace/breakpoint trap (core dumped) "$@" > $log_file 2>&1
FAIL: test-ui
PASS: test-core
PASS: test-xcf
===========================================
GIMP 2.8.22: app/tests/test-suite.log
===========================================
# TOTAL: 11
# PASS: 4
# SKIP: 3
# XFAIL: 0
# FAIL: 4
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: test-save-and-export
==========================
Gtk-Message: 17:14:28.091: Failed to load module "canberra-gtk-module"
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
GIMP-Error: Failed to open file ?/etc/gimp/2.0/templaterc?: open() failed: No such file or directory
(/home/beaver/gimp-2.8.22/app/tests/.libs/test-save-and-export:14081): Gtk-WARNING **: 17:14:28.632: Attempting to read the recently used resources file at `/home/beaver/.local/share/recently-used.xbel', but the parser failed: Failed to open file ?/home/beaver/.local/share/recently-used.xbel?: Permission denied.
FAIL test-save-and-export (exit status: 133)
SKIP: test-session-2-6-compatibility
====================================
Gtk-Message: 17:14:35.351: Failed to load module "canberra-gtk-module"
SKIP test-session-2-6-compatibility (exit status: 77)
SKIP: test-session-2-8-compatibility-multi-window
=================================================
Gtk-Message: 17:14:35.551: Failed to load module "canberra-gtk-module"
SKIP test-session-2-8-compatibility-multi-window (exit status: 77)
SKIP: test-session-2-8-compatibility-single-window
==================================================
Gtk-Message: 17:14:35.791: Failed to load module "canberra-gtk-module"
SKIP test-session-2-8-compatibility-single-window (exit status: 77)
FAIL: test-single-window-mode
=============================
Gtk-Message: 17:14:36.002: Failed to load module "canberra-gtk-module"
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
GIMP-Error: Failed to open file ?/etc/gimp/2.0/templaterc?: open() failed: No such file or directory
(/home/beaver/gimp-2.8.22/app/tests/.libs/test-single-window-mode:14303): Gtk-WARNING **: 17:14:36.236: Attempting to read the recently used resources file at `/home/beaver/.local/share/recently-used.xbel', but the parser failed: Failed to open file ?/home/beaver/.local/share/recently-used.xbel?: Permission denied.
FAIL test-single-window-mode (exit status: 133)
FAIL: test-tools
================
Gtk-Message: 17:14:36.728: Failed to load module "canberra-gtk-module"
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
GIMP-Error: Failed to open file ?/etc/gimp/2.0/templaterc?: open() failed: No such file or directory
(/home/beaver/gimp-2.8.22/app/tests/.libs/test-tools:14366): Gtk-WARNING **: 17:14:36.868: Attempting to read the recently used resources file at `/home/beaver/.local/share/recently-used.xbel', but the parser failed: Failed to open file ?/home/beaver/.local/share/recently-used.xbel?: Permission denied.
FAIL test-tools (exit status: 133)
FAIL: test-ui
=============
Gtk-Message: 17:14:37.331: Failed to load module "canberra-gtk-module"
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
GIMP-Error: Failed to open file ?/etc/gimp/2.0/templaterc?: open() failed: No such file or directory
(/home/beaver/gimp-2.8.22/app/tests/.libs/test-ui:14444): Gtk-WARNING **: 17:14:37.510: Attempting to read the recently used resources file at `/home/beaver/.local/share/recently-used.xbel', but the parser failed: Failed to open file ?/home/beaver/.local/share/recently-used.xbel?: Permission denied.
FAIL test-ui (exit status: 133)
============================================================================
Testsuite summary for GIMP 2.8.22
============================================================================
# TOTAL: 11
# PASS: 4
# SKIP: 3
# XFAIL: 0
# FAIL: 4
# XPASS: 0
# ERROR: 0
============================================================================
See app/tests/test-suite.log
Please report to http://bugzilla.gnome.org/enter_bug.cgi?product=GIMP
============================================================================
Makefile:1567: recipe for target 'test-suite.log' failed
make[7]: *** [test-suite.log] Error 1
make[7]: Leaving directory '/home/beaver/gimp-2.8.22/app/tests'
Makefile:1673: recipe for target 'check-TESTS' failed
make[6]: *** [check-TESTS] Error 2
make[6]: Leaving directory '/home/beaver/gimp-2.8.22/app/tests'
Makefile:1841: recipe for target 'check-am' failed
make[5]: *** [check-am] Error 2
make[5]: Leaving directory '/home/beaver/gimp-2.8.22/app/tests'
Makefile:1460: recipe for target 'check-recursive' failed
make[4]: *** [check-recursive] Error 1
make[4]: Leaving directory '/home/beaver/gimp-2.8.22/app/tests'
Makefile:1179: recipe for target 'check-recursive' failed
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory '/home/beaver/gimp-2.8.22/app'
Makefile:1331: recipe for target 'check' failed
make[2]: *** [check] Error 2
make[2]: Leaving directory '/home/beaver/gimp-2.8.22/app'
Makefile:754: recipe for target 'check-recursive' failed
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory '/home/beaver/gimp-2.8.22'
dh_auto_test: make -j3 check VERBOSE=1 returned exit code 2
debian/rules:8: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2
|
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 | beaver@beaver-VirtualBox:~/gimp-2.8.22$ cat app/tests/test-suite.log
===========================================
GIMP 2.8.22: app/tests/test-suite.log
===========================================
# TOTAL: 11
# PASS: 4
# SKIP: 3
# XFAIL: 0
# FAIL: 4
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: test-save-and-export
==========================
Gtk-Message: 17:14:28.091: Failed to load module "canberra-gtk-module"
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
GIMP-Error: Failed to open file ?/etc/gimp/2.0/templaterc?: open() failed: No such file or directory
(/home/beaver/gimp-2.8.22/app/tests/.libs/test-save-and-export:14081): Gtk-WARNING **: 17:14:28.632: Attempting to read the recently used resources file at `/home/beaver/.local/share/recently-used.xbel', but the parser failed: Failed to open file ?/home/beaver/.local/share/recently-used.xbel?: Permission denied.
FAIL test-save-and-export (exit status: 133)
SKIP: test-session-2-6-compatibility
====================================
Gtk-Message: 17:14:35.351: Failed to load module "canberra-gtk-module"
SKIP test-session-2-6-compatibility (exit status: 77)
SKIP: test-session-2-8-compatibility-multi-window
=================================================
Gtk-Message: 17:14:35.551: Failed to load module "canberra-gtk-module"
SKIP test-session-2-8-compatibility-multi-window (exit status: 77)
SKIP: test-session-2-8-compatibility-single-window
==================================================
Gtk-Message: 17:14:35.791: Failed to load module "canberra-gtk-module"
SKIP test-session-2-8-compatibility-single-window (exit status: 77)
FAIL: test-single-window-mode
=============================
Gtk-Message: 17:14:36.002: Failed to load module "canberra-gtk-module"
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
GIMP-Error: Failed to open file ?/etc/gimp/2.0/templaterc?: open() failed: No such file or directory
(/home/beaver/gimp-2.8.22/app/tests/.libs/test-single-window-mode:14303): Gtk-WARNING **: 17:14:36.236: Attempting to read the recently used resources file at `/home/beaver/.local/share/recently-used.xbel', but the parser failed: Failed to open file ?/home/beaver/.local/share/recently-used.xbel?: Permission denied.
FAIL test-single-window-mode (exit status: 133)
FAIL: test-tools
================
Gtk-Message: 17:14:36.728: Failed to load module "canberra-gtk-module"
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
GIMP-Error: Failed to open file ?/etc/gimp/2.0/templaterc?: open() failed: No such file or directory
(/home/beaver/gimp-2.8.22/app/tests/.libs/test-tools:14366): Gtk-WARNING **: 17:14:36.868: Attempting to read the recently used resources file at `/home/beaver/.local/share/recently-used.xbel', but the parser failed: Failed to open file ?/home/beaver/.local/share/recently-used.xbel?: Permission denied.
FAIL test-tools (exit status: 133)
FAIL: test-ui
=============
Gtk-Message: 17:14:37.331: Failed to load module "canberra-gtk-module"
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
GIMP-Error: Failed to open file ?/etc/gimp/2.0/templaterc?: open() failed: No such file or directory
(/home/beaver/gimp-2.8.22/app/tests/.libs/test-ui:14444): Gtk-WARNING **: 17:14:37.510: Attempting to read the recently used resources file at `/home/beaver/.local/share/recently-used.xbel', but the parser failed: Failed to open file ?/home/beaver/.local/share/recently-used.xbel?: Permission denied.
FAIL test-ui (exit status: 133)
|
Hat jemand eine Idee?
|
sebix
Moderator, Webteam
Anmeldungsdatum: 14. April 2009
Beiträge: 5077
|
Hast du lokal alle Build Dependencies installiert? Mit apt-get build-dep gimp kannst du alle installieren.
|
tomtomtom
Supporter
Anmeldungsdatum: 22. August 2008
Beiträge: 52312
|
Auch der Sinn der Aktion wäre interessant. Möchtest du nur das Erstellen von Paketen üben? An den Build-Optionen hast du ja deinen Angaben nichts geändert und auf diesem Weg baust du ja die selbe Version, die bereits in den Paketquellen als fertiges Paket zur Verfügung steht.
|
Ubuntor
(Themenstarter)
Anmeldungsdatum: 3. September 2016
Beiträge: 49
|
sebix schrieb: Hast du lokal alle Build Dependencies installiert? Mit apt-get build-dep gimp kannst du alle installieren.
Ich habe mich mit dpkg-checkbuilddeps überzeugt, dass keine weiteren Abhängigkeiten installiert werden müssen. Der von Dir angegebene Befehl funktioniert bei mir nicht:
| beaver@beaver-VirtualBox:~$ cd gimp-2.8.22/
beaver@beaver-VirtualBox:~/gimp-2.8.22$ dpkg-checkbuilddeps
beaver@beaver-VirtualBox:~/gimp-2.8.22$ apt-get build-dep gimp
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
beaver@beaver-VirtualBox:~/gimp-2.8.22$
|
|
Ubuntor
(Themenstarter)
Anmeldungsdatum: 3. September 2016
Beiträge: 49
|
tomtomtom schrieb: Auch der Sinn der Aktion wäre interessant. Möchtest du nur das Erstellen von Paketen üben? An den Build-Optionen hast du ja deinen Angaben nichts geändert und auf diesem Weg baust du ja die selbe Version, die bereits in den Paketquellen als fertiges Paket zur Verfügung steht.
Ich möchte die Möglichkeit haben, eine Quellcodeänderung an GIMP testen zu können.
Offensichtlich gelingt es mir aber bereits nicht, die Version zu reproduzieren, die von UBUNTU zur Verfügung gestellt wird. Wahrscheinlich muss ich einen Bug einstellen.
|
seahawk1986
Anmeldungsdatum: 27. Oktober 2006
Beiträge: 10978
|
Ubuntor schrieb: Der von Dir angegebene Befehl funktioniert bei mir nicht:
| beaver@beaver-VirtualBox:~/gimp-2.8.22$ apt-get build-dep gimp
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), [mark]are you root[/mark]?
|
Stell ein sudo davor, für das Installieren von Paketen benötigst du erhöhte Rechte.
|
Ubuntor
(Themenstarter)
Anmeldungsdatum: 3. September 2016
Beiträge: 49
|
Der Befehl "sudo apt-get build-dep gimp" hat nur festgestellt, dass nichts zu tun ist. Ich habe einen Bug eingetragen: https://bugs.launchpad.net/ubuntu/+source/gimp/+bug/1770826
|
sven-s
Anmeldungsdatum: 5. August 2010
Beiträge: Zähle...
|
Wie sieht es denn aus, wenn du das Packet nachinstallierst?
| sudo apt install libcanberra-gtk-module
|
Eventuell braucht Gimp auch GTK3, dann aendere gtk einfach in gtk3. Damit sollte es funktionieren. Gibt es beim Bauen die Moeglichkeit, dass man ohne Tests baut und die Tests dann auf einer anderen Maschine laufen laesst? Also ich koennte mir vorstellen, dass libcanberra eine Laufzeitabhaengigkeit, aber keine Bauabhaengigkeit ist. Aber ich kenne mich nicht gut mit dem Bau von debs aus.
|
Ubuntor
(Themenstarter)
Anmeldungsdatum: 3. September 2016
Beiträge: 49
|
libcanberra-gtk3-module ist bereits installiert - libcanberra-gtk-module nicht. Wenn man es installiert, kommt dieser Fehler nicht mehr, aber die test-suite wirft weitere Fehler. Und solange dies so ist, werden keine installierbaren dep-Files generiert.
|
sven-s
Anmeldungsdatum: 5. August 2010
Beiträge: Zähle...
|
Dann zeig doch mal die Logs, welche Fehler nun kommen. Also du kannst auch die Tests abstellen und schauen, ob das fertige Paket funktioniert.
| DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -b -us -uc
|
Warum baust du eigentlich ohne fakeroot? In vielen Anleitungen, die ich gerade so gesehen habe, wir dies verwendet und es erscheint mir auch sinnvoll, wenn du ein Paket als Nutzer bauen willst.
|
Ubuntor
(Themenstarter)
Anmeldungsdatum: 3. September 2016
Beiträge: 49
|
sven-s schrieb: Dann zeig doch mal die Logs, welche Fehler nun kommen.
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210 | PASS: test-gimpidtable
PASS: test-gimptilebackendtilemanager
PASS: test-core
SKIP: test-session-2-6-compatibility
SKIP: test-session-2-8-compatibility-multi-window
SKIP: test-session-2-8-compatibility-single-window
../../test-driver: line 107: 17682 Trace/breakpoint trap (core dumped) "$@" > $log_file 2>&1
FAIL: test-save-and-export
../../test-driver: line 107: 20263 Trace/breakpoint trap (core dumped) "$@" > $log_file 2>&1
FAIL: test-single-window-mode
../../test-driver: line 107: 21067 Trace/breakpoint trap (core dumped) "$@" > $log_file 2>&1
FAIL: test-tools
../../test-driver: line 107: 21086 Trace/breakpoint trap (core dumped) "$@" > $log_file 2>&1
FAIL: test-ui
PASS: test-xcf
===========================================
GIMP 2.8.22: app/tests/test-suite.log
===========================================
# TOTAL: 11
# PASS: 4
# SKIP: 3
# XFAIL: 0
# FAIL: 4
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: test-save-and-export
==========================
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
GIMP-Error: Failed to open file ?/etc/gimp/2.0/templaterc?: open() failed: No such file or directory
GIMP-Error: Failed to open file ?/etc/gimp/2.0/controllerrc?: open() failed: No such file or directory
(/home/beaver/gimp-2.8.22/app/tests/.libs/test-save-and-export:17682): IBUS-WARNING **: 16:42:51.453: Unable to connect to ibus: Error sending credentials: Error sending message: Operation not permitted
FAIL test-save-and-export (exit status: 133)
SKIP: test-session-2-6-compatibility
====================================
SKIP test-session-2-6-compatibility (exit status: 77)
SKIP: test-session-2-8-compatibility-multi-window
=================================================
SKIP test-session-2-8-compatibility-multi-window (exit status: 77)
SKIP: test-session-2-8-compatibility-single-window
==================================================
SKIP test-session-2-8-compatibility-single-window (exit status: 77)
FAIL: test-single-window-mode
=============================
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
GIMP-Error: Failed to open file ?/etc/gimp/2.0/templaterc?: open() failed: No such file or directory
GIMP-Error: Failed to open file ?/etc/gimp/2.0/controllerrc?: open() failed: No such file or directory
/gimp-single-window-mode/new_dockable_not_in_new_window:
(/home/beaver/gimp-2.8.22/app/tests/.libs/test-single-window-mode:20263): IBUS-WARNING **: 16:42:49.686: Unable to connect to ibus: Error sending credentials: Error sending message: Operation not permitted
FAIL test-single-window-mode (exit status: 133)
FAIL: test-tools
================
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
GIMP-Error: Failed to open file ?/etc/gimp/2.0/templaterc?: open() failed: No such file or directory
GIMP-Error: Failed to open file ?/etc/gimp/2.0/controllerrc?: open() failed: No such file or directory
(/home/beaver/gimp-2.8.22/app/tests/.libs/test-tools:21067): IBUS-WARNING **: 16:42:58.524: Unable to connect to ibus: Error sending credentials: Error sending message: Operation not permitted
FAIL test-tools (exit status: 133)
FAIL: test-ui
=============
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
GIMP-Error: Failed to open file ?/etc/gimp/2.0/templaterc?: open() failed: No such file or directory
GIMP-Error: Failed to open file ?/etc/gimp/2.0/controllerrc?: open() failed: No such file or directory
(/home/beaver/gimp-2.8.22/app/tests/.libs/test-ui:21086): IBUS-WARNING **: 16:42:58.619: Unable to connect to ibus: Error sending credentials: Error sending message: Operation not permitted
FAIL test-ui (exit status: 133)
============================================================================
Testsuite summary for GIMP 2.8.22
============================================================================
# TOTAL: 11
# PASS: 4
# SKIP: 3
# XFAIL: 0
# FAIL: 4
# XPASS: 0
# ERROR: 0
============================================================================
See app/tests/test-suite.log
Please report to http://bugzilla.gnome.org/enter_bug.cgi?product=GIMP
============================================================================
Makefile:1567: recipe for target 'test-suite.log' failed
make[7]: *** [test-suite.log] Error 1
make[7]: Leaving directory '/home/beaver/gimp-2.8.22/app/tests'
Makefile:1673: recipe for target 'check-TESTS' failed
make[6]: *** [check-TESTS] Error 2
make[6]: Leaving directory '/home/beaver/gimp-2.8.22/app/tests'
Makefile:1841: recipe for target 'check-am' failed
make[5]: *** [check-am] Error 2
make[5]: Leaving directory '/home/beaver/gimp-2.8.22/app/tests'
Makefile:1460: recipe for target 'check-recursive' failed
make[4]: *** [check-recursive] Error 1
make[4]: Leaving directory '/home/beaver/gimp-2.8.22/app/tests'
Makefile:1179: recipe for target 'check-recursive' failed
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory '/home/beaver/gimp-2.8.22/app'
Makefile:1331: recipe for target 'check' failed
make[2]: *** [check] Error 2
make[2]: Leaving directory '/home/beaver/gimp-2.8.22/app'
Makefile:754: recipe for target 'check-recursive' failed
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory '/home/beaver/gimp-2.8.22'
dh_auto_test: make -j2 check VERBOSE=1 returned exit code 2
debian/rules:8: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2
beaver@beaver-VirtualBox:~/gimp-2.8.22$ cat app/tests/test-suite.log
===========================================
GIMP 2.8.22: app/tests/test-suite.log
===========================================
# TOTAL: 11
# PASS: 4
# SKIP: 3
# XFAIL: 0
# FAIL: 4
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: test-save-and-export
==========================
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
GIMP-Error: Failed to open file ?/etc/gimp/2.0/templaterc?: open() failed: No such file or directory
GIMP-Error: Failed to open file ?/etc/gimp/2.0/controllerrc?: open() failed: No such file or directory
(/home/beaver/gimp-2.8.22/app/tests/.libs/test-save-and-export:17682): IBUS-WARNING **: 16:42:51.453: Unable to connect to ibus: Error sending credentials: Error sending message: Operation not permitted
FAIL test-save-and-export (exit status: 133)
SKIP: test-session-2-6-compatibility
====================================
SKIP test-session-2-6-compatibility (exit status: 77)
SKIP: test-session-2-8-compatibility-multi-window
=================================================
SKIP test-session-2-8-compatibility-multi-window (exit status: 77)
SKIP: test-session-2-8-compatibility-single-window
==================================================
SKIP test-session-2-8-compatibility-single-window (exit status: 77)
FAIL: test-single-window-mode
=============================
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
GIMP-Error: Failed to open file ?/etc/gimp/2.0/templaterc?: open() failed: No such file or directory
GIMP-Error: Failed to open file ?/etc/gimp/2.0/controllerrc?: open() failed: No such file or directory
/gimp-single-window-mode/new_dockable_not_in_new_window:
(/home/beaver/gimp-2.8.22/app/tests/.libs/test-single-window-mode:20263): IBUS-WARNING **: 16:42:49.686: Unable to connect to ibus: Error sending credentials: Error sending message: Operation not permitted
FAIL test-single-window-mode (exit status: 133)
FAIL: test-tools
================
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
GIMP-Error: Failed to open file ?/etc/gimp/2.0/templaterc?: open() failed: No such file or directory
GIMP-Error: Failed to open file ?/etc/gimp/2.0/controllerrc?: open() failed: No such file or directory
(/home/beaver/gimp-2.8.22/app/tests/.libs/test-tools:21067): IBUS-WARNING **: 16:42:58.524: Unable to connect to ibus: Error sending credentials: Error sending message: Operation not permitted
FAIL test-tools (exit status: 133)
FAIL: test-ui
=============
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
GIMP-Error: Failed to open file ?/etc/gimp/2.0/templaterc?: open() failed: No such file or directory
GIMP-Error: Failed to open file ?/etc/gimp/2.0/controllerrc?: open() failed: No such file or directory
(/home/beaver/gimp-2.8.22/app/tests/.libs/test-ui:21086): IBUS-WARNING **: 16:42:58.619: Unable to connect to ibus: Error sending credentials: Error sending message: Operation not permitted
FAIL test-ui (exit status: 133)
beaver@beaver-VirtualBox:~/gimp-2.8.22$
|
Also du kannst auch die Tests abstellen und schauen, ob das fertige Paket funktioniert.
| DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -b -us -uc
|
Ja, danke, so klappts! ☺
Warum baust du eigentlich ohne fakeroot? In vielen Anleitungen, die ich gerade so gesehen habe, wir dies verwendet und es erscheint mir auch sinnvoll, wenn du ein Paket als Nutzer bauen willst.
Ich arbeite mit VirtualBox und so ist es für mich sehr praktisch, dass es in jedem Zustand im System genau eine mit sudo installierte Version gibt.
|
sven-s
Anmeldungsdatum: 5. August 2010
Beiträge: 700
|
Aber fakeroot ist nicht fuer die Installation, sondern erstellt eine chroot mit Root-Rechten, wo das Programm dann in Ruhe bauen kann. Eventuell gehen die Fehler auch weg, wenn du mit fakeroot baust.
|
Ubuntor
(Themenstarter)
Anmeldungsdatum: 3. September 2016
Beiträge: 49
|
sven-s schrieb: Aber fakeroot ist nicht fuer die Installation, sondern erstellt eine chroot mit Root-Rechten, wo das Programm dann in Ruhe bauen kann. Eventuell gehen die Fehler auch weg, wenn du mit fakeroot baust.
Ich habe das Problem nicht nur bei GIMP sondern auch beim Bauen von libgtk-3-0!
Ich habe eine Anleitung geschrieben, wie man dort einen Patch vornehmen und installieren kann: https://forum.ubuntuusers.de/topic/foto-als-anhang-auswaehlen-wie-bei-windows/. Leider wird dort auch DEB_BUILD_OPTIONS=nocheck benötigt. Wie müsste man dort konkret die Befehlsfolge ändern, um auf die Option verzichten zu können?
|
sven-s
Anmeldungsdatum: 5. August 2010
Beiträge: 700
|
Also soweit ich es gelesen habe, sollte es ausreichen, wenn fakeroot installiert ist und du dann noch die Flag hinzufuegst
| dpkg-buildpackage -b -us -uc -rfakeroot
|
Auf der Seite von fakeroot steht zumindest, dass root-Rechte zum bauen von Packeten benoetigt werden und deine Fehler mit
Operation not permitted
passen dazu eigentlich ganz gut. Mh, bei dem Bug-Report gibt es ja auch noch nichts neues.
|
Ubuntor
(Themenstarter)
Anmeldungsdatum: 3. September 2016
Beiträge: 49
|
sven-s schrieb: Also soweit ich es gelesen habe, sollte es ausreichen, wenn fakeroot installiert ist und du dann noch die Flag hinzufuegst
| dpkg-buildpackage -b -us -uc -rfakeroot
|
Keine Verbesserung:
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123 | PASS: test-gimpidtable
PASS: test-gimptilebackendtilemanager
../../test-driver: line 107: 15226 Trace/breakpoint trap (core dumped) "$@" > $log_file 2>&1
FAIL: test-save-and-export
SKIP: test-session-2-6-compatibility
SKIP: test-session-2-8-compatibility-multi-window
SKIP: test-session-2-8-compatibility-single-window
../../test-driver: line 107: 15824 Trace/breakpoint trap (core dumped) "$@" > $log_file 2>&1
FAIL: test-single-window-mode
../../test-driver: line 107: 15986 Trace/breakpoint trap (core dumped) "$@" > $log_file 2>&1
FAIL: test-tools
../../test-driver: line 107: 16135 Trace/breakpoint trap (core dumped) "$@" > $log_file 2>&1
FAIL: test-ui
PASS: test-core
PASS: test-xcf
===========================================
GIMP 2.8.22: app/tests/test-suite.log
===========================================
# TOTAL: 11
# PASS: 4
# SKIP: 3
# XFAIL: 0
# FAIL: 4
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: test-save-and-export
==========================
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
GIMP-Error: Failed to open file ?/etc/gimp/2.0/templaterc?: open() failed: No such file or directory
(/home/beaver/gimp-2.8.22/app/tests/.libs/test-save-and-export:15226): Gtk-WARNING **: 10:46:22.360: Attempting to read the recently used resources file at `/home/beaver/.local/share/recently-used.xbel', but the parser failed: Failed to open file ?/home/beaver/.local/share/recently-used.xbel?: Permission denied.
FAIL test-save-and-export (exit status: 133)
SKIP: test-session-2-6-compatibility
====================================
SKIP test-session-2-6-compatibility (exit status: 77)
SKIP: test-session-2-8-compatibility-multi-window
=================================================
SKIP test-session-2-8-compatibility-multi-window (exit status: 77)
SKIP: test-session-2-8-compatibility-single-window
==================================================
SKIP test-session-2-8-compatibility-single-window (exit status: 77)
FAIL: test-single-window-mode
=============================
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
GIMP-Error: Failed to open file ?/etc/gimp/2.0/templaterc?: open() failed: No such file or directory
(/home/beaver/gimp-2.8.22/app/tests/.libs/test-single-window-mode:15824): Gtk-WARNING **: 10:46:27.760: Attempting to read the recently used resources file at `/home/beaver/.local/share/recently-used.xbel', but the parser failed: Failed to open file ?/home/beaver/.local/share/recently-used.xbel?: Permission denied.
FAIL test-single-window-mode (exit status: 133)
FAIL: test-tools
================
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
GIMP-Error: Failed to open file ?/etc/gimp/2.0/templaterc?: open() failed: No such file or directory
(/home/beaver/gimp-2.8.22/app/tests/.libs/test-tools:15986): Gtk-WARNING **: 10:46:28.848: Attempting to read the recently used resources file at `/home/beaver/.local/share/recently-used.xbel', but the parser failed: Failed to open file ?/home/beaver/.local/share/recently-used.xbel?: Permission denied.
FAIL test-tools (exit status: 133)
FAIL: test-ui
=============
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
GIMP-Error: Failed to open file ?/etc/gimp/2.0/templaterc?: open() failed: No such file or directory
(/home/beaver/gimp-2.8.22/app/tests/.libs/test-ui:16135): Gtk-WARNING **: 10:46:29.869: Attempting to read the recently used resources file at `/home/beaver/.local/share/recently-used.xbel', but the parser failed: Failed to open file ?/home/beaver/.local/share/recently-used.xbel?: Permission denied.
FAIL test-ui (exit status: 133)
============================================================================
Testsuite summary for GIMP 2.8.22
============================================================================
# TOTAL: 11
# PASS: 4
# SKIP: 3
# XFAIL: 0
# FAIL: 4
# XPASS: 0
# ERROR: 0
============================================================================
See app/tests/test-suite.log
Please report to http://bugzilla.gnome.org/enter_bug.cgi?product=GIMP
============================================================================
Makefile:1567: recipe for target 'test-suite.log' failed
make[7]: *** [test-suite.log] Error 1
make[7]: Leaving directory '/home/beaver/gimp-2.8.22/app/tests'
Makefile:1673: recipe for target 'check-TESTS' failed
make[6]: *** [check-TESTS] Error 2
make[6]: Leaving directory '/home/beaver/gimp-2.8.22/app/tests'
Makefile:1841: recipe for target 'check-am' failed
make[5]: *** [check-am] Error 2
make[5]: Leaving directory '/home/beaver/gimp-2.8.22/app/tests'
Makefile:1460: recipe for target 'check-recursive' failed
make[4]: *** [check-recursive] Error 1
make[4]: Leaving directory '/home/beaver/gimp-2.8.22/app/tests'
Makefile:1179: recipe for target 'check-recursive' failed
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory '/home/beaver/gimp-2.8.22/app'
Makefile:1331: recipe for target 'check' failed
make[2]: *** [check] Error 2
make[2]: Leaving directory '/home/beaver/gimp-2.8.22/app'
Makefile:754: recipe for target 'check-recursive' failed
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory '/home/beaver/gimp-2.8.22'
dh_auto_test: make -j2 check VERBOSE=1 returned exit code 2
debian/rules:8: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2
|
|