Opened 15 years ago

Closed 15 years ago

#21423 closed defect (duplicate)

gcc43 build failure on Snow Leopard

Reported by: anand.prabhakar.patil@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: gcc43

Description (last modified by jmroot (Joshua Root))

Encountered while trying to install py26-scipy:

--->  Verifying checksum(s) for gcc43
--->  Extracting gcc43
--->  Configuring gcc43
--->  Building gcc43
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/build" && /usr/bin/make -j8 all " returned error 2
Command output: ranlib -c libbackend.a
ranlib: file: libbackend.a(insn-peep.o) has no symbols
ranlib: file: libbackend.a(loop-doloop.o) has no symbols
ranlib: file: libbackend.a(vmsdbgout.o) has no symbols
ranlib: file: libbackend.a(xcoffout.o) has no symbols
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/build/./prev-gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/build/./prev-gcc/ -B/opt/local/x86_64-apple-darwin10/bin/   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros               -Wno-overlength-strings    -DHAVE_CONFIG_H  -o cc1-dummy c-lang.o stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o c-objc-common.o c-dump.o c-pch.o c-parser.o darwin-c.o c-gimplify.o tree-mudflap.o c-pretty-print.o c-omp.o dummy-checksum.o \
          main.o  libbackend.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a   ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -L/opt/local/lib -L/opt/local/lib -lmpfr -lgmp
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/build/./prev-gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/build/./prev-gcc/ -B/opt/local/x86_64-apple-darwin10/bin/   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros               -Wno-overlength-strings    -DHAVE_CONFIG_H  -o cc1plus-dummy \
              cp/cp-lang.o stub-objc.o cp/call.o cp/decl.o cp/expr.o cp/pt.o cp/typeck2.o cp/class.o cp/decl2.o cp/error.o cp/lex.o cp/parser.o cp/ptree.o cp/rtti.o cp/typeck.o cp/cvt.o cp/except.o cp/friend.o cp/init.o cp/method.o cp/search.o cp/semantics.o cp/tree.o cp/repo.o cp/dump.o cp/optimize.o cp/mangle.o cp/cp-objcp-common.o cp/name-lookup.o cp/cxx-pretty-print.o cp/cp-gimplify.o tree-mudflap.o attribs.o c-common.o c-format.o c-pragma.o c-semantics.o c-lex.o c-dump.o darwin-c.o c-pretty-print.o c-opts.o c-pch.o c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o c-gimplify.o c-omp.o tree-inline.o dummy-checksum.o main.o  libbackend.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a   ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -L/opt/local/lib -L/opt/local/lib -lmpfr -lgmp
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/build/./prev-gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/build/./prev-gcc/ -B/opt/local/x86_64-apple-darwin10/bin/   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros               -Wno-overlength-strings    -DHAVE_CONFIG_H  -o f951 \
                fortran/arith.o fortran/array.o fortran/bbt.o fortran/check.o fortran/data.o fortran/decl.o fortran/dump-parse-tree.o fortran/error.o fortran/expr.o fortran/interface.o fortran/intrinsic.o fortran/io.o fortran/iresolve.o fortran/match.o fortran/matchexp.o fortran/misc.o fortran/module.o fortran/openmp.o fortran/options.o fortran/parse.o fortran/primary.o fortran/resolve.o fortran/scanner.o fortran/simplify.o fortran/st.o fortran/symbol.o fortran/target-memory.o fortran/convert.o fortran/dependency.o fortran/f95-lang.o fortran/trans.o fortran/trans-array.o fortran/trans-common.o fortran/trans-const.o fortran/trans-decl.o fortran/trans-expr.o fortran/trans-intrinsic.o fortran/trans-io.o fortran/trans-openmp.o fortran/trans-stmt.o fortran/trans-types.o main.o  libbackend.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a   ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a attribs.o -L/opt/local/lib -L/opt/local/lib -lmpfr -lgmp
