Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/libgphoto2.spec'], chrootPath='/home/lib/mock/dist-ocs23-build-281818-27080/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/libgphoto2.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/libgphoto2-2.5.30-6.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/libgphoto2.spec'], chrootPath='/home/lib/mock/dist-ocs23-build-281818-27080/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/libgphoto2.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HIYTFM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libgphoto2-2.5.30 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libgphoto2-2.5.30.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd libgphoto2-2.5.30 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/gphoto2-pkgcfg.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/gphoto2-device-return.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f ++ find -name 'README.*' + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 AUTHORS + mv -f AUTHORS.conv AUTHORS + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ChangeLog + mv -f ChangeLog.conv ChangeLog + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 COPYING + mv -f COPYING.conv COPYING + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 libgphoto2_port/AUTHORS + mv -f libgphoto2_port/AUTHORS.conv libgphoto2_port/AUTHORS + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 libgphoto2_port/COPYING.LIB + mv -f libgphoto2_port/COPYING.LIB.conv libgphoto2_port/COPYING.LIB + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./README.md + mv -f ./README.md.conv ./README.md + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./README.packaging + mv -f ./README.packaging.conv ./README.packaging + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/toshiba/pdrm11/README.toshiba-pdrm11 + mv -f ./camlibs/toshiba/pdrm11/README.toshiba-pdrm11.conv ./camlibs/toshiba/pdrm11/README.toshiba-pdrm11 + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/st2205/README.st2205 + mv -f ./camlibs/st2205/README.st2205.conv ./camlibs/st2205/README.st2205 + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/st2205/README.st2205-compression + mv -f ./camlibs/st2205/README.st2205-compression.conv ./camlibs/st2205/README.st2205-compression + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/sq905/README.sq905 + mv -f ./camlibs/sq905/README.sq905.conv ./camlibs/sq905/README.sq905 + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/sq905/README.913C + mv -f ./camlibs/sq905/README.913C.conv ./camlibs/sq905/README.913C + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/ptp2/README.ptp2 + mv -f ./camlibs/ptp2/README.ptp2.conv ./camlibs/ptp2/README.ptp2 + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/canon/README.canon + mv -f ./camlibs/canon/README.canon.conv ./camlibs/canon/README.canon + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/stv0680/README.pdf + mv -f ./camlibs/stv0680/README.pdf.conv ./camlibs/stv0680/README.pdf + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/sonix/README.sonix + mv -f ./camlibs/sonix/README.sonix.conv ./camlibs/sonix/README.sonix + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/pentax/README.pentax + mv -f ./camlibs/pentax/README.pentax.conv ./camlibs/pentax/README.pentax + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/jl2005c/README.jl2005c + mv -f ./camlibs/jl2005c/README.jl2005c.conv ./camlibs/jl2005c/README.jl2005c + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/jl2005c/README.jl2005bcd-compression + mv -f ./camlibs/jl2005c/README.jl2005bcd-compression.conv ./camlibs/jl2005c/README.jl2005bcd-compression + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/soundvision/README.soundvision + mv -f ./camlibs/soundvision/README.soundvision.conv ./camlibs/soundvision/README.soundvision + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/minolta/dimagev/README.minolta-dimagev + mv -f ./camlibs/minolta/dimagev/README.minolta-dimagev.conv ./camlibs/minolta/dimagev/README.minolta-dimagev + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/konica/README.konica + mv -f ./camlibs/konica/README.konica.conv ./camlibs/konica/README.konica + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/mustek/README.mustek + mv -f ./camlibs/mustek/README.mustek.conv ./camlibs/mustek/README.mustek + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/adc65/README.adc65 + mv -f ./camlibs/adc65/README.adc65.conv ./camlibs/adc65/README.adc65 + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/jl2005a/README.jl2005a + mv -f ./camlibs/jl2005a/README.jl2005a.conv ./camlibs/jl2005a/README.jl2005a + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/pccam600/README.pccam600 + mv -f ./camlibs/pccam600/README.pccam600.conv ./camlibs/pccam600/README.pccam600 + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/template/README.template + mv -f ./camlibs/template/README.template.conv ./camlibs/template/README.template + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/lumix/README.lumix + mv -f ./camlibs/lumix/README.lumix.conv ./camlibs/lumix/README.lumix + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/sonydscf1/README.sonydscf1 + mv -f ./camlibs/sonydscf1/README.sonydscf1.conv ./camlibs/sonydscf1/README.sonydscf1 + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/enigma13/README.enigma13 + mv -f ./camlibs/enigma13/README.enigma13.conv ./camlibs/enigma13/README.enigma13 + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/digigr8/README.905C + mv -f ./camlibs/digigr8/README.905C.conv ./camlibs/digigr8/README.905C + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/digigr8/README.9050 + mv -f ./camlibs/digigr8/README.9050.conv ./camlibs/digigr8/README.9050 + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/digigr8/README.9051 + mv -f ./camlibs/digigr8/README.9051.conv ./camlibs/digigr8/README.9051 + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/digigr8/README.913D + mv -f ./camlibs/digigr8/README.913D.conv ./camlibs/digigr8/README.913D + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/digigr8/README.9052 + mv -f ./camlibs/digigr8/README.9052.conv ./camlibs/digigr8/README.9052 + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/tp6801/README.tp6801 + mv -f ./camlibs/tp6801/README.tp6801.conv ./camlibs/tp6801/README.tp6801 + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/aox/README.aox + mv -f ./camlibs/aox/README.aox.conv ./camlibs/aox/README.aox + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/mars/README.mars + mv -f ./camlibs/mars/README.mars.conv ./camlibs/mars/README.mars + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/largan/lmini/README.largan-lmini + mv -f ./camlibs/largan/lmini/README.largan-lmini.conv ./camlibs/largan/lmini/README.largan-lmini + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/pccam300/README.pccam300 + mv -f ./camlibs/pccam300/README.pccam300.conv ./camlibs/pccam300/README.pccam300 + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/jamcam/README.jamcam + mv -f ./camlibs/jamcam/README.jamcam.conv ./camlibs/jamcam/README.jamcam + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/ax203/README.ax203 + mv -f ./camlibs/ax203/README.ax203.conv ./camlibs/ax203/README.ax203 + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/ax203/README.ax203-compression + mv -f ./camlibs/ax203/README.ax203-compression.conv ./camlibs/ax203/README.ax203-compression + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/panasonic/l859/README.panasonic-l859 + mv -f ./camlibs/panasonic/l859/README.panasonic-l859.conv ./camlibs/panasonic/l859/README.panasonic-l859 + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/panasonic/README.panasonic + mv -f ./camlibs/panasonic/README.panasonic.conv ./camlibs/panasonic/README.panasonic + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/panasonic/coolshot/README.panasonic-coolshot + mv -f ./camlibs/panasonic/coolshot/README.panasonic-coolshot.conv ./camlibs/panasonic/coolshot/README.panasonic-coolshot + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/spca50x/README.spca50x + mv -f ./camlibs/spca50x/README.spca50x.conv ./camlibs/spca50x/README.spca50x + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/lg_gsm/README.lg_gsm + mv -f ./camlibs/lg_gsm/README.lg_gsm.conv ./camlibs/lg_gsm/README.lg_gsm + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/agfa-cl20/README.agfa-cl20 + mv -f ./camlibs/agfa-cl20/README.agfa-cl20.conv ./camlibs/agfa-cl20/README.agfa-cl20 + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/clicksmart310/README.clicksmart310 + mv -f ./camlibs/clicksmart310/README.clicksmart310.conv ./camlibs/clicksmart310/README.clicksmart310 + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/gsmart300/README.gsmart300 + mv -f ./camlibs/gsmart300/README.gsmart300.conv ./camlibs/gsmart300/README.gsmart300 + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/iclick/README.iclick + mv -f ./camlibs/iclick/README.iclick.conv ./camlibs/iclick/README.iclick + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./camlibs/smal/README.smal + mv -f ./camlibs/smal/README.smal.conv ./camlibs/smal/README.smal + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./libgphoto2_port/gphoto-m4/README.md + mv -f ./libgphoto2_port/gphoto-m4/README.md.conv ./libgphoto2_port/gphoto-m4/README.md + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./libgphoto2_port/vusb/README.txt + mv -f ./libgphoto2_port/vusb/README.txt.conv ./libgphoto2_port/vusb/README.txt + for f in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'` + iconv -f ISO-8859-1 -t UTF-8 ./doc/README.apidocs + mv -f ./doc/README.apidocs.conv ./doc/README.apidocs + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.i3MV5n + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libgphoto2-2.5.30 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./libgphoto2_port/configure + diff -u ./libgphoto2_port/configure.backup ./libgphoto2_port/configure + mv ./libgphoto2_port/configure.backup ./libgphoto2_port/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./libgphoto2_port/configure + diff -u ./libgphoto2_port/configure.backup ./libgphoto2_port/configure + mv ./libgphoto2_port/configure.backup ./libgphoto2_port/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./libgphoto2_port/configure + diff -u ./libgphoto2_port/configure.backup ./libgphoto2_port/configure --- ./libgphoto2_port/configure.backup 2022-07-02 16:29:31.000000000 +0800 +++ ./libgphoto2_port/configure 2024-09-13 10:39:17.179806610 +0800 @@ -1887,7 +1887,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./libgphoto2_port/configure + diff -u ./libgphoto2_port/configure.backup ./libgphoto2_port/configure + mv ./libgphoto2_port/configure.backup ./libgphoto2_port/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./libgphoto2_port/configure + diff -u ./libgphoto2_port/configure.backup ./libgphoto2_port/configure --- ./libgphoto2_port/configure.backup 2024-09-13 10:39:17.179806610 +0800 +++ ./libgphoto2_port/configure 2024-09-13 10:39:17.207807247 +0800 @@ -7263,7 +7263,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -19961,7 +19961,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2022-07-02 17:19:10.000000000 +0800 +++ ./configure 2024-09-13 10:39:17.251808249 +0800 @@ -2072,7 +2072,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2024-09-13 10:39:17.251808249 +0800 +++ ./configure 2024-09-13 10:39:17.287809069 +0800 @@ -10284,7 +10284,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -29421,7 +29421,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./auto-aux/config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./auto-aux/config.guess ++ basename ./auto-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./auto-aux/config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './auto-aux/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./auto-aux/config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./auto-aux/config.sub ++ basename ./auto-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./auto-aux/config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './auto-aux/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./libgphoto2_port/auto-aux/config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./libgphoto2_port/auto-aux/config.guess ++ basename ./libgphoto2_port/auto-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./libgphoto2_port/auto-aux/config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './libgphoto2_port/auto-aux/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./libgphoto2_port/auto-aux/config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./libgphoto2_port/auto-aux/config.sub ++ basename ./libgphoto2_port/auto-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./libgphoto2_port/auto-aux/config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './libgphoto2_port/auto-aux/config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld"~' ./auto-aux/ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld"~' ./libgphoto2_port/auto-aux/ltmain.sh + ./configure --build=loongarch64-opencloudos-linux-gnu --host=loongarch64-opencloudos-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info udevscriptdir= --with-drivers=all --with-doc-dir=/usr/share/doc/libgphoto2 --disable-static --disable-rpath checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free 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 POSIX sh $() command substitution... yes checking original CC value... "gcc" checking original CXX value... "g++" checking for loongarch64-opencloudos-linux-gnu-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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none checking for a sed that does not truncate output... /usr/bin/sed checking for loongarch64-opencloudos-linux-gnu-ar... no checking for loongarch64-opencloudos-linux-gnu-lib... no checking for loongarch64-opencloudos-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking for rsync... no /* confdefs.h */ #define PACKAGE_NAME "libgphoto2 photo camera library" #define PACKAGE_TARNAME "libgphoto2" #define PACKAGE_VERSION "2.5.30" #define PACKAGE_STRING "libgphoto2 photo camera library 2.5.30" #define PACKAGE_BUGREPORT "gphoto-devel@lists.sourceforge.net" #define PACKAGE_URL "" #define PACKAGE "libgphoto2" #define VERSION "2.5.30" configure: saving original confdefs.h and creating empty confdefs.h checking CFLAGS value before... -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection checking CXXFLAGS value before... -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection checking whether CFLAGS can append -std=c90... yes checking whether CFLAGS can append -pedantic -Wall -Wextra -Werror... yes checking whether to test pedantic -std=c90... yes checking whether CFLAGS can append -std=c99... yes checking whether CFLAGS can append -pedantic -Wall -Wextra -Werror... yes checking whether to test pedantic -std=c99... yes checking whether CFLAGS can append -std=c11... yes checking whether CFLAGS can append -pedantic -Wall -Wextra -Werror... yes checking whether to test pedantic -std=c11... yes checking whether CFLAGS can append -std=c2x... yes checking whether CFLAGS can append -pedantic -Wall -Wextra -Werror... yes checking whether to test pedantic -std=c2x... yes checking whether CXXFLAGS can append -std=c++98... yes checking whether CXXFLAGS can append -pedantic -Wall -Wextra -Werror... yes checking whether to test pedantic -std=c++98... yes checking whether CXXFLAGS can append -std=c++11... yes checking whether CXXFLAGS can append -pedantic -Wall -Wextra -Werror... yes checking whether to test pedantic -std=c++11... yes checking whether CXXFLAGS can append -std=c++14... yes checking whether CXXFLAGS can append -pedantic -Wall -Wextra -Werror... yes checking whether to test pedantic -std=c++14... yes checking whether CXXFLAGS can append -std=c++17... yes checking whether CXXFLAGS can append -pedantic -Wall -Wextra -Werror... yes checking whether to test pedantic -std=c++17... yes checking whether CXXFLAGS can append -std=c++20... yes checking whether CXXFLAGS can append -pedantic -Wall -Wextra -Werror... yes checking whether to test pedantic -std=c++20... yes checking whether CFLAGS can append -Werror=unknown-warning-option... no checking whether CFLAGS can append -Wall... yes checking whether CFLAGS can append -Wextra... yes checking whether CFLAGS can append -Wmost... no checking whether CFLAGS can append -Wno-error=reserved-identifier... no checking whether CFLAGS can append -Wno-error=documentation-deprecated-sync... no checking whether CFLAGS can append -Wno-unused-parameter... yes checking CFLAGS value after... -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wno-unused-parameter checking CXXFLAGS value after... -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection configure: restoring original confdefs.h /* confdefs.h */ #define PACKAGE_NAME "libgphoto2 photo camera library" #define PACKAGE_TARNAME "libgphoto2" #define PACKAGE_VERSION "2.5.30" #define PACKAGE_STRING "libgphoto2 photo camera library 2.5.30" #define PACKAGE_BUGREPORT "gphoto-devel@lists.sourceforge.net" #define PACKAGE_URL "" #define PACKAGE "libgphoto2" #define VERSION "2.5.30" checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for stdarg.h... yes checking for va_copy() or replacement... va_copy checking build system type... loongarch64-opencloudos-linux-gnu checking host system type... loongarch64-opencloudos-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... (cached) /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 loongarch64-opencloudos-linux-gnu file names to loongarch64-opencloudos-linux-gnu format... func_convert_file_noop checking how to convert loongarch64-opencloudos-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for loongarch64-opencloudos-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for loongarch64-opencloudos-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for loongarch64-opencloudos-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for loongarch64-opencloudos-linux-gnu-strip... no checking for strip... strip checking for loongarch64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 10290: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory 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 loongarch64-opencloudos-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no 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) 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 for shl_load... no checking for shl_load in -ldld... no checking for dlopen... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no 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... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for libltdl... autodetecting checking for libltdl at default location... yes checking LTDLINCL (autodetected)... checking LIBLTDL (autodetected)... -lltdl checking translation text domain symbol... GETTEXT_PACKAGE_LIBGPHOTO2 checking translation text domain value... libgphoto2-6 checking translation subdirectory... po checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for iconv... yes checking for working iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for asm .symver support... yes checking for main in -libs... no checking for sqrt in -lm... yes checking for loongarch64-opencloudos-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking whether to build with libjpeg... auto checking for libjpeg via variables... no checking for LIBJPEG... yes checking linking with libjpeg works... yes checking for WSAStartup in -lws2_32... no checking for dynamic library extension... .so checking for libxml-2.0 to use... autodetect checking for LIBXML2... yes checking for libxml/parser.h... yes checking for function xmlFirstElementChild in libxml-2.0... yes checking libxml-2.0 library flags... "-lxml2" checking libxml-2.0 cpp flags... "-I/usr/include/libxml2" checking for libcurl to use... autodetect checking for LIBCURL... yes checking for curl/curl.h... yes checking for function curl_easy_init in libcurl... yes checking libcurl library flags... "-lcurl" checking libcurl cpp flags... "" checking for gdlib to use... autodetect checking for LIBGD... yes checking for gd.h... yes checking for function gdImageCreateTrueColor in gdlib... yes checking gdlib library flags... "-lgd -lgd" checking gdlib cpp flags... "-I/usr/include/freetype2 -I/usr/include/sysprof-4 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/webp -I/usr/include/harfbuzz -I/usr/include/libpng16" checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for egrep... (cached) /usr/bin/grep -E checking for sys/param.h... yes checking for sys/mman.h... yes checking for sys/select.h... yes checking for locale.h... yes checking for memory.h... yes checking for getopt.h... yes checking for unistd.h... (cached) yes checking for mcheck.h... yes checking for limits.h... yes checking for sys/time.h... yes checking for langinfo.h... yes checking for library containing mmap... none required checking for inline... inline checking for an ANSI C-conforming const... yes checking for size_t... yes checking for getenv... yes checking for getopt... yes checking for getopt_long... yes checking for mkdir... yes checking for setenv... yes checking for strdup... yes checking for strncpy... yes checking for strcpy... yes checking for snprintf... yes checking for sprintf... yes checking for vsnprintf... yes checking for gmtime_r... yes checking for statvfs... yes checking for localtime_r... yes checking for lstat... yes checking for inet_aton... yes checking for rand_r... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for tm_gmtoff in struct tm... yes checking for sys/mount.h... yes checking for sys/statvfs.h... yes checking for sys/user.h... yes checking for sys/vfs.h... yes checking for struct statvfs.f_blocks... yes checking whether byte ordering is bigendian... no checking for le32toh in machine/endian.h... no checking for ntohl in arpa/inet.h... yes checking for swap32 in machine/endian.h... no checking for bswap_32 in byteswap.h... yes checking where to install camlibs (camlibdir)... ${libdir}/libgphoto2/2.5.30 (default) checking for deprecated --with-camlibdir argument... not used (very good) checking default location to look for camlibs... value of camlibdir (default) checking for cmp... /usr/bin/cmp checking for sort... /usr/bin/sort checking for tr... /usr/bin/tr checking for uniq... /usr/bin/uniq checking for expr... /usr/bin/expr checking for sleep... /usr/bin/sleep checking for sleep... /usr/bin/sleep checking whether configure script should sleep... yes checking for comm... /usr/bin/comm checking whether comm -23 works... yes checking with-camlibs requested... standard set checking with-camlibs parsing... finished checking value of set camlib-set-diff-skipping... checking value of set camlib-set-diff-over-standard... checking value of set camlib-set-diff-from-standard... checking value of set camlib-set-diff-skipping... { } checking value of set camlib-set-diff-from-standard... { } checking value of set camlib-set-diff-over-standard... { } checking whether skipping some requested camlibs... no checking camlib set to build in detail... ax203 canon digigr8 dimagev directory docupen jl2005a jl2005c kodak_dc240 lumix mars pentax ptp2 ricoh_g3 sierra sonix sq905 st2205 topfield tp6801 checking for dot... no checking HAVE_DOT... no checking for doxygen... no checking HAVE_DOXYGEN... no checking whether to create internal code docs... no checking for hotplug doc dir... ${datarootdir}/doc/${PACKAGE_TARNAME}/linux-hotplug (default) checking for hotplug usermap dir... ${datarootdir}/doc/${PACKAGE_TARNAME}/linux-hotplug (default) checking for libexif to use... autodetect checking for LIBEXIF... yes checking whether we use a version of libexif with ExifData.ifd[]... yes checking for libexif/exif-data.h... yes checking for function exif_data_new in libexif... yes checking libexif library flags... "-lexif" checking libexif cpp flags... "" checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating gphoto2-config config.status: creating camlibs/Makefile config.status: creating camlibs/canon/doc/Makefile config.status: creating camlibs/konica/localization/Makefile config.status: creating libgphoto2/Makefile config.status: creating libgphoto2.pc config.status: creating libgphoto2-uninstalled.pc config.status: creating examples/Makefile config.status: creating tests/Makefile config.status: creating packaging/Makefile config.status: creating packaging/generic/Makefile config.status: creating po/Makefile.in config.status: creating doc/Makefile config.status: creating doc/Doxyfile config.status: creating doc/Doxyfile-internals config.status: creating doc/api/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile === configuring in libgphoto2_port (/builddir/build/BUILD/libgphoto2-2.5.30/libgphoto2_port) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--build=loongarch64-opencloudos-linux-gnu' '--host=loongarch64-opencloudos-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' 'udevscriptdir=' '--with-drivers=all' '--with-doc-dir=/usr/share/doc/libgphoto2' '--disable-static' '--disable-rpath' 'build_alias=loongarch64-opencloudos-linux-gnu' 'host_alias=loongarch64-opencloudos-linux-gnu' 'CC=gcc' 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' 'CXX=g++' 'CXXFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' 'LT_SYS_LIBRARY_PATH=/usr/lib64:' 'PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig' --cache-file=/dev/null --srcdir=. checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free 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 loongarch64-opencloudos-linux-gnu-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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for a sed that does not truncate output... /usr/bin/sed checking for loongarch64-opencloudos-linux-gnu-ar... no checking for loongarch64-opencloudos-linux-gnu-lib... no checking for loongarch64-opencloudos-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking build system type... loongarch64-opencloudos-linux-gnu checking host system type... loongarch64-opencloudos-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... (cached) /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 loongarch64-opencloudos-linux-gnu file names to loongarch64-opencloudos-linux-gnu format... func_convert_file_noop checking how to convert loongarch64-opencloudos-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for loongarch64-opencloudos-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for loongarch64-opencloudos-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for loongarch64-opencloudos-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for loongarch64-opencloudos-linux-gnu-strip... no checking for strip... strip checking for loongarch64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 7269: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory 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 loongarch64-opencloudos-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.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) 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 for shl_load... no checking for shl_load in -ldld... no checking for dlopen... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no 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 libltdl... autodetecting checking for libltdl at default location... yes checking LTDLINCL (autodetected)... checking LIBLTDL (autodetected)... -lltdl checking for POSIX sh $() command substitution... yes checking translation text domain symbol... GETTEXT_PACKAGE_LIBGPHOTO2_PORT checking translation text domain value... libgphoto2_port-12 checking translation subdirectory... po checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for iconv... yes checking for working iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for gettext... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for egrep... (cached) /usr/bin/grep -E checking for inline... inline checking for an ANSI C-conforming const... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for stdio.h... (cached) yes checking for fcntl.h... yes checking for errno.h... yes checking for sys/time.h... yes checking for sys/param.h... yes checking for sys/select.h... yes checking for termios.h... yes checking for sgetty.h... no checking for ttold.h... no checking for ioctl-types.h... no checking for fcntl.h... (cached) yes checking for sgtty.h... yes checking for sys/ioctl.h... yes checking for sys/time.h... (cached) yes checking for termio.h... yes checking for unistd.h... (cached) yes checking for endian.h... yes checking for byteswap.h... yes checking for asm/io.h... no checking for mntent.h... yes checking for sys/mntent.h... no checking for sys/mnttab.h... no checking for scsi/sg.h... yes checking for limits.h... yes checking for sys/file.h... yes checking for regex.h... yes checking for regexec in -lregex... no checking for asm .symver support... yes checking for mnt_mountp in struct mnttab... no checking for setmntent... yes checking for endmntent... yes checking for strerror... yes checking for snprintf... yes checking for vsnprintf... yes checking for flock... yes checking for stdarg.h... yes checking for va_copy() or replacement... va_copy checking for loongarch64-opencloudos-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for dynamic library extension... .so checking for libexif to use... autodetect checking for LIBEXIF... yes checking whether we use a version of libexif with ExifData.ifd[]... yes checking for libexif/exif-data.h... yes checking for function exif_data_new in libexif... yes checking libexif library flags... "-lexif" checking libexif cpp flags... "" checking for lockdev.h... yes checking for ttylock.h... yes checking if ttylock needs lockdev... no checking for dev_lock in -llockdev... yes checking for lockdev.h... (cached) yes checking for pthread_create in -lpthread... yes checking for libusb-1.0 to use... autodetect checking for LIBUSB1... yes checking for libusb_strerror... yes checking for libusb.h... yes checking for function libusb_init in libusb-1.0... yes checking libusb-1.0 library flags... "-lusb-1.0" checking libusb-1.0 cpp flags... "-I/usr/include/libusb-1.0" checking for libusb to use... autodetect checking for LIBUSB... no checking libusb config program... libusb-config checking for libusb-config... no checking where to install iolibs (port libraries) (iolibdir)... ${libdir}/libgphoto2_port/0.12.1 (default) checking for deprecated --with-iolibdir argument... not used (very good) checking default location to look for iolibs (port libraries)... value of iolibdir (default) checking for re_compile_pattern... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating po/Makefile.in config.status: creating libgphoto2_port/Makefile config.status: creating libgphoto2_port.pc config.status: creating libgphoto2_port-uninstalled.pc config.status: creating gphoto2-port-config config.status: creating tests/Makefile config.status: creating doc/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile Configuration (libgphoto2_port 0.12.1): Build Source directory: . Compiler: gcc libltdl includes: libltdl library: -lltdl Use translations: yes libexif: yes Serial ports Serial support: yes ttylock locking: no lockdev locking: yes USB ports libusb-1.0: yes libusb: no virtual USB support: disabled, no virtual PTP test camera General IOLIBs: disk ptpip serial usb1 usbdiskdirect usbscsi Documentation build API docs with gtk-doc: no (not requested) You may run "make" and "make install" now. Configuration (libgphoto2 2.5.30): Build Source code location: . Compiler: gcc libltdl includes: libltdl library: -lltdl Features Use translations: yes JPEG mangling support: yes Winsocket support (for PTP/..: no libxml-2.0: yes XML support for Olympus E s..: yes libcurl: yes CURL support for Lumix Wifi: yes gdlib: yes libGD conversion support: yes Camlibs: standard set (ax203 canon digigr8 dimagev directory docupen jl2005a jl2005c kodak_dc240 lumix mars pentax ptp2 ricoh_g3 sierra sonix sq905 st2205 topfield tp6801) build doxygen docs: no build API docs with gtk-doc: no (not requested) libexif: yes Subprojects: libgphoto2_port You may run "make" and "make install" now. Please check whether the configuration I have detected matches what you would like to have. E.g. make sure that USB support is there if you intend to use USB cameras with libgphoto2 photo camera library. Please also check that PKG_CONFIG_PATH contains ${libdir}/pkgconfig before compiling any libgphoto2 frontend. + sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool libgphoto2_port/libtool + sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool libgphoto2_port/libtool + /usr/bin/make -O -j32 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in libgphoto2_port /usr/bin/make all-recursive Making all in po make[4]: Nothing to be done for 'all'. Making all in libgphoto2_port