public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] emerge wings - erlang fails to compile
@ 2006-10-14 16:50 JC Denton
  2006-10-14 18:44 ` Régis Décamps
  2006-10-14 19:26 ` Bo Ørsted Andresen
  0 siblings, 2 replies; 4+ messages in thread
From: JC Denton @ 2006-10-14 16:50 UTC (permalink / raw
  To: gentoo user

[-- Attachment #1: Type: text/plain, Size: 2023 bytes --]

Hi!

I want to give wings a try. But when comling  erlang I det this error message:
 
...
hipe_x86_signal.o: In function `sigaction':
hipe_x86_signal.c:(.text+0x10): undefined reference to `INIT'
hipe_x86_signal.c:(.text+0x6b): undefined reference to `__next_sigaction'
/var/tmp/portage/erlang-10.2.5/work/otp_src_R10B-5/erts/obj.hybrid.beam/i686-pc-linux-gnu/hipe_x86_signal.o: In function `hipe_signal_init':
hipe_x86_signal.c:(.text+0x8a): undefined reference to `INIT'
hipe_x86_signal.c:(.text+0xec): undefined reference to `INIT'
hipe_x86_signal.c:(.text+0xfe): undefined reference to `__next_sigaction'
hipe_x86_signal.c:(.text+0x12b): undefined reference to `INIT'
hipe_x86_signal.c:(.text+0x179): undefined reference to `__next_sigaction'
collect2: ld returned 1 exit status
make[3]: *** [/var/tmp/portage/erlang-10.2.5/work/otp_src_R10B-5/bin/i686-pc-linux-gnu/beam.hybrid] Error 1
make[3]: Leaving directory `/var/tmp/portage/erlang-10.2.5/work/otp_src_R10B-5/erts/emulator'
make[2]: *** [hybrid] Error 2
make[2]: Leaving directory `/var/tmp/portage/erlang-10.2.5/work/otp_src_R10B-5/erts/emulator'
make[1]: *** [hybrid] Error 2
make[1]: Leaving directory `/var/tmp/portage/erlang-10.2.5/work/otp_src_R10B-5/erts'
make: *** [emulator] Error 2

!!! ERROR: dev-lang/erlang-10.2.5 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  erlang-10.2.5.ebuild, line 49:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

What does this mean? I looked in the gentoo forum and found a lot problems with erlang but not this one. I found a possible solution on:

http://tomcopeland.blogs.com/juniordeveloper/2006/04/ejabberd_erlang.html

But actually I have not a single idea how to apply this patch.

Thank you for your help!
JC

 		
---------------------------------
Was ist Glück? Schlafen Fische überhaupt? Die Antworten gibt’s auf Yahoo! Clever.

[-- Attachment #2: Type: text/html, Size: 2241 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] emerge wings - erlang fails to compile
  2006-10-14 16:50 [gentoo-user] emerge wings - erlang fails to compile JC Denton
@ 2006-10-14 18:44 ` Régis Décamps
  2006-10-14 19:26 ` Bo Ørsted Andresen
  1 sibling, 0 replies; 4+ messages in thread
From: Régis Décamps @ 2006-10-14 18:44 UTC (permalink / raw
  To: gentoo-user

On 10/14/06, JC Denton <jcdentonmail@yahoo.de> wrote:
> Hi!
>
> I want to give wings a try. But when comling  erlang I det this error
> message:

on my system, erlang is masked because it breaks wings...

- dev-lang/erlang-10.2.6 (masked by: package.mask, ~amd64 keyword)
# vapier@gentoo.org (23 Aug 2005)
# Mask since it breaks wings #97798


-- 
Régis

http://regis.decamps.info/blog/

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] emerge wings - erlang fails to compile
  2006-10-14 16:50 [gentoo-user] emerge wings - erlang fails to compile JC Denton
  2006-10-14 18:44 ` Régis Décamps
@ 2006-10-14 19:26 ` Bo Ørsted Andresen
  2006-10-14 20:58   ` JC Denton
  1 sibling, 1 reply; 4+ messages in thread
From: Bo Ørsted Andresen @ 2006-10-14 19:26 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1166 bytes --]

On Saturday 14 October 2006 18:50, JC Denton wrote:
> Hi!
>
> I want to give wings a try. But when comling  erlang I det this error
> message:
[SNIP]
>
> What does this mean? I looked in the gentoo forum and found a lot problems
> with erlang but not this one. I found a possible solution on:
>
> http://tomcopeland.blogs.com/juniordeveloper/2006/04/ejabberd_erlang.html
>
> But actually I have not a single idea how to apply this patch.

You can see a more proper version of the same patch by typing:

# cat `portageq portdir`/dev-lang/erlang/files/glibc-2.4-fix.patch

It is applied in erlang-10.2.10 with this addition to the ebuild:

# cat `portageq portdir`/dev-lang/erlang/erlang-10.2.10.ebuild
[...]
src_unpack() {
        [...]
        # Patch for glibc-2.4 first noted in Bug #128254 -- NOTE this is a
        # compile time fix, runtime still requires testing, see
        # http://www.erlang.org/ml-archive/erlang-questions/200601/msg00500.html
        epatch "${FILESDIR}/glibc-2.4-fix.patch"
}
[...]

So just keyword erlang-10.2.10:

# echo ~dev-lang/erlang-10.2.10 >> /etc/portage/package.keywords

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] emerge wings - erlang fails to compile
  2006-10-14 19:26 ` Bo Ørsted Andresen
@ 2006-10-14 20:58   ` JC Denton
  0 siblings, 0 replies; 4+ messages in thread
From: JC Denton @ 2006-10-14 20:58 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1484 bytes --]

Thank you!

I did 

# ACCEPT_KEYWORDS="~x86" emerge erlang 
# ACCEPT_KEYWORDS="~x86" emerge wings

and everything did compile.

JC

Bo Ørsted Andresen <bo.andresen@zlin.dk> schrieb: On Saturday 14 October 2006 18:50, JC Denton wrote:
> Hi!
>
> I want to give wings a try. But when comling  erlang I det this error
> message:
[SNIP]
>
> What does this mean? I looked in the gentoo forum and found a lot problems
> with erlang but not this one. I found a possible solution on:
>
> http://tomcopeland.blogs.com/juniordeveloper/2006/04/ejabberd_erlang.html
>
> But actually I have not a single idea how to apply this patch.

You can see a more proper version of the same patch by typing:

# cat `portageq portdir`/dev-lang/erlang/files/glibc-2.4-fix.patch

It is applied in erlang-10.2.10 with this addition to the ebuild:

# cat `portageq portdir`/dev-lang/erlang/erlang-10.2.10.ebuild
[...]
src_unpack() {
        [...]
        # Patch for glibc-2.4 first noted in Bug #128254 -- NOTE this is a
        # compile time fix, runtime still requires testing, see
        # http://www.erlang.org/ml-archive/erlang-questions/200601/msg00500.html
        epatch "${FILESDIR}/glibc-2.4-fix.patch"
}
[...]

So just keyword erlang-10.2.10:

# echo ~dev-lang/erlang-10.2.10 >> /etc/portage/package.keywords

-- 
Bo Andresen


 		
---------------------------------
Was ist Glück? Schlafen Fische überhaupt? Die Antworten gibt’s auf Yahoo! Clever.

[-- Attachment #2: Type: text/html, Size: 1848 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-10-14 21:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-14 16:50 [gentoo-user] emerge wings - erlang fails to compile JC Denton
2006-10-14 18:44 ` Régis Décamps
2006-10-14 19:26 ` Bo Ørsted Andresen
2006-10-14 20:58   ` JC Denton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox