[Bug 1023960] New: erlang-R16B-02.2.fc20 fails to build on secondary arches
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1023960
Bug ID: 1023960
Summary: erlang-R16B-02.2.fc20 fails to build on secondary
arches
Product: Fedora
Version: 20
Component: erlang
Assignee: lemenkov(a)gmail.com
Reporter: dan(a)danny.cz
QA Contact: extras-qa(a)fedoraproject.org
CC: erlang(a)lists.fedoraproject.org, lemenkov(a)gmail.com,
rhbugs(a)n-dimensional.de
Blocks: 467765 (ZedoraTracker)
erlang-R16B-02 fails to build on secondary arches, seen on ppc and s390, but I
guess aarch64 would also fail.
from s390 build.log
(http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=1243484):
...
gcc -Werror=return-type -O3 -fomit-frame-pointer -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -grecord-gcc-switches -m31 -march=z9-109 -mtune=z10
-fno-strict-aliasing
-I/builddir/build/BUILD/otp_src_R16B02/erts/s390-ibm-linux-gnu
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-tree-copyrename -D_GNU_SOURCE
-DERTS_SMP -DHAVE_CONFIG_H -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wdeclaration-after-statement -DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT
-DPOSIX_THREADS -D_POSIX_THREAD_SAFE_FUNCTIONS -Is390-ibm-linux-gnu/opt/smp
-Ibeam -Isys/unix -Isys/common -Is390-ibm-linux-gnu -Ipcre -Ihipe -I../include
-I../include/s390-ibm-linux-gnu -I../include/internal
-I../include/internal/s390-ibm-linux-gnu -c beam/erl_bif_info.c -o
obj/s390-ibm-linux-gnu/opt/smp/erl_bif_info.o
In file included from beam/erl_bif_info.c:30:0:
beam/erl_bif_info.c: In function 'system_info_1':
beam/erl_bif_info.c:2073:10: error: 'hipe_arch_name' undeclared (first use in
this function)
BIF_RET(hipe_arch_name);
^
beam/bif.h:118:28: note: in definition of macro 'BIF_RET'
#define BIF_RET(x) return (x)
^
beam/erl_bif_info.c:2073:10: note: each undeclared identifier is reported only
once for each function it appears in
BIF_RET(hipe_arch_name);
^
beam/bif.h:118:28: note: in definition of macro 'BIF_RET'
#define BIF_RET(x) return (x)
^
make[3]: Leaving directory `/builddir/build/BUILD/otp_src_R16B02/erts/emulator'
make[3]: *** [obj/s390-ibm-linux-gnu/opt/smp/erl_bif_info.o] Error 1
from ppc build.log
(http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=1483569):
...
gcc -Werror=return-type -O3 -fomit-frame-pointer -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
--param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -fno-strict-aliasing
-I/builddir/build/BUILD/otp_src_R16B02/erts/powerpc-redhat-linux-gnu
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-tree-copyrename -D_GNU_SOURCE
-DERTS_SMP -DHAVE_CONFIG_H -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wdeclaration-after-statement -DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT
-DPOSIX_THREADS -D_POSIX_THREAD_SAFE_FUNCTIONS
-Ipowerpc-redhat-linux-gnu/opt/smp -Ibeam -Isys/unix -Isys/common
-Ipowerpc-redhat-linux-gnu -Ipcre -Ihipe -I../include
-I../include/powerpc-redhat-linux-gnu -I../include/internal
-I../include/internal/powerpc-redhat-linux-gnu -c beam/erl_bif_info.c -o
obj/powerpc-redhat-linux-gnu/opt/smp/erl_bif_info.o
In file included from beam/erl_bif_info.c:30:0:
beam/erl_bif_info.c: In function 'system_info_1':
hipe/hipe_ppc.h:63:24: error: 'am_powerpc' undeclared (first use in this
function)
#define hipe_arch_name am_powerpc
^
beam/bif.h:118:28: note: in definition of macro 'BIF_RET'
#define BIF_RET(x) return (x)
^
beam/erl_bif_info.c:2073:10: note: in expansion of macro 'hipe_arch_name'
BIF_RET(hipe_arch_name);
^
hipe/hipe_ppc.h:63:24: note: each undeclared identifier is reported only once
for each function it appears in
#define hipe_arch_name am_powerpc
^
beam/bif.h:118:28: note: in definition of macro 'BIF_RET'
#define BIF_RET(x) return (x)
^
beam/erl_bif_info.c:2073:10: note: in expansion of macro 'hipe_arch_name'
BIF_RET(hipe_arch_name);
^
make[3]: *** [obj/powerpc-redhat-linux-gnu/opt/smp/erl_bif_info.o] Error 1
make[3]: Leaving directory `/builddir/build/BUILD/otp_src_R16B02/erts/emulator'
Version-Release number of selected component (if applicable):
erlang-R16B-02.2.fc20
proposed solution:
diff --git a/erlang.spec b/erlang.spec
index 1d4cbfd..50bbe68 100644
--- a/erlang.spec
+++ b/erlang.spec
@@ -966,9 +966,15 @@ rm -f lib/ssl/examples/certs/etc/erlangCA/index.txt.old
%build
%ifarch sparcv9 sparc64
-CFLAGS="$RPM_OPT_FLAGS -mcpu=ultrasparc -fno-strict-aliasing" %configure
--enable-shared-zlib --enable-sctp --enable-hipe
+CFLAGS="$RPM_OPT_FLAGS -mcpu=ultrasparc -fno-strict-aliasing" \
%else
-CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %configure --enable-shared-zlib
--enable-sctp --enable-hipe
+CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
+%endif
+%configure --enable-shared-zlib --enable-sctp \
+%ifnarch s390 s390x ppc
+ --enable-hipe
+%else
+ %{nil}
%endif
or maybe using %ifarch with a positive list like %{ix86} x86_64 %{arm} would be
even better
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=467765
[Bug 467765] Fedora for System z (s390): Bug Tracker
--
You are receiving this mail because:
You are on the CC list for the bug.
10 years, 5 months
[erlang/f19] (5 commits) ...ot-get-patches.sh: Clean up comment wording
by Peter Lemenkov
Summary of changes:
a737a5a... Disable HiPE on unsupported arches (*)
13312e6... Re-enable HiPE on ppc64, ppc64v7 (*)
d2f6517... Actually re-enable HiPE (*)
f56df7b... Really disable HiPE on s390(x) (*)
e7421b9... ot-get-patches.sh: Clean up comment wording (*)
(*) This commit already existed in another branch; no separate mail sent
10 years, 5 months
[erlang/f20] (5 commits) ...ot-get-patches.sh: Clean up comment wording
by Peter Lemenkov
Summary of changes:
a737a5a... Disable HiPE on unsupported arches (*)
13312e6... Re-enable HiPE on ppc64, ppc64v7 (*)
d2f6517... Actually re-enable HiPE (*)
f56df7b... Really disable HiPE on s390(x) (*)
e7421b9... ot-get-patches.sh: Clean up comment wording (*)
(*) This commit already existed in another branch; no separate mail sent
10 years, 5 months
[elixir/f19] latest upstream
by Ricky Elrod
Summary of changes:
ce6dcd8... latest upstream (*)
(*) This commit already existed in another branch; no separate mail sent
10 years, 5 months
[elixir/f20] latest upstream
by Ricky Elrod
Summary of changes:
ce6dcd8... latest upstream (*)
(*) This commit already existed in another branch; no separate mail sent
10 years, 5 months
[elixir/f17] (21 commits) ...latest upstream
by Ricky Elrod
Summary of changes:
cf9b4e3... Update to Elixir 0.7.2. (*)
f34efdf... - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass (*)
a5f23f5... Upstream 0.8.1 in Rawhide. (*)
35d50a0... New elixir release 0.9.1 (*)
2ff8a92... Something for the Erlang VM needs Erlang. Who knew? (*)
2866326... Fix BR, nuke a test that still needs nuked. (*)
5bfc217... Nuke the ANSI doctest too. (*)
e5e7051... Upstream 0.9.3 (*)
0e5ad62... This test file was renamed. (*)
c9dd7b1... Upstream 0.10.0 (*)
1227035... Fix sed patch (finding proper rebar) (*)
7bfdd63... - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass (*)
703e208... Latest upstream version. (*)
13c6bf9... Merge branch 'master' of ssh://pkgs.fedoraproject.org/elixi (*)
08dcc44... Forgot to move the mix binary to the buildroot too. (*)
e10d368... Upstream 0.10.2 (*)
65d3593... Latest upstream release. (*)
7672eb9... fix changelog date (*)
3eb0c9f... new sources (*)
cd3a154... latest upstream (*)
ce6dcd8... latest upstream (*)
(*) This commit already existed in another branch; no separate mail sent
10 years, 5 months
[elixir] latest upstream
by Ricky Elrod
commit ce6dcd85f56785a61922177d58a053d3917cb29d
Author: Ricky Elrod <ricky(a)elrod.me>
Date: Sun Nov 24 18:26:36 2013 -0500
latest upstream
.gitignore | 1 +
elixir.spec | 7 +++++--
sources | 2 +-
3 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8fff41e..4de3c95 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,4 @@
/elixir-0.10.2.tar.gz
/elixir-0.10.3.tar.gz
/elixir-0.11.0.tar.gz
+/elixir-0.11.2.tar.gz
diff --git a/elixir.spec b/elixir.spec
index 09021ac..6d50069 100644
--- a/elixir.spec
+++ b/elixir.spec
@@ -1,5 +1,5 @@
Name: elixir
-Version: 0.11.0
+Version: 0.11.2
Release: 1%{?dist}
Summary: A modern approach to programming for the Erlang VM
@@ -11,7 +11,7 @@ URL: http://elixir-lang.org/
# Source0 retrieved by pulling a Github tarball.
# You can obtain the source code by executing:
# git clone git://github.com/elixir-lang/elixir.git
-# git checkout v0.10.3
+# git checkout v0.11.2
Source0: %{name}-%{version}.tar.gz
BuildArch: noarch
@@ -61,6 +61,9 @@ ln -s %{_datadir}/%{name}/%{version}/bin/{elixir,elixirc,iex,mix} %{buildroot}/%
%{_datadir}/%{name}
%changelog
+* Sun Nov 24 2013 Ricky Elrod <codeblock(a)fedoraproject.org> - 0.11.2-1
+- Update to upstream 0.11.2.
+
* Sat Nov 2 2013 Ricky Elrod <codeblock(a)fedoraproject.org> - 0.11.0-1
- Update to upstream 0.11.0.
diff --git a/sources b/sources
index 2fd13f0..2393cd0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-cf6f326860620a66f8ab010619d60321 elixir-0.11.0.tar.gz
+ee719ee286db5338e63e61c9c20440c6 elixir-0.11.2.tar.gz
10 years, 5 months