Gentoo Archives: gentoo-user

From: Jude DaShiell <jdashiel@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] what test gets done in pcre makefile to find gcc won't work?
Date: Mon, 05 Oct 2020 17:36:30
Message-Id: alpine.NEB.2.23.451.2010051332120.3742@panix1.panix.com
In Reply to: Re: [gentoo-user] what test gets done in pcre makefile to find gcc won't work? by Jude DaShiell
1 I suspect the earlier failure may have been due to a package integrity
2 issue. One of the problems is links doesn't let me know when a download
3 is finished the way I have it configured now. Also, using speakup I had
4 to turn on links are numbered in html options then save html options to
5 even download the stage3 file. The accessibility use flag wasn't in
6 effect and I could move with down arrow onto the stage3 file according
7 to speakup but the links cursor didn't follow and would only allow me to
8 download some image file.
9
10 On Mon, 5 Oct 2020, Jude DaShiell wrote:
11
12 > Date: Mon, 5 Oct 2020 13:24:22
13 > From: Jude DaShiell <jdashiel@×××××.com>
14 > Reply-To: gentoo-user@l.g.o
15 > To: gentoo-user@l.g.o
16 > Subject: Re: [gentoo-user] what test gets done in pcre makefile to find gcc
17 > won't work?
18 >
19 > Ashley,
20 >
21 > Thanks much for help you provided. You should know, as a result of that
22 > help you got me all the way to kernel configuration.
23 >
24 > On Sun, 4 Oct 2020, Ashley Dixon wrote:
25 >
26 > > Date: Sun, 4 Oct 2020 02:59:18
27 > > From: Ashley Dixon <ash@××××××××××.uk>
28 > > Reply-To: gentoo-user@l.g.o
29 > > To: gentoo-user@l.g.o
30 > > Subject: Re: [gentoo-user] what test gets done in pcre makefile to find gcc
31 > > won't work?
32 > >
33 > > On Sun, Oct 04, 2020 at 12:47:39AM -0400, Jude DaShiell wrote:
34 > > > I ran emerge-webrsync and agreed to merge some software titles from
35 > > > gentoo. The first one was pcre and so far as I can tell, all went fine
36 > > > until the makefile tested gcc and found gcc doesn't work. At that point
37 > > > the emerge errored out.
38 > >
39 > > I think you mean the configure script, not the Makefile? It is executed in the
40 > > ebuild with the `econf` wrapper function [1, 2]; its output looks like this:
41 > >
42 > > checking for a BSD-compatible install... /usr/bin/install -c
43 > > checking whether build environment is sane... yes
44 > > checking for a thread-safe mkdir -p... /bin/mkdir -p
45 > > [...]
46 > >
47 > > Can you post the full output of emerge? "The gcc test" is equivocal; the GNU
48 > > configure script does lots of compiler tests, and it will be useful to know
49 > > which one fails.
50 > >
51 > > > Now, it's possible everyone is using the systemd profile but I went with
52 > > > the default profile already used for amd64 installs so it could be that
53 > > > profile ran me into this particular error.
54 > >
55 > > I could be very mistaken, but I think that the majority of the Gentoo community
56 > > uses an OpenRC profile, probably because it's the default. Gentoo supports quite
57 > > a few init systems, if you'd like to have a play and see which one you like the
58 > > most [3].
59 > >
60 > > > Something else that was strange, I had the gentoo-minimal cd in use and
61 > > > had downloaded a stage3 file and a snapshot. The package
62 > > > sys-libs/timezone-data did not download in those packages and the handbook
63 > > > provided no instructions on downloading and installing that package before
64 > > > trying to set the local time. Could it be failure to use systemd profile
65 > > > also brought me this error as well?
66 > >
67 > > Which profile have you chosen? The Stage 3 tarball consists of a system set for
68 > > a particular profile [4], all of which inherit the base @system [5]. The
69 > > `timezone-data` package is not included in any of the default profile system
70 > > sets, so it should not be expected to appear in a Stage 3:
71 > >
72 > > $ shopt -s globstar
73 > > $ grep timezone-data gentoo/profiles/**/packages
74 > > # or
75 > > $ find gentoo/profiles/ -type f -name "packages" -exec grep \
76 > > > timezone-data {} \;
77 > >
78 > > It should be pulled in a dependency of glibc, providing the `vanilla` flag isn't
79 > > set, but you can just emerge it manually.
80 > >
81 > > $ equery d timezone-data # add `-a` after `d` for a full list
82 > > * These packages depend on timezone-data:
83 > > dev-libs/libical-3.0.8 (sys-libs/timezone-data)
84 > > sys-libs/glibc-2.31-r6 (!vanilla ? sys-libs/timezone-data)
85 > >
86 > > Anyway, this is independent of the init system you choose. Have you had a look
87 > > at [6]? Find the relevant file in `/usr/share/zoneinfo` which corresponds to
88 > > your timezone, write its relative path to the `/etc/timezone` file, and
89 > > reconfigure the `timezone-data` package. To steal the example in the handbook:
90 > >
91 > > $ ls -l /usr/share/zoneinfo
92 > > $ echo "Europe/Brussels" > /etc/timezone # Suppose you're in Brussels
93 > > $ emerge --config sys-libs/timezone-data # Regenerate `/etc/localtime`
94 > >
95 > > [1] https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-libs/libpcre2/libpcre2-10.35.ebuild#n74
96 > > [2] https://devmanual.gentoo.org/function-reference/build-functions/
97 > > [3] https://wiki.gentoo.org/wiki/Comparison_of_init_systems
98 > > [4] https://wiki.gentoo.org/wiki/Stage_tarball#Stage_3
99 > > [5] https://gitweb.gentoo.org/repo/gentoo.git/tree/profiles/base/packages
100 > > [6] https://wiki.gentoo.org/wiki/Handbook:AMD64/Full/Installation#Timezone
101 > >
102 > > P.S. You can examine the contents of `/etc/localtime`, and thus the supported
103 > > timezones, with the `zdump` utility from the `timezone-data` package:
104 > >
105 > > $ zdump /etc/locatime
106 > > /etc/localtime Sun Oct 4 07:41:45 2020 BST
107 > >
108 > >
109 >
110 >
111
112 --