ports/142743: [PATCH] devel/cross-binutils: installed by *-rtems-gcc(gdb) depedency is not portupgrade-able
Hiroto Kagotani
hiroto.kagotani at gmail.com
Tue Jan 12 11:20:04 UTC 2010
>Number: 142743
>Category: ports
>Synopsis: [PATCH] devel/cross-binutils: installed by *-rtems-gcc(gdb) depedency is not portupgrade-able
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Jan 12 11:20:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Hiroto Kagotani
>Release: FreeBSD 7.2-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD myhost.mydomain 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #13: Wed Jul 15 11:52:36 JST 2009
>Description:
Since *-rtems-binutils are built and installed in devel/cross-binutils
while installing *-rtems-gcc(and gdb), +CONTENTS file has an entry of:
@comment ORIGIN:devel/cross-binutils
.
This causes portupgrade cd to devel/cross-binutils and fail in building.
Port maintainer (stas at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
* Make sure devel/mips-rtems-binutils is not installed.
# cd devel/mips-rtems-gcc
# make install
# portupgrade devel/mips-rtems-binutils
succeeds, but
# portupgrade mips-rtems-binutils-2.20
fails with:
** Port marked as IGNORE: devel/cross-binutils:
you should define TGTARCH and TGTABI to build port
** Listing the failed packages (-:ignored / *:skipped / !:failed)
- devel/cross-binutils (marked as IGNORE)
>Fix:
The following patch avoids the problem but I'm not sure what this hack was.
--- cross-gcc-4.4.2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/cross-gcc.orig/Makefile /usr/ports/devel/cross-gcc/Makefile
--- /usr/ports/devel/cross-gcc.orig/Makefile 2009-12-16 10:21:10.000000000 +0900
+++ /usr/ports/devel/cross-gcc/Makefile 2010-01-12 19:25:50.000000000 +0900
@@ -26,17 +26,8 @@
LIB_DEPENDS= gmp.8:${PORTSDIR}/math/libgmp4 \
mpfr.3:${PORTSDIR}/math/mpfr
-#
-# Temporary hack to deal with dependencies during package builds for
-# slave ports.
-#
-.if defined(PACKAGE_BUILDING)
BUILD_DEPENDS= ${OURTARGET}-as:${PORTSDIR}/devel/${OURTARGET}-binutils
RUN_DEPENDS= ${OURTARGET}-as:${PORTSDIR}/devel/${OURTARGET}-binutils
-.else
-BUILD_DEPENDS= ${OURTARGET}-as:${PORTSDIR}/devel/cross-binutils
-RUN_DEPENDS= ${OURTARGET}-as:${PORTSDIR}/devel/cross-binutils
-.endif
USE_BZIP2= yes
USE_GMAKE= yes
--- cross-gcc-4.4.2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list