lang/gcc43 and lang/gcc44 installation procedures broken after updates

b. f. bf1783 at
Tue Oct 27 11:28:52 UTC 2009

Scott Bennet wrote:

There haven't been much changes in the infrastructure of these two
ports recently, so any problems are probably arising from changes in
the distfiles, or problems in your base system or the ports that are
used to build and install lang/gcc4X.

>===>>> Starting check for runtime dependencies
>===>>> Gathering dependency list for lang/gcc43 from ports
>===>>> Starting dependency check
>===>>> Checking dependency: converters/libiconv
>===>>> Checking dependency: math/libgmp4
>===>>> Checking dependency: math/mpfr
>===>>> Dependency check complete for lang/gcc43

>/bin/rm -f /usr/local/man/man7/fsf-funding.7  /usr/local/man/man7/gfdl.7 /usr/local/man/man7/gpl.7

Something is very wrong here.  portmaster should now be running 'make
install', but the build transcript shows messages of the post-install
target first, and then messages of the do-install target afterwards.
Obviously this is going to lead to problems if it represents the true
order in which commands were executed.  Did you mangle the transcript,
or does it faithfully represent the order in which things occurred?
If the latter, are you running a parallel build?  If so, don't.  Try
starting from scratch, using only a single make job at any given time.
Start from a clean WRKDIR, and remove portmaster from consideration,
by using a simple 'make deinstall clean install' (backup your existing
lang/gcc4X installation first if you so desire with 'pkg_create -b'.)
What happens?


