* Package: sci-chemistry/rasmol-2.7.5.2 * Repository: gentoo * Maintainer: sci-chemistry@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox * Using following Fortran compiler: * F77: x86_64-pc-linux-gnu-gfortran * FC: x86_64-pc-linux-gnu-gfortran * Applying rasmol-2.7.5.2-glib.h.patch ... [ ok ] * Applying 2.7.5-bundled-lib.patch ... [ ok ] * Adjusting to prefix / * Imakefile ... [ ok ] imake -DGTKWIN -DUseInstalled -I/usr/lib64/X11/config make: Entering directory '/var/tmp/portage/sci-chemistry/rasmol-2.7.5.2/work/RasMol-2.7.5.2/src' rm -f rasmol._man rm -f rasmol rm -f gtkui.h rasmol.man rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut "#"* make: Leaving directory '/var/tmp/portage/sci-chemistry/rasmol-2.7.5.2/work/RasMol-2.7.5.2/src' make: Entering directory '/var/tmp/portage/sci-chemistry/rasmol-2.7.5.2/work/RasMol-2.7.5.2/src' x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -pthread -I/usr/include/vte-0.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -DGTKWIN -DRASMOLDIR=\"/usr/lib64/rasmol/\" -DTHIRTYTWOBIT -D_USE_RASMOL_H_ -I/usr/include -I/usr/include/cbflib -c -o rasmol.o rasmol.c x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -pthread -I/usr/include/vte-0.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -DGTKWIN -DRASMOLDIR=\"/usr/lib64/rasmol/\" -DTHIRTYTWOBIT -D_USE_RASMOL_H_ -I/usr/include -I/usr/include/cbflib -c -o molecule.o molecule.c x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -pthread -I/usr/include/vte-0.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -DGTKWIN -DRASMOLDIR=\"/usr/lib64/rasmol/\" -DTHIRTYTWOBIT -D_USE_RASMOL_H_ -I/usr/include -I/usr/include/cbflib -c -o abstree.o abstree.c x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -pthread -I/usr/include/vte-0.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -DGTKWIN -DRASMOLDIR=\"/usr/lib64/rasmol/\" -DTHIRTYTWOBIT -D_USE_RASMOL_H_ -I/usr/include -I/usr/include/cbflib -c -o cmndline.o cmndline.c molecule.c: In function ‘DescribeMolecule’: molecule.c:446:5: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘Long’ [-Wformat=] { sprintf(buffer," (%ld)\n",HetaAtomCount); ^ x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -pthread -I/usr/include/vte-0.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -DGTKWIN -DRASMOLDIR=\"/usr/lib64/rasmol/\" -DTHIRTYTWOBIT -D_USE_RASMOL_H_ -I/usr/include -I/usr/include/cbflib -c -o command.o command.c abstree.c: In function ‘DescribeObj’: abstree.c:1581:6: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 7 has type ‘Long’ [-Wformat=] str[0], str[1], str[2], str[3], ptr->atm->serno ); ^ abstree.c:1584:6: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 8 has type ‘Long’ [-Wformat=] str[0], str[1], str[2], str[3] ,ptr->atm->altl, ptr->atm->serno ); ^ x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -pthread -I/usr/include/vte-0.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -DGTKWIN -DRASMOLDIR=\"/usr/lib64/rasmol/\" -DTHIRTYTWOBIT -D_USE_RASMOL_H_ -I/usr/include -I/usr/include/cbflib -c -o transfor.o transfor.c x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -pthread -I/usr/include/vte-0.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -DGTKWIN -DRASMOLDIR=\"/usr/lib64/rasmol/\" -DTHIRTYTWOBIT -D_USE_RASMOL_H_ -I/usr/include -I/usr/include/cbflib -c -o render.o render.c command.c: In function ‘ShowRecordCommand’: command.c:1289:13: error: format not a string literal and no format arguments [-Werror=format-security] sprintf(param,RecordTemplate); ^ command.c: In function ‘ShowPlayCommand’: command.c:1384:13: error: format not a string literal and no format arguments [-Werror=format-security] sprintf(param,PlayTemplate); ^ command.c: In function ‘WriteMovieFrame’: command.c:1472:11: error: format not a string literal and no format arguments [-Werror=format-security] sprintf(param,RecordTemplate); ^ command.c: In function ‘PlayMovieFrame’: command.c:1508:17: error: format not a string literal and no format arguments [-Werror=format-security] sprintf(param,PlayTemplate); ^ x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -pthread -I/usr/include/vte-0.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -DGTKWIN -DRASMOLDIR=\"/usr/lib64/rasmol/\" -DTHIRTYTWOBIT -D_USE_RASMOL_H_ -I/usr/include -I/usr/include/cbflib -c -o repres.o repres.c command.c: In function ‘ExecuteShowCommand’: command.c:4124:17: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘Long’ [-Wformat=] sprintf(buffer,"centre [%ld,%ld,%ld]\n", CenX, CenY, -CenZ); ^ command.c:4124:17: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘Long’ [-Wformat=] command.c:4124:17: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘Long’ [-Wformat=] command.c:4174:29: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘Long’ [-Wformat=] (brptr->BSrcAtom)->serno, (brptr->BDstAtom)->serno); ^ command.c:4174:29: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘Long’ [-Wformat=] render.c: In function ‘DescribeAtom’: render.c:2048:9: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘Long’ [-Wformat=] cur += sprintf(cur, " (%ld)", ptr->atm->serno); ^ render.c: In function ‘PickAtoms’: render.c:2111:9: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘Long’ [-Wformat=] cur += sprintf(cur, " %ld ", QAtom->serno); ^ cc1: some warnings being treated as errors : recipe for target 'command.o' failed make: *** [command.o] Error 1 make: *** Waiting for unfinished jobs.... repres.c: In function ‘CreateMonitor’: repres.c:766:9: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘Long’ [-Wformat=] { sprintf(buffer," %ld",dst); ^ repres.c:768:9: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘Long’ [-Wformat=] { sprintf(buffer," %ld",src); ^ repres.c:769:9: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘Long’ [-Wformat=] } else sprintf(buffer,"s %ld and %ld",src,dst); ^ repres.c:769:9: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘Long’ [-Wformat=] repres.c: In function ‘LoadDotsFile’: repres.c:1208:9: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘Long’ [-Wformat=] { sprintf(buffer,"%ld dots read from file\n",count); ^ make: Leaving directory '/var/tmp/portage/sci-chemistry/rasmol-2.7.5.2/work/RasMol-2.7.5.2/src' * ERROR: sci-chemistry/rasmol-2.7.5.2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sci-chemistry/rasmol-2.7.5.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=sci-chemistry/rasmol-2.7.5.2::gentoo'`. * The complete build log is located at '/var/log/log/build/sci-chemistry/rasmol-2.7.5.2:20150312-095844.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sci-chemistry/rasmol-2.7.5.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-chemistry/rasmol-2.7.5.2/temp/environment'. * Working directory: '/var/tmp/portage/sci-chemistry/rasmol-2.7.5.2/work/RasMol-2.7.5.2' * S: '/var/tmp/portage/sci-chemistry/rasmol-2.7.5.2/work/RasMol-2.7.5.2'