[opensuse-packaging] Problem building otrverwaltung
Hello, I'm currently trying to build otrverwaltung, a python tool to decode and cut files downloaded from OTR (this is legal even in Germany...). It has some components that run under wine, which cause problems. During build, a couple of files are copied: [ 85s] copying data/tools/intern-VirtualDub/wine/drive_c/Program Files/ffdshow/ff_wmv9.dll -> /home/abuild/rpmbuild/BUILDROOT/otr-verwaltung-0.96-2.1.i386/usr/share/otrverwaltung/tools/intern-VirtualDub/wine/drive_c/Program Files/ffdshow [ 85s] copying data/tools/intern-VirtualDub/wine/drive_c/windows/system32/tapi32.dll -> /home/abuild/rpmbuild/BUILDROOT/otr-verwaltung-0.96-2.1.i386/usr/share/otrverwaltung/tools/intern-VirtualDub/wine/drive_c/windows/system32 When checking later on, it comes to an error on these files: [ 89s] calling /usr/lib/rpm/brp-suse.d/brp-72-extract-appdata [ 90s] Processing files: otr-verwaltung-0.96-2.1.noarch [ 90s] error: File must begin with "/": Files/ffdshow/ff_wmv9.dll [ 90s] error: File must begin with "/": Files/ffdshow/languages/ffdshow.1046.br [ 90s] error: File must begin with "/": Files/ffdshow/custom [ 90s] error: File must begin with "/": matrices/eqm_v3uhr_rev2.xcm [ 90s] error: File must begin with "/": Files/ffdshow/languages/ffdshow.1034.es Any idea how to solve or work around this? Thanks Axel -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Tuesday 2015-07-07 15:56, Axel Braun wrote:
[ 89s] calling /usr/lib/rpm/brp-suse.d/brp-72-extract-appdata [ 90s] Processing files: otr-verwaltung-0.96-2.1.noarch [ 90s] error: File must begin with "/": Files/ffdshow/ff_wmv9.dll [ 90s] error: File must begin with "/": Files/ffdshow/languages/ffdshow.1046.br [ 90s] error: File must begin with "/": Files/ffdshow/custom [ 90s] error: File must begin with "/": matrices/eqm_v3uhr_rev2.xcm [ 90s] error: File must begin with "/": Files/ffdshow/languages/ffdshow.1034.es
Any idea how to solve or work around this?
Avoid paths with spaces. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Am Dienstag, 7. Juli 2015, 16:49:41 schrieb Jan Engelhardt:
On Tuesday 2015-07-07 15:56, Axel Braun wrote:
[ 89s] calling /usr/lib/rpm/brp-suse.d/brp-72-extract-appdata [ 90s] Processing files: otr-verwaltung-0.96-2.1.noarch [ 90s] error: File must begin with "/": Files/ffdshow/ff_wmv9.dll [ 90s] error: File must begin with "/": Files/ffdshow/languages/ffdshow.1046.br [ 90s] error: File must begin with "/": Files/ffdshow/custom [ 90s] error: File must begin with "/": matrices/eqm_v3uhr_rev2.xcm [ 90s] error: File must begin with "/": Files/ffdshow/languages/ffdshow.1034.es
Any idea how to solve or work around this?
Avoid paths with spaces.
Sounds like a good idea, but I feel that MS will not follow that approach to change 'Program files' to Program_files' or similar. I dont know if wine could... -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Tuesday 2015-07-07 17:12, Axel Braun wrote:
Any idea how to solve or work around this?
Avoid paths with spaces.
Sounds like a good idea, but I feel that MS will not follow that approach to change 'Program files' to Program_files' or similar. I dont know if wine could...
The only way IIRC to allow such paths is if they do not appear in %files, e.g. as part of a directory where all contents are gobbled up implicitly. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Jan Engelhardt
On Tuesday 2015-07-07 17:12, Axel Braun wrote:
Any idea how to solve or work around this?
Avoid paths with spaces.
Sounds like a good idea, but I feel that MS will not follow that approach to change 'Program files' to Program_files' or similar. I dont know if wine could...
The only way IIRC to allow such paths is if they do not appear in %files, e.g. as part of a directory where all contents are gobbled up implicitly.
Or replace the space with ?. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Am Dienstag, 7. Juli 2015, 17:29:56 schrieb Jan Engelhardt:
On Tuesday 2015-07-07 17:12, Axel Braun wrote:
Any idea how to solve or work around this?
Avoid paths with spaces.
Sounds like a good idea, but I feel that MS will not follow that approach to change 'Program files' to Program_files' or similar. I dont know if wine could...
The only way IIRC to allow such paths is if they do not appear in %files, e.g. as part of a directory where all contents are gobbled up implicitly.
At the moment this is generated out of the file list python setup.py install --prefix=%_prefix --root=%buildroot --record- rpm=%{name}.filelist Maybe I can split the python part from the rest. Will try. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Tue, 7 Jul 2015 20:58, Axel Braun wrote:
Am Dienstag, 7. Juli 2015, 17:29:56 schrieb Jan Engelhardt:
On Tuesday 2015-07-07 17:12, Axel Braun wrote:
Any idea how to solve or work around this?
Avoid paths with spaces.
Sounds like a good idea, but I feel that MS will not follow that approach to change 'Program files' to Program_files' or similar. I dont know if wine could...
The only way IIRC to allow such paths is if they do not appear in %files, e.g. as part of a directory where all contents are gobbled up implicitly.
At the moment this is generated out of the file list python setup.py install --prefix=%_prefix --root=%buildroot --record- rpm=%{name}.filelist Maybe I can split the python part from the rest. Will try.
Hint: you can run a sed-script over the "%{name}.filelist" before it is used in the %files section. e.g.: sed 's/ /?/g' <%{name}.filelist >%{name}.filelist.nospace then either use the "%{name}.filelist.nospace" list in the %files section, or use "mv" to over write the original list. For the split-out of the python part, "grep" has many options. - Yamaban -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Gesendet: Dienstag, 07. Juli 2015 um 21:56 Uhr Von: Yamaban
An: opensuse-packaging Betreff: [opensuse-packaging] Re: Problem building otrverwaltung On Tue, 7 Jul 2015 20:58, Axel Braun wrote:
Am Dienstag, 7. Juli 2015, 17:29:56 schrieb Jan Engelhardt:
On Tuesday 2015-07-07 17:12, Axel Braun wrote:
Any idea how to solve or work around this?
Avoid paths with spaces.
Sounds like a good idea, but I feel that MS will not follow that approach to change 'Program files' to Program_files' or similar. I dont know if wine could...
The only way IIRC to allow such paths is if they do not appear in %files, e.g. as part of a directory where all contents are gobbled up implicitly.
At the moment this is generated out of the file list python setup.py install --prefix=%_prefix --root=%buildroot --record- rpm=%{name}.filelist Maybe I can split the python part from the rest. Will try.
Hint: you can run a sed-script over the "%{name}.filelist" before it is used in the %files section. e.g.:
sed 's/ /?/g' <%{name}.filelist >%{name}.filelist.nospace
then either use the "%{name}.filelist.nospace" list in the %files section, or use "mv" to over write the original list.
..that did unfortunately not work. I tried to work around this by following https://en.opensuse.org/openSUSE:Packaging_checks#Suppressing_False_Positive... (added rpmlintc file plus filter), but /usr/lib/rpm/brp-suse.d/brp-72-extract-appdata is still being called with the respective result :-( -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
* Axel Braun (Axel.Braun@gmx.de) [20150708 16:07]:
..that did unfortunately not work.
Have you tried using %{20} instead of spaces? At least in a Source: entry it works. hth Philipp -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (6)
-
Andreas Schwab
-
Axel Braun
-
Axel Braun
-
Jan Engelhardt
-
Philipp Thomas
-
Yamaban