Gentoo Archives: gentoo-bsd

From: Robert Raitz <pappy_mcfae@×××××.com>
To: "gentoo-bsd@l.g.o" <gentoo-bsd@l.g.o>
Subject: Re: [gentoo-bsd] Two issues.
Date: Wed, 16 Jan 2013 04:36:38
Message-Id: 1358310994.23680.YahooMailNeo@web140806.mail.bf1.yahoo.com
In Reply to: Re: [gentoo-bsd] Two issues. by Yuta SATOH
1 As an update, I did get X to work. Yes, that was the bug. I am at xorg-server-1.11.4-ish, and I do have X. The problem is, I want xfce4, which means pango, which will not finish compilation.
2
3 Let me be a bit more specific. If I compile pango without the 'X' or 'introspection' USE flags, it will compile. As soon as either one is turned on, the compilation fails. That means no mousepad or leafpad, no thunar, not even my xscreensaver hacks. I have fvwm with xterm, lots of fonts, but nothing beyond having multiple terminal screens. Because it's currently a bit dumb, and on a hard drive that isn't this one, getting exact output is rough. I am most likely going to be putting it back into a chroot session.
4
5 I've seen that there are some freebsd bugs in bugzilla. Can I report that pango issue there, or should I post it somewhere else? Basically, what can be done to get me to a point where I can get my beastly penguin as usable as it's straight-up non-hybrid counterparts residing on this drive? Now that X is running, I find it a beastly tease to not allow xfce4, or anything other than fvwm or twm. Anyone who has gotten beyond that issue, please let me know what to do. I'm really hooked on getting it going fully. Apparently, KMS is coming soon for FreeBSD, and that's good for hybrid users, too. Probably even better for us.
6
7 Cheers,
8 Pappy
9
10
11
12
13 ________________________________
14 From: Yuta SATOH <nigoro@×××××××××.jp>
15 To: gentoo-bsd@l.g.o
16 Sent: Tuesday, January 15, 2013 4:02 AM
17 Subject: Re: [gentoo-bsd] Two issues.
18
19 Hi,
20
21 On Wed, 9 Jan 2013 02:28:37 -0800 (PST)
22 Robert Raitz <pappy_mcfae@×××××.com> wrote:
23
24 > The first issue is a segfault when issuing startx.
25 > It looks like the segfault happens as dri2 is initializing.
26
27 Does this bug will not be helpful to you ?
28 https://bugs.gentoo.org/435648
29
30 > I'm thinking I'm going to backtrack to xorg-server-1.7.7-r1, as I have a
31 > backup from this machine when it was running that version of xorg-server
32 > as well as KDE3. Considering that FreeBSD 9.0 is using that version, or
33 > close to it, it should work for me as well. Sure, I'll have to re-enable
34 > the hal USE flag, but I've done that before.
35 >
36 > The second problem is a bit more perplexing. When trying to setup the
37 > cross-compiler for using distcc with the Gentoo/FBSD hybrid, things fail
38 > with freebsd-libs dying over lack of libutil.h. Here's the snippet from
39 > the log:
40 >
41 > /var/tmp/portage/cross-i686-gentoo-freebsd9.0/freebsd-lib-8.2-r1/work/lib/libc/posix1e/extattr.c:37:21: fatal error: libutil.h: No such file or directory
42 > compilation terminated.
43 > *** Error code 1
44 >
45 > Stop.
46 > pmake: stopped in /var/tmp/portage/cross-i686-gentoo-freebsd9.0/freebsd-lib-8.2-r1/work/lib/libc
47 > ?* ERROR: cross-i686-gentoo-freebsd9.0/freebsd-lib-8.2-r1 failed (compile phase):
48 > ?*?? make libc failed
49 > ?*
50 > ?* Call stack:
51 > ?*???? ebuild.sh, line? 93:? Called src_compile
52 > ?*?? environment, line 2765:? Called die
53 > ?* The specific snippet of code:
54 > ?*?????????? $(freebsd_get_bmake) ${mymakeopts} || die "make libc failed";
55 >
56 > When trying to get any freebsd-lib package to take, I run into them all
57 > NOT including the amd64 or ~amd-64 keywords. In other words, they are
58 > all keyword masked. I'd like to unmask, but I worry that I'll break the
59 > machine I'm using to cross-compile. I'd really rather not do that if at
60 > all possible. If I am to use the freebsd-lib version that goes with my
61 > hybrid, that version is keyword masked. As a matter of fact, it seems
62 > the only one I can get to take is freebsd-lib-8.2-r1, and that's not the
63 > version I am running.
64 >
65 > So, my question is, how to set up the cross-compiler such that it works,
66 > and doesn't break anything else? Do I have to redo the ebuilds to force
67 > things to work?
68
69 Are you using crossdev ?
70 cross-*-freebsd-lib should automatically be unmasked by crossdev.
71
72 I have confirmed that cross compiler is completed on Gentoo/Linux amd64
73 in the next step.
74
75 1. emerge sys-devel/crossdev
76 2. cd /usr/portage/sys-freebsd/freebsd-lib
77 3. wget -O freebsd-lib-9.1_rc3-r1.ebuild \
78 "http://git.overlays.gentoo.org/gitweb/?p=proj/gentoo-bsd.git;a=blob_plain;f=sys-freebsd/freebsd-lib/freebsd-lib-9.1_rc3-r1.ebuild;h=d4f4b85f9a07aa502b36678a756ca759def52d2a;hb=d92895be6230221821bc177e251139b5cad05155"
79 4. ebuild freebsd-lib-9.1_rc3-r1.ebuild digest
80 5. mkdir /etc/portage/package.keywords
81 6. echo 'sys-freebsd/freebsd-mk-defs ~amd64' >> /etc/portage/package.keywords/local
82 7. echo 'sys-apps/mtree ~amd64' >> /etc/portage/package.keywords/local
83 8. crossdev --g '>4.7' i686-gentoo-freebsd9.1
84
85 >
86 > The xorg-server issue I'll deal with on my own. I just have to find the
87 > DVD with the last stage-4 I did with this machine in the older
88 > configuration, unless there are other suggestions for getting this
89 > version of xorg-server (1.13) to work..
90 >
91 > Cheers,
92 > Pappy
93
94
95
96 Regards,
97 --
98 Yuta SATOH

Replies

Subject Author
[gentoo-bsd] pango failure Robert Raitz <pappy_mcfae@×××××.com>