Hello,
I am trying to build an RPM for sylfilter available at http://sylpheed.sraoss.jp/sylfilter/src/sylfilter-%%7B?version%7D.tar.gz with the attached .spec file but I get the following errors:
..... error: Installed (but unpackaged) file(s) found: /usr/include/sylfilter/bayes-filter.h /usr/include/sylfilter/blacklist-filter.h /usr/include/sylfilter/filter-kvs-gdbm.h /usr/include/sylfilter/filter-kvs-qdbm.h /usr/include/sylfilter/filter-kvs-sqlite.h /usr/include/sylfilter/filter-kvs.h /usr/include/sylfilter/filter-manager.h /usr/include/sylfilter/filter-utils.h /usr/include/sylfilter/filter.h /usr/include/sylfilter/ngram-filter.h /usr/include/sylfilter/textcontent-filter.h /usr/include/sylfilter/whitelist-filter.h /usr/include/sylfilter/wordsep-filter.h /usr/lib64/libsylfilter.a /usr/lib64/libsylfilter.la /usr/lib64/libsylfilter.so /usr/lib64/libsylfilter.so.0 /usr/lib64/libsylfilter.so.0.0.0
RPM build errors: Installed (but unpackaged) file(s) found: /usr/include/sylfilter/bayes-filter.h /usr/include/sylfilter/blacklist-filter.h /usr/include/sylfilter/filter-kvs-gdbm.h /usr/include/sylfilter/filter-kvs-qdbm.h /usr/include/sylfilter/filter-kvs-sqlite.h /usr/include/sylfilter/filter-kvs.h /usr/include/sylfilter/filter-manager.h /usr/include/sylfilter/filter-utils.h /usr/include/sylfilter/filter.h /usr/include/sylfilter/ngram-filter.h /usr/include/sylfilter/textcontent-filter.h /usr/include/sylfilter/whitelist-filter.h /usr/include/sylfilter/wordsep-filter.h /usr/lib64/libsylfilter.a /usr/lib64/libsylfilter.la /usr/lib64/libsylfilter.so /usr/lib64/libsylfilter.so.0 /usr/lib64/libsylfilter.so.0.0.0
Not sure what the issue is, but wondering if anyone had any suggestions?
Many thanks and best wishes, Ranjan
On Fri, 24 Jan 2014 16:05:40 -0600, Ranjan Maitra wrote:
Hello,
I am trying to build an RPM for sylfilter available at http://sylpheed.sraoss.jp/sylfilter/src/sylfilter-%%7B?version%7D.tar.gz with the attached .spec file but I get the following errors:
..... error: Installed (but unpackaged) file(s) found: /usr/include/sylfilter/bayes-filter.h /usr/include/sylfilter/blacklist-filter.h /usr/include/sylfilter/filter-kvs-gdbm.h /usr/include/sylfilter/filter-kvs-qdbm.h /usr/include/sylfilter/filter-kvs-sqlite.h /usr/include/sylfilter/filter-kvs.h /usr/include/sylfilter/filter-manager.h /usr/include/sylfilter/filter-utils.h /usr/include/sylfilter/filter.h /usr/include/sylfilter/ngram-filter.h /usr/include/sylfilter/textcontent-filter.h /usr/include/sylfilter/whitelist-filter.h /usr/include/sylfilter/wordsep-filter.h /usr/lib64/libsylfilter.a /usr/lib64/libsylfilter.la /usr/lib64/libsylfilter.so /usr/lib64/libsylfilter.so.0 /usr/lib64/libsylfilter.so.0.0.0
RPM build errors: Installed (but unpackaged) file(s) found: /usr/include/sylfilter/bayes-filter.h /usr/include/sylfilter/blacklist-filter.h /usr/include/sylfilter/filter-kvs-gdbm.h /usr/include/sylfilter/filter-kvs-qdbm.h /usr/include/sylfilter/filter-kvs-sqlite.h /usr/include/sylfilter/filter-kvs.h /usr/include/sylfilter/filter-manager.h /usr/include/sylfilter/filter-utils.h /usr/include/sylfilter/filter.h /usr/include/sylfilter/ngram-filter.h /usr/include/sylfilter/textcontent-filter.h /usr/include/sylfilter/whitelist-filter.h /usr/include/sylfilter/wordsep-filter.h /usr/lib64/libsylfilter.a /usr/lib64/libsylfilter.la /usr/lib64/libsylfilter.so /usr/lib64/libsylfilter.so.0 /usr/lib64/libsylfilter.so.0.0.0
Not sure what the issue is, but wondering if anyone had any suggestions?
That refers to the %files sections in the .spec file for that RPM package. You need to adjust the list of files and directories in those section(s) to include these files in the built package(s).
On Fri, 24 Jan 2014 23:13:23 +0100 Michael Schwendt mschwendt@gmail.com wrote:
On Fri, 24 Jan 2014 16:05:40 -0600, Ranjan Maitra wrote:
Hello,
I am trying to build an RPM for sylfilter available at http://sylpheed.sraoss.jp/sylfilter/src/sylfilter-%%7B?version%7D.tar.gz with the attached .spec file but I get the following errors:
..... error: Installed (but unpackaged) file(s) found: /usr/include/sylfilter/bayes-filter.h /usr/include/sylfilter/blacklist-filter.h /usr/include/sylfilter/filter-kvs-gdbm.h /usr/include/sylfilter/filter-kvs-qdbm.h /usr/include/sylfilter/filter-kvs-sqlite.h /usr/include/sylfilter/filter-kvs.h /usr/include/sylfilter/filter-manager.h /usr/include/sylfilter/filter-utils.h /usr/include/sylfilter/filter.h /usr/include/sylfilter/ngram-filter.h /usr/include/sylfilter/textcontent-filter.h /usr/include/sylfilter/whitelist-filter.h /usr/include/sylfilter/wordsep-filter.h /usr/lib64/libsylfilter.a /usr/lib64/libsylfilter.la /usr/lib64/libsylfilter.so /usr/lib64/libsylfilter.so.0 /usr/lib64/libsylfilter.so.0.0.0
RPM build errors: Installed (but unpackaged) file(s) found: /usr/include/sylfilter/bayes-filter.h /usr/include/sylfilter/blacklist-filter.h /usr/include/sylfilter/filter-kvs-gdbm.h /usr/include/sylfilter/filter-kvs-qdbm.h /usr/include/sylfilter/filter-kvs-sqlite.h /usr/include/sylfilter/filter-kvs.h /usr/include/sylfilter/filter-manager.h /usr/include/sylfilter/filter-utils.h /usr/include/sylfilter/filter.h /usr/include/sylfilter/ngram-filter.h /usr/include/sylfilter/textcontent-filter.h /usr/include/sylfilter/whitelist-filter.h /usr/include/sylfilter/wordsep-filter.h /usr/lib64/libsylfilter.a /usr/lib64/libsylfilter.la /usr/lib64/libsylfilter.so /usr/lib64/libsylfilter.so.0 /usr/lib64/libsylfilter.so.0.0.0
Not sure what the issue is, but wondering if anyone had any suggestions?
That refers to the %files sections in the .spec file for that RPM package. You need to adjust the list of files and directories in those section(s) to include these files in the built package(s).
Thanks! I did not know what this all meant. Including these files in the %files %defattr(-,root,root,-) %config(noreplace) got rid of the problem and created the rpm.
I had attached it to an earlier e-mail but the mail does not seem to have shown up. So I have posted it at:
http://www.public.iastate.edu/~maitra/shunya/sylfilter-0.8-1.fc20.x86_64.rpm
in case anyone is interested.
Many thanks, Ranjan
On 25.01.2014 01:06, Ranjan Maitra wrote:
I had attached it to an earlier e-mail but the mail does not seem to have shown up. So I have posted it at:
http://www.public.iastate.edu/~maitra/shunya/sylfilter-0.8-1.fc20.x86_64.rpm
in case anyone is interested.
Ranjan: $ rpm -qip http://www.public.iastate.edu/~maitra/shunya/sylfilter-0.8-1.fc20.x86_64.rpm | grep Signature Signature : (none)
SeaEagle1: $ rpm -qip http://download.opensuse.org/repositories/home:/SeaEagle1/Fedora_19/x86_64/s... | grep Signature Signature : DSA/SHA1, Thu 21 Nov 2013 01:00:01 AM CET, Key ID 6d124fa1f5421236
SeaEagle1 1 : 0 Ranjan
If you haven't signed, rather serve the source rpm. ;)
poma
On Sat, 25 Jan 2014 01:55:16 +0100 poma pomidorabelisima@gmail.com wrote:
On 25.01.2014 01:06, Ranjan Maitra wrote:
I had attached it to an earlier e-mail but the mail does not seem to have shown up. So I have posted it at:
http://www.public.iastate.edu/~maitra/shunya/sylfilter-0.8-1.fc20.x86_64.rpm
in case anyone is interested.
Ranjan: $ rpm -qip http://www.public.iastate.edu/~maitra/shunya/sylfilter-0.8-1.fc20.x86_64.rpm | grep Signature Signature : (none)
SeaEagle1: $ rpm -qip http://download.opensuse.org/repositories/home:/SeaEagle1/Fedora_19/x86_64/s... | grep Signature Signature : DSA/SHA1, Thu 21 Nov 2013 01:00:01 AM CET, Key ID 6d124fa1f5421236
SeaEagle1 1 : 0 Ranjan
If you haven't signed, rather serve the source rpm. ;)
Thanks very much! How does one create a source rpm? Anyway, this was really my personal copy? How does one serve a source rpm, or for that matter, sign a rpm?
I was unaware of the existence of this rpm. I would not have bothered with mine then. (In any case, how do you find out where which rpm is?). You seem to be on top of everything wrt fedora, which always amazes me, even though I don't often follow all your cryptic responses. (The above is one of the longest responses I have seen from you in a while:-)
Best wishes, Ranjan
poma
-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
On 25.01.2014 02:25, Ranjan Maitra wrote:
Thanks very much! How does one create a source rpm? Anyway, this was really my personal copy? How does one serve a source rpm, or for that matter, sign a rpm?
"If you are creating and distributing RPMs, one thing you may want to consider providing digital signatures for the RPMs. Providing such a digital signature for an RPM will allow users, no matter where their copy of the RPM originated, to verify that you are it’s creator. Not only can they perform such verification, they can do it without requiring any intervention on your behalf." [1]
Although it's your personal copy, if you offer to others, it's without doubt a good practice, to sign it. ;)
RPM Guide - Edition 0 http://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_... http://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html-sing... http://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/pdf/RPM_G... http://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/epub/RPM_... - Signing Built RPMs http://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_...
How to create an RPM package - Create binary RPMS from the SPEC file http://fedoraproject.org/wiki/How_to_create_an_RPM_package#Create_binary_RPM...
I was unaware of the existence of this rpm. I would not have bothered with mine then. (In any case, how do you find out where which rpm is?). You seem to be on top of everything wrt fedora, which always amazes me, even though I don't often follow all your cryptic responses. (The above is one of the longest responses I have seen from you in a while:-)
Best wishes, Ranjan
It's not just building the package, but also an understanding of the whole process and your eventual assistance to other colleagues related to debugging. ;)
http://download.opensuse.org/repositories/ Find Fedora's repos! e.g. http://download.opensuse.org/repositories/home:/MediaArea_net/Fedora_20/ i.e http://download.opensuse.org/repositories/home:/MediaArea_net/Fedora_20/home...
poma
$ rpm -qip
| grep Signature Signature : DSA/SHA1, Thu 21 Nov 2013 01:00:01 AM CET, Key ID 6d124fa1f5421236
Btw, forgot to mention that:
yum install http://download.opensuse.org/repositories/home:/SeaEagle1/Fedora_19/x86_64/s...
installs sylfilter. No need for another rpm as a result.
I really like sylfilter: I have been using it for over a year now. It is lightweight, does a very good job with filtering (has never been incorrect in classification for the e-mails I get). However, the one wrinkle has been that I have not been able yet to get procmail to work with it. If anyone has, I would love to hear about it.
Thanks again, poma for the link!
Best wishes. Ranjan
____________________________________________________________ FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop! Check it out at http://www.inbox.com/marineaquarium
On 26.01.2014 04:53, Ranjan Maitra wrote:
Btw, forgot to mention that:
yum install http://download.opensuse.org/repositories/home:/SeaEagle1/Fedora_19/x86_64/s...
installs sylfilter. No need for another rpm as a result.
$ su - Password: # cd /etc/yum.repos.d/ # wget http://download.opensuse.org/repositories/home:/SeaEagle1/Fedora_19/home:Sea... # yum install sylfilter
When there is already a repo. :)
I really like sylfilter: I have been using it for over a year now. It is lightweight, does a very good job with filtering (has never been incorrect in classification for the e-mails I get). However, the one wrinkle has been that I have not been able yet to get procmail to work with it. If anyone has, I would love to hear about it.
Thanks again, poma for the link!
Best wishes. Ranjan
;) poma
i get ...
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so (cached) (cached) checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.16... yes checking for GLIB - version >= 2.0.0... no *** Could not run GLIB test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GLIB is incorrectly installed. configure: error: Test for GLib failed. See the 'INSTALL' for help. jackc@ubuntu5:/var/tmp/sylfilter-0.8 $
but on ubuntu... [?]
On Fri, Jan 24, 2014 at 2:05 PM, Ranjan Maitra < maitra.mbox.ignored@inbox.com> wrote:
Hello,
I am trying to build an RPM for sylfilter available at http://sylpheed.sraoss.jp/sylfilter/src/sylfilter-%%7B?version%7D.tar.gz with the attached .spec file but I get the following errors:
..... error: Installed (but unpackaged) file(s) found: /usr/include/sylfilter/bayes-filter.h /usr/include/sylfilter/blacklist-filter.h /usr/include/sylfilter/filter-kvs-gdbm.h /usr/include/sylfilter/filter-kvs-qdbm.h /usr/include/sylfilter/filter-kvs-sqlite.h /usr/include/sylfilter/filter-kvs.h /usr/include/sylfilter/filter-manager.h /usr/include/sylfilter/filter-utils.h /usr/include/sylfilter/filter.h /usr/include/sylfilter/ngram-filter.h /usr/include/sylfilter/textcontent-filter.h /usr/include/sylfilter/whitelist-filter.h /usr/include/sylfilter/wordsep-filter.h /usr/lib64/libsylfilter.a /usr/lib64/libsylfilter.la /usr/lib64/libsylfilter.so /usr/lib64/libsylfilter.so.0 /usr/lib64/libsylfilter.so.0.0.0
RPM build errors: Installed (but unpackaged) file(s) found: /usr/include/sylfilter/bayes-filter.h /usr/include/sylfilter/blacklist-filter.h /usr/include/sylfilter/filter-kvs-gdbm.h /usr/include/sylfilter/filter-kvs-qdbm.h /usr/include/sylfilter/filter-kvs-sqlite.h /usr/include/sylfilter/filter-kvs.h /usr/include/sylfilter/filter-manager.h /usr/include/sylfilter/filter-utils.h /usr/include/sylfilter/filter.h /usr/include/sylfilter/ngram-filter.h /usr/include/sylfilter/textcontent-filter.h /usr/include/sylfilter/whitelist-filter.h /usr/include/sylfilter/wordsep-filter.h /usr/lib64/libsylfilter.a /usr/lib64/libsylfilter.la /usr/lib64/libsylfilter.so /usr/lib64/libsylfilter.so.0 /usr/lib64/libsylfilter.so.0.0.0
Not sure what the issue is, but wondering if anyone had any suggestions?
Many thanks and best wishes, Ranjan
-- Important Notice: This mailbox is ignored: e-mails are set to be deleted on receipt. Please respond to the mailing list if appropriate. For those needing to send personal or professional e-mail, please use appropriate addresses.
GET FREE 5GB EMAIL - Check out spam free email with many cool features! Visit http://www.inbox.com/email to find out more!
-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
On 24.01.2014 23:05, Ranjan Maitra wrote:
Hello,
I am trying to build an RPM for sylfilter available at http://sylpheed.sraoss.jp/sylfilter/src/sylfilter-%%7B?version%7D.tar.gz
…
Not sure what the issue is, but wondering if anyone had any suggestions?
Many thanks and best wishes, Ranjan
http://download.opensuse.org/repositories/home:/SeaEagle1/Fedora_19/home:Sea...
poma
On Sat, 25 Jan 2014 00:49:02 +0100 poma pomidorabelisima@gmail.com wrote:
On 24.01.2014 23:05, Ranjan Maitra wrote:
Hello,
I am trying to build an RPM for sylfilter available at http://sylpheed.sraoss.jp/sylfilter/src/sylfilter-%%7B?version%7D.tar.gz
…
Not sure what the issue is, but wondering if anyone had any suggestions?
Many thanks and best wishes, Ranjan
http://download.opensuse.org/repositories/home:/SeaEagle1/Fedora_19/home:Sea...
So, the Fedora repo appears to have disappeared. Anyone know if there is a repo containing sylfilter? Or should I go back to building an rpm from scratch?
Many thanks and best wishes, Ranjan
____________________________________________________________ Can't remember your password? Do you need a strong and secure password? Use Password manager! It stores your passwords & protects your account. Check it out at http://mysecurelogon.com/password-manager
On 02/14/2015 07:49 PM, Ranjan Maitra wrote:
On Sat, 25 Jan 2014 00:49:02 +0100 poma pomidorabelisima@gmail.com wrote:
On 24.01.2014 23:05, Ranjan Maitra wrote:
Hello,
I am trying to build an RPM for sylfilter available at http://sylpheed.sraoss.jp/sylfilter/src/sylfilter-%%7B?version%7D.tar.gz
…
Not sure what the issue is, but wondering if anyone had any suggestions?
Many thanks and best wishes, Ranjan
http://download.opensuse.org/repositories/home:/SeaEagle1/Fedora_19/home:Sea...
So, the Fedora repo appears to have disappeared. Anyone know if there is a repo containing sylfilter? Or should I go back to building an rpm from scratch?
Many thanks and best wishes, Ranjan
ftp://ftp.pbone.net/mirror/www.pclinuxos.com/pclinuxos/srpms/SRPMS.pclos/sylfilter-0.8-1pclos2013.src.rpm
64 bit: ftp://ftp.pbone.net/mirror/www.pclinuxos.com/pclinuxos/apt/pclinuxos/64bit/RPMS.x86_64/sylfilter-0.8-1pclos2013.x86_64.rpm
32 bit: ftp://ftp.pbone.net/mirror/www.pclinuxos.com/pclinuxos/apt/pclinuxos/32bit/RPMS.updates/sylfilter-0.8-1pclos2013.i586.rpm
I suggest you build the source as follows (assuming you downloaded the source):
sudo yum-builddep -y sylfilter-0.8-1pclos2013.src.rpm
now as non-root:
rpm -ivh sylfilter-0.8-1pclos2013.src.rpm cd { to the SPECS directory }. I assume it will be somewhere in your home dir.
You might want to edit the stylfilter.spec file so that the newly built rpm will be named after your fedora dist release number. Not crucial.
rpmbuild -vvv -bb sylfilter.spec 2>&1 | tee sylfilter.build.out
When it finishes (successfully), it will say what it Wrote (will give full pathname)
If successfull, then
yum localinstall full-path-name-to-the-newly-built-stylfilter.......rpm
Good luck.
On 02/14/2015 08:03 PM, jd1008 wrote:
On 02/14/2015 07:49 PM, Ranjan Maitra wrote:
On Sat, 25 Jan 2014 00:49:02 +0100 poma pomidorabelisima@gmail.com wrote:
On 24.01.2014 23:05, Ranjan Maitra wrote:
Hello,
I am trying to build an RPM for sylfilter available at http://sylpheed.sraoss.jp/sylfilter/src/sylfilter-%%7B?version%7D.tar.gz
…
Not sure what the issue is, but wondering if anyone had any suggestions?
Many thanks and best wishes, Ranjan
http://download.opensuse.org/repositories/home:/SeaEagle1/Fedora_19/home:Sea...
So, the Fedora repo appears to have disappeared. Anyone know if there is a repo containing sylfilter? Or should I go back to building an rpm from scratch?
Many thanks and best wishes, Ranjan
ftp://ftp.pbone.net/mirror/www.pclinuxos.com/pclinuxos/srpms/SRPMS.pclos/sylfilter-0.8-1pclos2013.src.rpm
64 bit: ftp://ftp.pbone.net/mirror/www.pclinuxos.com/pclinuxos/apt/pclinuxos/64bit/RPMS.x86_64/sylfilter-0.8-1pclos2013.x86_64.rpm
32 bit: ftp://ftp.pbone.net/mirror/www.pclinuxos.com/pclinuxos/apt/pclinuxos/32bit/RPMS.updates/sylfilter-0.8-1pclos2013.i586.rpm
I suggest you build the source as follows (assuming you downloaded the source):
sudo yum-builddep -y sylfilter-0.8-1pclos2013.src.rpm
now as non-root:
rpm -ivh sylfilter-0.8-1pclos2013.src.rpm cd { to the SPECS directory }. I assume it will be somewhere in your home dir.
You might want to edit the stylfilter.spec file so that the newly built rpm will be named after your fedora dist release number. Not crucial.
rpmbuild -vvv -bb sylfilter.spec 2>&1 | tee sylfilter.build.out
When it finishes (successfully), it will say what it Wrote (will give full pathname)
If successfull, then
yum localinstall full-path-name-to-the-newly-built-stylfilter.......rpm
Good luck.
Also, I found an old fc18 src rpm:
ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home%3A/SeaEagle1/Fedora_18/src/sylfilter-0.8-12.1.src.rpm
I suggest you build the source as follows (assuming you downloaded the source):
sudo yum-builddep -y sylfilter-0.8-1pclos2013.src.rpm
now as non-root:
rpm -ivh sylfilter-0.8-1pclos2013.src.rpm cd { to the SPECS directory }. I assume it will be somewhere in your home dir.
You might want to edit the stylfilter.spec file so that the newly built rpm will be named after your fedora dist release number. Not crucial.
rpmbuild -vvv -bb sylfilter.spec 2>&1 | tee sylfilter.build.out
When it finishes (successfully), it will say what it Wrote (will give full pathname)
If successfull, then
yum localinstall full-path-name-to-the-newly-built-stylfilter.......rpm
Good luck.
Also, I found an old fc18 src rpm:
ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home%3A/SeaEagle1/Fedora_18/src/sylfilter-0.8-12.1.src.rpm
Thank you very much! This will be helpful. I will try building an rpm.
Best wishes, Ranjan
____________________________________________________________ FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop! Check it out at http://www.inbox.com/marineaquarium
Thank you very much! I got this working following your instructions (and modifying the spec file) and would be happy to submit it somewhere if there is interest.
Btw, I always thought that this was GPL, but turns out that it is a BSD-like license.
Best wishes, Ranjan
On Sat, 14 Feb 2015 20:53:16 -0700 jd1008 jd1008@gmail.com wrote:
On 02/14/2015 08:03 PM, jd1008 wrote:
On 02/14/2015 07:49 PM, Ranjan Maitra wrote:
On Sat, 25 Jan 2014 00:49:02 +0100 poma pomidorabelisima@gmail.com wrote:
On 24.01.2014 23:05, Ranjan Maitra wrote:
Hello,
I am trying to build an RPM for sylfilter available at http://sylpheed.sraoss.jp/sylfilter/src/sylfilter-%%7B?version%7D.tar.gz
…
Not sure what the issue is, but wondering if anyone had any suggestions?
Many thanks and best wishes, Ranjan
http://download.opensuse.org/repositories/home:/SeaEagle1/Fedora_19/home:Sea...
So, the Fedora repo appears to have disappeared. Anyone know if there is a repo containing sylfilter? Or should I go back to building an rpm from scratch?
Many thanks and best wishes, Ranjan
ftp://ftp.pbone.net/mirror/www.pclinuxos.com/pclinuxos/srpms/SRPMS.pclos/sylfilter-0.8-1pclos2013.src.rpm
64 bit: ftp://ftp.pbone.net/mirror/www.pclinuxos.com/pclinuxos/apt/pclinuxos/64bit/RPMS.x86_64/sylfilter-0.8-1pclos2013.x86_64.rpm
32 bit: ftp://ftp.pbone.net/mirror/www.pclinuxos.com/pclinuxos/apt/pclinuxos/32bit/RPMS.updates/sylfilter-0.8-1pclos2013.i586.rpm
I suggest you build the source as follows (assuming you downloaded the source):
sudo yum-builddep -y sylfilter-0.8-1pclos2013.src.rpm
now as non-root:
rpm -ivh sylfilter-0.8-1pclos2013.src.rpm cd { to the SPECS directory }. I assume it will be somewhere in your home dir.
You might want to edit the stylfilter.spec file so that the newly built rpm will be named after your fedora dist release number. Not crucial.
rpmbuild -vvv -bb sylfilter.spec 2>&1 | tee sylfilter.build.out
When it finishes (successfully), it will say what it Wrote (will give full pathname)
If successfull, then
yum localinstall full-path-name-to-the-newly-built-stylfilter.......rpm
Good luck.
Also, I found an old fc18 src rpm:
ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home%3A/SeaEagle1/Fedora_18/src/sylfilter-0.8-12.1.src.rpm
-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
On 01/24/2014 02:05 PM, Ranjan Maitra issued this missive:
Hello,
I am trying to build an RPM for sylfilter available at http://sylpheed.sraoss.jp/sylfilter/src/sylfilter-%%7B?version%7D.tar.gz with the attached .spec file but I get the following errors:
..... error: Installed (but unpackaged) file(s) found: /usr/include/sylfilter/bayes-filter.h /usr/include/sylfilter/blacklist-filter.h /usr/include/sylfilter/filter-kvs-gdbm.h /usr/include/sylfilter/filter-kvs-qdbm.h /usr/include/sylfilter/filter-kvs-sqlite.h /usr/include/sylfilter/filter-kvs.h /usr/include/sylfilter/filter-manager.h /usr/include/sylfilter/filter-utils.h /usr/include/sylfilter/filter.h /usr/include/sylfilter/ngram-filter.h /usr/include/sylfilter/textcontent-filter.h /usr/include/sylfilter/whitelist-filter.h /usr/include/sylfilter/wordsep-filter.h /usr/lib64/libsylfilter.a /usr/lib64/libsylfilter.la /usr/lib64/libsylfilter.so /usr/lib64/libsylfilter.so.0 /usr/lib64/libsylfilter.so.0.0.0
RPM build errors: Installed (but unpackaged) file(s) found: /usr/include/sylfilter/bayes-filter.h /usr/include/sylfilter/blacklist-filter.h /usr/include/sylfilter/filter-kvs-gdbm.h /usr/include/sylfilter/filter-kvs-qdbm.h /usr/include/sylfilter/filter-kvs-sqlite.h /usr/include/sylfilter/filter-kvs.h /usr/include/sylfilter/filter-manager.h /usr/include/sylfilter/filter-utils.h /usr/include/sylfilter/filter.h /usr/include/sylfilter/ngram-filter.h /usr/include/sylfilter/textcontent-filter.h /usr/include/sylfilter/whitelist-filter.h /usr/include/sylfilter/wordsep-filter.h /usr/lib64/libsylfilter.a /usr/lib64/libsylfilter.la /usr/lib64/libsylfilter.so /usr/lib64/libsylfilter.so.0 /usr/lib64/libsylfilter.so.0.0.0
Not sure what the issue is, but wondering if anyone had any suggestions?
You need to change your spec file to look sorta like:
%files %defattr(-,root,root,-) %config(noreplace) /usr/bin/sylfilter %doc INSTALL AUTHORS ChangeLog README COPYING %{_libdir}/*.so*
%files include %{_includedir}/*
The "%{_libdir}" thing takes care of the /usr/lib64 files, the "%{_includedir}" takes care of the /usr/include files (only needed if you're building a "-devel" RPM). ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com - - AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 - - - - To get that bulldozer airborne, we need more explosives. - - -- Jamie Hyneman - ----------------------------------------------------------------------
On 01/24/2014 03:57 PM, Rick Stevens issued this missive:
On 01/24/2014 02:05 PM, Ranjan Maitra issued this missive:
Hello,
I am trying to build an RPM for sylfilter available at http://sylpheed.sraoss.jp/sylfilter/src/sylfilter-%%7B?version%7D.tar.gz with the attached .spec file but I get the following errors:
..... error: Installed (but unpackaged) file(s) found: /usr/include/sylfilter/bayes-filter.h /usr/include/sylfilter/blacklist-filter.h /usr/include/sylfilter/filter-kvs-gdbm.h /usr/include/sylfilter/filter-kvs-qdbm.h /usr/include/sylfilter/filter-kvs-sqlite.h /usr/include/sylfilter/filter-kvs.h /usr/include/sylfilter/filter-manager.h /usr/include/sylfilter/filter-utils.h /usr/include/sylfilter/filter.h /usr/include/sylfilter/ngram-filter.h /usr/include/sylfilter/textcontent-filter.h /usr/include/sylfilter/whitelist-filter.h /usr/include/sylfilter/wordsep-filter.h /usr/lib64/libsylfilter.a /usr/lib64/libsylfilter.la /usr/lib64/libsylfilter.so /usr/lib64/libsylfilter.so.0 /usr/lib64/libsylfilter.so.0.0.0
RPM build errors: Installed (but unpackaged) file(s) found: /usr/include/sylfilter/bayes-filter.h /usr/include/sylfilter/blacklist-filter.h /usr/include/sylfilter/filter-kvs-gdbm.h /usr/include/sylfilter/filter-kvs-qdbm.h /usr/include/sylfilter/filter-kvs-sqlite.h /usr/include/sylfilter/filter-kvs.h /usr/include/sylfilter/filter-manager.h /usr/include/sylfilter/filter-utils.h /usr/include/sylfilter/filter.h /usr/include/sylfilter/ngram-filter.h /usr/include/sylfilter/textcontent-filter.h /usr/include/sylfilter/whitelist-filter.h /usr/include/sylfilter/wordsep-filter.h /usr/lib64/libsylfilter.a /usr/lib64/libsylfilter.la /usr/lib64/libsylfilter.so /usr/lib64/libsylfilter.so.0 /usr/lib64/libsylfilter.so.0.0.0
Not sure what the issue is, but wondering if anyone had any suggestions?
You need to change your spec file to look sorta like:
%files %defattr(-,root,root,-) %config(noreplace) /usr/bin/sylfilter %doc INSTALL AUTHORS ChangeLog README COPYING %{_libdir}/*.so* %files include %{_includedir}/*
The "%{_libdir}" thing takes care of the /usr/lib64 files, the "%{_includedir}" takes care of the /usr/include files (only needed if you're building a "-devel" RPM).
Whoops! That "%files include" should read "%files devel". Sorry! ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com - - AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 - - - - You can lead a horse to water, but if you can teach him to roll - - over and float on his back...you got something! - ----------------------------------------------------------------------
On Fri, 24 Jan 2014 15:57:22 -0800 Rick Stevens ricks@alldigital.com wrote:
On 01/24/2014 02:05 PM, Ranjan Maitra issued this missive:
Hello,
I am trying to build an RPM for sylfilter available at http://sylpheed.sraoss.jp/sylfilter/src/sylfilter-%%7B?version%7D.tar.gz with the attached .spec file but I get the following errors:
..... error: Installed (but unpackaged) file(s) found: /usr/include/sylfilter/bayes-filter.h /usr/include/sylfilter/blacklist-filter.h /usr/include/sylfilter/filter-kvs-gdbm.h /usr/include/sylfilter/filter-kvs-qdbm.h /usr/include/sylfilter/filter-kvs-sqlite.h /usr/include/sylfilter/filter-kvs.h /usr/include/sylfilter/filter-manager.h /usr/include/sylfilter/filter-utils.h /usr/include/sylfilter/filter.h /usr/include/sylfilter/ngram-filter.h /usr/include/sylfilter/textcontent-filter.h /usr/include/sylfilter/whitelist-filter.h /usr/include/sylfilter/wordsep-filter.h /usr/lib64/libsylfilter.a /usr/lib64/libsylfilter.la /usr/lib64/libsylfilter.so /usr/lib64/libsylfilter.so.0 /usr/lib64/libsylfilter.so.0.0.0
RPM build errors: Installed (but unpackaged) file(s) found: /usr/include/sylfilter/bayes-filter.h /usr/include/sylfilter/blacklist-filter.h /usr/include/sylfilter/filter-kvs-gdbm.h /usr/include/sylfilter/filter-kvs-qdbm.h /usr/include/sylfilter/filter-kvs-sqlite.h /usr/include/sylfilter/filter-kvs.h /usr/include/sylfilter/filter-manager.h /usr/include/sylfilter/filter-utils.h /usr/include/sylfilter/filter.h /usr/include/sylfilter/ngram-filter.h /usr/include/sylfilter/textcontent-filter.h /usr/include/sylfilter/whitelist-filter.h /usr/include/sylfilter/wordsep-filter.h /usr/lib64/libsylfilter.a /usr/lib64/libsylfilter.la /usr/lib64/libsylfilter.so /usr/lib64/libsylfilter.so.0 /usr/lib64/libsylfilter.so.0.0.0
Not sure what the issue is, but wondering if anyone had any suggestions?
You need to change your spec file to look sorta like:
%files %defattr(-,root,root,-) %config(noreplace) /usr/bin/sylfilter %doc INSTALL AUTHORS ChangeLog README COPYING %{_libdir}/*.so*
%files include %{_includedir}/*
The "%{_libdir}" thing takes care of the /usr/lib64 files, the "%{_includedir}" takes care of the /usr/include files (only needed if you're building a "-devel" RPM).
Thanks, Rick! This does not do it. I get the same errors (I did not use the devel because I am not building a -devel rpm).
error: Installed (but unpackaged) file(s) found: /usr/include/sylfilter/bayes-filter.h /usr/include/sylfilter/blacklist-filter.h /usr/include/sylfilter/filter-kvs-gdbm.h /usr/include/sylfilter/filter-kvs-qdbm.h /usr/include/sylfilter/filter-kvs-sqlite.h /usr/include/sylfilter/filter-kvs.h /usr/include/sylfilter/filter-manager.h /usr/include/sylfilter/filter-utils.h /usr/include/sylfilter/filter.h /usr/include/sylfilter/ngram-filter.h /usr/include/sylfilter/textcontent-filter.h /usr/include/sylfilter/whitelist-filter.h /usr/include/sylfilter/wordsep-filter.h /usr/lib64/libsylfilter.a /usr/lib64/libsylfilter.la
RPM build errors: Installed (but unpackaged) file(s) found: /usr/include/sylfilter/bayes-filter.h /usr/include/sylfilter/blacklist-filter.h /usr/include/sylfilter/filter-kvs-gdbm.h /usr/include/sylfilter/filter-kvs-qdbm.h /usr/include/sylfilter/filter-kvs-sqlite.h /usr/include/sylfilter/filter-kvs.h /usr/include/sylfilter/filter-manager.h /usr/include/sylfilter/filter-utils.h /usr/include/sylfilter/filter.h /usr/include/sylfilter/ngram-filter.h /usr/include/sylfilter/textcontent-filter.h /usr/include/sylfilter/whitelist-filter.h /usr/include/sylfilter/wordsep-filter.h /usr/lib64/libsylfilter.a /usr/lib64/libsylfilter.la
Thanks, Ranjan
- Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com -
- AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 -
-
To get that bulldozer airborne, we need more explosives. -
-- Jamie Hyneman -
-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org