[opensuse-buildservice] Fedora package selection

Hi, This is a question from a Build Service newbie... I'm hoping to use the Build Service to compile multi-platform binaries of the Barry project (http://sf.net/projects/barry), as I'm the upstream developer. There are 3 parts to Barry, one of which is a GUI that depends on packages such as libglademm24-devel to build. These packages are usually available by default, via yum, in Fedora 8, but they don't appear to be available in the Fedora:8 repository in the Build Service. I'm sure I'm just looking in the wrong place. Any pointers would be greatly appreciated. Thanks, - Chris --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

On 2008-07-05 00:10:57 -0400, Chris Frey wrote:
Hi,
This is a question from a Build Service newbie...
I'm hoping to use the Build Service to compile multi-platform binaries of the Barry project (http://sf.net/projects/barry), as I'm the upstream developer.
There are 3 parts to Barry, one of which is a GUI that depends on packages such as libglademm24-devel to build.
These packages are usually available by default, via yum, in Fedora 8, but they don't appear to be available in the Fedora:8 repository in the Build Service.
I'm sure I'm just looking in the wrong place. Any pointers would be greatly appreciated.
Did you add the correct BuildRequires to your spec file? In order to get libglademm24-devel installed into the build-chroot add the following line to your spec file: BuildRequires: libglademm24-devel Btw. can you give us the link to your buildservice project/package? Marcus --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

On Sat, Jul 05, 2008 at 12:26:18PM +0200, Marcus H?we wrote:
Did you add the correct BuildRequires to your spec file? In order to get libglademm24-devel installed into the build-chroot add the following line to your spec file: BuildRequires: libglademm24-devel
I do have that specified. It is in a conditional section, so maybe the build is getting confused. The very end of my build log says this: + exec rpmbuild -ba --eval '%define _srcdefattr (-,root,root)' /usr/src/redhat/SOURCES/barry-0.13.spec error: Failed build dependencies: gtkmm24-devel is needed by barry-0.13-3.1.i386 libglademm24-devel is needed by barry-0.13-3.1.i386 libtar-devel is needed by barry-0.13-3.1.i386 libopensync-devel is needed by barry-0.13-3.1.i386 mount: can't find / in /etc/fstab or /etc/mtab md: stopping all md devices. xenbus_dev_shutdown: device/console/0: Initialising != Connected, skipping System halted.
Btw. can you give us the link to your buildservice project/package?
I'm currently working in the home:ndprojects sandbox area. Thanks, - Chris --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

On 2008-07-05 12:38:01 -0400, Chris Frey wrote:
On Sat, Jul 05, 2008 at 12:26:18PM +0200, Marcus H?we wrote:
Did you add the correct BuildRequires to your spec file? In order to get libglademm24-devel installed into the build-chroot add the following line to your spec file: BuildRequires: libglademm24-devel
I do have that specified. It is in a conditional section, so maybe the build is getting confused.
The very end of my build log says this:
+ exec rpmbuild -ba --eval '%define _srcdefattr (-,root,root)' /usr/src/redhat/SOURCES/barry-0.13.spec error: Failed build dependencies: gtkmm24-devel is needed by barry-0.13-3.1.i386 libglademm24-devel is needed by barry-0.13-3.1.i386 libtar-devel is needed by barry-0.13-3.1.i386 libopensync-devel is needed by barry-0.13-3.1.i386
mount: can't find / in /etc/fstab or /etc/mtab md: stopping all md devices. xenbus_dev_shutdown: device/console/0: Initialising != Connected, skipping System halted.
Hmm this seems to be a bug in the spec file parser. The parser simply ignores BuildRequires in subpackages. As a workaround you can move all the BuildRequires to the preamble of the main package. I just filed a bug https://bugzilla.novell.com/show_bug.cgi?id=406596 Marcus --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

On Sat, Jul 05, 2008 at 10:28:50PM +0200, Marcus H?we wrote:
Hmm this seems to be a bug in the spec file parser. The parser simply ignores BuildRequires in subpackages. As a workaround you can move all the BuildRequires to the preamble of the main package.
I just filed a bug https://bugzilla.novell.com/show_bug.cgi?id=406596
Thanks very much. Conditional BuildRequires are important to me, since systems like Fedora9 have packaged opensync 0.3x and I need the stable opensync 0.22, so I want to try linking in opensync 0.22 from the OpenSync repo. I adjusted my spec file as a workaround and it indeed succeeded for Fedora8, thank you. I look forward to the fix. - Chris --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Chris Frey
-
Marcus Hüwe