atkmm 2.29.1
hi, We are trying to package atkmm 2.29 for the sulin operating system. however, we encountered forward compatibility errors.
We are trying to compile it with glibmm version 2.63.0 compiled from that source code without any patches: http://ftp.gnome.org/pub/gnome/sources/glibmm/2.63/glibmm-2.63.1.tar.xz
atkmm is got from http://ftp.gnome.org/pub/gnome/sources/atkmm/2.29/atkmm-2.29.1.tar.xz
and tried to compile without any patches.
it gives such an error:
bash-5.0# inary bi
Building source package: "atkmm"
DEBUG: ComponentDB initialized in 0.0014879703521728516.
DEBUG: RepoDB initialized in 0.00030803680419921875.
DEBUG: InstallDB initialized in 0.0009214878082275391.
"atkmm-2.29.1.tar.xz" [cached]
>>> Unpacking archive(s)...
-> unpacked (/var/inary/atkmm-2.29.1-2/work)
>>> Setting up source...
GNU Config Update Finished.
GNU Config Update Finished.
[Running Command]: ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/libexec --disable-static
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports GNU make features... yes
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 x86_64-pc-linux-gnu-g++ accepts -g... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of x86_64-pc-linux-gnu-g++... gcc3
checking whether x86_64-pc-linux-gnu-g++ supports C++17 features by default... no
checking whether x86_64-pc-linux-gnu-g++ supports C++17 features with -std=c++17... yes
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 gcc... x86_64-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... ld
checking if the linker (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 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 ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (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 how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -std=c++17 -E
checking for ld used by x86_64-pc-linux-gnu-g++ -std=c++17... ld -m elf_x86_64
checking if the linker (ld -m elf_x86_64) is GNU ld... yes
checking whether the x86_64-pc-linux-gnu-g++ -std=c++17 linker (ld -m elf_x86_64) supports shared libraries... yes
checking for x86_64-pc-linux-gnu-g++ -std=c++17 option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-g++ -std=c++17 PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-g++ -std=c++17 static flag -static works... yes
checking if x86_64-pc-linux-gnu-g++ -std=c++17 supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-g++ -std=c++17 supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-g++ -std=c++17 linker (ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for ATKMM... no
configure: error: Package requirements (atk >= 1.18 glibmm-2.60 >= 2.59.1) were not met:
No package 'glibmm-2.60' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables ATKMM_CFLAGS
and ATKMM_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
DEBUG: return value for "./configure --prefix=/usr --build=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/libexec --disable-static" is 1
- I have linked the files
/usr/lib/pkgconfig/glibmm-2.64.pc
and/usr/lib/pkgconfig/giomm-2.64.pc
as xxx-2.60.pc. then an error occurred during the execution of the make command:
Building source package: "atkmm"
DEBUG: ComponentDB initialized in 0.0016608238220214844.
DEBUG: RepoDB initialized in 0.0002715587615966797.
DEBUG: InstallDB initialized in 0.0010256767272949219.
"atkmm-2.29.1.tar.xz" [cached]
>>> Unpacking archive(s)...
-> unpacked (/var/inary/atkmm-2.29.1-2/work)
>>> Setting up source...
[Running Command]: bash autogen.sh
autogen.sh: line 5: mm-common-prepare: command not found
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
^C
Keyboard Interrupt [Ctrl-C]: Exiting...
bash-5.0# inary bi
Building source package: "atkmm"
DEBUG: ComponentDB initialized in 0.002053976058959961.
DEBUG: RepoDB initialized in 0.0002849102020263672.
DEBUG: InstallDB initialized in 0.0010950565338134766.
"atkmm-2.29.1.tar.xz" [cached]
>>> Unpacking archive(s)...
-> unpacked (/var/inary/atkmm-2.29.1-2/work)
>>> Setting up source...
GNU Config Update Finished.
GNU Config Update Finished.
[Running Command]: ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/libexec --disable-static
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports GNU make features... yes
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 x86_64-pc-linux-gnu-g++ accepts -g... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of x86_64-pc-linux-gnu-g++... gcc3
checking whether x86_64-pc-linux-gnu-g++ supports C++17 features by default... no
checking whether x86_64-pc-linux-gnu-g++ supports C++17 features with -std=c++17... yes
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 gcc... x86_64-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... ld
checking if the linker (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 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 ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (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 how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -std=c++17 -E
checking for ld used by x86_64-pc-linux-gnu-g++ -std=c++17... ld -m elf_x86_64
checking if the linker (ld -m elf_x86_64) is GNU ld... yes
checking whether the x86_64-pc-linux-gnu-g++ -std=c++17 linker (ld -m elf_x86_64) supports shared libraries... yes
checking for x86_64-pc-linux-gnu-g++ -std=c++17 option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-g++ -std=c++17 PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-g++ -std=c++17 static flag -static works... yes
checking if x86_64-pc-linux-gnu-g++ -std=c++17 supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-g++ -std=c++17 supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-g++ -std=c++17 linker (ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for ATKMM... yes
checking for GTHREAD_CFLAGS... -pthread
checking for GMMPROC_DIR... /usr/lib/glibmm-2.64/proc
configure: Deprecated API will be built, for backwards-compatibility.
checking for perl... /usr/bin/perl
checking for dot... dot
checking for doxygen... /usr/bin/doxygen
checking for xsltproc... /usr/bin/xsltproc
checking for libstdc documentation... libstdc++.tag@
configure: WARNING: Location of external libstdc documentation not set
checking for libsigc documentation... /usr/share/doc/libsigc++-3.0/reference/libsigc++-3.0.tag@file:///usr/share/doc/libsigc++-3.0/reference/html
checking for glibmm documentation... /usr/share/doc/glibmm-2.64/reference/glibmm-2.64.tag@file:///usr/share/doc/glibmm-2.64/reference/html
checking which C++ compiler warning flags to use... -Wall
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating codegen/Makefile
config.status: creating atk/atkmm-2.30.pc
config.status: creating atk/atkmm-2.30-uninstalled.pc
config.status: creating atk/src/Makefile
config.status: creating atk/atkmm/Makefile
config.status: creating doc/Makefile
config.status: creating doc/reference/Doxyfile
config.status: creating MSVC_NMake/atkmm/atkmm.rc
config.status: creating build/config.h
config.status: creating atk/atkmmconfig.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing MSVC_NMake/atkmm/atkmmconfig.h commands
DEBUG: return value for "./configure --prefix=/usr --build=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/libexec --disable-static" is 0
>>> Building source...
[Running Command]: make -j5
Making all in codegen
make[1]: Entering directory '/var/inary/atkmm-2.29.1-2/work/atkmm-2.29.1/codegen'
CXX extradefs/generate_extra_defs_atk.o
CXXLD extradefs/generate_extra_defs
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lglibmm_generate_extra_defs-2.60
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:437: extradefs/generate_extra_defs] Error 1
make[1]: Leaving directory '/var/inary/atkmm-2.29.1-2/work/atkmm-2.29.1/codegen'
make: *** [Makefile:589: all-recursive] Error 1
DEBUG: return value for "make -j5 " is 2
Program terminated.
ActionsAPI [system]: Command 'make -j5 ' failed, return value was 2.
Please use 'inary help' for general help.
bash-5.0#
- I tried to generate the
configure
file again withautogen
inary bi
Building source package: "atkmm"
DEBUG: ComponentDB initialized in 0.0021746158599853516.
DEBUG: RepoDB initialized in 0.0004093647003173828.
DEBUG: InstallDB initialized in 0.0012094974517822266.
"atkmm-2.29.0p.tar.bz2" [cached]
>>> Unpacking archive(s)...
-> unpacked (/var/inary/atkmm-2.29.1b-2/work)
>>> Setting up source...
[Running Command]: bash autogen.sh
autogen.sh: line 5: mm-common-prepare: command not found
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force --warnings=all -I build ${ACLOCAL_FLAGS}
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build'.
libtoolize: copying file 'build/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build'.
libtoolize: copying file 'build/libtool.m4'
libtoolize: copying file 'build/ltoptions.m4'
libtoolize: copying file 'build/ltsugar.m4'
libtoolize: copying file 'build/ltversion.m4'
libtoolize: copying file 'build/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force --warnings=all
autoreconf: running: /usr/bin/autoheader --force --warnings=all
autoreconf: running: automake --add-missing --copy --force-missing --warnings=all
configure.ac:52: installing 'build/compile'
configure.ac:52: installing 'build/config.guess'
configure.ac:52: installing 'build/config.sub'
configure.ac:31: installing 'build/install-sh'
configure.ac:31: installing 'build/missing'
Makefile.am:26: error: ENABLE_DOCUMENTATION does not appear in AM_CONDITIONAL
automake: error: cannot open < build/dist-changelog.am: No such file or directory
autoreconf: automake failed with exit status: 1
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... yes
./configure: line 3041: syntax error near unexpected token `0.9.12'
./configure: line 3041: `MM_PREREQ(0.9.12)'
DEBUG: return value for "bash autogen.sh" is 2
Program terminated.
ActionsAPI [system]: Command 'bash autogen.sh' failed, return value was 2.
I wanted to report that there may be problems about source. Bests regards. Zaryob