Автор Тема: Пересборка ядра [решено]  (Прочитано 3689 раз)

Оффлайн berkut_174

  • Мастер
  • ***
  • Сообщений: 7 152
Пересборка ядра [решено]
« : 28.07.2020 20:44:05 »
Всем привет!
Регулярная сборка на Сизифе.
При пересборке ядра получаю такую ошибку:
# Sphinx version: 2.4.4
# Python version: 3.8.5 (CPython)
# Docutils version: 0.16 release
# Jinja2 version: 2.11.2
# Last messages:
#   writing output... [ 16%] block/null_blk .. cpu-freq/index
#   writing output... [ 19%] crypto/api .. driver-api/device_connection
#   writing output... [ 21%] driver-api/device_link .. driver-api/i3c/index
#   writing output... [ 23%] driver-api/i3c/master-driver-api .. driver-api/nvdimm/security
#   writing output... [ 26%] driver-api/nvmem .. driver-api/thermal/nouveau_thermal
#   writing output... [ 28%] driver-api/thermal/power_allocator .. fb/s3fb
#   writing output... [ 30%] fb/sa1100fb .. filesystems/ext4/verity
#   writing output... [ 33%] filesystems/f2fs .. firmware-guide/acpi/enumeration
#   writing output... [ 35%] firmware-guide/acpi/extcon-intel-int3496 .. hwmon/adc128d818
#   writing output... [ 38%] hwmon/adm1021 .. hwmon/lm70
# Loaded extensions:
#   sphinx.ext.mathjax (2.4.4) from /usr/lib/python3/site-packages/sphinx/ext/mathjax.py
#   sphinxcontrib.applehelp (1.0.2) from /usr/lib/python3/site-packages/sphinxcontrib/applehelp/__init__.py
#   sphinxcontrib.devhelp (1.0.2) from /usr/lib/python3/site-packages/sphinxcontrib/devhelp/__init__.py
#   sphinxcontrib.htmlhelp (1.0.2) from /usr/lib/python3/site-packages/sphinxcontrib/htmlhelp/__init__.py
#   sphinxcontrib.serializinghtml (1.1.4) from /usr/lib/python3/site-packages/sphinxcontrib/serializinghtml/__init__.py
#   sphinxcontrib.qthelp (1.0.3) from /usr/lib/python3/site-packages/sphinxcontrib/qthelp/__init__.py
#   alabaster (0.7.6) from /usr/lib/python3/site-packages/alabaster/__init__.py
#   kerneldoc (1.0) from /home/admin/RPM/BUILD/kernel-image-un-def-5.7.10-alt1/kernel-source-5.7/Documentation/sphinx/kerneldoc.py
#   rstFlatTable (1.0) from /home/admin/RPM/BUILD/kernel-image-un-def-5.7.10-alt1/kernel-source-5.7/Documentation/sphinx/rstFlatTable.py
#   kernel_include (1.0) from /home/admin/RPM/BUILD/kernel-image-un-def-5.7.10-alt1/kernel-source-5.7/Documentation/sphinx/kernel_include.py
#   cdomain (1.0) from /home/admin/RPM/BUILD/kernel-image-un-def-5.7.10-alt1/kernel-source-5.7/Documentation/sphinx/cdomain.py
#   kfigure (1.0.0) from /home/admin/RPM/BUILD/kernel-image-un-def-5.7.10-alt1/kernel-source-5.7/Documentation/sphinx/kfigure.py
#   sphinx.ext.ifconfig (2.4.4) from /usr/lib/python3/site-packages/sphinx/ext/ifconfig.py
#   automarkup (unknown version) from /home/admin/RPM/BUILD/kernel-image-un-def-5.7.10-alt1/kernel-source-5.7/Documentation/sphinx/automarkup.py
#   maintainers_include (1.0) from /home/admin/RPM/BUILD/kernel-image-un-def-5.7.10-alt1/kernel-source-5.7/Documentation/sphinx/maintainers_include.py
#   sphinx.ext.imgmath (2.4.4) from /usr/lib/python3/site-packages/sphinx/ext/imgmath.py
Traceback (most recent call last):
  File "/usr/lib/python3/site-packages/sphinx/cmd/build.py", line 276, in build_main
    app.build(args.force_all, filenames)
  File "/usr/lib/python3/site-packages/sphinx/application.py", line 349, in build
    self.builder.build_update()
  File "/usr/lib/python3/site-packages/sphinx/builders/__init__.py", line 297, in build_update
    self.build(to_build,
  File "/usr/lib/python3/site-packages/sphinx/builders/__init__.py", line 361, in build
    self.write(docnames, list(updated_docnames), method)
  File "/usr/lib/python3/site-packages/sphinx/builders/__init__.py", line 532, in write
    self._write_parallel(sorted(docnames),
  File "/usr/lib/python3/site-packages/sphinx/builders/__init__.py", line 572, in _write_parallel
    tasks.add_task(write_process, arg)
  File "/usr/lib/python3/site-packages/sphinx/util/parallel.py", line 103, in add_task
    self._join_one()
  File "/usr/lib/python3/site-packages/sphinx/util/parallel.py", line 112, in _join_one
    exc, logs, result = pipe.recv()
  File "/usr/lib64/python3.8/multiprocessing/connection.py", line 250, in recv
    buf = self._recv_bytes()
  File "/usr/lib64/python3.8/multiprocessing/connection.py", line 414, in _recv_bytes
    buf = self._recv(4)
  File "/usr/lib64/python3.8/multiprocessing/connection.py", line 383, in _recv
    raise EOFError
EOFError

Это как то можно поправить ?
Установил всё необходимое и сборку запускаю так:
$ rpmbuild -ba kernel-image.spec
« Последнее редактирование: 29.07.2020 07:18:04 от berkut_174 »
Сноси Винду, переходи на Линукс ! :)

Оффлайн berkut_174

  • Мастер
  • ***
  • Сообщений: 7 152
Re: Пересборка ядра
« Ответ #1 : 28.07.2020 20:45:40 »
Перед ошибкой сборщик так нормально успевает выругаться про документацию что то:
/home/admin/RPM/BUILD/kernel-image-un-def-5.7.10-alt1/kernel-source-5.7/Documentation/arm64/booting.rst:253: WARNING: Unexpected indentation.
/home/admin/RPM/BUILD/kernel-image-un-def-5.7.10-alt1/kernel-source-5.7/Documentation/arm64/booting.rst:259: WARNING: Block quote ends without a blank line; unexpected unindent.
/home/admin/RPM/BUILD/kernel-image-un-def-5.7.10-alt1/kernel-source-5.7/Documentation/admin-guide/hw-vuln/special-register-buffer-data-sampling.rst:62: WARNING: Title underline too short.

Mitigation mechanism
-------------------
/home/admin/RPM/BUILD/kernel-image-un-def-5.7.10-alt1/kernel-source-5.7/Documentation/admin-guide/hw-vuln/special-register-buffer-data-sampling.rst:62: WARNING: Title underline too short.

Mitigation mechanism
-------------------
/home/admin/RPM/BUILD/kernel-image-un-def-5.7.10-alt1/kernel-source-5.7/Documentation/admin-guide/hw-vuln/special-register-buffer-data-sampling.rst:121: WARNING: Title underline too short.

SRBDS System Information
-----------------------
/home/admin/RPM/BUILD/kernel-image-un-def-5.7.10-alt1/kernel-source-5.7/Documentation/admin-guide/hw-vuln/special-register-buffer-data-sampling.rst:121: WARNING: Title underline too short.

SRBDS System Information
-----------------------
/home/admin/RPM/BUILD/kernel-image-un-def-5.7.10-alt1/kernel-source-5.7/Documentation/PCI/boot-interrupts.rst:42: WARNING: Unexpected indentation.
/home/admin/RPM/BUILD/kernel-image-un-def-5.7.10-alt1/kernel-source-5.7/Documentation/PCI/boot-interrupts.rst:52: WARNING: Block quote ends without a blank line; unexpected unindent.
/home/admin/RPM/BUILD/kernel-image-un-def-5.7.10-alt1/kernel-source-5.7/Documentation/PCI/boot-interrupts.rst:92: WARNING: Unexpected indentation.
/home/admin/RPM/BUILD/kernel-image-un-def-5.7.10-alt1/kernel-source-5.7/Documentation/PCI/boot-interrupts.rst:98: WARNING: Unexpected indentation.
/home/admin/RPM/BUILD/kernel-image-un-def-5.7.10-alt1/kernel-source-5.7/Documentation/PCI/boot-interrupts.rst:136: WARNING: Unexpected indentation.
/home/admin/RPM/BUILD/kernel-image-un-def-5.7.10-alt1/kernel-source-5.7/Documentation/admin-guide/LSM/AltHa.rst:1: WARNING: Title overline too short.

====
AltHa
====
/home/admin/RPM/BUILD/kernel-image-un-def-5.7.10-alt1/kernel-source-5.7/Documentation/admin-guide/mm/userfaultfd.rst:139: WARNING: Inline emphasis start-string without end-string.
/home/admin/RPM/BUILD/kernel-image-un-def-5.7.10-alt1/kernel-source-5.7/Documentation/admin-guide/mm/userfaultfd.rst:139: WARNING: Inline emphasis start-string without end-string.
/home/admin/RPM/BUILD/kernel-image-un-def-5.7.10-alt1/kernel-source-5.7/Documentation/admin-guide/ras.rst:358: WARNING: Definition list ends without a blank line; unexpected unindent.
/home/admin/RPM/BUILD/kernel-image-un-def-5.7.10-alt1/kernel-source-5.7/Documentation/admin-guide/ras.rst:358: WARNING: Definition list ends without a blank line; unexpected unindent.
/home/admin/RPM/BUILD/kernel-image-un-def-5.7.10-alt1/kernel-source-5.7/Documentation/admin-guide/ras.rst:363: WARNING: Definition list ends without a blank line; unexpected unindent.
/home/admin/RPM/BUILD/kernel-image-un-def-5.7.10-alt1/kernel-source-5.7/Documentation/admin-guide/ras.rst:363: WARNING: Definition list ends without a blank line; unexpected unindent.
/home/admin/RPM/BUILD/kernel-image-un-def-5.7.10-alt1/kernel-source-5.7/Documentation/trace/coresight/coresight-ect.rst:2: WARNING: Explicit markup ends without a blank line; unexpected unindent.
./kernel/futex.c:491: WARNING: Definition list ends without a blank line; unexpected unindent.
/home/admin/RPM/BUILD/kernel-image-un-def-5.7.10-alt1/kernel-source-5.7/Documentation/virt/kvm/amd-memory-encryption.rst:76: WARNING: Inline literal start-string without end-string.
./lib/bitmap.c:189: WARNING: Unexpected indentation.
./lib/bitmap.c:190: WARNING: Block quote ends without a blank line; unexpected unindent.
./lib/bitmap.c:190: WARNING: Unexpected indentation.
./lib/bitmap.c:191: WARNING: Line block ends without a blank line.
./kernel/rcu/update.c:65: WARNING: Inline emphasis start-string without end-string.
./kernel/rcu/update.c:65: WARNING: Inline emphasis start-string without end-string.
./kernel/rcu/update.c:70: WARNING: Inline emphasis start-string without end-string.
./kernel/rcu/update.c:82: WARNING: Inline emphasis start-string without end-string.
./kernel/futex.c:491: WARNING: Definition list ends without a blank line; unexpected unindent.
/home/admin/RPM/BUILD/kernel-image-un-def-5.7.10-alt1/kernel-source-5.7/Documentation/filesystems/orangefs.rst:124: WARNING: Literal block expected; none found.
./fs/inode.c:1609: WARNING: Inline emphasis start-string without end-string.
./fs/inode.c:1609: WARNING: Inline emphasis start-string without end-string.
./fs/inode.c:1615: WARNING: Inline emphasis start-string without end-string.
./fs/seq_file.c:40: WARNING: Inline strong start-string without end-string.
./fs/seq_file.c:40: WARNING: Inline strong start-string without end-string.
./fs/seq_file.c:40: WARNING: Inline strong start-string without end-string.
./fs/seq_file.c:40: WARNING: Inline strong start-string without end-string.
./drivers/message/fusion/mptbase.c:5057: WARNING: Definition list ends without a blank line; unexpected unindent.
./include/linux/spi/spi.h:401: WARNING: Unexpected indentation.
./drivers/infiniband/core/verbs.c:2579: WARNING: Unexpected indentation.
./drivers/infiniband/core/verbs.c:2581: WARNING: Block quote ends without a blank line; unexpected unindent.
./drivers/infiniband/core/verbs.c:2613: WARNING: Unexpected indentation.
./drivers/base/platform.c:153: WARNING: Unexpected indentation.
./drivers/base/platform.c:232: WARNING: Unexpected indentation.
./drivers/ata/libata-core.c:5211: WARNING: Unknown target name: "hw".
./include/uapi/linux/firewire-cdev.h:312: WARNING: Inline literal start-string without end-string.
./drivers/firewire/core-transaction.c:606: WARNING: Inline strong start-string without end-string.
looking for now-outdated files... none found
pickling environment... done
checking consistency... /home/admin/RPM/BUILD/kernel-image-un-def-5.7.10-alt1/kernel-source-5.7/Documentation/driver-api/thermal/cpu-idle-cooling.rst: WARNING: document isn't included in any toctree
/home/admin/RPM/BUILD/kernel-image-un-def-5.7.10-alt1/kernel-source-5.7/Documentation/misc-devices/uacce.rst: WARNING: document isn't included in any toctree
/home/admin/RPM/BUILD/kernel-image-un-def-5.7.10-alt1/kernel-source-5.7/Documentation/networking/page_pool.rst: WARNING: document isn't included in any toctree
/home/admin/RPM/BUILD/kernel-image-un-def-5.7.10-alt1/kernel-source-5.7/Documentation/vm/free_page_reporting.rst: WARNING: document isn't included in any toctree
done
preparing documents... done
writing output... [ 38%] hwmon/adm1021 .. hwmon/lm70                                                                                                                                         
Exception occurred:
  File "/usr/lib64/python3.8/multiprocessing/connection.py", line 383, in _recv
    raise EOFError
EOFError
The full traceback has been saved in /tmp/.private/admin/sphinx-err-golv_3ky.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
Сноси Винду, переходи на Линукс ! :)

Оффлайн berkut_174

  • Мастер
  • ***
  • Сообщений: 7 152
Re: Пересборка ядра
« Ответ #2 : 29.07.2020 07:17:52 »
Памяти не хватило, создал swap.

[решено]
Сноси Винду, переходи на Линукс ! :)