On Sun, Nov 14, 2021 at 11:17:13PM +0100, Theo Buehler wrote:
> This port failed to build in my last amd64 bulk.  Not sure how that's
> best handled (i.e., if and where the gsed dependency should be added)
> and if other gcc flavors have the same problem.
> 
> gsed was present at the start of the build and was removed while
> configuring zlib:
> 
> mkdir ./zlib
> Configuring in ./zlib
> [...]
> checking for a sed that does not truncate output... /usr/local/bin/gsed
> checking for grep that handles long lines and -e... /usr/bin/grep
> checking for egrep... /usr/bin/grep -E
> checking for fgrep... /usr/bin/grep -F
> checking for ld used by cc... 
> /tmp/pobj/xtensa-lx106-elf-gcc-10.2.0/gcc-10.2.0/zlib/configure[4583]: 
> /usr/local/bin/gsed: not found
> /usr/bin/ld
> 
> lots of '/usr/local/bin/gsed: not found' later the build failed.

Ok?

-- 

Tracey Emery

Index: gcc/Makefile
===================================================================
RCS file: /cvs/ports/devel/xtensa-lx106-elf/gcc/Makefile,v
retrieving revision 1.9
diff -u -p -u -r1.9 Makefile
--- gcc/Makefile        2 Nov 2021 00:01:12 -0000       1.9
+++ gcc/Makefile        15 Nov 2021 14:37:50 -0000
@@ -5,7 +5,7 @@ COMMENT =       gcc for ${CONFIG} cross-develo
 VERSION =      10.2.0
 DISTNAME =     gcc-${VERSION}
 PKGNAME =      ${CONFIG}-gcc-${VERSION}
-REVISION =     2
+REVISION =     3
 
 SHARED_LIBS +=  cc1plugin                 0.0 # 0.0
 SHARED_LIBS +=  cp1plugin                 0.0 # 0.0
@@ -46,7 +46,8 @@ MODULES =     lang/python
 
 BUILD_DEPENDS +=       devel/${CONFIG}/binutils \
                        devel/${CONFIG}/newlib \
-                       lang/gawk
+                       lang/gawk \
+                       textproc/gsed
 RUN_DEPENDS =          devel/${CONFIG}/binutils \
                        devel/${CONFIG}/newlib
 LIB_DEPENDS =          devel/gmp \

Reply via email to