Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 936071

Summary: virtual/rust-1.79.0, dev-lang/rust-1.79.0, dev-lang/rust-bin-1.79.0: stabilisation
Product: Gentoo Linux Reporter: Sam James <sam>
Component: StabilizationAssignee: Randy Barlow <randy>
Status: RESOLVED FIXED    
Severity: normal CC: brankob, gentoo, matoro_gentoo, mgorny, navi, randy, rust, sfl
Priority: Normal Keywords: CC-ARCHES, STABLEREQ
Version: unspecifiedFlags: nattka: sanity-check+
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=936072
Whiteboard:
Package list:
virtual/rust-1.79.0 dev-lang/rust-1.79.0 dev-lang/rust-bin-1.79.0
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 934385, 935984, 936095, 936097    

Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-14 23:59:02 UTC
Need to stable a newer version for LLVM 18 and figure may as well do 1.79.0 unless a good reason no to?

Please let me know, or add CC-ARCHES if it's fine as-is.
Comment 1 Randy Barlow 2024-07-16 03:14:51 UTC
+1
Comment 2 brankob 2024-07-16 09:15:02 UTC
virtual/rust-1.79.0 doesn't work for me.

It fails in the clean phase - it seems to want to go through clean/prepare/setup/configure as if it were a classic package and not a dependency wrapper. 🙄

Here is my result:

" embedded null byte:
   /bin/bash -c /usr/lib/portage/python3.12/ebuild.sh clean
Process Process-6:
Traceback (most recent call last):
  File "/usr/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap
    self.run()
  File "/usr/lib/python3.12/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python3.12/site-packages/portage/util/_async/ForkProcess.py", line 326, in _bootstrap
    sys.exit(target(*(args or []), **(kwargs or {})))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/portage/process.py", line 1473, in __call__
    return self._target(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/portage/process.py", line 849, in _exec_wrapper
    _exec(
  File "/usr/lib/python3.12/site-packages/portage/process.py", line 1102, in _exec
    _exec2(
  File "/usr/lib/python3.12/site-packages/portage/process.py", line 1202, in _exec2
    os.execve(binary, myargs, env)
ValueError: embedded null byte
 * The ebuild phase 'die_hooks' has been aborted since PORTAGE_BUILDDIR
 * does not exist: '/var/tmp/portage/virtual/rust-1.79.0'

>>> Failed to emerge virtual/rust-1.79.0"
Comment 3 matoro archtester 2024-07-16 15:37:33 UTC
(In reply to brankob from comment #2)
> virtual/rust-1.79.0 doesn't work for me.
> 
> It fails in the clean phase - it seems to want to go through
> clean/prepare/setup/configure as if it were a classic package and not a
> dependency wrapper. 🙄
> 
> Here is my result:
> 
> " embedded null byte:
>    /bin/bash -c /usr/lib/portage/python3.12/ebuild.sh clean
> Process Process-6:
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/multiprocessing/process.py", line 314, in
> _bootstrap
>     self.run()
>   File "/usr/lib/python3.12/multiprocessing/process.py", line 108, in run
>     self._target(*self._args, **self._kwargs)
>   File
> "/usr/lib/python3.12/site-packages/portage/util/_async/ForkProcess.py", line
> 326, in _bootstrap
>     sys.exit(target(*(args or []), **(kwargs or {})))
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.12/site-packages/portage/process.py", line 1473, in
> __call__
>     return self._target(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.12/site-packages/portage/process.py", line 849, in
> _exec_wrapper
>     _exec(
>   File "/usr/lib/python3.12/site-packages/portage/process.py", line 1102, in
> _exec
>     _exec2(
>   File "/usr/lib/python3.12/site-packages/portage/process.py", line 1202, in
> _exec2
>     os.execve(binary, myargs, env)
> ValueError: embedded null byte
>  * The ebuild phase 'die_hooks' has been aborted since PORTAGE_BUILDDIR
>  * does not exist: '/var/tmp/portage/virtual/rust-1.79.0'
> 
> >>> Failed to emerge virtual/rust-1.79.0"

This looks like a completely messed up portage.

1. Is this reproducible on demand?
2. Does this occur with any other package?
3. Does it reproduce in a clean stage3 chroot?
4. Does it also reproduce with virtual/rust-1.78.0?
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-16 16:03:44 UTC
(In reply to brankob from comment #2)
> virtual/rust-1.79.0 doesn't work for me.
> 
> It fails in the clean phase - it seems to want to go through
> clean/prepare/setup/configure as if it were a classic package and not a
> dependency wrapper. 🙄
> 

It *is* a classic package which happens to install no files.

> Here is my result:
> 
> " embedded null byte:

Eh?

Anyway, please file a new bug.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-23 05:53:30 UTC
amd64 done
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-23 05:53:40 UTC
x86 done
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-23 05:53:49 UTC
arm done
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-23 05:54:08 UTC
arm64 done
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-23 05:54:16 UTC
sparc done
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-23 05:54:27 UTC
ppc done
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-23 05:54:36 UTC
ppc64 done

all arches done