Gentoo Archives: gentoo-bsd

From: Pawel Kilian <pawelkilian@×××××.com>
To: gentoo-bsd@l.g.o
Subject: [gentoo-bsd] UNSUBSCRIBE Re: Digest of gentoo-bsd@lists.gentoo.org issue 64 (157-158)
Date: Sat, 19 Jan 2013 11:55:42
Message-Id: 681A95D3D11E457EA90A2C703E40108C@gmail.com
1 UNSUBSCRIBE
2
3
4 On Saturday, January 19, 2013 at 5:02 AM, gentoo-bsd+help@l.g.o wrote:
5
6 > Topics (messages 157 through 158):
7 >
8 > [gentoo-bsd] Two issues.
9 > 157 - Yuta SATOH <nigoro@×××××××××.jp (mailto:nigoro@×××××××××.jp)>
10 >
11 > [gentoo-bsd] Two issues.
12 > 158 - Robert Raitz <pappy_mcfae@×××××.com (mailto:pappy_mcfae@×××××.com)>
13 >
14 > Forwarded message:
15 > > From: Yuta SATOH <nigoro@×××××××××.jp>
16 > > Reply To: gentoo-bsd@l.g.o
17 > > To: gentoo-bsd@l.g.o
18 > > Date: Tuesday, January 15, 2013 7:02:23 AM
19 > > Subject: Re: [gentoo-bsd] Two issues.
20 > >
21 > > Hi,
22 > >
23 > > On Wed, 9 Jan 2013 02:28:37 -0800 (PST)
24 > > Robert Raitz <pappy_mcfae@×××××.com (mailto:pappy_mcfae@×××××.com)> wrote:
25 > >
26 > > > The first issue is a segfault when issuing startx.
27 > > > It looks like the segfault happens as dri2 is initializing.
28 > > >
29 > >
30 > >
31 > > Does this bug will not be helpful to you ?
32 > > https://bugs.gentoo.org/435648
33 > >
34 > > > I'm thinking I'm going to backtrack to xorg-server-1.7.7-r1, as I have a
35 > > > backup from this machine when it was running that version of xorg-server
36 > > > as well as KDE3. Considering that FreeBSD 9.0 is using that version, or
37 > > > close to it, it should work for me as well. Sure, I'll have to re-enable
38 > > > the hal USE flag, but I've done that before.
39 > > >
40 > > > The second problem is a bit more perplexing. When trying to setup the
41 > > > cross-compiler for using distcc with the Gentoo/FBSD hybrid, things fail
42 > > > with freebsd-libs dying over lack of libutil.h. Here's the snippet from
43 > > > the log:
44 > > >
45 > > > /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
46 > > > compilation terminated.
47 > > > *** Error code 1
48 > > >
49 > > > Stop.
50 > > > pmake: stopped in /var/tmp/portage/cross-i686-gentoo-freebsd9.0/freebsd-lib-8.2-r1/work/lib/libc
51 > > > ?* ERROR: cross-i686-gentoo-freebsd9.0/freebsd-lib-8.2-r1 failed (compile phase):
52 > > > ?*?? make libc failed
53 > > > ?*
54 > > > ?* Call stack:
55 > > > ?*???? ebuild.sh (http://ebuild.sh), line? 93:? Called src_compile
56 > > > ?*?? environment, line 2765:? Called die
57 > > > ?* The specific snippet of code:
58 > > > ?*?????????? $(freebsd_get_bmake) ${mymakeopts} || die "make libc failed";
59 > > >
60 > > > When trying to get any freebsd-lib package to take, I run into them all
61 > > > NOT including the amd64 or ~amd-64 keywords. In other words, they are
62 > > > all keyword masked. I'd like to unmask, but I worry that I'll break the
63 > > > machine I'm using to cross-compile. I'd really rather not do that if at
64 > > > all possible. If I am to use the freebsd-lib version that goes with my
65 > > > hybrid, that version is keyword masked. As a matter of fact, it seems
66 > > > the only one I can get to take is freebsd-lib-8.2-r1, and that's not the
67 > > > version I am running.
68 > > >
69 > > > So, my question is, how to set up the cross-compiler such that it works,
70 > > > and doesn't break anything else? Do I have to redo the ebuilds to force
71 > > > things to work?
72 > > >
73 > >
74 > >
75 > > Are you using crossdev ?
76 > > cross-*-freebsd-lib should automatically be unmasked by crossdev.
77 > >
78 > > I have confirmed that cross compiler is completed on Gentoo/Linux amd64
79 > > in the next step.
80 > >
81 > > 1. emerge sys-devel/crossdev
82 > > 2. cd /usr/portage/sys-freebsd/freebsd-lib
83 > > 3. wget -O freebsd-lib-9.1_rc3-r1.ebuild \
84 > > "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"
85 > > 4. ebuild freebsd-lib-9.1_rc3-r1.ebuild digest
86 > > 5. mkdir /etc/portage/package.keywords
87 > > 6. echo 'sys-freebsd/freebsd-mk-defs ~amd64' >> /etc/portage/package.keywords/local
88 > > 7. echo 'sys-apps/mtree ~amd64' >> /etc/portage/package.keywords/local
89 > > 8. crossdev --g '>4.7' i686-gentoo-freebsd9.1
90 > >
91 > > >
92 > > > The xorg-server issue I'll deal with on my own. I just have to find the
93 > > > DVD with the last stage-4 I did with this machine in the older
94 > > > configuration, unless there are other suggestions for getting this
95 > > > version of xorg-server (1.13) to work..
96 > > >
97 > > > Cheers,
98 > > > Pappy
99 > > >
100 > >
101 > >
102 > >
103 > >
104 > > Regards,
105 > > --
106 > > Yuta SATOH
107 > >
108 > >
109 >
110 > Forwarded message:
111 > > From: Robert Raitz <pappy_mcfae@×××××.com>
112 > > Reply To: gentoo-bsd@l.g.o
113 > > To: gentoo-bsd@l.g.o <gentoo-bsd@l.g.o>
114 > > Date: Tuesday, January 15, 2013 11:36:34 PM
115 > > Subject: Re: [gentoo-bsd] Two issues.
116 > >
117 > > 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.
118 > >
119 > > 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.
120 > >
121 > > 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.
122 > >
123 > > Cheers,
124 > > Pappy
125 > >
126 > >
127 > > From: Yuta SATOH <nigoro@×××××××××.jp (mailto:nigoro@×××××××××.jp)>
128 > > To: gentoo-bsd@l.g.o (mailto:gentoo-bsd@l.g.o)
129 > > Sent: Tuesday, January 15, 2013 4:02 AM
130 > > Subject: Re: [gentoo-bsd] Two issues.
131 > >
132 > > Hi,
133 > >
134 > > On Wed, 9 Jan 2013 02:28:37 -0800 (PST)
135 > > Robert Raitz <pappy_mcfae@×××××.com (mailto:pappy_mcfae@×××××.com)> wrote:
136 > >
137 > > > The first issue is a segfault when issuing startx.
138 > > > It looks like the segfault happens as dri2 is initializing.
139 > >
140 > > Does this bug will not be helpful to you ?
141 > > https://bugs.gentoo.org/435648
142 > >
143 > > > I'm thinking I'm going to backtrack to xorg-server-1.7.7-r1, as I have a
144 > > > backup from this machine when it was running that version of xorg-server
145 > > > as well as KDE3. Considering that FreeBSD 9.0 is using that version, or
146 > > > close to it, it should work for me as well. Sure, I'll have to re-enable
147 > > > the hal USE flag, but I've done that before.
148 > > >
149 > > > The second problem is a bit more perplexing. When trying to setup the
150 > > > cross-compiler for using distcc with the Gentoo/FBSD hybrid, things fail
151 > > > with freebsd-libs dying over lack of libutil.h. Here's the snippet from
152 > > > the log:
153 > > >
154 > > > /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
155 > > > compilation terminated.
156 > > > *** Error code 1
157 > > >
158 > > > Stop.
159 > > > pmake: stopped in /var/tmp/portage/cross-i686-gentoo-freebsd9.0/freebsd-lib-8.2-r1/work/lib/libc
160 > > > ?* ERROR: cross-i686-gentoo-freebsd9.0/freebsd-lib-8.2-r1 failed (compile phase):
161 > > > ?*?? make libc failed
162 > > > ?*
163 > > > ?* Call stack:
164 > > > ?*???? ebuild.sh (http://ebuild.sh), line? 93:? Called src_compile
165 > > > ?*?? environment, line 2765:? Called die
166 > > > ?* The specific snippet of code:
167 > > > ?*?????????? $(freebsd_get_bmake) ${mymakeopts} || die "make libc failed";
168 > > >
169 > > > When trying to get any freebsd-lib package to take, I run into them all
170 > > > NOT including the amd64 or ~amd-64 keywords. In other words, they are
171 > > > all keyword masked. I'd like to unmask, but I worry that I'll break the
172 > > > machine I'm using to cross-compile. I'd really rather not do that if at
173 > > > all possible. If I am to use the freebsd-lib version that goes with my
174 > > > hybrid, that version is keyword masked. As a matter of fact, it seems
175 > > > the only one I can get to take is freebsd-lib-8.2-r1, and that's not the
176 > > > version I am running.
177 > > >
178 > > > So, my question is, how to set up the cross-compiler such that it works,
179 > > > and doesn't break anything else? Do I have to redo the ebuilds to force
180 > > > things to work?
181 > >
182 > > Are you using crossdev ?
183 > > cross-*-freebsd-lib should automatically be unmasked by crossdev.
184 > >
185 > > I have confirmed that cross compiler is completed on Gentoo/Linux amd64
186 > > in the next step.
187 > >
188 > > 1. emerge sys-devel/crossdev
189 > > 2. cd /usr/portage/sys-freebsd/freebsd-lib
190 > > 3. wget -O freebsd-lib-9.1_rc3-r1.ebuild \
191 > > "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"
192 > > 4. ebuild freebsd-lib-9.1_rc3-r1.ebuild digest
193 > > 5. mkdir /etc/portage/package.keywords
194 > > 6. echo 'sys-freebsd/freebsd-mk-defs ~amd64' >> /etc/portage/package.keywords/local
195 > > 7. echo 'sys-apps/mtree ~amd64' >> /etc/portage/package.keywords/local
196 > > 8. crossdev --g '>4.7' i686-gentoo-freebsd9.1
197 > >
198 > > >
199 > > > The xorg-server issue I'll deal with on my own. I just have to find the
200 > > > DVD with the last stage-4 I did with this machine in the older
201 > > > configuration, unless there are other suggestions for getting this
202 > > > version of xorg-server (1.13) to work..
203 > > >
204 > > > Cheers,
205 > > > Pappy
206 > >
207 > >
208 > >
209 > > Regards,
210 > > --
211 > > Yuta SATOH
212 > >
213 > >
214 > >
215 > >