Gentoo Archives: gentoo-user

From: n952162 <n952162@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] portage has 0 debugging support for binary emerges
Date: Sun, 04 Apr 2021 08:34:22
Message-Id: b7ff4b62-a333-f4c5-acc5-568c8d83d52b@web.de
In Reply to: Re: [gentoo-user] portage has 0 debugging support for binary emerges by Neil Bothwick
1 On 4/4/21 12:31 AM, Neil Bothwick wrote:
2 > On Sat, 3 Apr 2021 22:03:46 +0200, n952162 wrote:
3 >
4 >> I find no clue why the binary packages on my server aren't being picked
5 >> up.  The --debug option  (and --verbose, naturally) has no additional
6 >> information.  Running the --getbinpkgonly stops immediately, saying 0
7 >> packages are selected.
8 >>
9 >> I found one problem: on my server, my apache log file had a 302 fetch
10 >> error for /var/cache/binpkgs/Packages.  I touched it a few hours into
11 >> the future and started getting a 200 for it.  But still no emerge would
12 >> fetch a binary (even though there ARE good candidates).  On a guess, I
13 >> touched all the files in binpkgs an hour into the future, but that
14 >> didn't help.
15 > Have you tried "emaint --check binhost" followed by "emaint --fix
16 > binhost"?
17 >
18
19 Thank you, that was exactly the kind of tip I was hoping for.
20 Unfortunately, in this case, it didn't help:
21
22
23 $ sudo emaint --check binhost
24 Password:
25 Emaint: check binhost           [
26 <=>                                         ]
27
28 $sudo emaint --fix binhost
29 Emaint: fix binhost        100%
30 [============================================>]
31
32
33 It is likely a dependency issue, but one package that I checked had:
34
35 * neither server or client USE flags
36 * the CPU_FLAGS match
37 * the required package exists on the server
38
39 E.g.:
40
41 [ebuild   R    ]    dev-libs/libuv-1.40.0:0/1::gentoo USE="-static-libs"
42 0 KiB
43
44 I'm not sure where the static-libs USE flag comes from, it's not in
45 /etc/portage/package.use.
46
47 I don't follow the "0 KiB"
48
49 Okay, here's the status of the server, I'm a little confused by it now
50 ... like what is rustc?  And why do I have different versions in binpkgs
51 and distfiles?
52
53 [ebuild     U  ] virtual/rust-1.47.0::gentoo [1.46.0::gentoo] 0 KiB
54 [ebuild     U  ]    dev-lang/rust-1.47.0-r2:stable/1.47::gentoo
55 [1.46.0:stable/1.46::gentoo]
56
57 $ cd /var/cache
58
59 $ ls -l  */rust*
60 -rw-r--r-- 1 root root 117764080 Apr  3 14:30
61 distfiles/rust-1.45.1-x86_64-unknown-linux-gnu.tar.xz
62 -rw-r--r-- 1 root root 127200200 Apr  3 14:29
63 distfiles/rust-1.46.0-x86_64-unknown-linux-gnu.tar.xz
64 -rw-r--r-- 1 root root 101868452 Apr  3 14:30
65 distfiles/rustc-1.46.0-src.tar.xz
66 -rw-r--r-- 1 root root 104143736 Apr  3 14:29
67 distfiles/rustc-1.47.0-src.tar.xz
68
69 $ ls -l binpkgs/*/rust*
70 -rw-r----- 1 root root 95131159 Apr  3 22:30
71 binpkgs/dev-lang/rust-1.47.0-r2.tbz2
72 -rw-r----- 1 root root    17542 Apr  3 22:30
73 binpkgs/virtual/rust-1.47.0.tbz2
74
75 $ cd /var/db
76
77 $ ls -ld pkg/dev-lang/rust-1.47.0-r2/
78 drwxr-xr-x 2 root root 4096 Feb  2 14:07 pkg/dev-lang/rust-1.47.0-r2/
79
80 # (I can't imagine that I ever intentionally emerged rust-bin)
81
82 $ ls -ld repos/gentoo/dev-lang/rust
83 rust/     rust-bin/
84
85 $ ls -l repos/gentoo/dev-lang/rust/
86 total 140
87 -rw-r--r-- 1 root root 29908 Feb 25 00:39 Manifest
88 drwxr-xr-x 2 root root  4096 Mar  1 17:00 files
89 -rw-r--r-- 1 root root  1083 Mar 31  2020 metadata.xml
90 -rw-r--r-- 1 root root 17326 Jan 31 01:43 rust-1.46.0.ebuild
91 -rw-r--r-- 1 root root 18735 Feb 25 00:39 rust-1.47.0-r2.ebuild
92 -rw-r--r-- 1 root root 18059 Jan 31 01:43 rust-1.48.0.ebuild
93 -rw-r--r-- 1 root root 18104 Feb  5 20:39 rust-1.49.0.ebuild
94 -rw-r--r-- 1 root root 18277 Feb 12 01:09 rust-1.50.0.ebuild
95
96 I'll run quickpkg again and report ...

Replies

Subject Author
Re: [gentoo-user] portage has 0 debugging support for binary emerges Neil Bothwick <neil@××××××××××.uk>