Bug 713981

Summary: systemd has unacceptable broad BuildRequires for a base package
Product: [openSUSE] openSUSE 12.1 Reporter: Richard Biener <rguenther>
Component: BasesystemAssignee: Frederic Crozat <fcrozat>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P5 - None CC: coolo
Version: Factory   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Richard Biener 2011-08-24 12:06:15 UTC
citing systemd.spec:

BuildRequires:  libudev-devel udev
BuildRequires:  dbus-1-devel
BuildRequires:  audit-devel
BuildRequires:  gperf
BuildRequires:  libcap-devel
BuildRequires:  tcpd-devel
BuildRequires:  pam-devel
BuildRequires:  libcryptsetup-devel
BuildRequires:  pkg-config
BuildRequires:  gtk2-devel libnotify-devel libxslt-devel vala
BuildRequires:  libselinux-devel libsepol-devel
BuildRequires:  intltool

WHAT THE F***?

systemd-devel is BuildRequired by syslogd which is pulled into the
base build system cycle.

The above makes Base:build totally screwed.

Please fix.

A gtk2-devel BuildRequires is unacceptable.  gperf?!  What the f*** is vala?

How comes such broken stuff is accepted into Factory at all?!
Comment 1 Richard Biener 2011-08-24 12:12:51 UTC
Please split out a core .spec file for systemd itself at least.  At least
the gtk frontend needs its own .spec file.
Comment 2 Frederic Crozat 2011-08-24 15:32:21 UTC
I can try to split the gtk part. It will move dependencies on gtk2-devel, libnotify-devel. But I'm not sure I'll do before milestone 5.

For vala, it was a temporary buildrequirement, which is no longer needed.

gperf is a hard build dependency.

(refraining ?!? and other *** usually is nicer for people who will handle your bug report)
Comment 3 Frederic Crozat 2011-09-08 12:48:27 UTC
fixed in factory, systemd-gtk is now a separate package.
Comment 4 Richard Biener 2011-09-08 12:58:47 UTC
Thanks.
Comment 5 Richard Biener 2011-09-08 14:26:21 UTC
Ok, what now misses in Base:build is libudev-devel, dbus-1-devel, gperf
and libcryptsetup-devel.  Are those all required to build systemd-devel
(which is required by syslogd which is required by audit ...)?
Comment 6 Richard Biener 2011-09-08 14:29:09 UTC
gperf isn't a major issue, libcryptsetup-devel might be handlable but both
udev and dbus are a pain again (pull in glib and stuff).
Comment 7 Frederic Crozat 2011-09-08 14:45:08 UTC
yes, unfortunately, they are hard dependencies...
Comment 8 Richard Biener 2011-09-08 15:03:29 UTC
(In reply to comment #7)
> yes, unfortunately, they are hard dependencies...

Ok, I talked with mls and we found (hopefully...) another solution for
Base:build.