Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved][Errno 74] Bad message: '/lib/systemd/system/*@.serv
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
necktwi
Apprentice
Apprentice


Joined: 24 Aug 2018
Posts: 171

PostPosted: Thu Nov 08, 2018 5:57 pm    Post subject: [Solved][Errno 74] Bad message: '/lib/systemd/system/*@.serv Reply with quote

emerge ntp-4.2.8_p12 or iptables-1.8.1-r1 fails at install with
Code:
OSError: [Errno 74] Bad message: b'/lib/systemd/system'


(RPi1B2):~ # wgetpaste /var/tmp/portage/net-misc/ntp-4.2.8_p12/temp/build.log
Your paste can be seen here: https://paste.pound-python.org/show/uwPWgpjDgtK15NDJeIko/

(RPi1B2):~ # wgetpaste /var/tmp/portage/net-firewall/iptables-1.8.1-r1/temp/build.log
Your paste can be seen here: https://paste.pound-python.org/show/Uryfub0fe7AKItyYM00C/

A similar error with openssh emerge without distcc or ccache
(RPi1B2):~ # wgetpaste /var/tmp/portage/net-misc/openssh-7.9_p1/temp/build.log
Your paste can be seen here: https://paste.pound-python.org/show/ftPRGWBFD8H4Ug$K45MA/

same problem with util-linux, netifrc, krb5.

I never installed systemd on any of my machines.

BTW they all emerge good on qemu. But even their binpacks failed with same error.

thanq!


Last edited by necktwi on Sat Nov 17, 2018 2:20 pm; edited 3 times in total
Back to top
View user's profile Send private message
necktwi
Apprentice
Apprentice


Joined: 24 Aug 2018
Posts: 171

PostPosted: Fri Nov 09, 2018 9:49 am    Post subject: Reply with quote

Uh huu, it even happens while unmerging!
Code:
>>> Unmerging (4 of 14) sys-apps/util-linux-2.32.1...
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.6/emerge", line 53, in <module>
    retval = emerge_main()
  File "/usr/lib/python3.6/site-packages/_emerge/main.py", line 1289, in emerge_main
    return run_action(emerge_config)
  File "/usr/lib/python3.6/site-packages/_emerge/actions.py", line 3230, in run_action
    emerge_config.args, spinner)
  File "/usr/lib/python3.6/site-packages/_emerge/actions.py", line 2220, in action_uninstall
    scheduler=sched_iface)
  File "/usr/lib/python3.6/site-packages/_emerge/unmerge.py", line 582, in unmerge
    scheduler=scheduler)
  File "/usr/lib/python3.6/site-packages/portage/dbapi/vartree.py", line 5383, in unmerge
    retval = mylink.unmerge(ldpath_mtimes=ldpath_mtimes)
  File "/usr/lib/python3.6/site-packages/portage/dbapi/vartree.py", line 1676, in wrapper
    return f(self, *args, **kwargs)
  File "/usr/lib/python3.6/site-packages/portage/dbapi/vartree.py", line 2037, in unmerge
    retval = self._security_check([self] + others_in_slot)
  File "/usr/lib/python3.6/site-packages/portage/dbapi/vartree.py", line 3614, in _security_check
    s = os.lstat(path)
  File "/usr/lib/python3.6/site-packages/portage/__init__.py", line 250, in __call__
    rval = self._func(*wrapped_args, **wrapped_kwargs)
OSError: [Errno 74] Bad message: b'/lib/systemd/system'


and more ...

>>> Unmerging (2 of 10) net-misc/netifrc-0.5.1...
>>> Unmerging (1 of 8) net-misc/openssh-7.7_p1-r9...
>>> Unmerging (2 of 7) net-firewall/iptables-1.6.1-r3...
Back to top
View user's profile Send private message
necktwi
Apprentice
Apprentice


Joined: 24 Aug 2018
Posts: 171

PostPosted: Wed Nov 14, 2018 5:16 am    Post subject: Reply with quote

today I face the same issue with git. portage is trying to add systemd service.
Back to top
View user's profile Send private message
necktwi
Apprentice
Apprentice


Joined: 24 Aug 2018
Posts: 171

PostPosted: Sat Nov 17, 2018 2:19 pm    Post subject: Reply with quote

Its just because corrupted file system. I did a fresh install of gentoo with btrfs root on my RPi1B2.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum