[Bug 305065] New: avahi-mono missing in openSUSE:Factory
https://bugzilla.novell.com/show_bug.cgi?id=305065 Summary: avahi-mono missing in openSUSE:Factory Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: abockover@novell.com QAContact: adrian@novell.com CC: mls@novell.com Found By: --- The avahi package in the build service is split into two spec files: avahi.spec and avahi-mono.spec. In autobuild, both spec files are built, resulting in an avahi-mono package, but in the build service, avahi-mono.spec is never built. I need avahi-mono to build mono-zeroconf in the Mono BS project. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=305065#c1
Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=305065#c2
--- Comment #2 from Adrian Schröter
https://bugzilla.novell.com/show_bug.cgi?id=305065#c3
Aaron Bockover
https://bugzilla.novell.com/show_bug.cgi?id=305065#c4
--- Comment #4 from Aaron Bockover
https://bugzilla.novell.com/show_bug.cgi?id=305065#c5
--- Comment #5 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=305065#c6
--- Comment #6 from Aaron Bockover
https://bugzilla.novell.com/show_bug.cgi?id=305065#c7
--- Comment #7 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=305065#c8
--- Comment #8 from Aaron Bockover
https://bugzilla.novell.com/show_bug.cgi?id=305065#c9
Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=305065#c10
--- Comment #10 from Aaron Bockover
https://bugzilla.novell.com/show_bug.cgi?id=305065#c11
Aaron Bockover
https://bugzilla.novell.com/show_bug.cgi?id=305065#c12
--- Comment #12 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=305065#c13
--- Comment #13 from Aaron Bockover
Of course it is buggy! Only rpm can parse rpm specfiles, think of macro expansion, expression evaluation and all the other ugly stuff. I'm actually pretty impressed that it works that good.
It would not be that hard to write a parser for it - then the scanner would just evaluate nodes in the parse tree. spec is fairly simple - it's just hideous. I think I may do this soon anyway.
Btw, I stumpled over the line #%define build_avahi 1 in your specfile. This doesn't work, you can't comment out define statements like this as the defines are processed in the macro expansion step and it takes place before rpm checks if a line is commented out. Just FYI.
I'm not so sure - commenting that line out did exactly as I wanted it to (not attempt to build the avahi package later on in the spec file) - this is how I was able to finish the rest of the packaging (docs, etc.) without having to worry about the providers (avahi, mdnsr). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=305065#c14
--- Comment #14 from Aaron Bockover
https://bugzilla.novell.com/show_bug.cgi?id=305065#c15
--- Comment #15 from Michael Schröder
participants (1)
-
bugzilla_noreply@novell.com