[opensuse-packaging] query - compiling package wflogs.
Hello I am trying to compile project called wflogs. Project -> https://build.opensuse.org/package/show?package=wflogs&project=home%3Adoiggl Last log -> https://build.opensuse.org/package/live_build_log?arch=x86_64&package=wflogs&project=home%3Adoiggl&repository=openSUSE_Factory spec file -> https://build.opensuse.org/package/view_file?file=wflogs.spec&package=wflogs&project=home%3Adoiggl I have a link to another project called wfnetobjs too (no wfnetobjs rpm installed yet) Last set of wflog errors: configure: error: wfnetobjs-incdir: no directory found, use configure option error: Bad exit status from /var/tmp/rpm-tmp.w8AYXU (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.w8AYXU (%build) System halted. Can someone assist me to compile this package please. 1. I think Ive got to install wfnetobjs rpm but dont know to set that in the spec file. 2. Also I got to do the configure bit with a call like (but unsure how to set in the spec file) # ./configure --with-wfnetobjs-libdir=/usr/include/wallfire/ help appreciated. Cheers Glenn -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Tuesday 15 September 2009 On Tuesday 15 September 2009 11:18:49 doiggl@velocitynet.com.au wrote:
I have a link to another project called wfnetobjs too (no wfnetobjs rpm installed yet)
Last set of wflog errors: configure: error: wfnetobjs-incdir: no directory found, use configure option error: Bad exit status from /var/tmp/rpm-tmp.w8AYXU (%build)
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.w8AYXU (%build) System halted.
Can someone assist me to compile this package please. 1. I think Ive got to install wfnetobjs rpm but dont know to set that in the spec file. 2. Also I got to do the configure bit with a call like (but unsure how to set in the spec file)
# ./configure --with-wfnetobjs-libdir=/usr/include/wallfire/
Add to spec file BuildRequires: libwfnetobjs-devel -- WBR, Kyrill Detinov -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Tue, 15 Sep 2009 11:36:29 +0400, Kyrill Detinov <lazy.kent.suse@gmail.com> wrote:
Tuesday 15 September 2009
On Tuesday 15 September 2009 11:18:49 doiggl@velocitynet.com.au wrote:
I have a link to another project called wfnetobjs too (no wfnetobjs rpm installed yet)
Last set of wflog errors: configure: error: wfnetobjs-incdir: no directory found, use configure option error: Bad exit status from /var/tmp/rpm-tmp.w8AYXU (%build)
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.w8AYXU (%build) System halted.
Can someone assist me to compile this package please. 1. I think Ive got to install wfnetobjs rpm but dont know to set that in the spec file. 2. Also I got to do the configure bit with a call like (but unsure how to set in the spec file)
# ./configure --with-wfnetobjs-libdir=/usr/include/wallfire/
Add to spec file
BuildRequires: libwfnetobjs-devel
Hello, I added BuildRequires: libwfnetobjs-devel to wflogs.spec for package wflogs I get this error when building a package called wflogs. configure: error: wfnetobjs-libdir: no directory found, use configure option error: Bad exit status from /var/tmp/rpm-tmp.16934 (%build) Built wfnetobjs rpms are located in a external project located at https://build.opensuse.org/package/show?package=wfnetobjs&project=home%3Aelvigia Questions: How do I install the remote rpm e.g libwfnetobjs0-0.2.4-5.1.x86_64.rpm and how do I specify that in the wflogs.spec and in which section, or will BuildRequires: libwfnetobjs-devel install that module ?. Also how should I format the following line in the wflogs.spec ? %build %configure --with-wfnetobjs-libdir=/usr/include/wallfire/ wflogs Specfile -> https://build.opensuse.org/package/view_file?file=wflogs.spec&package=wflogs&project=home%3Adoiggl wflogs Build log -> https://build.opensuse.org/package/live_build_log?arch=x86_64&package=wflogs&project=home%3Adoiggl&repository=openSUSE_11.1 wflogs Package -> https://build.opensuse.org/package/show?package=wflogs&project=home%3Adoiggl Thankyou Glenn -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Hello. I'm compiling a package called wflogs, it needs to have libwfnetobjs rpm installed. It has 'BuildRequires: libwfnetobjs-devel as part of the .spec file. Now i get a 'expansion error' 'nothing provides libwfnetobjs-devel' There is a libwfnetobjs located at -> https://build.opensuse.org/package/show?package=wfnetobjs&project=home%3Aelvigia Question: How do I get libwfnetobjs rpm installed so the compile can continue ?. wflogs specfile ->https://build.opensuse.org/package/view_file?file=wflogs.spec&package=wflogs&project=home%3Adoiggl wflogs package ->https://build.opensuse.org/package/show?package=wflogs&project=home%3Adoiggl wflogs last attempted compile log ->https://build.opensuse.org/package/live_build_log?arch=x86_64&package=wflogs&project=home%3Adoiggl&repository=openSUSE_11.2 Any help appreciated. Thankyou Glenn -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 12/14/2009 08:24 AM, doiggl@velocitynet.com.au wrote:
Hello.
I'm compiling a package called wflogs, it needs to have libwfnetobjs rpm installed. It has 'BuildRequires: libwfnetobjs-devel as part of the .spec file. Now i get a 'expansion error' 'nothing provides libwfnetobjs-devel'
There is a libwfnetobjs located at -> https://build.opensuse.org/package/show?package=wfnetobjs&project=home%3Aelvigia
Question: How do I get libwfnetobjs rpm installed so the compile can continue ?.
wflogs specfile ->https://build.opensuse.org/package/view_file?file=wflogs.spec&package=wflogs&project=home%3Adoiggl
wflogs package ->https://build.opensuse.org/package/show?package=wflogs&project=home%3Adoiggl
wflogs last attempted compile log ->https://build.opensuse.org/package/live_build_log?arch=x86_64&package=wflogs&project=home%3Adoiggl&repository=openSUSE_11.2
Any help appreciated. Thankyou Glenn
You can create a new package link to the available libwfnetobjs package in the same project as your package wflogs and let it build. Regards Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Mon, 14 Dec 2009 08:48:09 +0200, Dave Plater <dplater@webafrica.org.za> wrote:
On 12/14/2009 08:24 AM, doiggl@velocitynet.com.au wrote:
Hello.
I'm compiling a package called wflogs, it needs to have libwfnetobjs rpm installed. It has 'BuildRequires: libwfnetobjs-devel as part of the .spec file. Now i get a 'expansion error' 'nothing provides libwfnetobjs-devel'
There is a libwfnetobjs located at ->
https://build.opensuse.org/package/show?package=wfnetobjs&project=home%3Aelvigia
Question: How do I get libwfnetobjs rpm installed so the compile can continue ?.
wflogs specfile
->https://build.opensuse.org/package/view_file?file=wflogs.spec&package=wflogs&project=home%3Adoiggl
wflogs package
->https://build.opensuse.org/package/show?package=wflogs&project=home%3Adoiggl
wflogs last attempted compile log
Any help appreciated. Thankyou Glenn
You can create a new package link to the available libwfnetobjs package in the same project as your package wflogs and let it build. Regards Dave P
Hello, I opened the package wflogs package in https://build.opensuse.org/package/show?package=wflogs&project=home%3Adoiggl I see a [Add File] option but no linkage options So I went to my 'Home Project' and saw option [Link Package from other Project] I see these items: Name of original project: Name of package in original project: Name of linked package in target project: Question: Whats the proper way to fill these items in ? package info: https://build.opensuse.org/package/show?package=wflogs&project=home%3Adoiggl https://build.opensuse.org/package/show?package=wfnetobjs&project=home%3Aelvigia -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 12/14/2009 10:21 AM, doiggl@velocitynet.com.au wrote:
On Mon, 14 Dec 2009 08:48:09 +0200, Dave Plater <dplater@webafrica.org.za> wrote:
On 12/14/2009 08:24 AM, doiggl@velocitynet.com.au wrote:
Hello.
I'm compiling a package called wflogs, it needs to have libwfnetobjs
rpm
installed. It has 'BuildRequires: libwfnetobjs-devel as part of the .spec file. Now i get a 'expansion error' 'nothing provides libwfnetobjs-devel'
There is a libwfnetobjs located at ->
https://build.opensuse.org/package/show?package=wfnetobjs&project=home%3Aelvigia
Question: How do I get libwfnetobjs rpm installed so the compile can continue ?.
wflogs specfile
->https://build.opensuse.org/package/view_file?file=wflogs.spec&package=wflogs&project=home%3Adoiggl
wflogs package
->https://build.opensuse.org/package/show?package=wflogs&project=home%3Adoiggl
wflogs last attempted compile log
Any help appreciated. Thankyou Glenn
You can create a new package link to the available libwfnetobjs package in the same project as your package wflogs and let it build. Regards Dave P
Hello, I opened the package wflogs package in https://build.opensuse.org/package/show?package=wflogs&project=home%3Adoiggl
I see a [Add File] option but no linkage options
So I went to my 'Home Project' and saw option [Link Package from other Project] I see these items: Name of original project:
Name of project where the package to be linked is ie. home:elvigia in this case
Name of package in original project:
libwfnetobjs in this case.
Name of linked package in target project:
Question: Whats the proper way to fill these items in ?
package info: https://build.opensuse.org/package/show?package=wflogs&project=home%3Adoiggl https://build.opensuse.org/package/show?package=wfnetobjs&project=home%3Aelvigia
Regards Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Hello, I opened the package wflogs package in
https://build.opensuse.org/package/show?package=wflogs&project=home%3Adoiggl
I see a [Add File] option but no linkage options
So I went to my 'Home Project' and saw option [Link Package from other Project] I see these items: Name of original project:
Name of project where the package to be linked is ie. home:elvigia in this case
Name of package in original project:
libwfnetobjs in this case.
Name of linked package in target project:
Question: Whats the proper way to fill these items in ?
package info:
https://build.opensuse.org/package/show?package=wflogs&project=home%3Adoiggl
https://build.opensuse.org/package/show?package=wfnetobjs&project=home%3Aelvigia Regards Dave P
Hello, This entry worked- > Name of original project -> home:elvigia This entry Failed -> Name of package in original project-> libwfnetobjs Error message is: Unable to find package 'libwfnetobjs' in project 'home:elvigia'. Question: What should this entry be ? Thanks Glenn -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 12/14/2009 02:51 PM, doiggl@velocitynet.com.au wrote:
Hello, I opened the package wflogs package in
https://build.opensuse.org/package/show?package=wflogs&project=home%3Adoiggl
I see a [Add File] option but no linkage options
So I went to my 'Home Project' and saw option [Link Package from other Project] I see these items: Name of original project:
Name of project where the package to be linked is ie. home:elvigia in this case
Name of package in original project:
libwfnetobjs in this case.
Name of linked package in target project:
Question: Whats the proper way to fill these items in ?
package info:
https://build.opensuse.org/package/show?package=wflogs&project=home%3Adoiggl
https://build.opensuse.org/package/show?package=wfnetobjs&project=home%3Aelvigia
Regards Dave P
Hello, This entry worked- > Name of original project -> home:elvigia
This entry Failed -> Name of package in original project-> libwfnetobjs
Error message is: Unable to find package 'libwfnetobjs' in project 'home:elvigia'.
Question: What should this entry be ? Thanks Glenn
Whatever the name of the project is where the package is. If you go to the project page you will find the package is called wfnetobjs <https://build.opensuse.org/package/show?package=wfnetobjs&project=home%3Aelvigia>. Regards Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Hello I am trying to build a module called wflogs -> https://build.opensuse.org/package/show?package=wflogs&project=home%3Adoiggl And end up with this error in the log: configure: error: wfnetobjs-libdir: no directory found, use configure option error: Bad exit status from /var/tmp/rpm-tmp.aupzk0 (%build) Question -------- How do specify the line in the specfile properly , it usually looks like this %configure --with-wfnetobjs-libdir=/usr/include/wallfire/ Should it look like ? %configure --with-wfnetobjs-libdir=%{buildroot}/usr/include/wallfire Thanks Glenn Other info: These modules are installed, the log says: installing libwfnetobjs-devel-0.2.4-2.1 installing libwfnetobjs0-0.2.4-2.1 The content of the rpm's are as follows: # rpm -qlp libwfnetobjs0-0.2.4-1.1.x86_64.rpm warning: libwfnetobjs0-0.2.4-1.1.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID fb666c9e /usr/lib64/libwfnetobjs.so.0 /usr/lib64/libwfnetobjs.so.0.0.0 /usr/share/locale/fr/LC_MESSAGES/wfnetobjs.mo # rpm -qlp libwfnetobjs-devel-0.2.4-1.1.x86_64.rpm warning: libwfnetobjs-devel-0.2.4-1.1.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID fb666c9e /usr/include/wallfire /usr/include/wallfire/rvlog.h /usr/include/wallfire/wfconfig.h /usr/include/wallfire/wffirewall.h /usr/include/wallfire/wfhost.h /usr/include/wallfire/wfhost_base.h /usr/include/wallfire/wfiface.h /usr/include/wallfire/wfipaddr.h /usr/include/wallfire/wfipaddr_range.h /usr/include/wallfire/wflistener.h /usr/include/wallfire/wflisteners.h /usr/include/wallfire/wfmacaddr.h /usr/include/wallfire/wfmetahost.h /usr/include/wallfire/wfmetaport.h /usr/include/wallfire/wfnetobjs.h /usr/include/wallfire/wfnetwork.h /usr/include/wallfire/wfport.h /usr/include/wallfire/wfport_base.h /usr/include/wallfire/wfport_range.h /usr/include/wallfire/wfprotocol.h /usr/include/wallfire/wfroute.h /usr/include/wallfire/wfservice.h /usr/include/wallfire/wftcpflags.h /usr/lib64/libwfconfig.a /usr/lib64/libwfnetobjs.so -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Wed, 07 Apr 2010 07:54:44 +0000, <doiggl@velocitynet.com.au> wrote:
configure: error: wfnetobjs-libdir: no directory found, use configure option
This tells me that it's looking for the library and as this is here
/usr/lib64/libwfconfig.a /usr/lib64/libwfnetobjs.so
you should try %configure --with-wfnetobjs-libdir=%{_libdir} or patch configure so that the test also looks into lib64 in addition to lib. Philipp -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
I installed the rpms, 1 at a time on a local pc and run this command after each install This was the result I think the test was looking for file wfnetobjs.h location # ./configure --with-wfnetobjs-libdir=/usr/include/wallfire/ . . . Summary of configuration settings: base directory: /usr/local static input modules: netfilter ipchains ipfilter cisco_pix cisco_ios snort dynamic input modules: static output modules: netfilter ipchains ipfilter text html xml human dynamic output modules: wfnetobjs includes directory: /usr/include/wallfire wfnetobjs library directory: /usr/include/wallfire/ modules directory: /usr/local/lib/wflogs default log file: /var/log/messages Question -------- What is the equavalent line of code change on obs an the following is on a local pc ? ./configure --with-wfnetobjs-libdir=/usr/include/wallfire/ configure code that checks this is : if test -f "../wfnetobjs/netobjs/wfnetobjs.h"; then wfnetobjs_incdir="$(pwd)/../wfnetobjs/netobjs" elif test -f "/usr/include/wallfire/wfnetobjs.h"; then wfnetobjs_incdir='/usr/include/wallfire' else { { echo "$as_me:$LINENO: error: wfnetobjs-incdir: no directory found, use configure option" >&5 echo "$as_me: error: wfnetobjs-incdir: no directory found, use configure option" >&2;} { (exit 1); exit 1; }; } -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 04/07/2010 at 3:36 PM, <doiggl@velocitynet.com.au> wrote: I installed the rpms, 1 at a time on a local pc and run this command after each install
This was the result I think the test was looking for file wfnetobjs.h location
# ./configure --with-wfnetobjs-libdir=/usr/include/wallfire/
you should use %configure --with-wfnetobjs-libdir=%{_libdir} in your spec file. If you have to define a libdir, then /usr/include is most likely wrong. you can apply the attached diff to your spec file, then the 'build' process get's over this very error (warning: it does stop during build due to missing #include statements). Hope this helps. Dominique how to apply the patch: Save it in the same folder you have your package / spec file, then patch < specfile.diff And you get a changed spec file. Make sure to get those lengthy comments out... sometimes RPM is nasty with macros in comments.
Hi Glenn, On Tue, 15 Sep 2009 17:18:49 +1000, <doiggl@velocitynet.com.au> wrote:
I have a link to another project called wfnetobjs too (no wfnetobjs rpm installed yet)
You don't link, you build against the other package. To do so you choose [Add Repository] and then [Advanced]. From the list you choose the one you want, in this case for instance home:elvigia/openSUSE_Factory and give it a name. See https://build.opensuse.org/project/show?project=home%3Apsmt%3Abranches%3Ahom... for how I did it in my branch. BTW, I'm currently testing a patch for wflogs and will do an sr when successful. Philipp -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (5)
-
Dave Plater
-
doiggl@velocitynet.com.au
-
Dominique Leuenberger
-
Kyrill Detinov
-
Philipp Thomas