On 2021/09/05 23:38, Kevin Lo wrote:
> CVSROOT:      /cvs
> Module name:  ports
> Changes by:   [email protected]   2021/09/05 23:38:57
> 
> Modified files:
>       math/openfst   : Makefile distinfo 
>       math/openfst/pkg: PLIST 
> Added files:
>       math/openfst/patches: patch-configure 
> 
> Log message:
> Update to 1.8.1
> 
> ok bentley@
> 

Fails on i386: build output inline, config.log attached.

>>> Building on localhost under math/openfst
         DIST = [math/openfst:openfst-1.8.1.tar.gz]
         FULLPKGNAME = openfst-1.8.1
distfiles size=1333532
>>> Running patch in math/openfst at 1631286492.02
===> math/openfst
===>  Verifying specs:  c m c++ c++abi pthread
===>  found c.96.1 m.10.1 c++.8.0 c++abi.5.0 pthread.26.1
===>  Checking files for openfst-1.8.1
`/mnt/distfiles/openfst-1.8.1.tar.gz' is up to date.
>> (SHA256) openfst-1.8.1.tar.gz: OK
===>  Extracting for openfst-1.8.1
===>  Patching for openfst-1.8.1
===>   Applying OpenBSD patch patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$OpenBSD: patch-configure,v 1.1 2021/09/06 05:38:57 kevlo Exp $
|
|Index: configure
|--- configure.orig
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 12125.
Hunk #2 succeeded at 12168.
Hunk #3 succeeded at 12246.
Hunk #4 succeeded at 16915.
Hunk #5 succeeded at 16946.
done
===>  Compiler link: clang -> /usr/bin/clang
===>  Compiler link: clang++ -> /usr/bin/clang++
===>  Compiler link: cc -> /usr/bin/cc
===>  Compiler link: c++ -> /usr/bin/c++
>>> Running configure in math/openfst at 1631286492.35
===> math/openfst
===>  Generating configure for openfst-1.8.1
===>  Configuring for openfst-1.8.1
Using /pobj/openfst-1.8.1/config.site (generated)
configure: WARNING: unrecognized options: --disable-gtk-doc
configure: loading site script /pobj/openfst-1.8.1/config.site
checking for a BSD-compatible install... /pobj/openfst-1.8.1/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... mkdir -p
checking for gawk... (cached) awk
checking whether make sets $(MAKE)... (cached) yes
checking whether make supports nested variables... yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking dependency style of cc... gcc3
checking for ar... (cached) ar
checking the archiver (ar) interface... ar
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking dependency style of c++... gcc3
checking build system type... i386-unknown-openbsd7.0
checking host system type... i386-unknown-openbsd7.0
checking how to print strings... print -r
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... (cached) /usr/bin/fgrep
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 131072
checking how to convert i386-unknown-openbsd7.0 file names to 
i386-unknown-openbsd7.0 format... func_convert_file_noop
checking how to convert i386-unknown-openbsd7.0 file names to toolchain 
format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... match_pattern 
/lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$
checking for dlltool... no
checking how to associate runtime and link libraries... print -r --
checking for archiver @FILE support... @
checking for strip... (cached) strip
checking for ranlib... (cached) ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... openbsd7.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... c++ -std=c++17 -fno-exceptions 
-Wno-deprecated-declarations -E
checking for ld used by c++ -std=c++17 -fno-exceptions 
-Wno-deprecated-declarations... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the c++ -std=c++17 -fno-exceptions 
-Wno-deprecated-declarations linker (/usr/bin/ld) supports shared libraries... 
error: invalid argument '-std=c++17' not allowed with 'C'
yes
checking for c++ -std=c++17 -fno-exceptions -Wno-deprecated-declarations option 
to produce PIC... -fPIC -DPIC
checking if c++ -std=c++17 -fno-exceptions -Wno-deprecated-declarations PIC 
flag -fPIC -DPIC works... yes
checking if c++ -std=c++17 -fno-exceptions -Wno-deprecated-declarations static 
flag -static works... yes
checking if c++ -std=c++17 -fno-exceptions -Wno-deprecated-declarations 
supports -c -o file.o... yes
checking if c++ -std=c++17 -fno-exceptions -Wno-deprecated-declarations 
supports -c -o file.o... (cached) yes
checking whether the c++ -std=c++17 -fno-exceptions 
-Wno-deprecated-declarations linker (/usr/bin/ld) supports shared libraries... 
yes
checking dynamic linker characteristics... error: invalid argument '-std=c++17' 
not allowed with 'C'
openbsd7.0 ld.so
checking how to hardcode library paths into programs... immediate
float FAIL
configure: error: in `/pobj/openfst-1.8.1/openfst-1.8.1':
configure: error: Test float equality failed! Compile with -msse -mfpmath=sse 
if using g++.
See `config.log' for more details
*** Error 1 in math/openfst (/usr/ports/infrastructure/mk/bsd.port.mk:2917 
'do-configure': @for d in /pobj/openfst-1.8.1/openfst-1.8.1;  do ...)
*** Error 2 in math/openfst (/usr/ports/infrastructure/mk/bsd.port.mk:2937 
'/pobj/openfst-1.8.1/.configure_done': @cd /usr/ports/math/openfs...)
*** Error 2 in math/openfst (/usr/ports/infrastructure/mk/bsd.port.mk:2602 
'configure': @lock=openfst-1.8.1;  export _LOCKS_HELD=" openfst-1...)
===> Exiting math/openfst with an error
*** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:137 
'configure': @: ${echo_msg:=echo};  : ${target:=configure};  for i in ; ...)
>>> Ended at 1631286495.53
max_stuck=0.00/patch=0.33/configure=3.19
Error: job failed with 512 on localhost at 1631286495

Attachment: config.log.gz
Description: application/gunzip

Reply via email to