rm -f jc1
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/build/./prev-gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/build/./prev-gcc/ -B/opt/local/x86_64-apple-darwin10/bin/   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros               -Wno-overlength-strings    -DHAVE_CONFIG_H  -o cc1obj-dummy \
              objc/objc-lang.o objc/objc-act.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o c-objc-common.o c-dump.o c-pch.o c-parser.o darwin-c.o c-gimplify.o tree-mudflap.o c-pretty-print.o c-omp.o dummy-checksum.o \
              main.o  libbackend.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a   ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -L/opt/local/lib -L/opt/local/lib -lmpfr -lgmp
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/build/./prev-gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/build/./prev-gcc/ -B/opt/local/x86_64-apple-darwin10/bin/   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros               -Wno-overlength-strings    -DHAVE_CONFIG_H  -o jc1 \
                java/class.o java/decl.o java/expr.o java/constants.o java/lang.o java/typeck.o java/except.o java/verify-glue.o java/verify-impl.o java/zextract.o java/jcf-io.o java/win32-host.o java/jcf-parse.o java/mangle.o java/mangle_name.o java/builtins.o java/resource.o java/jcf-depend.o java/jcf-path.o java/boehm.o java/java-gimplify.o main.o  libbackend.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a -lz  ../libcpp/libcpp.a   ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a attribs.o -L/opt/local/lib -L/opt/local/lib -lmpfr -lgmp
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/build/./prev-gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/build/./prev-gcc/ -B/opt/local/x86_64-apple-darwin10/bin/   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros               -Wno-overlength-strings    -DHAVE_CONFIG_H  -o cc1objplus-dummy \
                objcp/objcp-act.o objcp/objcp-lang.o objcp/objcp-decl.o cp/call.o cp/decl.o cp/expr.o cp/pt.o cp/typeck2.o cp/class.o cp/decl2.o cp/error.o cp/lex.o cp/parser.o cp/ptree.o cp/rtti.o cp/typeck.o cp/cvt.o cp/except.o cp/friend.o cp/init.o cp/method.o cp/search.o cp/semantics.o cp/tree.o cp/repo.o cp/dump.o cp/optimize.o cp/mangle.o cp/cp-objcp-common.o cp/name-lookup.o cp/cxx-pretty-print.o cp/cp-gimplify.o tree-mudflap.o attribs.o c-common.o c-format.o c-pragma.o c-semantics.o c-lex.o c-dump.o darwin-c.o c-pretty-print.o c-opts.o c-pch.o c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o c-gimplify.o c-omp.o tree-inline.o dummy-checksum.o main.o  libbackend.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a   ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -L/opt/local/lib -L/opt/local/lib -lmpfr -lgmp
ld: duplicate symbol _init_inline_once in libbackend.a(tree-inline.o) and tree-inline.o
collect2: ld returned 1 exit status
ld: duplicate symbol _init_inline_once in libbackend.a(tree-inline.o) and tree-inline.o
collect2: ld returned 1 exit status
make[3]: *** [cc1plus-dummy] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [cc1objplus-dummy] Error 1
rm gfortran.pod
make[2]: *** [all-stage2-gcc] Error 2
make[1]: *** [stage2-bubble] Error 2
make: *** [all] Error 2

Error: The following dependencies failed to build: gcc43
Error: Status 1 encountered during processing.

The packages I have installed are:

