On 29/07/2019 21:15, Pierre Labastie via blfs-dev wrote:
> On 29/07/2019 18:32, Bruce Dubbs via blfs-dev wrote:
>> On 7/29/19 11:23 AM, Pierre Labastie via blfs-dev wrote:
>>> On 29/07/2019 17:59, Bruce Dubbs via blfs-dev wrote:
>>>> On 7/29/19 5:44 AM, Pierre Labastie via blfs-dev wrote:
>>>>> On 29/07/2019 11:14, Pierre Labastie via blfs-dev wrote:
>>>>>> On 29/07/2019 01:58, Bruce Dubbs via blfs-dev wrote:
>>>>>>> On 7/28/19 5:40 PM, Ken Moffat via blfs-dev wrote:
>>>>>>>>
>>>>>>>> So, jhalfs thingk dbus only needs to be built once ?
>>>>>>>>
>>>>>>>> The book recommends building it twice :
>>>>>>>>
>>>>>>>> D-Bus Dependencies
>>>>>>>> Recommended
>>>>>>>>
>>>>>>>> Xorg Libraries (for dbus-launch program) elogind-241.3 (first build
>>>>>>>> without, and then again after elogind is installed)
>>>>>>>
>>>>>>> Looks like jhalfs only identifies one build.  Automating circular
>>>>>>> dependencies
>>>>>>> correctly is a tough job.
>>>>>>
>>>>>> Agreed. In this case, I think some 'role="first"' attribute should be 
>>>>>> added
>>>>>> somewhere. I'll try to figure this out.
>>>>>>
>>>>>>>
>>>>>>> To me the above wording is a little ambiguous.  I think the following
>>>>>>> might be
>>>>>>> better:
>>>>>>>
>>>>>>> Xorg Libraries and elogind-241.3 (first build
>>>>>>> before these packages, and then again after both are installed)
>>>>>>>
>>>>>>
>>>>>> So I think the role="first" should be added to the dependency on D-Bus on
>>>>>> the
>>>>>> Xorg library page. Then elogind should depend on the Xorg libraries, then
>>>>>> D-Bus should depend on elogind...
>>>>>
>>>>> Sorry, looking at the book, I see the order should be:
>>>>> dbus
>>>>> elogind
>>>>> xorg libs
>>>>>
>>>>> And looking at the above, I understand that D-Bus should be built first
>>>>> before
>>>>> elogind, then again after xorg libs. Is it true? In this case, we should
>>>>> have:
>>>>> - xorg-libraries as recommended for D-Bus
>>>>> - elogind as recommended for xorg libs
>>>>> - dbus as required with role="first" for elogind
>>>>> This would generate:
>>>>> dbus-pass1
>>>>> elogind
>>>>> xorg libs
>>>>> dbus
>>>>
>>>> I just committed an update to address this.  Please see if it is 
>>>> sufficient.
>>>>
>>>
>>> Here is the generated order, when ticking:
>>> X + Window and Display Managers
>>>       ->X Window System Environment
>>>             ->xinit 1.4.1
>>> -------------------->8---------
>>> python2
>>> libuv
>>> curl
>>> libarchive
>>> cmake
>>> zip
>>> llvm
>>> icu
>>> libxml2
>>> sgml-common
>>> unzip
>>> DocBook
>>> docbook-xsl
>>> libxslt
>>> pcre
>>> glib2
>>> graphite2-pass1
>>> libpng
>>> which
>>> freetype2-pass1
>>> MarkupSafe
>>> Mako
>>> gobject-introspection
>>> harfbuzz
>>> freetype2
>>> fontconfig
>>> xorg-env
>>> util-macros
>>> xorgproto
>>> libXau
>>> xcb-proto
>>> libXdmcp
>>> libxcb
>>> dbus-pass1
>>> linux-pam
>>> elogind
>>> Xorg libraries
>>> dbus
>>> xinit
>>> pixman
>>> libdrm
>>> wayland
>>> libva
>>> libvdpau
>>> wayland-protocols
>>> mesa
>>> xbitmaps
>>> xcb-util
>>> Xorg Applications
>>> xcursor-themes
>>> Xorg fonts
>>> autoconf213
>>> nspr
>>> js60
>>> polkit
>>> libepoxy
>>> xorg-server
>>> xkeyboard-config
>>> Xorg Legacy
>>> twm
>>> xclock
>>> xterm2
>>> libtasn1
>>> p11-kit
>>> make-ca
>>> ------------>8-------------
>>> I'm building a system to test that.
>>
>> Great.  There is one other thing to look at.  xorg-server should be built
>> without --enable-install-setuid.  An alternative is to remove the suid bit
>> from $XORG_PREFIX/libexec/Xorg when testing startx.
>>
> 
> I'll edit the script to remove the switch. It's building the kernel right now.
> 

So did I... And startx cannot start X! Still a permission error on /dev/tty0.
I also get an error with mountcgroupfs:
------------->8---------
Jul 30 09:47:26 +02:00 turboli  Mounting cgroup file systems: /sys/fs/cgroup
/sys/fs/cgroup/unified /run/userFAIL
Jul 30 09:47:26 +02:00 turboli   FAIL
Jul 30 09:47:26 +02:00 turboli  FAILURE:

You should not be reading this error message.

It means that an unforeseen error took place in
/etc/rc.d/rcS.d/S55mountcgroupfs,
which exited with a return value of 1.
If you're able to track this error down to a bug in one of
the files provided by the LFS book,
please be so kind to inform us at [email protected] (Registration
required).
 FAIL
Jul 30 09:47:26 +02:00 turboli  Press Enter to continue...
-------------->8----------
I've used an order slightly different from the above, because I first built
some tools for using jhalfs, then linux-pam+shadow, then xorg, then drivers:
----------->8-------
chroot'ed:
---
libxml2
sgml-common
unzip
DocBook
docbook-xsl
libxslt
wget
libtasn1
p11-kit
make-ca
apr
sqlite
apr-util
scons
serf
subversion
gpm
lynx
sudo
---
booted:
---
cracklib
linux-pam
libcap-pam
shadow
pcre
glib2
libuv
curl
libarchive
cmake
python2
graphite2-pass1
zip
llvm
icu
libpng
which
freetype2-pass1
MarkupSafe
Mako
gobject-introspection
harfbuzz
freetype2
fontconfig
xorg-env
util-macros
xorgproto
libXau
xcb-proto
libXdmcp
libxcb
dbus-pass1
elogind
Xorg libraries
dbus
xinit
pixman
libdrm
wayland
libva
libvdpau
wayland-protocols
mesa
xbitmaps
xcb-util
Xorg applications
xcursor-themes
Xorg fonts
autoconf213
nspr
js60
polkit
libepoxy
xorg-server
xkeyboard-config
Xorg Legacy
twm
xclock
xterm2
xorg-intel-driver
libevdev
mtdev
libinput
xorg-libinput-driver
----------->8-------
I've not rebooted the computer during the build, so that neither elogind nor
dbus was running (I rebooted only after building the X drivers, before running
startx). Do they need to run at some point?

Pierre
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to