Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] PKGDIR always empty
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Frautoincnam
Apprentice
Apprentice


Joined: 19 May 2017
Posts: 294

PostPosted: Wed Apr 17, 2024 4:07 pm    Post subject: [SOLVED] PKGDIR always empty Reply with quote

Edit: The "FEATURES" to add is buildsyspkg

Hi,

While I'm in the process of changing profiles, I realize that my PKGDIR is still empty on this machine, and I don't understand why (which obviously doesn't affect the profile change). Shouldn't I find at least binaries of gcc, glibc etc... there?

Code:
# emerge --info | grep -E "EMERGE_DEFAULT_OPTS|PKGDIR"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --keep-going"
PKGDIR="/var/cache/binpkgs"

Code:
# ls -l /var/cache/binpkgs && ls -ld /var/cache/binpkgs
total 0
drwxr-xr-x 2 root root 4096 Dec 8 2020 /var/cache/binpkgs

How do I find out why binary packages are not generated?

NB: this only happens to me on 1 of the 6 machines I have under Gentoo.


Last edited by Frautoincnam on Wed Apr 17, 2024 4:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1667

PostPosted: Wed Apr 17, 2024 4:14 pm    Post subject: Re: PKGDIR always empty Reply with quote

Frautoincnam wrote:
How do I find out why binary packages are not generated?

Binary packages are only "generated" from local builds if you ask with --buildpkg or FEATURES includes buildpkg.
Binary downloads only occur with --getbinpkg{,only} or the corresponding FEATURES item is enabled.

The default is to use DISTDIR for source files for local builds and it is only populated once something is requested to build.
Back to top
View user's profile Send private message
Frautoincnam
Apprentice
Apprentice


Joined: 19 May 2017
Posts: 294

PostPosted: Wed Apr 17, 2024 4:21 pm    Post subject: Re: PKGDIR always empty Reply with quote

grknight wrote:

Binary packages are only "generated" from local builds if you ask with --buildpkg or FEATURES includes buildpkg.

I'm sorry, but it seems to me that this is false. The binaries of certain packages are generated regardless.
On All my others machines, with the same options, PKGDIR is not empty at all.
Code:
# emerge --info | grep -E "EMERGE_DEFAULT_OPTS|PKGDIR"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --keep-going"
PKGDIR="/var/cache/binpkgs"

Code:
# ls -l /var/cache/binpkgs/*
-rw-r--r-- 1 root root 76326 17 avril 12:08 /var/cache/binpkgs/Packages

/var/cache/binpkgs/app-admin:
total 92
-rw-r--r-- 1 root root 91218 24 déc.  11:41 eselect-1.4.27-r1.tbz2

/var/cache/binpkgs/app-alternatives:
total 72
-rw-r--r-- 1 root root 12195  9 janv.  2023 awk-4.tbz2
-rw-r--r-- 1 root root 10436  9 janv.  2023 bzip2-1.tbz2
-rw-r--r-- 1 root root 10374  9 janv.  2023 gzip-0.tbz2
-rw-r--r-- 1 root root 10143 12 nov.  12:26 gzip-1.tbz2
-rw-r--r-- 1 root root 10561  9 janv.  2023 sh-0.tbz2
-rw-r--r-- 1 root root  9819  9 janv.  2023 tar-0.tbz2

/var/cache/binpkgs/app-arch:
total 2900
-rw-r--r-- 1 root root 317974  9 janv.  2023 bzip2-1.0.8-r4.tbz2
-rw-r--r-- 1 root root 319206 28 févr. 16:51 bzip2-1.0.8-r5.tbz2
-rw-r--r-- 1 root root 181929 24 sept.  2023 gzip-1.13.tbz2
-rw-r--r-- 1 root root 651815 10 mai    2023 tar-1.34-r3.tbz2
-rw-r--r-- 1 root root 624646 21 août   2023 tar-1.35.tbz2
-rw-r--r-- 1 root root 426975 30 mars  12:41 xz-utils-5.4.2.tbz2
-rw-r--r-- 1 root root 427998 29 mars  16:11 xz-utils-5.4.6-r1.tbz2

/var/cache/binpkgs/app-shells:
total 1092
-rw-r--r-- 1 root root 1118067 24 juin   2023 bash-5.1_p16-r6.tbz2

/var/cache/binpkgs/dev-build:
total 380
-rw-r--r-- 1 root root 388104 24 mars  15:32 make-4.4.1-r1.tbz2

/var/cache/binpkgs/net-misc:
total 1632
-rw-r--r-- 1 root root  97558 14 janv. 08:15 iputils-20211215.tbz2
-rw-r--r-- 1 root root  96345 14 janv. 08:15 iputils-20221126-r1.tbz2
-rw-r--r-- 1 root root 106696 14 mars  10:32 iputils-20240117.tbz2
-rw-r--r-- 1 root root 479544  2 févr. 18:23 rsync-3.2.7-r3.tbz2
-rw-r--r-- 1 root root 483394 20 févr. 16:53 rsync-3.2.7-r4.tbz2
-rw-r--r-- 1 root root 391527  1 juil.  2023 wget-1.21.4.tbz2

/var/cache/binpkgs/sys-apps:
total 35400
-rw-r--r-- 1 root root   54867  9 févr. 16:33 baselayout-2.14-r2.tbz2
-rw-r--r-- 1 root root 2319372 11 sept.  2020 coreutils-8.32-r1.tbz2
-rw-r--r-- 1 root root 2259294 22 mars  14:46 coreutils-9.4-r1.tbz2
-rw-r--r-- 1 root root 2258582 16 janv. 14:45 coreutils-9.4.tbz2
-rw-r--r-- 1 root root  247933 11 juin   2023 diffutils-3.10.tbz2
-rw-r--r-- 1 root root  904461 16 janv. 08:15 file-5.45-r3.tbz2
-rw-r--r-- 1 root root  905163 14 mars  10:30 file-5.45-r4.tbz2
-rw-r--r-- 1 root root  486285  9 janv.  2023 findutils-4.9.0-r2.tbz2
-rw-r--r-- 1 root root 1063131 17 juin   2023 gawk-5.2.2.tbz2
-rw-r--r-- 1 root root 1072388  6 févr. 11:15 gawk-5.3.0-r1.tbz2
-rw-r--r-- 1 root root  309105 11 juin   2023 grep-3.11.tbz2
-rw-r--r-- 1 root root 1416522  6 févr. 11:18 iproute2-6.6.0-r3.tbz2
-rw-r--r-- 1 root root 1411689 16 déc.  10:46 iproute2-6.6.0.tbz2
-rw-r--r-- 1 root root 1292867  9 sept.  2022 kbd-2.5.1.tbz2
-rw-r--r-- 1 root root 1320172 16 déc.  11:11 kbd-2.6.4.tbz2
-rw-r--r-- 1 root root  175880 16 janv. 08:15 kmod-31.tbz2
-rw-r--r-- 1 root root  182892 16 janv. 08:15 less-633.tbz2
-rw-r--r-- 1 root root  189088 17 janv. 11:26 less-643-r1.tbz2
-rw-r--r-- 1 root root 3225569  8 sept.  2023 man-pages-6.05.01.tbz2
-rw-r--r-- 1 root root 3301129 14 mars  10:33 man-pages-6.06.tbz2
-rw-r--r-- 1 root root  214086 14 mai    2021 net-tools-2.10.tbz2
-rw-r--r-- 1 root root  199192 16 déc.   2022 sed-4.9.tbz2
-rw-r--r-- 1 root root  890380  8 juil.  2023 shadow-4.13-r4.tbz2
-rw-r--r-- 1 root root  941448 12 janv. 10:05 shadow-4.14.2.tbz2
-rw-r--r-- 1 root root 3180171  4 mars  14:28 util-linux-2.39.3-r2.tbz2
-rw-r--r-- 1 root root 3181149 29 mars  16:03 util-linux-2.39.3-r5.tbz2
-rw-r--r-- 1 root root 3180390  7 avril 19:26 util-linux-2.39.3-r7.tbz2

/var/cache/binpkgs/sys-devel:
total 232912
-rw-r--r-- 1 root root  8053104  3 déc.   2022 binutils-2.34-r2.tbz2
-rw-r--r-- 1 root root  8303861  3 déc.   2022 binutils-2.35.2.tbz2
-rw-r--r-- 1 root root  8464491  3 déc.   2022 binutils-2.36.1-r2.tbz2
-rw-r--r-- 1 root root  8557633  3 déc.   2022 binutils-2.37_p1-r2.tbz2
-rw-r--r-- 1 root root  8624909  3 déc.   2022 binutils-2.38-r2.tbz2
-rw-r--r-- 1 root root  5961403 23 avril  2023 binutils-2.39-r5.tbz2
-rw-r--r-- 1 root root  6048190 26 nov.  15:45 binutils-2.40-r9.tbz2
-rw-r--r-- 1 root root  6021780 14 déc.  10:18 binutils-2.41-r2.tbz2
-rw-r--r-- 1 root root  6025551  8 janv. 10:15 binutils-2.41-r3.tbz2
-rw-r--r-- 1 root root  6127935 20 févr. 17:06 binutils-2.41-r5.tbz2
-rw-r--r-- 1 root root 83033647 23 janv. 18:01 gcc-13.2.1_p20240113-r1.tbz2
-rw-r--r-- 1 root root 82858623 18 mars  15:58 gcc-13.2.1_p20240210.tbz2
-rw-r--r-- 1 root root    44680  8 sept.  2023 gnuconfig-20230731.tbz2
-rw-r--r-- 1 root root   157857  7 avril  2022 patch-2.7.6-r4.tbz2
-rw-r--r-- 1 root root   158487  4 févr.  2023 patch-2.7.6-r5.tbz2

/var/cache/binpkgs/sys-fs:
total 868
-rw-r--r-- 1 root root 887394 28 févr. 16:55 e2fsprogs-1.47.0-r3.tbz2

/var/cache/binpkgs/sys-process:
total 516
-rw-r--r-- 1 root root 419060  3 juil.  2023 procps-3.3.17-r2.tbz2
-rw-r--r-- 1 root root 104174 16 janv. 08:15 psmisc-23.6.tbz2

/var/cache/binpkgs/virtual:
total 60
-rw-r--r-- 1 root root 9914 12 déc.  15:38 editor-0-r7.tbz2
-rw-r--r-- 1 root root 8745 14 mai    2021 man-0-r4.tbz2
-rw-r--r-- 1 root root 8464 23 juin   2022 pager-0-r1.tbz2
-rw-r--r-- 1 root root 8894  4 nov.   2022 service-manager-1-r1.tbz2
-rw-r--r-- 1 root root 8744 12 mai    2023 ssh-0-r2.tbz2

So there is another difference.

Edit:solved by adding buildsyspkg to FEATURES
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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