Bug 49459 - systemd master: out-of-tree build broken
Summary: systemd master: out-of-tree build broken
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Lennart Poettering
QA Contact:
URL: https://bugs.gentoo.org/show_bug.cgi?...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-04 00:12 UTC by Maksim Melnikau
Modified: 2012-07-31 00:01 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
The build log (67.76 KB, application/octet-stream)
2012-06-22 07:29 UTC, Michał Górny
Details
The (correct) build log (19.75 KB, text/plain)
2012-06-22 07:30 UTC, Michał Górny
Details

Description Maksim Melnikau 2012-05-04 00:12:23 UTC
systemd-44 out-of-tree compilation was fine, master is broken now
Gentoo do out-of-tree builds - this is why I spotted it.

1. git clone git://anongit.freedesktop.org/systemd/systemd
2. cd systemd
3. ./autogen.sh
4. mkdir ../systemd_build
5. cd ../systemd_build
6. ../systemd/configure
7. make

% make -j1
  GEN    src/gudev/gudevmarshal.h
/bin/sh: src/gudev/gudevmarshal.h: No such file or directory
make: *** [src/gudev/gudevmarshal.h] Error 1
Comment 1 Kay Sievers 2012-05-21 17:46:05 UTC
Your command sequence works totally fine here.

"make distcheck", which checks out-of-tree builds, also passes without any
problems too.


If you want to investigate your setup, you might check if the old udev
repo works for you with building gudev, and then compare what udev does
here to what we do in systemd. I have no good idea.

I'm closing this for now, if you find the issue, and it makes sense to apply
it to the systemd repo, please let us know in this bug. Thanks!
Comment 2 Maksim Melnikau 2012-05-22 04:06:57 UTC
Works for me now too.
Comment 3 Maksim Melnikau 2012-06-22 04:03:11 UTC
Looks like its reproduces at least in Gentoo.
Comment 4 Michał Górny 2012-06-22 07:29:04 UTC
Created attachment 63346 [details]
The build log
Comment 5 Michał Górny 2012-06-22 07:30:55 UTC
Created attachment 63347 [details]
The (correct) build log

Sorry, the wrong one.
Comment 6 Lennart Poettering 2012-07-20 12:29:09 UTC
Is this still broken?
Comment 7 Maksim Melnikau 2012-07-22 14:17:43 UTC
Yes, it i(In reply to comment #6)
> Is this still broken?
Yes, it is.

Might it be, because of released tar.xz, with pre-runned ./autogen.sh?..

====== 
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-apps/systemd-187/work/systemd-187 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/sys-apps/systemd-187/work/systemd-187_build"
make -j2 
  GEN    src/core/syscall-list.txt
  GEN    src/gudev/gudevmarshal.h
/bin/sh: src/core/syscall-list.txt: No such file or directory
/bin/sh: src/gudev/gudevmarshal.h: No such file or directory
make: *** [src/gudev/gudevmarshal.h] Error 1
make: *** Waiting for unfinished jobs....
make: *** [src/core/syscall-list.txt] Error 1
Comment 8 Zbigniew Jedrzejewski-Szmek 2012-07-31 00:01:16 UTC
Fixed in bd923ff29e0. Explanation in commit message.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.