Opened 14 years ago

Closed 14 years ago

#24488 closed defect (worksforme)

G95 upgrade to 0.92_0 fails

Reported by: dershow Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: g95

Description

I have g95 0.91_3 installed and the upgrade to 0.92_0 fails.

Here is the error that I get:

--->  Computing dependencies for g95
--->  Configuring g95
Error: Target org.macports.configure returned: shell command "export CC="/usr/bin/gcc-4.2";  export CPPFLAGS="-I/opt/local/include";  export CFLAGS="-O2 -arch x86_64";  export CFLAGS_FOR_BUILD="-O2 -arch x86_64";  export CFLAGS_FOR_TARGET="-O2";  export LDFLAGS="-L/opt/local/lib -arch x86_64";  cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_g95/work/gcc-4.2.4/g95;  ../configure --prefix=/opt/local/lib/g95/x86_64-apple-darwin10/4.2.4  --enable-languages=c  --disable-multilib  --with-included-gettext  --with-libiconv=/opt/local  --libdir=/opt/local/lib/g95  --with-as=/usr/bin/as --with-ld=/usr/bin/ld --with-nm=/usr/bin/nm --build=x86_64-apple-darwin10 --host=x86_64-apple-darwin10;  make" returned error 2
Command output: 		makeinfo --split-size=5000000 --split-size=5000000 --split-size=5000000 --no-split -I . -I ../../gcc/doc \
			-I ../../gcc/doc/include -o doc/gcc.info ../../gcc/doc/gcc.texi; \
	fi
if [ xinfo = xinfo ]; then \
		makeinfo --split-size=5000000 --split-size=5000000 --split-size=5000000 --no-split -I . -I ../../gcc/doc \
			-I ../../gcc/doc/include -o doc/gccint.info ../../gcc/doc/gccint.texi; \
	fi
if [ xinfo = xinfo ]; then \
		makeinfo --split-size=5000000 --split-size=5000000 --split-size=5000000 --no-split -I ../../gcc/doc \
			-I ../../gcc/doc/include -o doc/gccinstall.info ../../gcc/doc/install.texi; \
	fi
if [ xinfo = xinfo ]; then \
		makeinfo --split-size=5000000 --split-size=5000000 --split-size=5000000 --no-split -I . -I ../../gcc/doc \
			-I ../../gcc/doc/include -o doc/cppinternals.info ../../gcc/doc/cppinternals.texi; \
	fi
echo timestamp > gpl.pod
perl ../../gcc/../contrib/texi2pod.pl ../../gcc/doc/include/gpl_v3.texi > gpl.pod
echo timestamp > doc/gpl.7
(pod2man --center="GNU" --release="gcc-4.2.4" --section=7 gpl.pod > doc/gpl.7.T$$ && \
		mv -f doc/gpl.7.T$$ doc/gpl.7) || \
		(rm -f doc/gpl.7.T$$ && exit 1)
