hello, for all new version of systemd, i get a compile-error because a type is defined two times for a source-file. i try to resolve the problem, but then i get an other problem. i will use the version 198-r1 as long i can't compiler a newer version. goodby Reproducible: Always Actual Results: var/tmp/portage/sys-apps/systemd-201/work/systemd-201/src/core/unit.h:28:21: note: previous declaration of 'Unit' was here In file included from /var/tmp/portage/sys-apps/systemd-201/work/systemd-201/src/core/unit.h:39:0, from /var/tmp/portage/sys-apps/systemd-201/work/systemd-201/src/core/job.c:30: /var/tmp/portage/sys-apps/systemd-201/work/systemd-201/src/core/execute.h:39:21: error: redefinition of typedef 'Unit'
hello, it seems, that this problem only is on update. on a new installed system, i can compile systemd-201 without problems, but i don't know, why it is not possible to update a system with systemd-198 to systemd-201. i will try to find out why. goodby
Created attachment 345800 [details] build log succesfull compiled gziped
Created attachment 345802 [details] build log error gziped
hello, i find the reason for this problem: systemd--2xx can only compiled with the newest gcc: [1] i586-pc-linux-gnu-4.5.4 [2] i586-pc-linux-gnu-4.6.3 * goodby
So, the developers need to fix it or change the dependency; please don't mark this bug as resolved as long as other users can still experience this.
I can confirm the build failure with gcc-4.5.3. Should we add a pkg_pretend check for it?
I've added a version check to -201 and -9999 for testing. Not sure if it doesn't affect non-gcc compilers which were able to build systemd. I'll backport it to 200-r2 when I have a complete patchset for it.
systemd-200-r2 is no longer in the tree.