>install-info --quiet /usr/local/info/gcc43/ /usr/local/info/dir
>install-info: No such file or directory for /usr/local/info/gcc43/
>*** Error code 1
>/bin/rm -f /usr/local/lib/gcc43/*.la
># Add target libraries and include files to packaging list.
>/bin/rm -f /usr/ports/lang/gcc43/work/PLIST.lib
>cd /usr/local ; if [ -d lib/gcc43 ]; then  /usr/bin/find lib/gcc43 -type f -o -type l >>/usr/ports/lang/gcc43/work/PLIST.lib ; /usr/bin/find lib/gcc43 -type d | /usr/bin/sort -r  | /usr/bin/sed -e 's/^/@dirrm /g' >>/usr/ports/lang/gcc43/work/PLIST.lib ; fi
>cd /usr/local ; if [ -d libexec/gcc43 ]; then  /usr/bin/find libexec/gcc43 -type f -o -type l >>/usr/ports/lang/gcc43/work/PLIST.lib ; /usr/bin/find libexec/gcc43 -type d | /usr/bin/sort -r  | /usr/bin/sed -e 's/^/@dirrm /g' >>/usr/ports/lang/gcc43/work/PLIST.lib ; fi
>cd /usr/local ; if [ -d include/gcj ]; then  /usr/bin/find include/gcj -type f -o -type l >>/usr/ports/lang/gcc43/work/PLIST.lib ; /usr/bin/find include/gcj -type d | /usr/bin/sort -r  | /usr/bin/sed -e 's/^/@dirrm /g' >>/usr/ports/lang/gcc43/work/PLIST.lib ; fi
>cd /usr/local ; if [ -d include/gnu ]; then  /usr/bin/find include/gnu -type f -o -type l >>/usr/ports/lang/gcc43/work/PLIST.lib ; /usr/bin/find include/gnu -type d | /usr/bin/sort -r  | /usr/bin/sed -e 's/^/@dirrm /g' >>/usr/ports/lang/gcc43/work/PLIST.lib ; fi
>cd /usr/local ; if [ -d include/java ]; then  /usr/bin/find include/java -type f -o -type l >>/usr/ports/lang/gcc43/work/PLIST.lib ; /usr/bin/find include/java -type d | /usr/bin/sort -r  | /usr/bin/sed -e 's/^/@dirrm /g' >>/usr/ports/lang/gcc43/work/PLIST.lib ; fi
>cd /usr/local ; if [ -d include/javax ]; then  /usr/bin/find include/javax -type f -o -type l >>/usr/ports/lang/gcc43/work/PLIST.lib ; /usr/bin/find include/javax -type d | /usr/bin/sort -r  | /usr/bin/sed -e 's/^/@dirrm /g' >>/usr/ports/lang/gcc43/work/PLIST.lib ; fi
>cd /usr/ports/lang/gcc43/work ; /usr/bin/sed -i -e "/PLIST.lib/ r PLIST.lib" /usr/ports/lang/gcc43/work/.PLIST.mktmp
>sed: /usr/ports/lang/gcc43/work/.PLIST.mktmp: No such file or directory
>*** Error code 1
>gmake[1]: Entering directory `/usr/ports/lang/gcc43/work/build'
>/bin/sh ./../gcc-4.3-20091004/mkinstalldirs /usr/local /usr/local
>gmake[2]: Entering directory `/usr/ports/lang/gcc43/work/build/libdecnumber'
>gmake[2]: Nothing to be done for `install'.
>gmake[2]: Leaving directory `/usr/ports/lang/gcc43/work/build/libdecnumber'
>gmake[2]: Entering directory `/usr/ports/lang/gcc43/work/build/intl'
>gmake[2]: Nothing to be done for `install'.
>gmake[2]: Leaving directory `/usr/ports/lang/gcc43/work/build/intl'
>gmake[2]: Entering directory `/usr/ports/lang/gcc43/work/build/fixincludes'
>rm -rf /usr/local/libexec/gcc43/gcc/i386-portbld-freebsd7.2/4.3.5/install-tools
>/bin/sh .././../gcc-4.3-20091004/fixincludes/../mkinstalldirs /usr/local/libexec/gcc43/gcc/i386-portbld-freebsd7.2/4.3.5/install-tools
>mkdir /usr/local/libexec/gcc43
>mkdir /usr/local/libexec/gcc43/gcc
>mkdir /usr/local/libexec/gcc43/gcc/i386-portbld-freebsd7.2
>mkdir /usr/local/libexec/gcc43/gcc/i386-portbld-freebsd7.2/4.3.5
>mkdir /usr/local/libexec/gcc43/gcc/i386-portbld-freebsd7.2/4.3.5/install-tools
>/bin/sh .././../gcc-4.3-20091004/fixincludes/../mkinstalldirs /usr/local/lib/gcc43/gcc/i386-portbld-freebsd7.2/4.3.5/install-tools/include
>mkdir /usr/local/lib/gcc43
>mkdir /usr/local/lib/gcc43/gcc
>gmake[2]: Entering directory `/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd7.2/libstdc++-v3'
>Making install in include
>mkdir /usr/local/lib/gcc43/gcc/i386-portbld-freebsd7.2
>mkdir /usr/local/lib/gcc43/gcc/i386-portbld-freebsd7.2/4.3.5
>mkdir /usr/local/lib/gcc43/gcc/i386-portbld-freebsd7.2/4.3.5/install-tools
>mkdir /usr/local/lib/gcc43/gcc/i386-portbld-freebsd7.2/4.3.5/install-tools/include
>install  -o root -g wheel -m 444 .././../gcc-4.3-20091004/fixincludes/README-fixinc \
>          /usr/local/lib/gcc43/gcc/i386-portbld-freebsd7.2/4.3.5/install-tools/include/README
>install  -o root -g wheel -m 555 /usr/local/libexec/gcc43/gcc/i386-portbld-freebsd7.2/4.3.5/install-tools/
>install  -s -o root -g wheel -m 555 fixincl \
>          /usr/local/libexec/gcc43/gcc/i386-portbld-freebsd7.2/4.3.5/install-tools/fixincl
>gmake[2]: Entering directory `/usr/ports/lang/gcc43/work/build/libiberty'
>gmake[2]: Entering directory `/usr/ports/lang/gcc43/work/build/libcpp'
>     [many, many non-problematic messages omitted  --SB]
>install  -o root -g wheel -m 444 ../.././../gcc-4.3-20091004/libjava/'gnu/java/net/PlainSocketImpl$SocketOutputStream.h' /usr/local/lib/gcc43/include/c++//gnu/java/net/
>install  -o root -g wheel -m 444 ../.././../gcc-4.3-20091004/libjava/'gnu/java/nio/PipeImpl$SinkChannelImpl.h' /usr/local/lib/gcc43/include/c++//gnu/java/nio/
>install  -o root -g wheel -m 444 ../.././../gcc-4.3-20091004/libjava/'gnu/java/nio/PipeImpl$SourceChannelImpl.h' /usr/local/lib/gcc43/include/c++//gnu/java/nio/
>gmake[4]: Leaving directory `/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd7.2/libjava'
>gmake[3]: Leaving directory `/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd7.2/libjava'
>gmake[2]: Leaving directory `/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd7.2/libjava'
>gmake[1]: Leaving directory `/usr/ports/lang/gcc43/work/build'
>2 errors
>===>>> A backup package for gcc- should
>       be located in /usr/ports/packages/portmaster-backup
>===>>> Installation of gcc- (lang/gcc43) failed
>===>>> Aborting update
>===>>> Update for gcc- failed
>===>>> Aborting update

More information about the freebsd-questions mailing list