Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 543020 Details for
Bug 663346
media-libs/libdmtx-0.7.5 : [TEST] simple_test.c:41:4: error: C++ style comments are not allowed in ISO C90
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
media-libs:libdmtx-0.7.5:20180811-071641.log
media-libs:libdmtx-0.7.5:20180811-071641.log (text/plain), 14.76 KB, created by
Toralf Förster
on 2018-08-11 07:45:23 UTC
(
hide
)
Description:
media-libs:libdmtx-0.7.5:20180811-071641.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2018-08-11 07:45:23 UTC
Size:
14.76 KB
patch
obsolete
> * Package: media-libs/libdmtx-0.7.5 > * Repository: gentoo > * Maintainer: kde@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking libdmtx-0.7.5.tar.gz to /var/tmp/portage/media-libs/libdmtx-0.7.5/work >>>> Source unpacked in /var/tmp/portage/media-libs/libdmtx-0.7.5/work >>>> Preparing source in /var/tmp/portage/media-libs/libdmtx-0.7.5/work/libdmtx-0.7.5 ... > * Running eautoreconf in '/var/tmp/portage/media-libs/libdmtx-0.7.5/work/libdmtx-0.7.5' ... > * Running libtoolize --install --copy --force --automake ... > [ ok ] > * Running aclocal -I m4 ... > [ ok ] > * Running autoconf --force ... > [ ok ] > * Running autoheader ... > [ ok ] > * Running automake --add-missing --copy --foreign --force-missing ... > [ ok ] > * Running elibtoolize in: libdmtx-0.7.5/ > * Applying portage/1.2.0 patch ... > * Applying sed/1.5.6 patch ... > * Applying as-needed/2.4.3 patch ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/media-libs/libdmtx-0.7.5/work/libdmtx-0.7.5 ... > * econf: updating libdmtx-0.7.5/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating libdmtx-0.7.5/config.guess with /usr/share/gnuconfig/config.guess >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/libdmtx-0.7.5 --htmldir=/usr/share/doc/libdmtx-0.7.5/html --with-sysroot=/ --libdir=/usr/lib64 --disable-static >checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/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 for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether 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 whether make supports the include directive... yes (GNU style) >checking dependency style of x86_64-pc-linux-gnu-gcc... none >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking how to print strings... printf >checking for a sed that does not truncate output... /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... /usr/x86_64-pc-linux-gnu/bin/ld >checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes >checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B >checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm >checking whether ln -s works... yes >checking the maximum length of command line arguments... 1572864 >checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop >checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop >checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r >checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump >checking how to recognize dependent libraries... pass_all >checking for x86_64-pc-linux-gnu-dlltool... no >checking for dlltool... no >checking how to associate runtime and link libraries... printf %s\n >checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar >checking for archiver @FILE support... @ >checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip >checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib >checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok >checking for sysroot... / >checking for a working dd... /bin/dd >checking how to truncate binary pipes... /bin/dd bs=4096 count=1 >checking for x86_64-pc-linux-gnu-mt... no >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 (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes >checking whether -lc should be explicitly linked in... no >checking dynamic linker characteristics... GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >checking if libtool supports shared libraries... yes >checking whether to build shared libraries... yes >checking whether to build static libraries... no >checking for library containing sin... -lm >checking for library containing cos... none required >checking for library containing atan2... none required >checking sys/time.h usability... yes >checking sys/time.h presence... yes >checking for sys/time.h... yes >checking for gettimeofday... yes >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: creating libdmtx.pc >config.status: creating test/Makefile >config.status: creating test/simple_test/Makefile >config.status: creating config.h >config.status: executing depfiles commands >config.status: executing libtool commands >>>> Source configured. >>>> Compiling source in /var/tmp/portage/media-libs/libdmtx-0.7.5/work/libdmtx-0.7.5 ... >make -j1 >make all-recursive >make[1]: Entering directory '/var/tmp/portage/media-libs/libdmtx-0.7.5/work/libdmtx-0.7.5' >Making all in . >make[2]: Entering directory '/var/tmp/portage/media-libs/libdmtx-0.7.5/work/libdmtx-0.7.5' >/bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wshadow -Wall -pedantic -std=c99 -Wall -pedantic -O2 -pipe -march=native -c -o libdmtx_la-dmtx.lo `test -f 'dmtx.c' || echo './'`dmtx.c >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wshadow -Wall -pedantic -std=c99 -Wall -pedantic -O2 -pipe -march=native -c dmtx.c -fPIC -DPIC -o .libs/libdmtx_la-dmtx.o >/bin/sh ./libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -Wall -pedantic -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed -o libdmtx.la -rpath /usr/lib64 libdmtx_la-dmtx.lo -lm >libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC .libs/libdmtx_la-dmtx.o -Wl,--as-needed -lm -O2 -march=native -Wl,-O1 -Wl,-soname -Wl,libdmtx.so.0 -o .libs/libdmtx.so.0.0.0 >libtool: link: (cd ".libs" && rm -f "libdmtx.so.0" && ln -s "libdmtx.so.0.0.0" "libdmtx.so.0") >libtool: link: (cd ".libs" && rm -f "libdmtx.so" && ln -s "libdmtx.so.0.0.0" "libdmtx.so") >libtool: link: ( cd ".libs" && rm -f "libdmtx.la" && ln -s "../libdmtx.la" "libdmtx.la" ) >make[2]: Leaving directory '/var/tmp/portage/media-libs/libdmtx-0.7.5/work/libdmtx-0.7.5' >Making all in test >make[2]: Entering directory '/var/tmp/portage/media-libs/libdmtx-0.7.5/work/libdmtx-0.7.5/test' >Making all in simple_test >make[3]: Entering directory '/var/tmp/portage/media-libs/libdmtx-0.7.5/work/libdmtx-0.7.5/test/simple_test' >make[3]: Nothing to be done for 'all'. >make[3]: Leaving directory '/var/tmp/portage/media-libs/libdmtx-0.7.5/work/libdmtx-0.7.5/test/simple_test' >make[3]: Entering directory '/var/tmp/portage/media-libs/libdmtx-0.7.5/work/libdmtx-0.7.5/test' >make[3]: Nothing to be done for 'all-am'. >make[3]: Leaving directory '/var/tmp/portage/media-libs/libdmtx-0.7.5/work/libdmtx-0.7.5/test' >make[2]: Leaving directory '/var/tmp/portage/media-libs/libdmtx-0.7.5/work/libdmtx-0.7.5/test' >make[1]: Leaving directory '/var/tmp/portage/media-libs/libdmtx-0.7.5/work/libdmtx-0.7.5' >>>> Source compiled. >>>> Test phase: media-libs/libdmtx-0.7.5 >make -j1 check >Making check in . >make[1]: Entering directory '/var/tmp/portage/media-libs/libdmtx-0.7.5/work/libdmtx-0.7.5' >make[1]: Leaving directory '/var/tmp/portage/media-libs/libdmtx-0.7.5/work/libdmtx-0.7.5' >Making check in test >make[1]: Entering directory '/var/tmp/portage/media-libs/libdmtx-0.7.5/work/libdmtx-0.7.5/test' >Making check in simple_test >make[2]: Entering directory '/var/tmp/portage/media-libs/libdmtx-0.7.5/work/libdmtx-0.7.5/test/simple_test' >make simple_test >make[3]: Entering directory '/var/tmp/portage/media-libs/libdmtx-0.7.5/work/libdmtx-0.7.5/test/simple_test' >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -Wshadow -Wall -pedantic -ansi -O2 -pipe -march=native -c -o simple_test.o simple_test.c >simple_test.c: In function âmainâ: >simple_test.c:41:4: error: C++ style comments are not allowed in ISO C90 > //dmtxEncodeSetProp( enc, DmtxPropPixelPacking, DmtxPack16bppRGB ); > ^ >simple_test.c:41:4: error: (this will be reported only once per input file) >simple_test.c:61:32: warning: format â%dâ expects argument of type âintâ, but argument 3 has type âsize_t {aka long unsigned int}â [-Wformat=] > fprintf(stdout, "width: \"%d\"\n", width); > ~^ > %ld >simple_test.c:62:32: warning: format â%dâ expects argument of type âintâ, but argument 3 has type âsize_t {aka long unsigned int}â [-Wformat=] > fprintf(stdout, "height: \"%d\"\n", height); > ~^ > %ld >simple_test.c:63:32: warning: format â%dâ expects argument of type âintâ, but argument 3 has type âsize_t {aka long unsigned int}â [-Wformat=] > fprintf(stdout, "bpp: \"%d\"\n", bytesPerPixel); > ~^ > %ld >simple_test.c:65:4: error: âforâ loop initial declarations are only allowed in C99 or C11 mode > for (int i=0; i<width*height; i++){ > ^~~ >simple_test.c:65:4: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code >simple_test.c:84:45: warning: format â%dâ expects argument of type âintâ, but argument 3 has type âsize_t {aka long unsigned int}â [-Wformat=] > fprintf(stdout, "msg->arraySize : \"%d\"\n", msg->arraySize ); > ~^ ~~~~~~~~~~~~~~ > %ld >simple_test.c:85:45: warning: format â%dâ expects argument of type âintâ, but argument 3 has type âsize_t {aka long unsigned int}â [-Wformat=] > fprintf(stdout, "msg->codeSize : \"%d\"\n", msg->codeSize ); > ~^ ~~~~~~~~~~~~~ > %ld >simple_test.c:86:45: warning: format â%dâ expects argument of type âintâ, but argument 3 has type âsize_t {aka long unsigned int}â [-Wformat=] > fprintf(stdout, "msg->outputSize: \"%d\"\n", msg->outputSize); > ~^ ~~~~~~~~~~~~~~~ > %ld >simple_test.c:87:18: warning: implicit declaration of function âsqrtâ [-Wimplicit-function-declaration] > int oned = sqrt(msg->arraySize); > ^~~~ >simple_test.c:87:18: warning: incompatible implicit declaration of built-in function âsqrtâ >simple_test.c:87:18: note: include â<math.h>â or provide a declaration of âsqrtâ >simple_test.c:87:7: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] > int oned = sqrt(msg->arraySize); > ^~~ >simple_test.c:88:16: warning: declaration of âiâ shadows a previous local [-Wshadow] > for (int i=0; i<msg->arraySize; i++){ > ^ >simple_test.c:65:13: note: shadowed declaration is here > for (int i=0; i<width*height; i++){ > ^ >simple_test.c:88:7: error: âforâ loop initial declarations are only allowed in C99 or C11 mode > for (int i=0; i<msg->arraySize; i++){ > ^~~ >simple_test.c:95:7: error: âforâ loop initial declarations are only allowed in C99 or C11 mode > for (int j=0; j<msg->codeSize; j++){ > ^~~ >simple_test.c:99:7: error: âforâ loop initial declarations are only allowed in C99 or C11 mode > for (int k=0; k<msg->outputSize; k++){ > ^~~ >make[3]: *** [Makefile:363: simple_test.o] Error 1 >make[3]: Leaving directory '/var/tmp/portage/media-libs/libdmtx-0.7.5/work/libdmtx-0.7.5/test/simple_test' >make[2]: *** [Makefile:471: check-am] Error 2 >make[2]: Leaving directory '/var/tmp/portage/media-libs/libdmtx-0.7.5/work/libdmtx-0.7.5/test/simple_test' >make[1]: *** [Makefile:347: check-recursive] Error 1 >make[1]: Leaving directory '/var/tmp/portage/media-libs/libdmtx-0.7.5/work/libdmtx-0.7.5/test' >make: *** [Makefile:863: check-recursive] Error 1 > * ERROR: media-libs/libdmtx-0.7.5::gentoo failed (test phase): > * Make check failed. See above for details. > * > * Call stack: > * ebuild.sh, line 124: Called src_test > * environment, line 1430: Called default > * phase-functions.sh, line 867: Called default_src_test > * phase-functions.sh, line 896: Called __eapi0_src_test > * phase-helpers.sh, line 816: Called die > * The specific snippet of code: > * $emake_cmd ${internal_opts} check || \ > * die "Make check failed. See above for details." > * > * If you need support, post the output of `emerge --info '=media-libs/libdmtx-0.7.5::gentoo'`, > * the complete build log and the output of `emerge -pqv '=media-libs/libdmtx-0.7.5::gentoo'`. > * The complete build log is located at '/var/log/portage/media-libs:libdmtx-0.7.5:20180811-071641.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-libs/libdmtx-0.7.5/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/media-libs/libdmtx-0.7.5/temp/environment'. > * Working directory: '/var/tmp/portage/media-libs/libdmtx-0.7.5/work/libdmtx-0.7.5' > * S: '/var/tmp/portage/media-libs/libdmtx-0.7.5/work/libdmtx-0.7.5'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 663346
:
543010
|
543012
|
543014
|
543016
|
543018
| 543020 |
543022