(head-mac ~) port list installed
apr                            @1.3.8          devel/apr
apr-util                       @1.3.9          devel/apr-util
autoconf                       @2.64           devel/autoconf
automake                       @1.11           devel/automake
bzip2                          @1.0.5          archivers/bzip2
cyrus-sasl2                    @2.1.23         security/cyrus-sasl2
db46                           @4.6.21         databases/db46
expat                          @2.0.1          textproc/expat
fftw-3                         @3.2.2          math/fftw-3
fontconfig                     @2.7.3          graphics/fontconfig
freetype                       @2.3.9          print/freetype
gdbm                           @1.8.3          databases/gdbm
geos                           @3.1.0          science/geos
gettext                        @0.17           devel/gettext
gmp                            @4.3.1          devel/gmp
gperf                          @3.0.4          devel/gperf
hdf5-18                        @1.8.3          science/hdf5-18
help2man                       @1.36.4         textproc/help2man
libiconv                       @1.13           textproc/libiconv
libpng                         @1.2.38         graphics/libpng
libtool                        @2.2.6a         devel/libtool
lzmautils                      @4.32.7         archivers/lzmautils
m4                             @1.4.13         devel/m4
metis                          @4.0.1          math/metis
mpfr                           @2.4.1-p4       devel/mpfr
ncurses                        @5.7            devel/ncurses
ncursesw                       @5.7            devel/ncursesw
neon                           @0.28.6         www/neon
netcdf                         @4.0.1          science/netcdf
openssl                        @0.9.8k         devel/openssl
p5-locale-gettext              @1.05           perl/p5-locale-gettext
perl5                          @5.8.9          lang/perl5
perl5.8                        @5.8.9          lang/perl5.8
pkgconfig                      @0.23           devel/pkgconfig
py26-altgraph                  @0.6.7          python/py26-altgraph
py26-bdist_mpkg                @0.4.4          python/py26-bdist_mpkg
py26-configobj                 @4.5.2          python/py26-configobj
py26-dap                       @2.2.6.7        python/py26-dap
py26-dateutil                  @1.4.1          python/py26-dateutil
py26-httplib2                  @2-0.5.0        python/py26-httplib2
py26-ipython                   @0.10           python/py26-ipython
py26-macholib                  @1.2            python/py26-macholib
py26-matplotlib                @0.99.0         python/py26-matplotlib
py26-matplotlib-basemap        @0.99.4         python/py26-matplotlib-basemap
py26-modulegraph-devel         @0.7.2          python/py26-modulegraph-devel
py26-nose                      @0.11.1         python/py26-nose
py26-numeric                   @24.2           python/py26-numeric
py26-numpy                     @1.3.0          python/py26-numpy
py26-py2app-devel              @0.4.2          python/py26-py2app-devel
py26-pyobjc2                   @2.0            python/py26-pyobjc2
py26-pyobjc2-cocoa             @2.0            python/py26-pyobjc2-cocoa
py26-scientific                @2.6.1          python/py26-scientific
py26-setuptools                @0.6c9          python/py26-setuptools
py26-tables                    @2.1.1          python/py26-tables
py26-tz                        @2009l          python/py26-tz
python26                       @2.6.2          lang/python26
python_select                  @0.3            sysutils/python_select
readline                       @6.0.000        devel/readline
serf                           @0.3.0          www/serf
sqlite3                        @3.6.18         databases/sqlite3
subversion                     @1.6.5          devel/subversion
SuiteSparse                    @3.4.0          math/SuiteSparse
szip                           @2.1            archivers/szip
tcl                            @8.5.6          lang/tcl
tk                             @8.5.6          x11/tk
Xft2                           @2.1.13         x11/Xft2
xorg-bigreqsproto              @1.1.0          x11/xorg-bigreqsproto
xorg-inputproto                @1.5.1          x11/xorg-inputproto
xorg-kbproto                   @1.0.3          x11/xorg-kbproto
xorg-libX11                    @1.2.2          x11/xorg-libX11
xorg-libXau                    @1.0.5          x11/xorg-libXau
xorg-libXdmcp                  @1.0.2          x11/xorg-libXdmcp
xorg-libXext                   @1.0.99.4       x11/xorg-libXext
xorg-libXScrnSaver             @1.2.0          x11/xorg-libXScrnSaver
xorg-renderproto               @0.11           x11/xorg-renderproto
xorg-scrnsaverproto            @1.2.0          x11/xorg-scrnsaverproto
xorg-util-macros               @1.2.2          x11/xorg-util-macros
xorg-xcmiscproto               @1.2.0          x11/xorg-xcmiscproto
xorg-xextproto                 @7.1.1          x11/xorg-xextproto
xorg-xf86bigfontproto          @1.2.0          x11/xorg-xf86bigfontproto
xorg-xproto                    @7.0.15         x11/xorg-xproto
xorg-xtrans                    @1.2.4          x11/xorg-xtrans
xrender                        @0.9.4          x11/xrender
zlib                           @1.2.3          archivers/zlib

Attachments (3)

error.txt (2.1 KB) - added by anand.prabhakar.patil@… 15 years ago.
env.txt (1.2 KB) - added by anand.prabhakar.patil@… 15 years ago.
Environment variables
installed.txt (5.6 KB) - added by anand.prabhakar.patil@… 15 years ago.
List of installed packages

Download all attachments as: .zip

Change History (8)

comment:1 Changed 15 years ago by anand.prabhakar.patil@…

Cc: anand.prabhakar.patil@… added

Cc Me!

comment:2 Changed 15 years ago by anand.prabhakar.patil@…

Ouch, sorry about the formatting. I'm attaching the error as a file.

Changed 15 years ago by anand.prabhakar.patil@…

Attachment: error.txt added

Changed 15 years ago by anand.prabhakar.patil@…

Attachment: env.txt added

Environment variables

Changed 15 years ago by anand.prabhakar.patil@…

Attachment: installed.txt added

List of installed packages

comment:3 Changed 15 years ago by cedric.foellmi@…

You should check existing tickets. Your problem is identical to #20816.

comment:4 Changed 15 years ago by anand.prabhakar.patil@…

You're right, this is a duplicate. Sorry about that.

comment:5 Changed 15 years ago by jmroot (Joshua Root)

Cc: anand.prabhakar.patil@… removed
Description: modified (diff)
Keywords: scipy gcc removed
Port: gcc43 added
Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.