Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/libgphoto2.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-283926-27407/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --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: x86_64 Building for target x86_64 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 x86_64 --nodeps /builddir/build/SPECS/libgphoto2.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-283926-27407/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.WvVSY2 + 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/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/gphoto2-pkgcfg.patch + /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 ./doc/README.apidocs + mv -f ./doc/README.apidocs.conv ./doc/README.apidocs + 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 ./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/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/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/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.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.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/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/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/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/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/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/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/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/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/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/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/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/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/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 ./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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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 ./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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rHNRlq + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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-19 21:08:45.357697298 +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-19 21:08:45.357697298 +0800 +++ ./libgphoto2_port/configure 2024-09-19 21:08:45.418697345 +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-19 21:08:45.563697457 +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-19 21:08:45.563697457 +0800 +++ ./configure 2024-09-19 21:08:45.620697501 +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.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 ./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 ./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' + 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' + '[' 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=x86_64-opencloudos-linux-gnu --host=x86_64-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 x86_64-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 x86_64-opencloudos-linux-gnu-ar... no checking for x86_64-opencloudos-linux-gnu-lib... no checking for x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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