make "DESTDIR=" "RPATH_ENVVAR=DYLD_LIBRARY_PATH" "TARGET_SUBDIR=x86_64-apple-darwin10" "bindir=/opt/local/lib/g95/x86_64-apple-darwin10/4.2.4/bin" "datadir=/opt/local/lib/g95/x86_64-apple-darwin10/4.2.4/share" "exec_prefix=/opt/local/lib/g95/x86_64-apple-darwin10/4.2.4" "includedir=/opt/local/lib/g95/x86_64-apple-darwin10/4.2.4/include" "datarootdir=/opt/local/lib/g95/x86_64-apple-darwin10/4.2.4/share" "docdir=/opt/local/lib/g95/x86_64-apple-darwin10/4.2.4/share/doc" "infodir=/opt/local/lib/g95/x86_64-apple-darwin10/4.2.4/info" "htmldir=/opt/local/lib/g95/x86_64-apple-darwin10/4.2.4/share/doc" "libdir=/opt/local/lib/g95" "libexecdir=/opt/local/lib/g95/x86_64-apple-darwin10/4.2.4/libexec" "lispdir=" "localstatedir=/opt/local/lib/g95/x86_64-apple-darwin10/4.2.4/var" "mandir=/opt/local/lib/g95/x86_64-apple-darwin10/4.2.4/man" "oldincludedir=/usr/include" "prefix=/opt/local/lib/g95/x86_64-apple-darwin10/4.2.4" "sbindir=/opt/local/lib/g95/x86_64-apple-darwin10/4.2.4/sbin" "sharedstatedir=/opt/local/lib/g95/x86_64-apple-darwin10/4.2.4/com" "sysconfdir=/opt/local/lib/g95/x86_64-apple-darwin10/4.2.4/etc" "tooldir=/opt/local/lib/g95/x86_64-apple-darwin10/4.2.4/x86_64-apple-darwin10" "build_tooldir=/opt/local/lib/g95/x86_64-apple-darwin10/4.2.4/x86_64-apple-darwin10" "target_alias=x86_64-apple-darwin10" "BISON=bison" "CC_FOR_BUILD=/usr/bin/gcc-4.2" "CFLAGS_FOR_BUILD=-O2 -arch x86_64" "CXX_FOR_BUILD=c++" "EXPECT=expect" "FLEX=flex" "INSTALL=/opt/local/bin/ginstall -c" "INSTALL_DATA=/opt/local/bin/ginstall -c -m 644" "INSTALL_PROGRAM=/opt/local/bin/ginstall -c" "INSTALL_SCRIPT=/opt/local/bin/ginstall -c" "LEX=flex" "M4=gm4" "MAKE=make" "RUNTEST=runtest" "RUNTESTFLAGS=" "SHELL=/bin/sh" "YACC=bison -y" "`echo 'ADAFLAGS=' | sed -e s'/[^=][^=]*=$/XFOO=/'`" "AR_FLAGS=rc" "`echo 'BOOT_ADAFLAGS=' | sed -e s'/[^=][^=]*=$/XFOO=/'`" "BOOT_CFLAGS=-g -O2" "BOOT_LDFLAGS=" "CFLAGS=-O2 -arch x86_64" "CXXFLAGS=-g -O2" "LDFLAGS=" "LIBCFLAGS=-O2 -arch x86_64" "LIBCXXFLAGS=-g -O2 -fno-implicit-templates" "STAGE1_CFLAGS=-O2 -arch x86_64 -g -fkeep-inline-functions" "STAGE1_CHECKING=--enable-checking" "STAGE1_LANGUAGES=c" "AR_FOR_TARGET=ar" "AS_FOR_TARGET=as" "CC_FOR_TARGET=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_g95/work/gcc-4.2.4/g95/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_g95/work/gcc-4.2.4/g95/./gcc/ -B/opt/local/lib/g95/x86_64-apple-darwin10/4.2.4/x86_64-apple-darwin10/bin/ -B/opt/local/lib/g95/x86_64-apple-darwin10/4.2.4/x86_64-apple-darwin10/lib/ -isystem /opt/local/lib/g95/x86_64-apple-darwin10/4.2.4/x86_64-apple-darwin10/include -isystem /opt/local/lib/g95/x86_64-apple-darwin10/4.2.4/x86_64-apple-darwin10/sys-include" "CFLAGS_FOR_TARGET=-O2 " "CPPFLAGS_FOR_TARGET=" "CXX_FOR_TARGET=c++ -B/opt/local/lib/g95/x86_64-apple-darwin10/4.2.4/x86_64-apple-darwin10/bin/ -B/opt/local/lib/g95/x86_64-apple-darwin10/4.2.4/x86_64-apple-darwin10/lib/ -isystem /opt/local/lib/g95/x86_64-apple-darwin10/4.2.4/x86_64-apple-darwin10/include -isystem /opt/local/lib/g95/x86_64-apple-darwin10/4.2.4/x86_64-apple-darwin10/sys-include" "CXXFLAGS_FOR_TARGET=-g -O2 " "DLLTOOL_FOR_TARGET=dlltool" "GCJ_FOR_TARGET=-B/opt/local/lib/g95/x86_64-apple-darwin10/4.2.4/x86_64-apple-darwin10/bin/ -B/opt/local/lib/g95/x86_64-apple-darwin10/4.2.4/x86_64-apple-darwin10/lib/ -isystem /opt/local/lib/g95/x86_64-apple-darwin10/4.2.4/x86_64-apple-darwin10/include -isystem /opt/local/lib/g95/x86_64-apple-darwin10/4.2.4/x86_64-apple-darwin10/sys-include" "GFORTRAN_FOR_TARGET=-B/opt/local/lib/g95/x86_64-apple-darwin10/4.2.4/x86_64-apple-darwin10/bin/ -B/opt/local/lib/g95/x86_64-apple-darwin10/4.2.4/x86_64-apple-darwin10/lib/ -isystem /opt/local/lib/g95/x86_64-apple-darwin10/4.2.4/x86_64-apple-darwin10/include -isystem /opt/local/lib/g95/x86_64-apple-darwin10/4.2.4/x86_64-apple-darwin10/sys-include" "LD_FOR_TARGET=/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld" "LIPO_FOR_TARGET=lipo" "LDFLAGS_FOR_TARGET=" "LIBCFLAGS_FOR_TARGET=-O2 " "LIBCXXFLAGS_FOR_TARGET=-g -O2  -fno-implicit-templates" "NM_FOR_TARGET=nm" "OBJDUMP_FOR_TARGET=objdump" "RANLIB_FOR_TARGET=ranlib -c" "STRIP_FOR_TARGET=strip" "WINDRES_FOR_TARGET=windres" "`echo 'LANGUAGES=' | sed -e s'/[^=][^=]*=$/XFOO=/'`" "LEAN=false" "CONFIG_SHELL=/bin/sh" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000"  compare
rm -f stage_current
Comparing stages 2 and 3
warning: ./cc1-checksum.o differs
Bootstrap comparison failure!
./gcc.o differs
make[2]: *** [compare] Error 1
make[1]: *** [stage3-bubble] Error 2
make: *** [all] Error 2

Error: Unable to upgrade port: 1

I am running on a MacBookPro with 10.6.3

Thanks much.

Attachments (1)

g95_config.log (5.6 KB) - added by dershow 14 years ago.
My config.log

Download all attachments as: .zip

Change History (5)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Cc: takeshi@… removed
Owner: changed from macports-tickets@… to takeshi@…

comment:2 Changed 14 years ago by tenomoto (Takeshi Enomoto)

I tested the updated version on various platforms including i386 and x86_64 Snow Leopard. In particular I built g95 on x86_64 Snow Leopard on three machines without any problems. The build process of g95 is composed of gcc, g95 and libg95. It seems that the build has been stalled in gcc. I did not change much except that I added -disable-multilib to configure option and added configure.cc_archflags. I need more info. Could you

sudo port -d clean g95
sudo port -d configure g95

and attach the log and work/gcc-4.2.4/g95/configure.log?

Changed 14 years ago by dershow

Attachment: g95_config.log added

My config.log

comment:3 Changed 14 years ago by dershow

But, after posting the above config, I then tried to do the upgrade again and it seemed to work fine this time! I guess something broke in the first build and just doing the clean, solved it. Sorry for not trying that first. Thanks for the help.

comment:4 Changed 14 years ago by tenomoto (Takeshi Enomoto)

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.