* Re: systemd-183
From: Kay Sievers @ 2012-05-27 11:34 UTC (permalink / raw)
To: linux-hotplug
In-Reply-To: <4FBE8DC4.1070202@gmail.com>
On Sun, May 27, 2012 at 5:19 AM, Karl O. Pinc <kop@meme.com> wrote:
> On 05/26/2012 07:54:51 PM, William Hubbs wrote:
>
>> I have the same questions. I don't want to do a full systemd build
>> just
>> to install udev. Is there some way to build udev only?
>
> I don't recall how to do it, but when the merge into systemd
> was announced there were instructions for building just udev.
>
> See the mailing list archives.
We support stand-alone *operation* of the udev tools, but the build
system does not support a stand-alone *build*. The systemd tree needs
to be built and udev picked out of it.
There are also several other generally useful tools in the built tree,
which you might need too over time, like tmpfiles, module-load,
sysconf, binfmt, ... A couple of D-Bus services to manage system
settings from the desktop.
Various upstream tools start to install config files or use these
interfaces. It might be the simplest to install them too, even when
systemd is not used.
Kay
^ permalink raw reply
* Re: systemd-183
From: Karl O. Pinc @ 2012-05-27 12:17 UTC (permalink / raw)
To: linux-hotplug
In-Reply-To: <4FBE8DC4.1070202@gmail.com>
On 05/27/2012 06:34:11 AM, Kay Sievers wrote:
> We support stand-alone *operation* of the udev tools, but the build
> system does not support a stand-alone *build*.
Sorry. I got it wrong.
Karl <kop@meme.com>
Free Software: "You don't pay back, you pay forward."
-- Robert A. Heinlein
^ permalink raw reply
* Re: [PATCH V2] rules: Limit USB autosuspend on USB HID devices
From: Kay Sievers @ 2012-05-27 13:22 UTC (permalink / raw)
To: linux-hotplug
In-Reply-To: <1337956045-15749-1-git-send-email-mjg@redhat.com>
On Fri, May 25, 2012 at 4:27 PM, Matthew Garrett <mjg@redhat.com> wrote:
> Some USB ports on external hubs may be reported as "fixed". We only want
> to auto-enable this on ports that are internal to the machine, so check
> the parent state as well.
> rules/42-usb-hid-pm.rules | 6 ++++++
> 1 file changed, 6 insertions(+)
Applied.
Thanks,
Kay
^ permalink raw reply
* systemd 183 and /lib/udev/devices/
From: Allin Cottrell @ 2012-05-27 14:46 UTC (permalink / raw)
To: linux-hotplug
I see in the NEWS file:
"udev: /lib/udev/devices/ are not read anymore;
systemd-tmpfiles should be used to create dead device nodes as
workarounds for broken subsystems."
What sort of "broken subsystems" are we talking about here?
I'm currently running systemd 44 and udev 182 (without init
scripts) and I have "pts" and "shm" under /lib/udev/devices/.
There's no reference to /dev/pts or /dev/shm in fstab, but at
run time /dev/pts is populated and there's a tmpfs mounted on
/dev/shm. How can I tell whether I need the systemd-tmpfiles
workaround? Thanks.
Allin Cottrell
^ permalink raw reply
* Re: systemd 183 and /lib/udev/devices/
From: Tom Gundersen @ 2012-05-27 14:50 UTC (permalink / raw)
To: linux-hotplug
In-Reply-To: <alpine.LNX.2.01.1205271034530.1246@waverley.dhcp.wfu.edu>
On Sun, May 27, 2012 at 4:46 PM, Allin Cottrell <cottrell@wfu.edu> wrote:
> There's no reference to /dev/pts or /dev/shm
> in fstab, but at run time /dev/pts is populated and there's a tmpfs mounted
> on /dev/shm. How can I tell whether I need the systemd-tmpfiles workaround?
The mountpoints are created by systemd[0], so no need to do anything
to make this work.
[0]: <http://cgit.freedesktop.org/systemd/systemd/tree/src/core/mount-setup.c#n61>
^ permalink raw reply
* Re: systemd 183 and /lib/udev/devices/
From: Allin Cottrell @ 2012-05-27 16:17 UTC (permalink / raw)
To: linux-hotplug
In-Reply-To: <alpine.LNX.2.01.1205271034530.1246@waverley.dhcp.wfu.edu>
On Sun, 27 May 2012, Tom Gundersen wrote:
> On Sun, May 27, 2012 at 4:46 PM, Allin Cottrell <cottrell@wfu.edu> wrote:
>> There's no reference to /dev/pts or /dev/shm
>> in fstab, but at run time /dev/pts is populated and there's a tmpfs mounted
>> on /dev/shm. How can I tell whether I need the systemd-tmpfiles workaround?
>
> The mountpoints are created by systemd[0], so no need to do anything
> to make this work.
>
> [0]: <http://cgit.freedesktop.org/systemd/systemd/tree/src/core/mount-setup.c#n61>
Thanks, that's nice. One more question: in switching to make
/var/lock a symlink to /run/lock, how does/should /run/lock get
created? Is that also automagic via systemd? (I didn't find a
reference to "lock" in mount-setup.c.)
Allin Cottrell
^ permalink raw reply
* Re: systemd 183 and /lib/udev/devices/
From: Tom Gundersen @ 2012-05-27 16:24 UTC (permalink / raw)
To: linux-hotplug
In-Reply-To: <alpine.LNX.2.01.1205271034530.1246@waverley.dhcp.wfu.edu>
On Sun, May 27, 2012 at 6:17 PM, Allin Cottrell <cottrell@wfu.edu> wrote:
> One more question: in switching to make /var/lock a
> symlink to /run/lock, how does/should /run/lock get created? Is that also
> automagic via systemd? (I didn't find a reference to "lock" in
> mount-setup.c.)
This is done by systemd-tmpfiles [0].
Cheers,
Tom
[0]: <http://cgit.freedesktop.org/systemd/systemd/tree/tmpfiles.d/legacy.conf>
^ permalink raw reply
* Re: systemd 183 and /lib/udev/devices/
From: Bryan Kadzban @ 2012-05-27 17:39 UTC (permalink / raw)
To: linux-hotplug
In-Reply-To: <alpine.LNX.2.01.1205271034530.1246@waverley.dhcp.wfu.edu>
[-- Attachment #1: Type: text/plain, Size: 576 bytes --]
Tom Gundersen wrote:
> On Sun, May 27, 2012 at 4:46 PM, Allin Cottrell <cottrell@wfu.edu>
> wrote:
>> There's no reference to /dev/pts or /dev/shm in fstab, but at run
>> time /dev/pts is populated and there's a tmpfs mounted on /dev/shm.
>> How can I tell whether I need the systemd-tmpfiles workaround?
>
> The mountpoints are created by systemd[0], so no need to do anything
> to make this work.
So... machines without systemd are screwed, unless they resurrect the
bootscripts that copied these nodes, from way back before udevd started
to do it itself?
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 261 bytes --]
^ permalink raw reply
* Re: systemd 183 and /lib/udev/devices/
From: Paul Bender @ 2012-05-27 18:20 UTC (permalink / raw)
To: linux-hotplug
In-Reply-To: <alpine.LNX.2.01.1205271034530.1246@waverley.dhcp.wfu.edu>
On 5/27/2012 10:39 AM, Bryan Kadzban wrote:
> Tom Gundersen wrote:
>> On Sun, May 27, 2012 at 4:46 PM, Allin Cottrell<cottrell@wfu.edu>
>> wrote:
>>> There's no reference to /dev/pts or /dev/shm in fstab, but at run
>>> time /dev/pts is populated and there's a tmpfs mounted on /dev/shm.
>>> How can I tell whether I need the systemd-tmpfiles workaround?
>>
>> The mountpoints are created by systemd[0], so no need to do anything
>> to make this work.
>
> So... machines without systemd are screwed, unless they resurrect the
> bootscripts that copied these nodes, from way back before udevd started
> to do it itself?
Yes.
Whenever someone decides to violate the separation of utilities that
make Unix like distributions so powerful, the end user is harmed. This
is what the people behind systemd has chosen to do, yet falsely claim
otherwise (after all, if you cannot use udev without building the rest
of systemd, they are not separate).
Given its current direction, I suspect that systemd will suffer the some
fate as Hal. That is, it will become something that the community
rejects because it attempted to absorb everything. Unfortunately, end
users suffer in the mean time.
The sooner we fork udev, the better.
^ permalink raw reply
* systemd 183, boot problem
From: Allin Cottrell @ 2012-05-27 19:01 UTC (permalink / raw)
To: linux-hotplug
I just tried updating from systemd 44 + udev 182. On booting I
saw:
"Could not find module by name='<binary-garbage>'"
(That is, no readable module name)
"Failed to insert ipv6"
"Cannot create mount unit for API file system
/sys/kernel/security. Refusing."
I was then dumped into emergency mode. Grubbing through the
source I saw that /sys/kernel/security is needed by IMA, so I
reconfigured systemd-183 with --disable-ima, rebuilt,
reinstalled and rebooted. That didn't help; I landed in
emergency mode again. So I ended up reinstalling 44 + 182;
fortunately that gave me back a usable system.
I think the new securityfs requirement ought to be mentioned
in NEWS, and made conditional on enabling IMA.
--
Allin Cottrell
Department of Economics
Wake Forest University, NC
^ permalink raw reply
* Re: systemd 183 and /lib/udev/devices/
From: Greg KH @ 2012-05-27 20:00 UTC (permalink / raw)
To: linux-hotplug
In-Reply-To: <alpine.LNX.2.01.1205271034530.1246@waverley.dhcp.wfu.edu>
On Sun, May 27, 2012 at 11:20:43AM -0700, Paul Bender wrote:
> On 5/27/2012 10:39 AM, Bryan Kadzban wrote:
> >Tom Gundersen wrote:
> >>On Sun, May 27, 2012 at 4:46 PM, Allin Cottrell<cottrell@wfu.edu>
> >>wrote:
> >>>There's no reference to /dev/pts or /dev/shm in fstab, but at run
> >>>time /dev/pts is populated and there's a tmpfs mounted on /dev/shm.
> >>>How can I tell whether I need the systemd-tmpfiles workaround?
> >>
> >>The mountpoints are created by systemd[0], so no need to do anything
> >>to make this work.
> >
> >So... machines without systemd are screwed, unless they resurrect the
> >bootscripts that copied these nodes, from way back before udevd started
> >to do it itself?
>
> Yes.
>
> Whenever someone decides to violate the separation of utilities that
> make Unix like distributions so powerful, the end user is harmed.
> This is what the people behind systemd has chosen to do, yet falsely
> claim otherwise (after all, if you cannot use udev without building
> the rest of systemd, they are not separate).
There is a long history of needing more tools on the system to build a
program, than to use them, see all of the different build system ways of
specifying just this very thing.
> Given its current direction, I suspect that systemd will suffer the
> some fate as Hal. That is, it will become something that the
> community rejects because it attempted to absorb everything.
> Unfortunately, end users suffer in the mean time.
The "community" didn't reject hal, the developers realized they got it
wrong.
> The sooner we fork udev, the better.
Feel free to, no one is stopping you. Also, some people seem to like
mdev for some reason, perhaps you should try that out instead.
Best of luck,
greg k-h
^ permalink raw reply
* Re: systemd 183 and /lib/udev/devices/
From: Kay Sievers @ 2012-05-27 20:14 UTC (permalink / raw)
To: linux-hotplug
In-Reply-To: <alpine.LNX.2.01.1205271034530.1246@waverley.dhcp.wfu.edu>
On Sun, May 27, 2012 at 4:46 PM, Allin Cottrell <cottrell@wfu.edu> wrote:
> I see in the NEWS file:
>
> "udev: /lib/udev/devices/ are not read anymore; systemd-tmpfiles should be
> used to create dead device nodes as workarounds for broken subsystems."
>
> What sort of "broken subsystems" are we talking about here?
The only one still known is the parport driver, where cups might rely
on module-autoloading by accessing of /dev/lp0.
There are around 3 users in the world which need that. :)
> I'm currently
> running systemd 44 and udev 182 (without init scripts) and I have "pts" and
> "shm" under /lib/udev/devices/. There's no reference to /dev/pts or /dev/shm
> in fstab, but at run time /dev/pts is populated and there's a tmpfs mounted
> on /dev/shm. How can I tell whether I need the systemd-tmpfiles workaround?
How can you run udev without an init script? It's usually 2-3 steps to
bring it up. What mounts devpts and the /dev/shm tmpfs? The same thing
that calls mount should just also do the mkdir before the mount.
We decided against putting device nodes anywhere else than /dev, so
the functionality was removed. If you want the whole
/lib/udev/devices/ functionality back, one line like "cp -ax
/lib/udev/devices/* /dev" should do it.
In the future, tools are expected to use tmpfiles to create things
like the /dev/lp0 stuff. The tmpfiles are used to properly set up
directories, files, file content with the proper permissions in
volatile filesystems like /dev, /run (/var/run), /tmp, /sys. It can
also be used to create device nodes.
Kay
^ permalink raw reply
* Re: systemd 183, boot problem
From: Kay Sievers @ 2012-05-27 20:17 UTC (permalink / raw)
To: linux-hotplug
In-Reply-To: <alpine.LNX.2.01.1205271449490.4860@waverley.dhcp.wfu.edu>
On Sun, May 27, 2012 at 9:01 PM, Allin Cottrell <cottrell@wfu.edu> wrote:
> I just tried updating from systemd 44 + udev 182. On booting I saw:
>
> "Could not find module by name='<binary-garbage>'"
> (That is, no readable module name)
>
> "Failed to insert ipv6"
>
> "Cannot create mount unit for API file system /sys/kernel/security.
> Refusing."
>
> I was then dumped into emergency mode. Grubbing through the source I saw
> that /sys/kernel/security is needed by IMA, so I reconfigured systemd-183
> with --disable-ima, rebuilt, reinstalled and rebooted. That didn't help; I
> landed in emergency mode again. So I ended up reinstalling 44 + 182;
> fortunately that gave me back a usable system.
>
> I think the new securityfs requirement ought to be mentioned in NEWS, and
> made conditional on enabling IMA.
I don't have securityfs enabled in the kernel and it works fine here.
The message should only be debug log, I see that too, if I enable
debugging. It should not be an error and the cause of the failure you
see.
Kay
^ permalink raw reply
* Re: systemd 183 and /lib/udev/devices/
From: Allin Cottrell @ 2012-05-27 20:51 UTC (permalink / raw)
To: linux-hotplug
In-Reply-To: <alpine.LNX.2.01.1205271034530.1246@waverley.dhcp.wfu.edu>
On Sun, 27 May 2012, Kay Sievers wrote:
> On Sun, May 27, 2012 at 4:46 PM, Allin Cottrell <cottrell@wfu.edu> wrote:
>> I see in the NEWS file:
>>
>> "udev: /lib/udev/devices/ are not read anymore; systemd-tmpfiles should be
>> used to create dead device nodes as workarounds for broken subsystems."
>>
>> What sort of "broken subsystems" are we talking about here?
>
> The only one still known is the parport driver, where cups might rely
> on module-autoloading by accessing of /dev/lp0.
>
> There are around 3 users in the world which need that. :)
Fine, I'm not one of them.
>> I'm currently running systemd 44 and udev 182 (without init
>> scripts) and I have "pts" and "shm" under /lib/udev/devices/.
>> [...]
>
> How can you run udev without an init script?
I mean with a scriptless systemd setup.
Allin Cottrell
^ permalink raw reply
* Re: systemd 183, boot problem
From: Allin Cottrell @ 2012-05-27 21:04 UTC (permalink / raw)
To: linux-hotplug
In-Reply-To: <alpine.LNX.2.01.1205271449490.4860@waverley.dhcp.wfu.edu>
On Sun, 27 May 2012, Kay Sievers wrote:
> On Sun, May 27, 2012 at 9:01 PM, Allin Cottrell <cottrell@wfu.edu> wrote:
>> I just tried updating from systemd 44 + udev 182. On booting I saw:
>>
>> "Could not find module by name='<binary-garbage>'"
>> (That is, no readable module name)
>>
>> "Failed to insert ipv6"
>>
>> "Cannot create mount unit for API file system /sys/kernel/security.
>> Refusing."
>>
>> I was then dumped into emergency mode. Grubbing through the source I saw
>> that /sys/kernel/security is needed by IMA, so I reconfigured systemd-183
>> with --disable-ima, rebuilt, reinstalled and rebooted. That didn't help; I
>> landed in emergency mode again. So I ended up reinstalling 44 + 182;
>> fortunately that gave me back a usable system.
>>
>> I think the new securityfs requirement ought to be mentioned in NEWS, and
>> made conditional on enabling IMA.
>
> I don't have securityfs enabled in the kernel and it works fine here.
Before seeing your mail I tried commenting out the securityfs
requirement in the source, rebuilding and rebooting. That didn't fix
the issue (still got emergency mode) so, yes, absence of securityfs
is not the blocker. Then is absence of ipv6 the issue? (Or why isn't
systemd 183 telling me why it's refusing to start normally?)
One thing I noted was that the broken "could not find module by
name" message comes from libkmod (kmod8). Apparently when it has
received a request from systemd for the (non-existent) ipv6 module.
Allin Cottrell
^ permalink raw reply
* Re: systemd 183 and /lib/udev/devices/
From: Robby Workman @ 2012-05-28 4:45 UTC (permalink / raw)
To: linux-hotplug
In-Reply-To: <alpine.LNX.2.01.1205271034530.1246@waverley.dhcp.wfu.edu>
On Sun, 27 May 2012 11:20:43 -0700
Paul Bender <pebender@san.rr.com> wrote:
> The sooner we fork udev, the better.
Well, I'm not pleased with the direction it's gone either, but I
am also aware that a fork to maintain udev is a lot of work that
will mostly be monotonous, boring, and time consuming. I don't
want to do it, and I doubt anyone else does either, especially
since it *is* possible to build standalone udev from the systemd
sources.
This is currently untested and should be considered a work in
progress, but it might serve as a useful starting point for
someone:
http://connie.slackware.com/~rworkman/standalone-udev-from-systemd/
-RW
^ permalink raw reply
* building systemd-183 for udev only gives a link error
From: William Hubbs @ 2012-05-29 0:43 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1.1: Type: text/plain, Size: 215 bytes --]
All,
I am attempting to a basic build of systemd so I can pull out the udev
portions of it, but I am getting an error in the link phase.
The build log is attached; any help would be appreciated.
Thanks,
William
[-- Attachment #1.2: build.log --]
[-- Type: text/plain, Size: 34373 bytes --]
* Package: sys-fs/udev-183
* Repository: gentoo
* Maintainer: udev-bugs@gentoo.org
* USE: elibc_glibc kernel_linux nls userland_GNU x86
* FEATURES: preserve-libs sandbox userpriv usersandbox
* Package: sys-fs/udev-183
* Repository: gentoo
* Maintainer: udev-bugs@gentoo.org
* USE: elibc_glibc kernel_linux nls userland_GNU x86
* FEATURES: preserve-libs sandbox userpriv usersandbox
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 3.2.12-gentoo
>>> Unpacking source...
>>> Unpacking systemd-183.tar.xz to /var/tmp/portage/sys-fs/udev-183/work
>>> Source unpacked in /var/tmp/portage/sys-fs/udev-183/work
>>> Preparing source in /var/tmp/portage/sys-fs/udev-183/work/systemd-183 ...
* Running elibtoolize in: systemd-183/build-aux/
* Applying portage/1.2.0 patch ...
* Applying sed/1.5.6 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-fs/udev-183/work/systemd-183 ...
/var/tmp/portage/sys-fs/udev-183/temp/environment: line 3136: systemd_with_unitdir: command not found
* econf: updating systemd-183/build-aux/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating systemd-183/build-aux/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --with-rootprefix=/ --docdir=/usr/share/doc/udev-183 --libdir=/usr/lib --libexecdir=/lib --disable-acl --disable-audit --disable-binfmt --disable-coredump --disable-hostnamed --disable-ima --disable-libcryptsetup --disable-localed --disable-logind --disable-pam --disable-quotacheck --disable-randomseed --disable-readahead --disable-tcpwrap --disable-timedated --disable-vconsole --disable-xz --with-pci-ids-path=/usr/share/misc/pci.ids --with-usb-ids-path=/usr/share/misc/usb.ids --with-html-dir=/usr/share/doc/udev-183/html --disable-gtk-doc --disable-gudev --disable-introspection --disable-keymap --enable-nls --disable-selinux --disable-static
configure: WARNING: you should use --build, --host, --target
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking dependency style of i686-pc-linux-gnu-gcc... none
checking whether make supports nested variables... (cached) yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for i686-pc-linux-gnu-objdump... i686-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for archiver @FILE support... @
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc object... ok
checking for sysroot... no
checking for i686-pc-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if i686-pc-linux-gnu-gcc static flag -static works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether NLS is requested... yes
checking for intltool >= 0.40.0... 0.50.2 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.12.4
checking for XML::Parser... ok
checking whether ln -s works... yes
checking for a sed that does not truncate output... (cached) /bin/sed
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for gawk... (cached) gawk
checking for i686-pc-linux-gnu-gcc... (cached) i686-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether i686-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking for i686-pc-linux-gnu-gcc option to accept ISO C99... -std=gnu99
checking whether i686-pc-linux-gnu-gcc -std=gnu99 and cc understand -c and -o together... yes
checking whether i686-pc-linux-gnu-gcc -std=gnu99 needs -traditional... no
checking for m4... /usr/bin/m4
checking for i686-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gtkdoc-check... no
checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... no
checking whether to build gtk-doc documentation... no
checking for gobject-introspection... no (disabled, use --enable-introspection to enable)
checking for i686-pc-linux-gnu-objcopy... i686-pc-linux-gnu-objcopy
checking for i686-pc-linux-gnu-strings... i686-pc-linux-gnu-strings
checking for i686-pc-linux-gnu-gperf... no
checking for gperf... gperf
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -pipe in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wall in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -W in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wextra in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wno-inline in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wvla in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wundef in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wformat=2 in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wlogical-op in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wsign-compare in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wformat-security in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wmissing-include-dirs in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wformat-nonliteral in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wold-style-definition in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wpointer-arith in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Winit-self in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wdeclaration-after-statement in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wfloat-equal in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wmissing-prototypes in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wstrict-prototypes in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wredundant-decls in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wmissing-declarations in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wmissing-noreturn in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wshadow in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wendif-labels in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wcast-align in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wstrict-aliasing=2 in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wwrite-strings in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wno-long-long in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wno-overlength-strings in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wno-unused-parameter in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wno-missing-field-initializers in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wno-unused-result in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Werror=overflow in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wp,-D_FORTIFY_SOURCE=2 in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -ffast-math in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -fno-common in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -fdiagnostics-show-option in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -fno-strict-aliasing in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -fvisibility=hidden in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -ffunction-sections in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -fdata-sections in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wl,--as-needed in envvar LDFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wl,--gc-sections in envvar LDFLAGS... yes
checking for library containing clock_gettime... -lrt
checking for library containing dlsym... -ldl
checking for library containing cap_init... -lcap
checking sys/capability.h usability... yes
checking sys/capability.h presence... yes
checking for sys/capability.h... yes
checking for DBUS... yes
checking for KMOD... yes
checking for BLKID... yes
checking for USB database location... /usr/share/misc/usb.ids
checking for PCI database location... /usr/share/misc/pci.ids
checking for xsltproc... /usr/bin/xsltproc
/bin/grep: /etc/os-release: No such file or directory
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating docs/libudev/Makefile
config.status: creating docs/libudev/version.xml
config.status: creating docs/gudev/Makefile
config.status: creating docs/gudev/version.xml
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po/stamp-it commands
systemd 183
Distribution: other
SysV compatibility: yes
SysV init scripts: /etc/init.d
SysV rc?.d directories: /etc/rc.d
libcryptsetup: no
tcpwrap: no
PAM: no
AUDIT: no
IMA: no
SELinux: no
XZ: no
ACL: no
binfmt: no
vconsole: no
readahead: no
quotacheck: no
randomseed: no
logind: no
hostnamed: no
timedated: no
localed: no
coredump: no
plymouth: no
firmware path: \"/lib/firmware/updates/\", \"/lib/firmware/\"
usb.ids: /usr/share/misc/usb.ids
pci.ids: /usr/share/misc/pci.ids
gudev: no
gintrospection: no
keymap: no
prefix: /usr
rootprefix: /
sysconf dir: /etc
datarootdir: ${prefix}/share
includedir: ${prefix}/include
include_prefix:
libexec dir: /lib
lib dir: /usr/lib
rootlib dir: /usr/lib
PAM modules dir: /usr/lib/security
D-Bus policy dir: /etc/dbus-1/system.d
D-Bus session dir: /usr/share/dbus-1/services
D-Bus system dir: /usr/share/dbus-1/services/../system-services
D-Bus interfaces dir: /usr/share/dbus-1/services/../interfaces
Split /usr: yes
man pages: yes
CFLAGS: -march=native -O2 -pipe
CPPLAGS:
LDFLAGS: -Wl,-O1 -Wl,--as-needed
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-fs/udev-183/work/systemd-183 ...
make -j2
make --no-print-directory all-recursive
Making all in .
CC src/shared/libsystemd_dbus_la-dbus-common.lo
CC src/shared/libsystemd_dbus_la-dbus-loop.lo
CC src/shared/libsystemd_dbus_la-polkit.lo
CC src/shared/libsystemd_label_la-install.lo
CC src/shared/libsystemd_label_la-path-lookup.lo
CC src/shared/libsystemd_label_la-cgroup-label.lo
CC src/shared/libsystemd_label_la-socket-label.lo
CC src/shared/libsystemd_label_la-label.lo
CC src/shared/libsystemd_label_la-mkdir.lo
CC src/shared/libsystemd_label_la-ask-password-api.lo
CC src/shared/libsystemd_label_la-dev-setup.lo
CC src/shared/libsystemd_logs_la-logs-show.lo
CC src/shared/libsystemd_capability_la-capability.lo
CC src/shared/audit.lo
GEN src/core/load-fragment-gperf.gperf
CC src/libudev/libudev_private_la-libudev.lo
CC src/libudev/libudev_private_la-libudev-list.lo
CC src/libudev/libudev_private_la-libudev-util.lo
CC src/libudev/libudev_private_la-libudev-device.lo
CC src/libudev/libudev_private_la-libudev-enumerate.lo
CC src/libudev/libudev_private_la-libudev-monitor.lo
CC src/libudev/libudev_private_la-libudev-queue.lo
src/libudev/libudev-monitor.c: In function 'udev_monitor_receive_device':
src/libudev/libudev-monitor.c:581:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
CC src/libudev/libudev_private_la-libudev-device-private.lo
CC src/libudev/libudev_private_la-libudev-queue-private.lo
CC src/libsystemd-daemon/libudev_core_la-sd-daemon.lo
CC src/core/mount-setup.o
CC src/core/loopback-setup.o
CC src/udev/udevadm.o
CC src/udev/udevadm-info.o
CC src/udev/udevadm-control.o
CC src/udev/udevadm-monitor.o
CC src/udev/udevadm-settle.o
CC src/udev/udevadm-trigger.o
CC src/udev/udevadm-test.o
CC src/udev/udevadm-test-builtin.o
CC src/journal/cat.o
CC src/udev/test_udev-udev-event.o
CC src/udev/test_udev-udev-watch.o
CC src/udev/test_udev-udev-node.o
CC src/udev/test_udev-udev-rules.o
CC src/udev/test_udev-udev-ctrl.o
CC src/udev/test_udev-udev-builtin.o
CC src/udev/test_udev-udev-builtin-blkid.o
CC src/udev/test_udev-udev-builtin-firmware.o
CC src/udev/test_udev-udev-builtin-hwdb.o
CC src/udev/test_udev-udev-builtin-input_id.o
src/udev/udev-builtin-input_id.c:41:9: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’ [-Wpragmas]
src/udev/udev-builtin-input_id.c:91:9: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’ [-Wpragmas]
src/udev/udev-builtin-input_id.c: In function ‘test_key’:
src/udev/udev-builtin-input_id.c:162:17: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 6 has type ‘unsigned int’ [-Wformat]
CC src/udev/test_udev-udev-builtin-kmod.o
CC src/udev/test_udev-udev-builtin-path_id.o
CC src/udev/test_udev-udev-builtin-usb_id.o
CC src/libsystemd-daemon/test_udev-sd-daemon.o
CC src/libudev/test_udev-libudev.o
CC src/libudev/test_udev-libudev-list.o
CC src/libudev/test_udev-libudev-util.o
CC src/libudev/test_udev-libudev-device.o
CC src/libudev/test_udev-libudev-enumerate.o
CC src/libudev/test_udev-libudev-monitor.o
CC src/libudev/test_udev-libudev-queue.o
src/libudev/libudev-monitor.c: In function ‘udev_monitor_receive_device’:
src/libudev/libudev-monitor.c:581:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
CC src/libudev/test_udev-libudev-device-private.o
CC src/libudev/test_udev-libudev-queue-private.o
CC src/test/test-id128.o
CC src/journal/test_journal-test-journal.o
CC src/journal/test_journal-sd-journal.o
CC src/journal/test_journal-journal-file.o
CC src/journal/test_journal-lookup3.o
CC src/journal/test_journal-journal-send.o
CC src/journal/test-journal-send.o
CC src/core/machine-id-setup.o
CC src/journal/journalctl.o
CC src/core/systemd-main.o
CC src/core/umount.o
CC src/core/shutdown.o
CC src/udev/udevd.o
CC src/journal/systemd_journald-journald.o
CC src/journal/systemd_journald-sd-journal.o
CC src/journal/systemd_journald-journal-file.o
CC src/journal/systemd_journald-lookup3.o
CC src/journal/systemd_journald-journal-rate-limit.o
GEN src/journal/journald-gperf.c
CCLD libsystemd-login.la
GEN units/emergency.service
GEN rules/99-systemd.rules
GEN src/core/org.freedesktop.systemd1.policy.in
GEN units/getty@.service
GEN units/serial-getty@.service
GEN units/console-shell.service.m4
GEN units/console-getty.service.m4
GEN units/systemd-initctl.service
GEN units/systemd-shutdownd.service
GEN units/systemd-modules-load.service
GEN units/systemd-remount-fs.service
GEN units/systemd-update-utmp-runlevel.service
GEN units/systemd-update-utmp-shutdown.service
GEN units/systemd-tmpfiles-setup.service
GEN units/systemd-tmpfiles-clean.service
GEN units/systemd-ask-password-wall.service
GEN units/systemd-ask-password-console.service
GEN units/systemd-sysctl.service
GEN units/halt.service
GEN units/hibernate.service
GEN units/poweroff.service
GEN units/reboot.service
GEN units/kexec.service
GEN units/fsck@.service
GEN units/fsck-root.service
GEN units/rescue.service.m4
GEN units/suspend.service
GEN units/user@.service
GEN units/systemd-udev.service
GEN units/systemd-udev-trigger.service
GEN units/systemd-udev-settle.service
GEN units/systemd-journald.service
GEN units/user/exit.service
GEN src/core/systemd.pc
GEN src/libsystemd-daemon/libsystemd-daemon.pc
GEN src/libudev/libudev.pc
GEN src/libsystemd-id128/libsystemd-id128.pc
GEN src/journal/libsystemd-journal.pc
GEN src/udev/udev.pc
CC src/libsystemd-daemon/libsystemd_daemon_la-sd-daemon.lo
CC src/libudev/libudev_la-libudev.lo
CC src/libudev/libudev_la-libudev-list.lo
CC src/libudev/libudev_la-libudev-util.lo
CC src/libudev/libudev_la-libudev-device.lo
CC src/libudev/libudev_la-libudev-enumerate.lo
CC src/libudev/libudev_la-libudev-monitor.lo
CC src/libudev/libudev_la-libudev-queue.lo
src/libudev/libudev-monitor.c: In function 'udev_monitor_receive_device':
src/libudev/libudev-monitor.c:581:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
CC src/shared/util.lo
CC src/shared/virt.lo
CC src/shared/path-util.lo
CC src/shared/hashmap.lo
CC src/shared/set.lo
CC src/shared/strv.lo
CC src/shared/conf-parser.lo
CC src/shared/log.lo
CC src/shared/ratelimit.lo
src/shared/log.c:638:9: warning: expected [error|warning|ignored] after '#pragma GCC diagnostic' [-Wpragmas]
src/shared/log.c:651:9: warning: expected [error|warning|ignored] after '#pragma GCC diagnostic' [-Wpragmas]
CC src/shared/exit-status.lo
CC src/shared/utf8.lo
CC src/shared/pager.lo
CC src/shared/socket-util.lo
CC src/shared/conf-files.lo
CC src/shared/cgroup-util.lo
CC src/shared/cgroup-show.lo
CC src/shared/unit-name.lo
CC src/shared/utmp-wtmp.lo
CC src/shared/watchdog.lo
CC src/shared/spawn-ask-password-agent.lo
CC src/shared/specifier.lo
CC src/shared/spawn-polkit-agent.lo
CC src/shared/hwclock.lo
CC src/libsystemd-id128/libsystemd_id128_la-sd-id128.lo
CC src/journal/libsystemd_journal_la-sd-journal.lo
CC src/journal/libsystemd_journal_la-journal-file.lo
CC src/journal/libsystemd_journal_la-lookup3.lo
CC src/journal/libsystemd_journal_la-journal-send.lo
CCLD libsystemd-dbus.la
CCLD libsystemd-label.la
CCLD libsystemd-capability.la
CC src/core/libsystemd_core_la-unit.lo
CC src/core/libsystemd_core_la-job.lo
CC src/core/libsystemd_core_la-manager.lo
CC src/core/libsystemd_core_la-transaction.lo
CC src/core/libsystemd_core_la-load-fragment.lo
CC src/core/libsystemd_core_la-service.lo
CC src/core/libsystemd_core_la-automount.lo
CC src/core/libsystemd_core_la-mount.lo
CC src/core/libsystemd_core_la-swap.lo
CC src/core/libsystemd_core_la-device.lo
CC src/core/libsystemd_core_la-target.lo
CC src/core/libsystemd_core_la-snapshot.lo
CC src/core/libsystemd_core_la-socket.lo
CC src/core/libsystemd_core_la-timer.lo
CC src/core/libsystemd_core_la-path.lo
CC src/core/libsystemd_core_la-load-dropin.lo
CC src/core/libsystemd_core_la-execute.lo
CC src/core/libsystemd_core_la-dbus.lo
CC src/core/libsystemd_core_la-dbus-manager.lo
CC src/core/libsystemd_core_la-dbus-unit.lo
CC src/core/libsystemd_core_la-dbus-job.lo
CC src/core/libsystemd_core_la-dbus-service.lo
CC src/core/libsystemd_core_la-dbus-socket.lo
CC src/core/libsystemd_core_la-dbus-timer.lo
CC src/core/libsystemd_core_la-dbus-target.lo
CC src/core/libsystemd_core_la-dbus-mount.lo
CC src/core/libsystemd_core_la-dbus-automount.lo
CC src/core/libsystemd_core_la-dbus-swap.lo
CC src/core/libsystemd_core_la-dbus-snapshot.lo
CC src/core/libsystemd_core_la-dbus-device.lo
CC src/core/libsystemd_core_la-dbus-execute.lo
CC src/core/libsystemd_core_la-dbus-path.lo
CC src/core/libsystemd_core_la-cgroup.lo
CC src/core/libsystemd_core_la-selinux-setup.lo
CC src/core/libsystemd_core_la-ima-setup.lo
CC src/core/libsystemd_core_la-kmod-setup.lo
CC src/core/libsystemd_core_la-locale-setup.lo
src/core/kmod-setup.c:39:9: warning: expected [error|warning|ignored] after '#pragma GCC diagnostic' [-Wpragmas]
src/core/kmod-setup.c:46:9: warning: expected [error|warning|ignored] after '#pragma GCC diagnostic' [-Wpragmas]
CC src/core/libsystemd_core_la-hostname-setup.lo
CC src/core/libsystemd_core_la-machine-id-setup.lo
CC src/core/libsystemd_core_la-mount-setup.lo
CC src/core/libsystemd_core_la-loopback-setup.lo
CC src/core/libsystemd_core_la-fdset.lo
CC src/core/libsystemd_core_la-condition.lo
CC src/core/libsystemd_core_la-namespace.lo
CC src/core/libsystemd_core_la-tcpwrap.lo
CC src/core/libsystemd_core_la-cgroup-attr.lo
CC src/core/libsystemd_core_la-switch-root.lo
GEN src/core/load-fragment-gperf.c
GEN src/core/load-fragment-gperf-nulstr.c
CC src/udev/libudev_core_la-udev-event.lo
CC src/udev/libudev_core_la-udev-watch.lo
CC src/udev/libudev_core_la-udev-node.lo
CC src/udev/libudev_core_la-udev-rules.lo
CC src/udev/libudev_core_la-udev-ctrl.lo
CC src/udev/libudev_core_la-udev-builtin.lo
CC src/udev/libudev_core_la-udev-builtin-blkid.lo
CC src/udev/libudev_core_la-udev-builtin-firmware.lo
CC src/udev/libudev_core_la-udev-builtin-hwdb.lo
CC src/udev/libudev_core_la-udev-builtin-input_id.lo
CC src/udev/libudev_core_la-udev-builtin-kmod.lo
src/udev/udev-builtin-input_id.c:41:9: warning: expected [error|warning|ignored] after '#pragma GCC diagnostic' [-Wpragmas]
src/udev/udev-builtin-input_id.c:91:9: warning: expected [error|warning|ignored] after '#pragma GCC diagnostic' [-Wpragmas]
src/udev/udev-builtin-input_id.c: In function 'test_key':
src/udev/udev-builtin-input_id.c:162:17: warning: format '%lu' expects type 'long unsigned int', but argument 6 has type 'unsigned int' [-Wformat]
CC src/udev/libudev_core_la-udev-builtin-path_id.lo
CC src/udev/libudev_core_la-udev-builtin-usb_id.lo
CC src/cgls/cgls.o
CC src/cgtop/cgtop.o
CC src/stdio-bridge/stdio-bridge.o
CC src/nspawn/nspawn.o
CC src/detect-virt/detect-virt.o
CC src/delta/delta.o
CC src/test/test_engine-test-engine.o
CC src/test/test_job_type-test-job-type.o
CC src/test/test-ns.o
CC src/test/test-loopback.o
CC src/test/test-hostname.o
CC src/test/test-daemon.o
CC src/test/test-cgroup.o
CC src/test/test-env-replace.o
CC src/test/test-strv.o
CC src/test/test_install-test-install.o
CC src/test/test-watchdog.o
CC src/test/test-libudev.o
CC src/test/test_udev-test-udev.o
CC src/systemctl/systemctl-systemctl.o
CC src/notify/notify.o
CC src/readahead/sd-readahead.o
CC src/ask-password/ask-password.o
src/systemctl/systemctl.c:174:13: warning: ‘polkit_agent_open_if_enabled’ defined but not used [-Wunused-function]
CC src/tty-ask-password-agent/tty-ask-password-agent.o
src/systemctl/systemctl.c: In function ‘halt_now’:
src/systemctl/systemctl.c:5395:13: warning: function might be possible candidate for attribute ‘noreturn’ [-Wmissing-noreturn]
CC src/tmpfiles/tmpfiles.o
CC src/machine-id-setup/machine-id-setup-main.o
CC src/cgroups-agent/systemd_cgroups_agent-cgroups-agent.o
CC src/initctl/systemd_initctl-initctl.o
CC src/update-utmp/systemd_update_utmp-update-utmp.o
CC src/shutdownd/shutdownd.o
CC src/modules-load/systemd_modules_load-modules-load.o
src/modules-load/modules-load.c:36:9: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’ [-Wpragmas]
src/modules-load/modules-load.c:43:9: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’ [-Wpragmas]
CC src/remount-fs/remount-fs.o
CC src/reply-password/reply-password.o
CC src/fsck/systemd_fsck-fsck.o
CC src/timestamp/timestamp.o
CC src/ac-power/ac-power.o
CC src/sysctl/sysctl.o
CC src/sleep/sleep.o
CC src/journal/systemd_journald-journald-gperf.o
CC src/getty-generator/getty-generator.o
CC src/fstab-generator/fstab-generator.o
CC src/system-update-generator/system-update-generator.o
CC src/udev/ata_id/ata_id.o
CC src/udev/cdrom_id/cdrom_id.o
CC src/udev/collect/collect.o
src/udev/collect/collect.c: In function ‘sig_alrm’:
src/udev/collect/collect.c:63:13: warning: function might be possible candidate for attribute ‘noreturn’ [-Wmissing-noreturn]
CC src/udev/scsi_id/scsi_id.o
CC src/udev/scsi_id/scsi_serial.o
CC src/udev/v4l_id/v4l_id.o
CC src/udev/accelerometer/accelerometer.o
CC src/udev/mtd_probe/mtd_probe-mtd_probe.o
CC src/udev/mtd_probe/mtd_probe-probe_smartmedia.o
ITMRG src/core/org.freedesktop.systemd1.policy
GEN units/console-shell.service
GEN units/console-getty.service
GEN units/rescue.service
CCLD libsystemd-daemon.la
CCLD libsystemd-shared.la
CCLD libsystemd-audit.la
CC src/core/libsystemd_core_la-load-fragment-gperf.lo
CC src/core/libsystemd_core_la-load-fragment-gperf-nulstr.lo
CCLD libudev-private.la
CCLD systemd-cgls
CCLD systemd-cgtop
CCLD systemd-stdio-bridge
CCLD systemd-nspawn
CCLD systemd-detect-virt
CCLD systemd-delta
CCLD test-daemon
CCLD test-cgroup
CCLD test-env-replace
CCLD test-strv
CCLD test-install
CCLD test-watchdog
CCLD test-udev
CCLD systemd-notify
CCLD systemd-ask-password
CCLD systemd-tty-ask-password-agent
CCLD systemd-tmpfiles
CCLD systemd-cgroups-agent
CCLD systemd-initctl
CCLD systemd-update-utmp
CCLD systemd-shutdownd
CCLD systemd-modules-load
CCLD systemd-remount-fs
CCLD systemd-reply-password
CCLD systemd-timestamp
CCLD systemd-sysctl
CCLD systemd-sleep
CCLD systemd-getty-generator
CCLD systemd-fstab-generator
CCLD systemd-system-update-generator
CCLD ata_id
CCLD collect
CCLD scsi_id
CCLD mtd_probe
CCLD libudev.la
CCLD libsystemd-id128.la
CCLD libudev-core.la
CCLD test-libudev
CCLD test-id128
copying selected object files to avoid basename conflicts...
CCLD test-journal
CCLD systemd-machine-id-setup
CCLD systemd-shutdown
CCLD systemd-fsck
CCLD systemd-ac-power
CCLD systemd-udevd
CCLD systemd-journald
CCLD cdrom_id
src/journal/systemd_journald-journald.o: In function `dispatch_message_real.clone.4':
journald.c:(.text+0x264e): undefined reference to `sd_pid_get_session'
journald.c:(.text+0x26cc): undefined reference to `sd_pid_get_unit'
journald.c:(.text+0x274b): undefined reference to `sd_pid_get_owner_uid'
collect2: ld returned 1 exit status
make[2]: *** [systemd-journald] Error 1
make[2]: *** Waiting for unfinished jobs....
CCLD v4l_id
rm units/console-getty.service.m4 src/core/org.freedesktop.systemd1.policy.in units/rescue.service.m4 units/console-shell.service.m4
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
* ERROR: sys-fs/udev-183 failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=sys-fs/udev-183'`,
* the complete build log and the output of `emerge -pqv '=sys-fs/udev-183'`.
* The complete build log is located at '/var/tmp/portage/sys-fs/udev-183/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-fs/udev-183/temp/environment'.
* Working directory: '/var/tmp/portage/sys-fs/udev-183/work/systemd-183'
* S: '/var/tmp/portage/sys-fs/udev-183/work/systemd-183'
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply
* Re: building systemd-183 for udev only gives a link error
From: Kay Sievers @ 2012-05-29 0:54 UTC (permalink / raw)
To: linux-hotplug
In-Reply-To: <20120529004315.GA22191@linux1>
On Tue, May 29, 2012 at 2:43 AM, William Hubbs <w.d.hubbs@gmail.com> wrote:
> I am attempting to a basic build of systemd so I can pull out the udev
> portions of it, but I am getting an error in the link phase.
> The build log is attached; any help would be appreciated.
Don't disable logind, it's a bug in the build-sys, some stuff does not
compile when it's disabled.
Kay
^ permalink raw reply
* Re: building systemd-183 for udev only gives a link error
From: William Hubbs @ 2012-05-29 2:22 UTC (permalink / raw)
To: linux-hotplug
In-Reply-To: <20120529004315.GA22191@linux1>
[-- Attachment #1.1: Type: text/plain, Size: 225 bytes --]
On Tue, May 29, 2012 at 02:54:25AM +0200, Kay Sievers wrote:
> Don't disable logind, it's a bug in the build-sys, some stuff does not
> compile when it's disabled.
Ok, that is enabled now, but I get this.
Thanks,
William
[-- Attachment #1.2: build.log --]
[-- Type: text/plain, Size: 22299 bytes --]
* Package: sys-fs/udev-183
* Repository: local
* Maintainer: udev-bugs@gentoo.org
* USE: elibc_glibc kernel_linux nls userland_GNU x86
* FEATURES: preserve-libs sandbox userpriv usersandbox
* Package: sys-fs/udev-183
* Repository: local
* Maintainer: udev-bugs@gentoo.org
* USE: elibc_glibc kernel_linux nls userland_GNU x86
* FEATURES: preserve-libs sandbox userpriv usersandbox
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 3.2.12-gentoo
>>> Unpacking source...
>>> Unpacking systemd-183.tar.xz to /var/tmp/portage/sys-fs/udev-183/work
>>> Source unpacked in /var/tmp/portage/sys-fs/udev-183/work
>>> Preparing source in /var/tmp/portage/sys-fs/udev-183/work/systemd-183 ...
* Running elibtoolize in: systemd-183/build-aux/
* Applying portage/1.2.0 patch ...
* Applying sed/1.5.6 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-fs/udev-183/work/systemd-183 ...
* econf: updating systemd-183/build-aux/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating systemd-183/build-aux/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --with-rootprefix=/ --docdir=/usr/share/doc/udev-183 --libdir=/usr/lib --libexecdir=/lib --disable-acl --disable-audit --disable-binfmt --disable-coredump --disable-hostnamed --disable-ima --disable-libcryptsetup --disable-localed --disable-pam --disable-quotacheck --disable-randomseed --disable-readahead --disable-tcpwrap --disable-timedated --disable-vconsole --disable-xz --with-pci-ids-path=/usr/share/misc/pci.ids --with-usb-ids-path=/usr/share/misc/usb.ids --with-html-dir=/usr/share/doc/udev-183/html --disable-gtk-doc --disable-gudev --disable-introspection --disable-keymap --enable-nls --disable-selinux --disable-static
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking dependency style of i686-pc-linux-gnu-gcc... none
checking whether make supports nested variables... (cached) yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for i686-pc-linux-gnu-objdump... i686-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for archiver @FILE support... @
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc object... ok
checking for sysroot... no
checking for i686-pc-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if i686-pc-linux-gnu-gcc static flag -static works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether NLS is requested... yes
checking for intltool >= 0.40.0... 0.50.2 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.12.4
checking for XML::Parser... ok
checking whether ln -s works... yes
checking for a sed that does not truncate output... (cached) /bin/sed
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for gawk... (cached) gawk
checking for i686-pc-linux-gnu-gcc... (cached) i686-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether i686-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking for i686-pc-linux-gnu-gcc option to accept ISO C99... -std=gnu99
checking whether i686-pc-linux-gnu-gcc -std=gnu99 and cc understand -c and -o together... yes
checking whether i686-pc-linux-gnu-gcc -std=gnu99 needs -traditional... no
checking for m4... /usr/bin/m4
checking for i686-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gtkdoc-check... no
checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... no
checking whether to build gtk-doc documentation... no
checking for gobject-introspection... no (disabled, use --enable-introspection to enable)
checking for i686-pc-linux-gnu-objcopy... i686-pc-linux-gnu-objcopy
checking for i686-pc-linux-gnu-strings... i686-pc-linux-gnu-strings
checking for i686-pc-linux-gnu-gperf... no
checking for gperf... gperf
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -pipe in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wall in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -W in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wextra in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wno-inline in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wvla in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wundef in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wformat=2 in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wlogical-op in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wsign-compare in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wformat-security in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wmissing-include-dirs in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wformat-nonliteral in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wold-style-definition in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wpointer-arith in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Winit-self in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wdeclaration-after-statement in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wfloat-equal in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wmissing-prototypes in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wstrict-prototypes in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wredundant-decls in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wmissing-declarations in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wmissing-noreturn in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wshadow in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wendif-labels in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wcast-align in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wstrict-aliasing=2 in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wwrite-strings in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wno-long-long in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wno-overlength-strings in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wno-unused-parameter in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wno-missing-field-initializers in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wno-unused-result in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Werror=overflow in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wp,-D_FORTIFY_SOURCE=2 in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -ffast-math in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -fno-common in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -fdiagnostics-show-option in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -fno-strict-aliasing in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -fvisibility=hidden in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -ffunction-sections in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -fdata-sections in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wl,--as-needed in envvar LDFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wl,--gc-sections in envvar LDFLAGS... yes
checking for library containing clock_gettime... -lrt
checking for library containing dlsym... -ldl
checking for library containing cap_init... -lcap
checking sys/capability.h usability... yes
checking sys/capability.h presence... yes
checking for sys/capability.h... yes
checking for DBUS... yes
checking for KMOD... yes
checking for BLKID... yes
checking for USB database location... /usr/share/misc/usb.ids
checking for PCI database location... /usr/share/misc/pci.ids
checking for xsltproc... /usr/bin/xsltproc
/bin/grep: /etc/os-release: No such file or directory
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating docs/libudev/Makefile
config.status: creating docs/libudev/version.xml
config.status: creating docs/gudev/Makefile
config.status: creating docs/gudev/version.xml
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po/stamp-it commands
systemd 183
Distribution: other
SysV compatibility: yes
SysV init scripts: /etc/init.d
SysV rc?.d directories: /etc/rc.d
libcryptsetup: no
tcpwrap: no
PAM: no
AUDIT: no
IMA: no
SELinux: no
XZ: no
ACL: no
binfmt: no
vconsole: no
readahead: no
quotacheck: no
randomseed: no
logind: yes
hostnamed: no
timedated: no
localed: no
coredump: no
plymouth: no
firmware path: \"/lib/firmware/updates/\", \"/lib/firmware/\"
usb.ids: /usr/share/misc/usb.ids
pci.ids: /usr/share/misc/pci.ids
gudev: no
gintrospection: no
keymap: no
prefix: /usr
rootprefix: /
sysconf dir: /etc
datarootdir: ${prefix}/share
includedir: ${prefix}/include
include_prefix:
libexec dir: /lib
lib dir: /usr/lib
rootlib dir: /usr/lib
PAM modules dir: /usr/lib/security
D-Bus policy dir: /etc/dbus-1/system.d
D-Bus session dir: /usr/share/dbus-1/services
D-Bus system dir: /usr/share/dbus-1/services/../system-services
D-Bus interfaces dir: /usr/share/dbus-1/services/../interfaces
Split /usr: yes
man pages: yes
CFLAGS: -march=native -O2 -pipe
CPPLAGS:
LDFLAGS: -Wl,-O1 -Wl,--as-needed
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-fs/udev-183/work/systemd-183 ...
make -j2
make --no-print-directory all-recursive
Making all in .
CC src/shared/libsystemd_dbus_la-dbus-common.lo
CC src/shared/libsystemd_dbus_la-dbus-loop.lo
CC src/shared/libsystemd_dbus_la-polkit.lo
CC src/shared/libsystemd_label_la-install.lo
CC src/shared/libsystemd_label_la-path-lookup.lo
CC src/shared/libsystemd_label_la-cgroup-label.lo
CC src/shared/libsystemd_label_la-socket-label.lo
CC src/shared/libsystemd_label_la-label.lo
CC src/shared/libsystemd_label_la-mkdir.lo
CC src/shared/libsystemd_label_la-ask-password-api.lo
CC src/shared/libsystemd_label_la-dev-setup.lo
CC src/shared/libsystemd_logs_la-logs-show.lo
CC src/shared/libsystemd_capability_la-capability.lo
CC src/shared/audit.lo
GEN src/core/load-fragment-gperf.gperf
CC src/libudev/libudev_private_la-libudev.lo
CC src/libudev/libudev_private_la-libudev-list.lo
CC src/libudev/libudev_private_la-libudev-util.lo
CC src/libudev/libudev_private_la-libudev-device.lo
CC src/libudev/libudev_private_la-libudev-enumerate.lo
CC src/libudev/libudev_private_la-libudev-monitor.lo
CC src/libudev/libudev_private_la-libudev-queue.lo
src/libudev/libudev-monitor.c: In function 'udev_monitor_receive_device':
src/libudev/libudev-monitor.c:581:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
CC src/libudev/libudev_private_la-libudev-device-private.lo
CC src/libudev/libudev_private_la-libudev-queue-private.lo
CC src/libsystemd-daemon/libudev_core_la-sd-daemon.lo
CC src/core/mount-setup.o
CC src/core/loopback-setup.o
CC src/udev/udevadm.o
CC src/udev/udevadm-info.o
CC src/udev/udevadm-control.o
CC src/udev/udevadm-monitor.o
CC src/udev/udevadm-settle.o
CC src/udev/udevadm-trigger.o
CC src/udev/udevadm-test.o
CC src/udev/udevadm-test-builtin.o
CC src/journal/cat.o
CC src/udev/test_udev-udev-event.o
CC src/udev/test_udev-udev-watch.o
CC src/udev/test_udev-udev-node.o
CC src/udev/test_udev-udev-rules.o
CC src/udev/test_udev-udev-ctrl.o
CC src/udev/test_udev-udev-builtin.o
CC src/udev/test_udev-udev-builtin-blkid.o
CC src/udev/test_udev-udev-builtin-firmware.o
CC src/udev/test_udev-udev-builtin-hwdb.o
CC src/udev/test_udev-udev-builtin-input_id.o
src/udev/udev-builtin-input_id.c:41:9: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’ [-Wpragmas]
src/udev/udev-builtin-input_id.c:91:9: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’ [-Wpragmas]
src/udev/udev-builtin-input_id.c: In function ‘test_key’:
src/udev/udev-builtin-input_id.c:162:17: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 6 has type ‘unsigned int’ [-Wformat]
CC src/udev/test_udev-udev-builtin-kmod.o
CC src/udev/test_udev-udev-builtin-path_id.o
CC src/udev/test_udev-udev-builtin-usb_id.o
CC src/libsystemd-daemon/test_udev-sd-daemon.o
CC src/libudev/test_udev-libudev.o
CC src/libudev/test_udev-libudev-list.o
CC src/libudev/test_udev-libudev-util.o
CC src/libudev/test_udev-libudev-device.o
CC src/libudev/test_udev-libudev-enumerate.o
CC src/libudev/test_udev-libudev-monitor.o
CC src/libudev/test_udev-libudev-queue.o
src/libudev/libudev-monitor.c: In function ‘udev_monitor_receive_device’:
src/libudev/libudev-monitor.c:581:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
CC src/libudev/test_udev-libudev-device-private.o
CC src/libudev/test_udev-libudev-queue-private.o
CC src/test/test-id128.o
CC src/journal/test_journal-test-journal.o
CC src/journal/test_journal-sd-journal.o
CC src/journal/test_journal-journal-file.o
CC src/journal/test_journal-lookup3.o
CC src/journal/test_journal-journal-send.o
CC src/journal/test-journal-send.o
CC src/login/test-login.o
CC src/login/test_inhibit-test-inhibit.o
CC src/core/machine-id-setup.o
CC src/journal/journalctl.o
CC src/login/loginctl-loginctl.o
CC src/login/loginctl-sysfs-show.o
CC src/login/systemd_inhibit-inhibit.o
CC src/core/systemd-main.o
CC src/core/umount.o
CC src/core/shutdown.o
CC src/udev/udevd.o
CC src/journal/systemd_journald-journald.o
CC src/journal/systemd_journald-sd-journal.o
CC src/journal/systemd_journald-journal-file.o
CC src/journal/systemd_journald-lookup3.o
CC src/journal/systemd_journald-journal-rate-limit.o
GEN src/journal/journald-gperf.c
CC src/login/systemd_logind-logind.o
In file included from src/login/logind.h:42:0,
from src/login/logind.c:34:
src/login/logind-inhibit.h:37:3: error: redefinition of typedef ‘InhibitWhat’
src/login/logind-inhibit.h:26:26: note: previous declaration of ‘InhibitWhat’ was here
make[2]: *** [src/login/systemd_logind-logind.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
* ERROR: sys-fs/udev-183 failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=sys-fs/udev-183'`,
* the complete build log and the output of `emerge -pqv '=sys-fs/udev-183'`.
* This ebuild is from an overlay named 'local': '/usr/local/portage/'
* The complete build log is located at '/var/tmp/portage/sys-fs/udev-183/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-fs/udev-183/temp/environment'.
* Working directory: '/var/tmp/portage/sys-fs/udev-183/work/systemd-183'
* S: '/var/tmp/portage/sys-fs/udev-183/work/systemd-183'
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply
* [PATCH] Don't require dbus for libudev-core.la
From: Bryan Kadzban @ 2012-05-31 5:32 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1: Type: text/plain, Size: 621 bytes --]
Split libsystemd-label.la into libsystemd-label-no-dbus.la and
libsystemd-label.la (which depends on the first). Link the first into
libudev-core, and keep linking the second in everywhere else.
Fixes compilation of standalone udevd on systems that don't have dbus
installed.
Signed-Off-By: Bryan Kadzban <bryan@kadzban.is-a-geek.net>
----
(Attached since my mailer is trying to split lines if I dump the git
diff directly into the message. Patch is against current git.)
Compile-tested only, by rerunning autogen.sh, then configuring (faking
out the dbus pkg-config dependencies), then running make systemd-udevd.
[-- Attachment #2: systemd-split-label.patch --]
[-- Type: text/plain, Size: 1673 bytes --]
diff --git a/Makefile.am b/Makefile.am
index b62b9be..91dd363 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -606,6 +606,25 @@ libsystemd_dbus_la_LIBADD = \
# ------------------------------------------------------------------------------
noinst_LTLIBRARIES += \
+ libsystemd-label-no-dbus.la
+
+libsystemd_label_no_dbus_la_SOURCES = \
+ src/shared/label.c \
+ src/shared/label.h \
+ src/shared/mkdir.c \
+ src/shared/mkdir.h \
+ src/shared/dev-setup.c \
+ src/shared/dev-setup.h
+
+libsystemd_label_no_dbus_la_CFLAGS = \
+ $(AM_CFLAGS) \
+ $(SELINUX_CFLAGS)
+
+libsystemd_label_no_dbus_la_LIBADD = \
+ $(SELINUX_LIBS)
+
+# ------------------------------------------------------------------------------
+noinst_LTLIBRARIES += \
libsystemd-label.la
libsystemd_label_la_SOURCES = \
@@ -615,14 +634,8 @@ libsystemd_label_la_SOURCES = \
src/shared/path-lookup.h \
src/shared/cgroup-label.c \
src/shared/socket-label.c \
- src/shared/label.c \
- src/shared/label.h \
- src/shared/mkdir.c \
- src/shared/mkdir.h \
src/shared/ask-password-api.c \
- src/shared/ask-password-api.h \
- src/shared/dev-setup.c \
- src/shared/dev-setup.h
+ src/shared/ask-password-api.h
libsystemd_label_la_CFLAGS = \
$(AM_CFLAGS) \
@@ -630,6 +643,7 @@ libsystemd_label_la_CFLAGS = \
$(SELINUX_CFLAGS)
libsystemd_label_la_LIBADD = \
+ libsystemd-no-dbus.la \
$(SELINUX_LIBS)
# ------------------------------------------------------------------------------
@@ -1505,7 +1519,7 @@ libudev_core_la_CFLAGS = \
libudev_core_la_LIBADD = \
libudev-private.la \
- libsystemd-label.la \
+ libsystemd-label-no-dbus.la \
libsystemd-shared.la \
$(BLKID_LIBS) \
$(KMOD_LIBS)
^ permalink raw reply related
* [PATCH] Don't require libcap when building libsystemd-shared
From: Bryan Kadzban @ 2012-05-31 6:10 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1: Type: text/plain, Size: 408 bytes --]
src/shared/util.c includes <sys/capability.h> but doesn't use anything
defined there. Since <sys/capability.h> is part of libcap, not libc,
don't require it.
Allows systemd-without-udevd to require fewer external libraries.
Signed-Off-By: Bryan Kadzban <bryan@kadzban.is-a-geek.net>
-----
Tested by building just systemd-udevd, as the previous patch.
Patch generated against current git again, as well.
[-- Attachment #2: remove-libcap-from-libsystemd-shared.patch --]
[-- Type: text/plain, Size: 302 bytes --]
diff --git a/src/shared/util.c b/src/shared/util.c
index 9db2a6b..67ec5ae 100644
--- a/src/shared/util.c
+++ b/src/shared/util.c
@@ -50,7 +50,6 @@
#include <linux/kd.h>
#include <dlfcn.h>
#include <sys/wait.h>
-#include <sys/capability.h>
#include <sys/time.h>
#include <glob.h>
#include <grp.h>
^ permalink raw reply related
* Re: [PATCH] Don't require libcap when building libsystemd-shared
From: Kay Sievers @ 2012-05-31 9:59 UTC (permalink / raw)
To: linux-hotplug
In-Reply-To: <4FC70B39.9060902@kadzban.is-a-geek.net>
On Thu, May 31, 2012 at 8:10 AM, Bryan Kadzban
<bryan@kadzban.is-a-geek.net> wrote:
> src/shared/util.c includes <sys/capability.h> but doesn't use anything
> defined there. Â Since <sys/capability.h> is part of libcap, not libc,
> don't require it.
>
> Allows systemd-without-udevd to require fewer external libraries.
Applied.
Thanks,
Kay
^ permalink raw reply
* Re: building systemd-183 for udev only gives a link error
From: William Hubbs @ 2012-05-31 17:07 UTC (permalink / raw)
To: linux-hotplug
In-Reply-To: <20120529004315.GA22191@linux1>
[-- Attachment #1: Type: text/plain, Size: 306 bytes --]
On Mon, May 28, 2012 at 09:22:39PM -0500, William Hubbs wrote:
> On Tue, May 29, 2012 at 02:54:25AM +0200, Kay Sievers wrote:
> > Don't disable logind, it's a bug in the build-sys, some stuff does not
> > compile when it's disabled.
It looks like this is fixed in release 184.
Thanks much. :-)
William
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply
* Re: systemd-183
From: William Hubbs @ 2012-05-31 17:35 UTC (permalink / raw)
To: linux-hotplug
In-Reply-To: <4FBE8DC4.1070202@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1289 bytes --]
Hi Kay,
On Sun, May 27, 2012 at 01:34:11PM +0200, Kay Sievers wrote:
> We support stand-alone *operation* of the udev tools, but the build
> system does not support a stand-alone *build*. The systemd tree needs
> to be built and udev picked out of it.
>
> There are also several other generally useful tools in the built tree,
> which you might need too over time, like tmpfiles, module-load,
> sysconf, binfmt, ... A couple of D-Bus services to manage system
> settings from the desktop.
>
> Various upstream tools start to install config files or use these
> interfaces. It might be the simplest to install them too, even when
> systemd is not used.
I understand that folks might want these tools, but I don't want to
install the ones that udev doesn't need as part of the udev package. I
am also concerned about libcap and dbus being hard requirements of the
udev build process.
If udev, or the tools that it needs, like tmpfiles, requires these
libraries, that is one thing, otherwise I really do not want
to make them dependencies of the udev package. The issue is that in
gentoo, since we are source based, I would have to require all of our
users to install dbus and libcap just to build udev.
Do you have any suggestions?
Thanks,
William
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply
* Re: systemd-183
From: Bruce Dubbs @ 2012-05-31 19:33 UTC (permalink / raw)
To: linux-hotplug
In-Reply-To: <4FBE8DC4.1070202@gmail.com>
William Hubbs wrote:
> Hi Kay,
>
> On Sun, May 27, 2012 at 01:34:11PM +0200, Kay Sievers wrote:
>> We support stand-alone *operation* of the udev tools, but the build
>> system does not support a stand-alone *build*. The systemd tree needs
>> to be built and udev picked out of it.
>>
>> There are also several other generally useful tools in the built tree,
>> which you might need too over time, like tmpfiles, module-load,
>> sysconf, binfmt, ... A couple of D-Bus services to manage system
>> settings from the desktop.
>>
>> Various upstream tools start to install config files or use these
>> interfaces. It might be the simplest to install them too, even when
>> systemd is not used.
>
> I understand that folks might want these tools, but I don't want to
> install the ones that udev doesn't need as part of the udev package. I
> am also concerned about libcap and dbus being hard requirements of the
> udev build process.
>
> If udev, or the tools that it needs, like tmpfiles, requires these
> libraries, that is one thing, otherwise I really do not want
> to make them dependencies of the udev package. The issue is that in
> gentoo, since we are source based, I would have to require all of our
> users to install dbus and libcap just to build udev.
The Linux From Scratch community has the same problem. We are working
on this in two ways.
1. I've developed a make.sh script and an install.sh script to build,
link, and install udev from the systemd sources bypassing the autotools
environment completely. This is not desirable, but it gets the job done
and is a proof of concept.
2. We are working to modify configure.ac and Makefile.in to do the
right thing. That may take a little more time.
I can say that there are several packages currently required by
configure that are not needed by a udev only build: intltool,
XML::Parser, libpcap2, attr, usbutils, libusb, pciutils, and dbus.
The common/systemd files needed for the udev applications are:
src/shared:
log.c label.c mkdir.c cgroup-util.c strv.c path-util.c conf-files.c
hashmap.c set.c exit-status.c util.c dev-setup.c
src/libsystemd-daemon:
sd-daemon.c
src/login:
sd-login.c
If those files are built and put into a separate library, it would make
the rest of a udev only build much more straight forward.
I'll get back to this list when we have more progress.
-- Bruce
^ permalink raw reply
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox