You are not logged in.

#1 2017-11-19 14:16:31

GordonGR
Member
From: Thessaloniki, Greece
Registered: 2011-11-07
Posts: 276

[SOLVED] configure: error: unrecognized option: `-m32'

Hello.

I am the maintainer of lib32-fribidi in AUR. Recently I was informed that the source URL had changed and that upstream added a bootstrap script that creates the configure script, and therefore must be run before it. So, I downloaded the recommended new PKGBUILD and ran it. The changes between the old PKGBUILD and the new are just the two above, as you can see.

The result is:
https://pastebin.com/0nA1Xpmw
The config log is:
https://pastebin.com/ZwBdVsVw

I can build every other lib32- package properly, it's just this one. And even this one used to be built before now.

Last edited by GordonGR (2017-11-28 16:23:16)


Intel(R) Celeron(R) CPU E3400 @ 2.60GHz, x86_64. AURs.

“No one without the knowledge of geometry may enter.“ Plato.

Offline

#2 2017-11-19 16:07:20

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,842
Website

Re: [SOLVED] configure: error: unrecognized option: `-m32'

Mod note: moving to AUR issues


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2017-11-20 04:38:51

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [SOLVED] configure: error: unrecognized option: `-m32'

According to the source repository, that bootstrap script is 12 years old. And I can believe that, considering how horrible it is.

What they actually meant is that upstream no longer provides dist tarballs, therefore your only option is to use the VCS tagged snapshot directly. But instead of using that gross bootstrap script, you should run `autoreconf -i` since as far as I can tell the bootstrap script is not doing anything worthy of a special script.

As for your error, "configure: error: unrecognized option: `-m32'" is odd since -m32 should not be being passed to configure at all, it is a gcc flag indicating that gcc-multilib should compile code in 32-bit mode.


I have no idea why it would do that,  you could try temporarily modifying the PKGBUILD to run `bash -x configure` instead of `./configure` in order to get a lot more information about commands are being run inside the script.
On the other hand, given that this is somehow only different as a result of your using the bootstrap script, I would bet that running autoreconf instead would fix the problem. It is shocking how many problems with autotools are caused by lousy bootstrap scripts which do weird things like automatically run configure with strange options.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#4 2017-11-26 15:12:37

GordonGR
Member
From: Thessaloniki, Greece
Registered: 2011-11-07
Posts: 276

Re: [SOLVED] configure: error: unrecognized option: `-m32'

Thank you for your help, Eschwartz, but alas it didn't help.

So I tried to dumb it down and try to build a proper x86_64 binary, without an -m32 argument, to see what happens. I commented out all EXPORT commands and let the PKGBUILD to a minimum or autoreconf, configure and make:
try this:

build() {
#export CC='gcc -m32 -march=i686'
#export CXX='g++ -m32 -march=i686'
#export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
#export CFLAGS="-march=i386"
  
cd ${_pkgname}-${pkgver}
NOCONFIGURE=1 autoreconf -i
./configure
# --prefix=/usr --libdir=/usr/lib32
#sed -i 's/host_cpu\=\"\${host\%\%-\*}\"/host_cpu\="i386"/' configure
make
}

It fails! Build log and config log attached. I don't understand!


Intel(R) Celeron(R) CPU E3400 @ 2.60GHz, x86_64. AURs.

“No one without the knowledge of geometry may enter.“ Plato.

Offline

#5 2017-11-26 21:12:08

loqs
Member
Registered: 2014-03-06
Posts: 17,315

Re: [SOLVED] configure: error: unrecognized option: `-m32'

Try removing $DASHDASHFLAGS from bootstrap line 152.
Edit:
The Makefile is also breaks when running multiple jobs in parrallel

# Contributor: jospehgbr <rafael.f.f1@gmail.com>
# Maintainer: GordonGR <ntheo1979@gmail.com>

_pkgname=fribidi
pkgname=lib32-${_pkgname}
pkgver=0.19.7
pkgrel=1
pkgdesc="A Free Implementation of the Unicode Bidirectional Algorithm (32 bit)"
arch=('x86_64')
license=('LGPL')
url="http://fribidi.org"
#depends=('lib32-glib2' "${_pkgname}")
source=("https://github.com/fribidi/fribidi/archive/${pkgver}.tar.gz")
md5sums=('dbe2f2bf3ba0307d75885b21d6cceb2c')
options=('!makeflags')

prepare() {
  cd ${_pkgname}-${pkgver}
  sed -i 's|$CONFIGUREFLAGS $DASHDASHFLAGS $EXTRA_CONFIGUREFLAGS|$CONFIGUREFLAGS $EXTRA_CONFIGUREFLAGS|g' bootstrap
}

build() {
#export CC='gcc -m32'
#export CXX='g++ -m32'
#export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
  cd ${_pkgname}-${pkgver}
#./bootstrap
  autoreconf -i
  ./configure
  make
}

package() {
  make -C ${_pkgname}-${pkgver} DESTDIR="${pkgdir}" install
  rm -rf "${pkgdir}"/usr/{bin,include,share}
}

Last edited by loqs (2017-11-26 22:00:46)

Offline

#6 2017-11-26 23:21:05

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [SOLVED] configure: error: unrecognized option: `-m32'

Or... just use autoconf. That bootstrap script is an abomination and should not be used. We're not responsible for solving error messages that come from ignoring our advice to not user that bootstrap script.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#7 2017-11-26 23:36:35

loqs
Member
Registered: 2014-03-06
Posts: 17,315

Re: [SOLVED] configure: error: unrecognized option: `-m32'

Eschwartz wrote:

Or... just use autoconf. That bootstrap script is an abomination and should not be used. We're not responsible for solving error messages that come from ignoring our advice to not user that bootstrap script.

The PKGBUILD I posted is not calling that boostrap script it is called internally by configure which calls libtool which calls make which calls bootstrap
You could delete it instead I tried that before but the parrallell build issue made it seem as though that was not viable.

make[1]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/lib'
  GEN      .gitignore
/bin/sh: line 76: ./bootstrap: No such file or directory

Certainly Eschwartz would welcome a better solution that alters the Makefiles to not call bootstrap.
Edit:
Or Eschwartz you have built the package successfully without deleteing the bootstrap script or amending it if so please post that PKGBUILD?

Last edited by loqs (2017-11-26 23:38:27)

Offline

#8 2017-11-26 23:57:52

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [SOLVED] configure: error: unrecognized option: `-m32'

I haven't  dared try it, but I don't see anywhere when searching their github that indicates Makefile.am tries to reinvoke bootstrap. If they do that is so messed up it's beyond belief. I suggest at this point telling upstream how much they suck and asking them to fix it.

If you cannot use bootstrap without choking to death on badly sanitized environment variables that bootstrap should never have cared about, and you cannot *not* use bootstrap because their build system somehow magically reinvokes it/configure when it shouldn't, and adds insult to injury by *again* choking to death on badly sanitized environment variables it should never have cared about, then this is officially such an upstream problem it hurts.
Although I think it is actually ./configure that is reinvoking itself with badly sanitized CFLAGS (something that AFAIK other projects manage just fine...). Which raises the question, if ./configure has just successfully run, what screwed-up rules are causing it to re-run itself immediately after?

But my eyes start bleeding whenever I look at autotools. It is possible the streaming blood made me miss something.

...

/bin/sh ./config.status --recheck
running CONFIG_SHELL=/bin/sh /bin/sh ./configure CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now CPPFLAGS=-D_FORTIFY_SOURCE=2 --no-create --no-recursion

This is key. I still don't understand why the log seems to be implying that configure is re-running itself, and apparently de-quoting a variable (CFLAGS) with spaces in it before passing it as an improperly-tokenized argument to configure. No wonder configure is freaking out.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#9 2017-11-27 00:24:34

loqs
Member
Registered: 2014-03-06
Posts: 17,315

Re: [SOLVED] configure: error: unrecognized option: `-m32'

Build with bootstrap removed

aclocal: warning: couldn't open directory 'm4': No such file or directory
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:54: installing './ar-lib'
configure.ac:54: installing './compile'
configure.ac:58: installing './config.guess'
configure.ac:58: installing './config.sub'
configure.ac:51: installing './install-sh'
configure.ac:51: installing './missing'
Makefile.am: installing './INSTALL'
bin/Makefile.am: installing './depcomp'
lib/Headers.mk:22: warning: shell cat $(top_srcdir: non-POSIX variable name
lib/Headers.mk:22: (probably a GNU make extension)
doc/Makefile.am:26:   'lib/Headers.mk' included from here
lib/Headers.mk:22: warning: shell cat $(top_srcdir: non-POSIX variable name
lib/Headers.mk:22: (probably a GNU make extension)
lib/Makefile.am:28:   'lib/Headers.mk' included from here
test/Makefile.am:30: warning: '%'-style pattern rules are a GNU make extension
parallel-tests: installing './test-driver'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for gcc... gcc
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... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
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 gcc... /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... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu 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... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux 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 for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for native Win32... no
checking for some Win32 platform... no
checking for ANSI C header files... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking asm/page.h usability... no
checking asm/page.h presence... no
checking for asm/page.h... no
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for an ANSI C-conforming const... yes
checking for preprocessor stringizing operator... yes
checking size of int... 4
checking size of short... 2
checking size of void *... 8
checking size of wchar_t... 4
checking for memmove... yes
checking for memset... yes
checking for strdup... yes
checking return type of signal handlers... void
checking for glib-2.0 >= 2.4... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating fribidi.pc
config.status: creating lib/fribidi-config.h
config.status: creating Makefile
config.status: creating charset/Makefile
config.status: creating gen.tab/Makefile
config.status: creating lib/Makefile
config.status: creating bin/Makefile
config.status: creating doc/Makefile
config.status: creating test/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
(cd lib && make  fribidi-unicode-version.h)
make[1]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/lib'
make[2]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
make  gen-unicode-version
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
  CC       gen-unicode-version.o
  CCLD     gen-unicode-version
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
./gen-unicode-version ./unidata/ReadMe.txt ./unidata/BidiMirroring.txt gen-unicode-version.c > fribidi-unicode-version.h \
|| (rm -f fribidi-unicode-version.h && false)
Reading `./unidata/ReadMe.txt'
Reading `./unidata/BidiMirroring.txt'
Generating `fribidi-unicode-version.h'
make[2]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
make[1]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/lib'
  GEN      .gitignore
/bin/sh: line 76: ./bootstrap: No such file or directory
make  all-recursive
make[1]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7'
Making all in gen.tab
make[2]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
  GEN      .gitignore
make[2]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
Making all in charset
make[2]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/charset'
  CC       fribidi-char-sets.lo
  CC       fribidi-char-sets-cap-rtl.lo
  CC       fribidi-char-sets-cp1255.lo
  CC       fribidi-char-sets-cp1256.lo
  CC       fribidi-char-sets-iso8859-6.lo
  CC       fribidi-char-sets-iso8859-8.lo
  CC       fribidi-char-sets-utf8.lo
  CCLD     libfribidi-char-sets.la
  GEN      .gitignore
make[2]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/charset'
Making all in lib
make[2]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/lib'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
make  gen-arabic-shaping-tab
make[4]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
  CC       gen-arabic-shaping-tab.o
  CCLD     gen-arabic-shaping-tab
make[4]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
./gen-arabic-shaping-tab 2 ./unidata/UnicodeData.txt ../lib/fribidi-unicode-version.h gen-arabic-shaping-tab.c > arabic-shaping.tab.i \
|| (rm -f arabic-shaping.tab.i && false)
Reading `./unidata/UnicodeData.txt'
Generating `arabic-shaping.tab.i', it may take up to a few minutes
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
make  gen-bidi-type-tab
make[4]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
  CC       gen-bidi-type-tab.o
  CC       packtab.o
  CCLD     gen-bidi-type-tab
make[4]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
./gen-bidi-type-tab 2 ./unidata/UnicodeData.txt ../lib/fribidi-unicode-version.h gen-bidi-type-tab.c packtab.c packtab.h > bidi-type.tab.i \
|| (rm -f bidi-type.tab.i && false)
Reading `./unidata/UnicodeData.txt'
Generating `bidi-type.tab.i', it may take up to a few minutes
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
make  gen-joining-type-tab
make[4]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
  CC       gen-joining-type-tab.o
  CCLD     gen-joining-type-tab
make[4]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
./gen-joining-type-tab 2 ./unidata/UnicodeData.txt ./unidata/ArabicShaping.txt ../lib/fribidi-unicode-version.h gen-joining-type-tab.c packtab.c packtab.h > joining-type.tab.i \
|| (rm -f joining-type.tab.i && false)
Reading `./unidata/UnicodeData.txt'
Reading `./unidata/ArabicShaping.txt'
Generating `joining-type.tab.i', it may take up to a few minutes
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
make  gen-mirroring-tab
make[4]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
  CC       gen-mirroring-tab.o
  CCLD     gen-mirroring-tab
make[4]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
./gen-mirroring-tab 2 ./unidata/BidiMirroring.txt ../lib/fribidi-unicode-version.h gen-mirroring-tab.c packtab.c packtab.h > mirroring.tab.i \
|| (rm -f mirroring.tab.i && false)
Reading `./unidata/BidiMirroring.txt'
Generating `mirroring.tab.i', it may take up to a few minutes
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
  GEN      .gitignore
make  all-am
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/lib'
  CC       fribidi.lo
  CC       fribidi-arabic.lo
  CC       fribidi-bidi.lo
  CC       fribidi-bidi-types.lo
fribidi-bidi-types.c: In function ‘fribidi_get_bidi_type_name’:
fribidi-bidi-types.c:91:43: warning: case value ‘32’ not in enumerated type ‘FriBidiCharType {aka enum <anonymous>}’ [-Wswitch]
 #   define _FRIBIDI_ADD_TYPE(TYPE,SYMBOL) case FRIBIDI_TYPE_##TYPE: return STRINGIZE(TYPE);
                                           ^
fribidi-bidi-types-list.h:83:1: note: in expansion of macro ‘_FRIBIDI_ADD_TYPE’
 _FRIBIDI_ADD_TYPE (WLTR, 'l') /* Weak Left To Right paragraph */
 ^~~~~~~~~~~~~~~~~
fribidi-bidi-types.c:91:43: warning: case value ‘33’ not in enumerated type ‘FriBidiCharType {aka enum <anonymous>}’ [-Wswitch]
 #   define _FRIBIDI_ADD_TYPE(TYPE,SYMBOL) case FRIBIDI_TYPE_##TYPE: return STRINGIZE(TYPE);
                                           ^
fribidi-bidi-types-list.h:84:1: note: in expansion of macro ‘_FRIBIDI_ADD_TYPE’
 _FRIBIDI_ADD_TYPE (WRTL, 'r') /* Weak Right To Left paragraph */
 ^~~~~~~~~~~~~~~~~
fribidi-bidi-types.c: In function ‘_fribidi__char_from_bidi_type__internal__’:
fribidi-bidi-types.c:111:43: warning: case value ‘32’ not in enumerated type ‘FriBidiCharType {aka enum <anonymous>}’ [-Wswitch]
 #   define _FRIBIDI_ADD_TYPE(TYPE,SYMBOL) case FRIBIDI_TYPE_##TYPE: return SYMBOL;
                                           ^
fribidi-bidi-types-list.h:83:1: note: in expansion of macro ‘_FRIBIDI_ADD_TYPE’
 _FRIBIDI_ADD_TYPE (WLTR, 'l') /* Weak Left To Right paragraph */
 ^~~~~~~~~~~~~~~~~
fribidi-bidi-types.c:111:43: warning: case value ‘33’ not in enumerated type ‘FriBidiCharType {aka enum <anonymous>}’ [-Wswitch]
 #   define _FRIBIDI_ADD_TYPE(TYPE,SYMBOL) case FRIBIDI_TYPE_##TYPE: return SYMBOL;
                                           ^
fribidi-bidi-types-list.h:84:1: note: in expansion of macro ‘_FRIBIDI_ADD_TYPE’
 _FRIBIDI_ADD_TYPE (WRTL, 'r') /* Weak Right To Left paragraph */
 ^~~~~~~~~~~~~~~~~
  CC       fribidi-deprecated.lo
  CC       fribidi-joining.lo
  CC       fribidi-joining-types.lo
  CC       fribidi-mem.lo
  CC       fribidi-mirroring.lo
  CC       fribidi-run.lo
  CC       fribidi-shape.lo
  CCLD     libfribidi.la
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/lib'
make[2]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/lib'
Making all in bin
make[2]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/bin'
  CC       fribidi-main.o
fribidi-main.c: In function ‘main’:
fribidi-main.c:379:3: warning: ‘fribidi_set_mirroring’ is deprecated [-Wdeprecated-declarations]
   fribidi_set_mirroring (do_mirror);
   ^~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/common.h:39:0,
                 from fribidi-main.c:36:
../lib/fribidi-common.h:51:36: note: declared here
 # define FRIBIDI_NAMESPACE(SYMBOL) fribidi##_##SYMBOL
                                    ^
../lib/fribidi-deprecated.h:55:31: note: in expansion of macro ‘FRIBIDI_NAMESPACE’
 #define fribidi_set_mirroring FRIBIDI_NAMESPACE(set_mirroring)
                               ^~~~~~~~~~~~~~~~~
../lib/fribidi-deprecated.h:70:36: note: in expansion of macro ‘fribidi_set_mirroring’
      FRIBIDI_ENTRY fribidi_boolean fribidi_set_mirroring (
                                    ^~~~~~~~~~~~~~~~~~~~~
fribidi-main.c:380:3: warning: ‘fribidi_set_reorder_nsm’ is deprecated [-Wdeprecated-declarations]
   fribidi_set_reorder_nsm (do_reorder_nsm);
   ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/common.h:39:0,
                 from fribidi-main.c:36:
../lib/fribidi-common.h:51:36: note: declared here
 # define FRIBIDI_NAMESPACE(SYMBOL) fribidi##_##SYMBOL
                                    ^
../lib/fribidi-deprecated.h:84:33: note: in expansion of macro ‘FRIBIDI_NAMESPACE’
 #define fribidi_set_reorder_nsm FRIBIDI_NAMESPACE(set_reorder_nsm)
                                 ^~~~~~~~~~~~~~~~~
../lib/fribidi-deprecated.h:101:36: note: in expansion of macro ‘fribidi_set_reorder_nsm’
      FRIBIDI_ENTRY fribidi_boolean fribidi_set_reorder_nsm (
                                    ^~~~~~~~~~~~~~~~~~~~~~~
fribidi-main.c:471:8: warning: ‘fribidi_log2vis’ is deprecated [-Wdeprecated-declarations]
        log2vis = fribidi_log2vis (logical, len, &base,
        ^~~~~~~
In file included from ../lib/common.h:39:0,
                 from fribidi-main.c:36:
../lib/fribidi-common.h:51:36: note: declared here
 # define FRIBIDI_NAMESPACE(SYMBOL) fribidi##_##SYMBOL
                                    ^
../lib/fribidi-deprecated.h:181:25: note: in expansion of macro ‘FRIBIDI_NAMESPACE’
 #define fribidi_log2vis FRIBIDI_NAMESPACE(log2vis)
                         ^~~~~~~~~~~~~~~~~
../lib/fribidi-deprecated.h:198:33: note: in expansion of macro ‘fribidi_log2vis’
      FRIBIDI_ENTRY FriBidiLevel fribidi_log2vis (
                                 ^~~~~~~~~~~~~~~
fribidi-main.c:485:9: warning: ‘fribidi_remove_bidi_marks’ is deprecated [-Wdeprecated-declarations]
         fribidi_remove_bidi_marks (visual, len, ltov, vtol,
         ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/common.h:39:0,
                 from fribidi-main.c:36:
../lib/fribidi-common.h:51:36: note: declared here
 # define FRIBIDI_NAMESPACE(SYMBOL) fribidi##_##SYMBOL
                                    ^
../lib/fribidi-deprecated.h:143:35: note: in expansion of macro ‘FRIBIDI_NAMESPACE’
 #define fribidi_remove_bidi_marks FRIBIDI_NAMESPACE(remove_bidi_marks)
                                   ^~~~~~~~~~~~~~~~~
../lib/fribidi-deprecated.h:169:1: note: in expansion of macro ‘fribidi_remove_bidi_marks’
 fribidi_remove_bidi_marks (
 ^~~~~~~~~~~~~~~~~~~~~~~~~
fribidi-main.c:453:24: warning: variable ‘new_len’ set but not used [-Wunused-but-set-variable]
        FriBidiStrIndex new_len;
                        ^~~~~~~
  CC       getopt.o
  CC       getopt1.o
  CCLD     fribidi
  CC       fribidi-benchmark.o
fribidi-benchmark.c: In function ‘benchmark’:
fribidi-benchmark.c:221:7: warning: ‘fribidi_log2vis’ is deprecated [-Wdeprecated-declarations]
       if (!fribidi_log2vis (us, len, &base,
       ^~
In file included from ../lib/common.h:39:0,
                 from fribidi-benchmark.c:36:
../lib/fribidi-common.h:51:36: note: declared here
 # define FRIBIDI_NAMESPACE(SYMBOL) fribidi##_##SYMBOL
                                    ^
../lib/fribidi-deprecated.h:181:25: note: in expansion of macro ‘FRIBIDI_NAMESPACE’
 #define fribidi_log2vis FRIBIDI_NAMESPACE(log2vis)
                         ^~~~~~~~~~~~~~~~~
../lib/fribidi-deprecated.h:198:33: note: in expansion of macro ‘fribidi_log2vis’
      FRIBIDI_ENTRY FriBidiLevel fribidi_log2vis (
                                 ^~~~~~~~~~~~~~~
  CCLD     fribidi-benchmark
  CC       fribidi-bidi-types.o
  CCLD     fribidi-bidi-types
  CC       fribidi-caprtl2utf8.o
  CCLD     fribidi-caprtl2utf8
  GEN      .gitignore
make[2]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/bin'
Making all in doc
make[2]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[2]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Making all in test
make[2]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/test'
  GEN      .gitignore
make[2]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/test'
make[2]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7'
make[2]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7'
make[1]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7'

Second build with patched bootstrap

aclocal: warning: couldn't open directory 'm4': No such file or directory
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:54: installing './ar-lib'
configure.ac:54: installing './compile'
configure.ac:58: installing './config.guess'
configure.ac:58: installing './config.sub'
configure.ac:51: installing './install-sh'
configure.ac:51: installing './missing'
Makefile.am: installing './INSTALL'
bin/Makefile.am: installing './depcomp'
lib/Headers.mk:22: warning: shell cat $(top_srcdir: non-POSIX variable name
lib/Headers.mk:22: (probably a GNU make extension)
doc/Makefile.am:26:   'lib/Headers.mk' included from here
lib/Headers.mk:22: warning: shell cat $(top_srcdir: non-POSIX variable name
lib/Headers.mk:22: (probably a GNU make extension)
lib/Makefile.am:28:   'lib/Headers.mk' included from here
test/Makefile.am:30: warning: '%'-style pattern rules are a GNU make extension
parallel-tests: installing './test-driver'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for gcc... gcc
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... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
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 gcc... /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... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu 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... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux 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 for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for native Win32... no
checking for some Win32 platform... no
checking for ANSI C header files... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking asm/page.h usability... no
checking asm/page.h presence... no
checking for asm/page.h... no
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for an ANSI C-conforming const... yes
checking for preprocessor stringizing operator... yes
checking size of int... 4
checking size of short... 2
checking size of void *... 8
checking size of wchar_t... 4
checking for memmove... yes
checking for memset... yes
checking for strdup... yes
checking return type of signal handlers... void
checking for glib-2.0 >= 2.4... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating fribidi.pc
config.status: creating lib/fribidi-config.h
config.status: creating Makefile
config.status: creating charset/Makefile
config.status: creating gen.tab/Makefile
config.status: creating lib/Makefile
config.status: creating bin/Makefile
config.status: creating doc/Makefile
config.status: creating test/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
(cd lib && make  fribidi-unicode-version.h)
make[1]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/lib'
make[2]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
make  gen-unicode-version
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
  CC       gen-unicode-version.o
  CCLD     gen-unicode-version
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
./gen-unicode-version ./unidata/ReadMe.txt ./unidata/BidiMirroring.txt gen-unicode-version.c > fribidi-unicode-version.h \
|| (rm -f fribidi-unicode-version.h && false)
Reading `./unidata/ReadMe.txt'
Reading `./unidata/BidiMirroring.txt'
Generating `fribidi-unicode-version.h'
make[2]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
make[1]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/lib'
  GEN      .gitignore
make  all-recursive
make[1]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7'
/bin/sh ./config.status --recheck
running CONFIG_SHELL=/bin/sh /bin/sh ./configure CFLAGS=-march=native -O2 -pipe -fstack-protector-strong -fno-plt LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now CPPFLAGS=-D_FORTIFY_SOURCE=2 --no-create --no-recursion
Usable autoreconf found, running
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:54: installing './compile'
configure.ac:51: installing './missing'
bin/Makefile.am: installing './depcomp'
lib/Headers.mk:22: warning: shell cat $(top_srcdir: non-POSIX variable name
lib/Headers.mk:22: (probably a GNU make extension)
doc/Makefile.am:26:   'lib/Headers.mk' included from here
lib/Headers.mk:22: warning: shell cat $(top_srcdir: non-POSIX variable name
lib/Headers.mk:22: (probably a GNU make extension)
lib/Makefile.am:28:   'lib/Headers.mk' included from here
test/Makefile.am:30: warning: '%'-style pattern rules are a GNU make extension
configure: WARNING: unrecognized options: --enable-maintainer-mode, --enable-compile-warnings
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for gcc... gcc
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... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
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 gcc... /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... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu 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... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux 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 for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for native Win32... no
checking for some Win32 platform... no
checking for ANSI C header files... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking asm/page.h usability... no
checking asm/page.h presence... no
checking for asm/page.h... no
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for an ANSI C-conforming const... yes
checking for preprocessor stringizing operator... yes
checking size of int... 4
checking size of short... 2
checking size of void *... 8
checking size of wchar_t... 4
checking for memmove... yes
checking for memset... yes
checking for strdup... yes
checking return type of signal handlers... void
checking for glib-2.0 >= 2.4... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating fribidi.pc
config.status: creating lib/fribidi-config.h
config.status: creating Makefile
config.status: creating charset/Makefile
config.status: creating gen.tab/Makefile
config.status: creating lib/Makefile
config.status: creating bin/Makefile
config.status: creating doc/Makefile
config.status: creating test/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --enable-maintainer-mode, --enable-compile-warnings
 /bin/sh ./config.status
config.status: creating fribidi.pc
config.status: creating lib/fribidi-config.h
config.status: creating Makefile
config.status: creating charset/Makefile
config.status: creating gen.tab/Makefile
config.status: creating lib/Makefile
config.status: creating bin/Makefile
config.status: creating doc/Makefile
config.status: creating test/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
Making all in gen.tab
make[2]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
  GEN      .gitignore
make[2]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
Making all in charset
make[2]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/charset'
  CC       fribidi-char-sets.lo
  CC       fribidi-char-sets-cap-rtl.lo
  CC       fribidi-char-sets-cp1255.lo
  CC       fribidi-char-sets-cp1256.lo
  CC       fribidi-char-sets-iso8859-6.lo
  CC       fribidi-char-sets-iso8859-8.lo
  CC       fribidi-char-sets-utf8.lo
  CCLD     libfribidi-char-sets.la
  GEN      .gitignore
make[2]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/charset'
Making all in lib
make[2]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/lib'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
make  gen-arabic-shaping-tab
make[4]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
  CC       gen-arabic-shaping-tab.o
  CCLD     gen-arabic-shaping-tab
make[4]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
./gen-arabic-shaping-tab 2 ./unidata/UnicodeData.txt ../lib/fribidi-unicode-version.h gen-arabic-shaping-tab.c > arabic-shaping.tab.i \
|| (rm -f arabic-shaping.tab.i && false)
Reading `./unidata/UnicodeData.txt'
Generating `arabic-shaping.tab.i', it may take up to a few minutes
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
make  gen-bidi-type-tab
make[4]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
  CC       gen-bidi-type-tab.o
  CC       packtab.o
  CCLD     gen-bidi-type-tab
make[4]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
./gen-bidi-type-tab 2 ./unidata/UnicodeData.txt ../lib/fribidi-unicode-version.h gen-bidi-type-tab.c packtab.c packtab.h > bidi-type.tab.i \
|| (rm -f bidi-type.tab.i && false)
Reading `./unidata/UnicodeData.txt'
Generating `bidi-type.tab.i', it may take up to a few minutes
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
make  gen-joining-type-tab
make[4]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
  CC       gen-joining-type-tab.o
cd .. && make  config.h
make[5]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7'
make[5]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7'
  CCLD     gen-joining-type-tab
make[4]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
./gen-joining-type-tab 2 ./unidata/UnicodeData.txt ./unidata/ArabicShaping.txt ../lib/fribidi-unicode-version.h gen-joining-type-tab.c packtab.c packtab.h > joining-type.tab.i \
|| (rm -f joining-type.tab.i && false)
Reading `./unidata/UnicodeData.txt'
Reading `./unidata/ArabicShaping.txt'
Generating `joining-type.tab.i', it may take up to a few minutes
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
make  gen-mirroring-tab
make[4]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
  CC       gen-mirroring-tab.o
cd .. && make  config.h
make[5]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7'
make[5]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7'
  CCLD     gen-mirroring-tab
make[4]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
./gen-mirroring-tab 2 ./unidata/BidiMirroring.txt ../lib/fribidi-unicode-version.h gen-mirroring-tab.c packtab.c packtab.h > mirroring.tab.i \
|| (rm -f mirroring.tab.i && false)
Reading `./unidata/BidiMirroring.txt'
Generating `mirroring.tab.i', it may take up to a few minutes
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/gen.tab'
  GEN      .gitignore
make  all-am
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/lib'
  CC       fribidi.lo
  CC       fribidi-arabic.lo
  CC       fribidi-bidi.lo
  CC       fribidi-bidi-types.lo
fribidi-bidi-types.c: In function ‘fribidi_get_bidi_type_name’:
fribidi-bidi-types.c:91:43: warning: case value ‘32’ not in enumerated type ‘FriBidiCharType {aka enum <anonymous>}’ [-Wswitch]
 #   define _FRIBIDI_ADD_TYPE(TYPE,SYMBOL) case FRIBIDI_TYPE_##TYPE: return STRINGIZE(TYPE);
                                           ^
fribidi-bidi-types-list.h:83:1: note: in expansion of macro ‘_FRIBIDI_ADD_TYPE’
 _FRIBIDI_ADD_TYPE (WLTR, 'l') /* Weak Left To Right paragraph */
 ^~~~~~~~~~~~~~~~~
fribidi-bidi-types.c:91:43: warning: case value ‘33’ not in enumerated type ‘FriBidiCharType {aka enum <anonymous>}’ [-Wswitch]
 #   define _FRIBIDI_ADD_TYPE(TYPE,SYMBOL) case FRIBIDI_TYPE_##TYPE: return STRINGIZE(TYPE);
                                           ^
fribidi-bidi-types-list.h:84:1: note: in expansion of macro ‘_FRIBIDI_ADD_TYPE’
 _FRIBIDI_ADD_TYPE (WRTL, 'r') /* Weak Right To Left paragraph */
 ^~~~~~~~~~~~~~~~~
fribidi-bidi-types.c: In function ‘_fribidi__char_from_bidi_type__internal__’:
fribidi-bidi-types.c:111:43: warning: case value ‘32’ not in enumerated type ‘FriBidiCharType {aka enum <anonymous>}’ [-Wswitch]
 #   define _FRIBIDI_ADD_TYPE(TYPE,SYMBOL) case FRIBIDI_TYPE_##TYPE: return SYMBOL;
                                           ^
fribidi-bidi-types-list.h:83:1: note: in expansion of macro ‘_FRIBIDI_ADD_TYPE’
 _FRIBIDI_ADD_TYPE (WLTR, 'l') /* Weak Left To Right paragraph */
 ^~~~~~~~~~~~~~~~~
fribidi-bidi-types.c:111:43: warning: case value ‘33’ not in enumerated type ‘FriBidiCharType {aka enum <anonymous>}’ [-Wswitch]
 #   define _FRIBIDI_ADD_TYPE(TYPE,SYMBOL) case FRIBIDI_TYPE_##TYPE: return SYMBOL;
                                           ^
fribidi-bidi-types-list.h:84:1: note: in expansion of macro ‘_FRIBIDI_ADD_TYPE’
 _FRIBIDI_ADD_TYPE (WRTL, 'r') /* Weak Right To Left paragraph */
 ^~~~~~~~~~~~~~~~~
  CC       fribidi-deprecated.lo
  CC       fribidi-joining.lo
  CC       fribidi-joining-types.lo
  CC       fribidi-mem.lo
  CC       fribidi-mirroring.lo
  CC       fribidi-run.lo
  CC       fribidi-shape.lo
  CCLD     libfribidi.la
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/lib'
make[2]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/lib'
Making all in bin
make[2]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/bin'
  CC       fribidi-main.o
fribidi-main.c: In function ‘main’:
fribidi-main.c:379:3: warning: ‘fribidi_set_mirroring’ is deprecated [-Wdeprecated-declarations]
   fribidi_set_mirroring (do_mirror);
   ^~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/common.h:39:0,
                 from fribidi-main.c:36:
../lib/fribidi-common.h:51:36: note: declared here
 # define FRIBIDI_NAMESPACE(SYMBOL) fribidi##_##SYMBOL
                                    ^
../lib/fribidi-deprecated.h:55:31: note: in expansion of macro ‘FRIBIDI_NAMESPACE’
 #define fribidi_set_mirroring FRIBIDI_NAMESPACE(set_mirroring)
                               ^~~~~~~~~~~~~~~~~
../lib/fribidi-deprecated.h:70:36: note: in expansion of macro ‘fribidi_set_mirroring’
      FRIBIDI_ENTRY fribidi_boolean fribidi_set_mirroring (
                                    ^~~~~~~~~~~~~~~~~~~~~
fribidi-main.c:380:3: warning: ‘fribidi_set_reorder_nsm’ is deprecated [-Wdeprecated-declarations]
   fribidi_set_reorder_nsm (do_reorder_nsm);
   ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/common.h:39:0,
                 from fribidi-main.c:36:
../lib/fribidi-common.h:51:36: note: declared here
 # define FRIBIDI_NAMESPACE(SYMBOL) fribidi##_##SYMBOL
                                    ^
../lib/fribidi-deprecated.h:84:33: note: in expansion of macro ‘FRIBIDI_NAMESPACE’
 #define fribidi_set_reorder_nsm FRIBIDI_NAMESPACE(set_reorder_nsm)
                                 ^~~~~~~~~~~~~~~~~
../lib/fribidi-deprecated.h:101:36: note: in expansion of macro ‘fribidi_set_reorder_nsm’
      FRIBIDI_ENTRY fribidi_boolean fribidi_set_reorder_nsm (
                                    ^~~~~~~~~~~~~~~~~~~~~~~
fribidi-main.c:471:8: warning: ‘fribidi_log2vis’ is deprecated [-Wdeprecated-declarations]
        log2vis = fribidi_log2vis (logical, len, &base,
        ^~~~~~~
In file included from ../lib/common.h:39:0,
                 from fribidi-main.c:36:
../lib/fribidi-common.h:51:36: note: declared here
 # define FRIBIDI_NAMESPACE(SYMBOL) fribidi##_##SYMBOL
                                    ^
../lib/fribidi-deprecated.h:181:25: note: in expansion of macro ‘FRIBIDI_NAMESPACE’
 #define fribidi_log2vis FRIBIDI_NAMESPACE(log2vis)
                         ^~~~~~~~~~~~~~~~~
../lib/fribidi-deprecated.h:198:33: note: in expansion of macro ‘fribidi_log2vis’
      FRIBIDI_ENTRY FriBidiLevel fribidi_log2vis (
                                 ^~~~~~~~~~~~~~~
fribidi-main.c:485:9: warning: ‘fribidi_remove_bidi_marks’ is deprecated [-Wdeprecated-declarations]
         fribidi_remove_bidi_marks (visual, len, ltov, vtol,
         ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/common.h:39:0,
                 from fribidi-main.c:36:
../lib/fribidi-common.h:51:36: note: declared here
 # define FRIBIDI_NAMESPACE(SYMBOL) fribidi##_##SYMBOL
                                    ^
../lib/fribidi-deprecated.h:143:35: note: in expansion of macro ‘FRIBIDI_NAMESPACE’
 #define fribidi_remove_bidi_marks FRIBIDI_NAMESPACE(remove_bidi_marks)
                                   ^~~~~~~~~~~~~~~~~
../lib/fribidi-deprecated.h:169:1: note: in expansion of macro ‘fribidi_remove_bidi_marks’
 fribidi_remove_bidi_marks (
 ^~~~~~~~~~~~~~~~~~~~~~~~~
fribidi-main.c:453:24: warning: variable ‘new_len’ set but not used [-Wunused-but-set-variable]
        FriBidiStrIndex new_len;
                        ^~~~~~~
  CC       getopt.o
  CC       getopt1.o
  CCLD     fribidi
  CC       fribidi-benchmark.o
fribidi-benchmark.c: In function ‘benchmark’:
fribidi-benchmark.c:221:7: warning: ‘fribidi_log2vis’ is deprecated [-Wdeprecated-declarations]
       if (!fribidi_log2vis (us, len, &base,
       ^~
In file included from ../lib/common.h:39:0,
                 from fribidi-benchmark.c:36:
../lib/fribidi-common.h:51:36: note: declared here
 # define FRIBIDI_NAMESPACE(SYMBOL) fribidi##_##SYMBOL
                                    ^
../lib/fribidi-deprecated.h:181:25: note: in expansion of macro ‘FRIBIDI_NAMESPACE’
 #define fribidi_log2vis FRIBIDI_NAMESPACE(log2vis)
                         ^~~~~~~~~~~~~~~~~
../lib/fribidi-deprecated.h:198:33: note: in expansion of macro ‘fribidi_log2vis’
      FRIBIDI_ENTRY FriBidiLevel fribidi_log2vis (
                                 ^~~~~~~~~~~~~~~
  CCLD     fribidi-benchmark
  CC       fribidi-bidi-types.o
  CCLD     fribidi-bidi-types
  CC       fribidi-caprtl2utf8.o
  CCLD     fribidi-caprtl2utf8
  GEN      .gitignore
make[2]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/bin'
Making all in doc
make[2]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[3]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Running c2man
../missing: line 81: c2man: command not found
WARNING: 'c2man' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'c2man' program.
make[3]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
make[2]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/doc'
Making all in test
make[2]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7/test'
  GEN      .gitignore
make[2]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/test'
make[2]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7'
make[2]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7'
make[1]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7'

So

make[1]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/lib'
  GEN      .gitignore
/bin/sh: line 76: ./bootstrap: No such file or directory
make  all-recursive
make[1]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7'

vs

make[1]: Leaving directory '/tmp/fribidi/src/fribidi-0.19.7/lib'
  GEN      .gitignore
make  all-recursive
make[1]: Entering directory '/tmp/fribidi/src/fribidi-0.19.7'
/bin/sh ./config.status --recheck
running CONFIG_SHELL=/bin/sh /bin/sh ./configure CFLAGS=-march=native -O2 -pipe -fstack-protector-strong -fno-plt LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now CPPFLAGS=-D_FORTIFY_SOURCE=2 --no-create --no-recursion

Edit:
https://github.com/fribidi/fribidi/blob … ile.am#L34 Appears to be the cause of configure running twice

Last edited by loqs (2017-11-27 02:55:09)

Offline

#10 2017-11-28 13:39:15

GordonGR
Member
From: Thessaloniki, Greece
Registered: 2011-11-07
Posts: 276

Re: [SOLVED] configure: error: unrecognized option: `-m32'

loqs wrote:
…
prepare() {
  cd ${_pkgname}-${pkgver}
  sed -i 's|$CONFIGUREFLAGS $DASHDASHFLAGS $EXTRA_CONFIGUREFLAGS|$CONFIGUREFLAGS $EXTRA_CONFIGUREFLAGS|g' bootstrap
}
…

And that indeed does work! Both for proper x86_64 build and for the lib32 build (relevant lines back to uncommented).

Although not fully. While my configure line is

./configure --prefix=/usr --libdir=/usr/lib32

the end result of the library is still in /usr/local/lib… I suppose I can fix that by hand inside the package() function and get it over with. But you are right, loqs, there is something very wrong here.

Where should the bug report go? Upstream so they can fix it or to [extra] to make the proper x86_64 package buildable again?

***EDIT
The new form of the PKGBUILD is:

# Contributor: jospehgbr <rafael.f.f1@gmail.com>
# Maintainer: GordonGR <ntheo1979@gmail.com>

_pkgname=fribidi
pkgname=lib32-${_pkgname}
pkgver=0.19.7
pkgrel=2
pkgdesc="A Free Implementation of the Unicode Bidirectional Algorithm (32 bit)"
arch=('x86_64')
license=('LGPL')
url="http://fribidi.org"
depends=('lib32-glib2' "${_pkgname}")
source=("https://github.com/fribidi/fribidi/archive/${pkgver}.tar.gz")
md5sums=('dbe2f2bf3ba0307d75885b21d6cceb2c')

prepare() {
  cd ${_pkgname}-${pkgver}
  sed -i 's|$CONFIGUREFLAGS $DASHDASHFLAGS $EXTRA_CONFIGUREFLAGS|$CONFIGUREFLAGS $EXTRA_CONFIGUREFLAGS|g' bootstrap
}

build() {
export CC='gcc -m32'
# -march=i686'
export CXX='g++ -m32'
# -march=i686'
export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
#export CFLAGS="-march=i386"
  
cd ${_pkgname}-${pkgver}
NOCONFIGURE=1 autoreconf -i
./configure --prefix=/usr --libdir=/usr/lib32
#sed -i 's/host_cpu\=\"\${host\%\%-\*}\"/host_cpu\="i386"/' configure
make
}

package() {
make -C ${_pkgname}-${pkgver} DESTDIR="${pkgdir}" install

# Force putting things in /usr/lib32
cd ${pkgdir}/usr/local/
rm -rf {bin,include,share}
mkdir ${pkgdir}/usr/lib32
mv lib lib32
mv lib32 ../
cd ..
rm -rf local

#Fix the fribidi.pc
cd lib32/pkgconfig
sed -i 's|prefix=/usr/local|prefix=/usr/|g' fribidi.pc
sed -i 's|libdir=${exec_prefix}/lib|libdir=/usr/lib32|g' fribidi.pc

}

Marking as solved. Thank you, a real lot.

Last edited by GordonGR (2017-11-28 16:22:50)


Intel(R) Celeron(R) CPU E3400 @ 2.60GHz, x86_64. AURs.

“No one without the knowledge of geometry may enter.“ Plato.

Offline

#11 2017-11-28 16:40:22

loqs
Member
Registered: 2014-03-06
Posts: 17,315

Re: [SOLVED] configure: error: unrecognized option: `-m32'

prepare() {
  cd ${_pkgname}-${pkgver}
  rm bootstrap
}

or

prepare() {
  cd ${_pkgname}-${pkgver}
  sed -i 's|`$(srcdir)/bootstrap --write-configure`|`true`|g' Makefile.am
}

The files are in the correct location for me with either of these change which prevents the invocation of bootstrap from within make which calls configure.
Second version the sed substitution should be cleaned up to cover changing

		`find "$(srcdir)" -type f -name Makefile.in -print` \
		`$(srcdir)/bootstrap --write-configure`

to

		`find "$(srcdir)" -type f -name Makefile.in -print`

replacing the last line with a call to true was simpler.
I would flag with upstream the issues of Makefile executing bootstrap during the build and the original issue of bootstrap failing.
I would flag with arch that the source location has changed so the package can not longer be built with the PKGBUILD provided.

Offline

#12 2017-12-03 21:09:57

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [SOLVED] configure: error: unrecognized option: `-m32'

GordonGR wrote:

the end result of the library is still in /usr/local/lib… I suppose I can fix that by hand inside the package() function and get it over with. But you are right, loqs, there is something very wrong here.

Where should the bug report go? Upstream so they can fix it or to [extra] to make the proper x86_64 package buildable again?

Again, please file an upstream bugreport as the project should not run the bootstrap again and furthermore should ditch the legacy garbage and stick with `autoreconf -fi`. Make sure the upstream source code finally behaves and builds okay, and then the fix will automatically make its way back to our official repos.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#13 2017-12-03 21:27:40

loqs
Member
Registered: 2014-03-06
Posts: 17,315

Re: [SOLVED] configure: error: unrecognized option: `-m32'

@Eschwartz the issue has been referenced upstream at https://github.com/fribidi/fribidi/issu … -344928977 although no poster on thread has noticed bootstrap has been called from make which has called configure again.
You could contribute your opinion on the projects bootstrap as well as point out the strange behaviour of the current build system.
Also does not the current arch fribidi package no longer build due to the upstream source archive being moved and is that not an arch bug?
Edit:
Thank you for the upstream comment.

Last edited by loqs (2017-12-03 22:41:58)

Offline

Board footer

Powered by FluxBB