Hi,
On my Suse 9.2 box, I downloaded inkscape-0.40-1.src.rpm from sourceforge, solved a few dependancies and issued
rpmbuild --rebuild inkscape-0.40-1.src.rpm
to create a rpm-binary (not as root, but as normal user).
It compiles OK, but bails out with the following message lines:
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/inkscape-0.40-root error: Installed (but unpackaged) file(s) found: /usr/lib/inkscape/plugins/libgimpgrad.a /usr/lib/inkscape/plugins/libgimpgrad.la /usr/lib/inkscape/plugins/libgimpgrad.so.0.0.0
The mentioned files do exist in /var/tmp/inkscape-0.40-root, and the names are stated in a file
/tmp/rpmN24154
Also there exists a file
/tmp/rpmF24155
with the same creation date and time, but empty.
Anyone an idea what might be happening?
Thanks, Jogchum
On Fri, Dec 03, 2004 at 12:29:03AM +0100, Jogchum Reitsma wrote:
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/inkscape-0.40-root error: Installed (but unpackaged) file(s) found: /usr/lib/inkscape/plugins/libgimpgrad.a /usr/lib/inkscape/plugins/libgimpgrad.la /usr/lib/inkscape/plugins/libgimpgrad.so.0.0.0
Hm. I'm not sure why these weren't caught during packaging, but to solve it, under the %files section, I think you can add:
%{_libdir}/plugins/*
Let me know if that works. I'll add it to the spec file in CVS if it does.
Kees Cook wrote:
On Fri, Dec 03, 2004 at 12:29:03AM +0100, Jogchum Reitsma wrote:
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/inkscape-0.40-root error: Installed (but unpackaged) file(s) found: /usr/lib/inkscape/plugins/libgimpgrad.a /usr/lib/inkscape/plugins/libgimpgrad.la /usr/lib/inkscape/plugins/libgimpgrad.so.0.0.0
Hm. I'm not sure why these weren't caught during packaging, but to solve it, under the %files section, I think you can add:
%{_libdir}/plugins/*
Let me know if that works. I'll add it to the spec file in CVS if it does.
(By mistake I sent this posting to Kees Cook - sorry Kees)
Hi
Thanks for your hint; I think I getting somewhat further, but now rpmbuild fails on the following:
+ RPM_BUILD_ROOT=/var/tmp/inkscape-0.40-root + export RPM_BUILD_ROOT + test -x /usr/sbin/Check -a 1000 = 0 -o -x /usr/sbin/Check -a '!' -z /var/tmp/inkscape-0.40-root + echo 'I call /usr/sbin/Check...' I call /usr/sbin/Check... + /usr/sbin/Check -rw-r--r-- 1 jogchum users 8283 2004-12-03 23:48 /var/tmp/inkscape-0.40-root//usr/share/man/man1/inkscape.1.gz -rw-r--r-- 1 jogchum users 794 2004-12-03 23:48 /var/tmp/inkscape-0.40-root//usr/share/man/man1/inkview.1.gz Checking permissions and ownerships - using the permissions files /tmp/Check.perms.J29072 setting /var/tmp/inkscape-0.40-root/ to root:root 0755. (wrong owner/group jogchum:users) setting /var/tmp/inkscape-0.40-root/usr to root:root 0755. (wrong owner/group jogchum:users) + /usr/lib/rpm/brp-compress Processing files: inkscape-0.40-CVS error: File not found by glob: /var/tmp/inkscape-0.40-root/usr/lib/plugins/*
Inideed, the plugins dir is not
/var/tmp/inkscape-0.40-root/usr/lib/plugins/
but
/var/tmp/inkscape-0.40-root/usr/lib/inkscape/plugins/
How do I set this right?
kind greetings, Jogchum
On Sat, Dec 04, 2004 at 11:53:25AM +0100, Jogchum Reitsma wrote:
Inideed, the plugins dir is not
/var/tmp/inkscape-0.40-root/usr/lib/plugins/
but
/var/tmp/inkscape-0.40-root/usr/lib/inkscape/plugins/
How do I set this right?
Ah, oops, just change that thing in the %files section to
%{_libdir}/inkscape/plugins/*
:)
Kees Cook wrote:
On Sat, Dec 04, 2004 at 11:53:25AM +0100, Jogchum Reitsma wrote:
Inideed, the plugins dir is not
/var/tmp/inkscape-0.40-root/usr/lib/plugins/
but
/var/tmp/inkscape-0.40-root/usr/lib/inkscape/plugins/
How do I set this right?
Ah, oops, just change that thing in the %files section to
%{_libdir}/inkscape/plugins/*
:)
Hm, this one I should have guessed myself...
It works now, and I have build a 586 Suse 9.2 version. Trying to install it, rpm complains about failed dependencies: libatkmm-1.6.so.1 is needed by inkscape-0.40-CVS libgdkmm-2.4.so.1 is needed by inkscape-0.40-CVS libglibmm-2.4.so.1 is needed by inkscape-0.40-CVS libgtkmm-2.4.so.1 is needed by inkscape-0.40-CVS libpangomm-1.4.so.1 is needed by inkscape-0.40-CVS
all of which are present in /usr/local/lib, which in its turn is present in /etc/ld.so.conf. The --nodeps option overcomes this, but it's not very user friendly. All these libraries are not installed trough rpm, maybe this is the problem?
Also it would be nice to build a 686 version; how is this done?
Last but not least, how do I send these rpm's to 'the community'?
kind greetings, Jogchum
participants (3)
-
Bryce Harrington
-
Jogchum Reitsma
-
Kees Cook