Gentoo Archives: gentoo-dev

From: Weeve <weeve@g.o>
To: Gentoo Dev Mailing List <gentoo-dev@g.o>
Subject: [gentoo-dev] DEVS: depedency checking for other arches
Date: Wed, 09 Jul 2003 13:00:40
Message-Id: Pine.LNX.4.53.0307090845140.31115@stargazer.weeve.org
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Hi all,
5
6 Just a request/plea to developers in regards to adding/adjusting
7 dependencies on ebuilds that have multiple arch keywords (i.e. x86, ppc,
8 sparc, mips, etc). When a dependency is added or adjusted for an existing
9 ebuild, particularly ones that have multiple arch keywords, please please
10 please check to see if those dependencies can be built for all other
11 arches for the same tree the ebuild you are working on is currently marked
12 for (stable or unstable).
13
14 An example of what sometimes happens;
15
16 I'm working on ebuild foo-1.0.ebuild. A bug comes in asking to fix a
17 dependency on foo-1.0.ebuild so that it will depend on bar-1.0.
18 Currently, foo-1.0.ebuild has keywords for x86, ppc and ~sparc. However,
19 bar-1.0.ebuild only has keywords for x86. A dev who only has x86 to test
20 on adds the dependency to bar-1.0 into foo-1.0.ebuild and closes out the
21 bug. Unknowingly to that dev, he's just caused a dependency break for ppc
22 and ~sparc because repoman isn't checking for these, only x86.
23
24
25 I have submitted a bug for repoman to get the capability to check
26 dependencies for arches other than the one you are currently on (#24160).
27
28 In the meantime, a couple suggestions as to how to handle this;
29
30 1) When adjusting ebuilds, check to see if the dependencies have the same
31 keywords. If not contact a dev from that arch to see if they can test
32 those packages and get them marked similarly to the ebuild you are working
33 on.
34
35 2) Make the new/adjusted dependencies only for the arches you can test on,
36 and then create bugs in bugzilla asking the other arches to test the
37 dependencies.
38
39
40 Thanks, and reply away! :-P
41 - --
42 Weeve
43 Gentoo/Sparc Team Lead
44 -----BEGIN PGP SIGNATURE-----
45 Version: GnuPG v1.2.2 (GNU/Linux)
46
47 iD8DBQE/DBH2dKvgdVioq28RAo/EAJ9B0RkdgKF8JGioeBw4Oc6qV7lWFwCfeLmH
48 9BPMnXQ73LwjKGoPNPhUTI0=
49 =vbva
50 -----END PGP SIGNATURE-----
51
52 --
53 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] DEVS: depedency checking for other arches Bartosch Pixa <darkspecter@g.o>