From owner-freebsd-questions@FreeBSD.ORG Tue Oct 27 11:28:52 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C24FE106566C for ; Tue, 27 Oct 2009 11:28:52 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by mx1.freebsd.org (Postfix) with ESMTP id 4E98D8FC12 for ; Tue, 27 Oct 2009 11:28:52 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 9so9904eyd.9 for ; Tue, 27 Oct 2009 04:28:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=QfPK5AQywhSrTT2AjXy3/p88987p2BSfkl/+v89yqGI=; b=Il2fccYWgz0qkrFQCezrzfjGBxPSpcj8Somy5Q4B59DSd3asPfmX1gi37Wxq6uB8aR wDPwXJb0udg30FH5D6vpfGVNEFc01M5pixifg6KHub3113oRZij5fqBjwVea3+AUUscZ I8TpIz/5Y/GzTLc5N+OMMCqsUhzAfBQjLDUKI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=t/EnxeXEeVow2CoTZR/Yd1Ku8PVxJf8xVsYd5sdIwW9WQtH5DeAmasuEVSFMUs2VLs HUG9eSr/OVtak4g1+rsGwjcV97VtzsOvOHeHe2GERY0wVi4G9oOo0Em5cJBwQ7KARWjS gwtlFJFgYToCqSF9eUc2d6JNRyMOVdW4zh0PA= MIME-Version: 1.0 Received: by 10.216.88.137 with SMTP id a9mr5366435wef.119.1256642931372; Tue, 27 Oct 2009 04:28:51 -0700 (PDT) Date: Tue, 27 Oct 2009 11:28:51 +0000 Message-ID: From: "b. f." To: Scott Bennett Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@FreeBSD.org Subject: Re: lang/gcc43 and lang/gcc44 installation procedures broken after updates X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Oct 2009 11:28:52 -0000 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. > >=3D=3D=3D>>> Starting check for runtime dependencies >=3D=3D=3D>>> Gathering dependency list for lang/gcc43 from ports >=3D=3D=3D>>> Starting dependency check >=3D=3D=3D>>> Checking dependency: converters/libiconv >=3D=3D=3D>>> Checking dependency: math/libgmp4 >=3D=3D=3D>>> Checking dependency: math/mpfr >=3D=3D=3D>>> 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? b. >install-info --quiet /usr/local/info/gcc43/cpp.info /usr/local/info/dir >install-info: No such file or directory for /usr/local/info/gcc43/cpp.info >*** 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/gcc4= 3 -type d | /usr/bin/sort -r | /usr/bin/sed -e 's/^/@dirrm /g' >>/usr/port= s/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 -ty= pe f -o -type l >>/usr/ports/lang/gcc43/work/PLIST.lib ; /usr/bin/find incl= ude/gcj -type d | /usr/bin/sort -r | /usr/bin/sed -e 's/^/@dirrm /g' >>/us= r/ports/lang/gcc43/work/PLIST.lib ; fi >cd /usr/local ; if [ -d include/gnu ]; then /usr/bin/find include/gnu -ty= pe f -o -type l >>/usr/ports/lang/gcc43/work/PLIST.lib ; /usr/bin/find incl= ude/gnu -type d | /usr/bin/sort -r | /usr/bin/sed -e 's/^/@dirrm /g' >>/us= r/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 in= clude/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.li= b" /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/libdecnumbe= r' >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/l= ibexec/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-t= ools >/bin/sh .././../gcc-4.3-20091004/fixincludes/../mkinstalldirs /usr/local/l= ib/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-portbl= d-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/READ= ME-fixinc \ > /usr/local/lib/gcc43/gcc/i386-portbld-freebsd7.2/4.3.5/install-t= ools/include/README >install -o root -g wheel -m 555 fixinc.sh /usr/local/libexec/gcc43/gcc/i3= 86-portbld-freebsd7.2/4.3.5/install-tools/fixinc.sh >install -s -o root -g wheel -m 555 fixincl \ > /usr/local/libexec/gcc43/gcc/i386-portbld-freebsd7.2/4.3.5/insta= ll-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++//gn= u/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 > >=3D=3D=3D>>> A backup package for gcc-4.3.5.20090913 should > be located in /usr/ports/packages/portmaster-backup > >=3D=3D=3D>>> Installation of gcc-4.3.5.20091004 (lang/gcc43) failed >=3D=3D=3D>>> Aborting update > >=3D=3D=3D>>> Update for gcc-4.3.5.20090913 failed >=3D=3D=3D>>> Aborting update