* Package: perl-gcpan/Term-Gnuplot-0.90380906  * Repository: g-cpan  * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU  * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking Term-Gnuplot-0.90380906.zip to /var/tmp/portage/perl-gcpan/Term-Gnuplot-0.90380906/work >>> Source unpacked in /var/tmp/portage/perl-gcpan/Term-Gnuplot-0.90380906/work >>> Preparing source in /var/tmp/portage/perl-gcpan/Term-Gnuplot-0.90380906/work/Term-Gnuplot-0.90380906 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/perl-gcpan/Term-Gnuplot-0.90380906/work/Term-Gnuplot-0.90380906 ... * Using ExtUtils::MakeMaker * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/var/tmp/portage/perl-gcpan/Term-Gnuplot-0.90380906/image/ ...Looking for libs, expect some warnings... Warning (mostly harmless): No library found for -lsocket Warning (mostly harmless): No library found for -lvga Warning (mostly harmless): No library found for -llinuxvga Warning (mostly harmless): No library found for -ljmgraph Warning (mostly harmless): No library found for -lvesa Warning (mostly harmless): No library found for -lpdf ...Found libs: '-lX11 -lgd -lpng -ljpeg -lfreetype -lz' ...Found detected_PNGversion89 png_create_write_struct png_read_image (out of png_read_image detected_PNGversion89 png_create_write_struct) in png.h, keeping -lpng. ...Found gdImageCreate gdImageGif gdImageJpeg gdImagePng gdImageStringFT gdImageStringTTF (out of gdImageCreate gdImageGif gdImageJpeg gdImageStringFT gdImageStringTTF gdImagePng) in gd.h, keeping -lgd. Checking if your kit is complete... Looks good Warning (mostly harmless): No library found for -lsocket Warning (mostly harmless): No library found for -lvga Warning (mostly harmless): No library found for -llinuxvga Warning (mostly harmless): No library found for -ljmgraph Warning (mostly harmless): No library found for -lvesa Warning (mostly harmless): No library found for -lpdf Writing MYMETA.yml and MYMETA.json Warning: Guessing NAME [pm_exec] from current directory name. Warning (mostly harmless): No library found for -lsocket Warning (mostly harmless): No library found for -lvga Warning (mostly harmless): No library found for -llinuxvga Warning (mostly harmless): No library found for -ljmgraph Warning (mostly harmless): No library found for -lvesa Warning (mostly harmless): No library found for -lpdf Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for Term::Gnuplot Writing MYMETA.yml and MYMETA.json >>> Source configured. >>> Compiling source in /var/tmp/portage/perl-gcpan/Term-Gnuplot-0.90380906/work/Term-Gnuplot-0.90380906 ... * emake OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed make -j1 'OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed' cp GnuplotTerminals.pod blib/lib/Term/GnuplotTerminals.pod cp Gnuplot.pm blib/lib/Term/Gnuplot.pm cd ./gnuterm && make libgnuterm.a LIBPERL_A="libperl.a" LINKTYPE="dynamic" OPTIMIZE="-march=broadwell -O2 -pipe" LD="x86_64-pc-linux-gnu-gcc" PREFIX="/usr" PASTHRU_DEFINE='-DPM3D -DUSE_ULIG_FILLEDBOXES -DUSE_ACTIVE_EVENTS -DHAVE_LIBPNG -DHAVE_LIBGD -DHAVE_GD_GIF -DHAVE_GIF -DHAVE_GD_JPEG -DHAVE_GD_PNG -DHAVE_NEWGD -DHAVE_PNG -DHAVE_GD_TTF ' PASTHRU_INC='-I./gnuterm ' make[1]: Entering directory '/var/tmp/portage/perl-gcpan/Term-Gnuplot-0.90380906/work/Term-Gnuplot-0.90380906/gnuterm' x86_64-pc-linux-gnu-gcc -c -I./gnuterm -I. -Iterm -Igd -I.. -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=broadwell -O2 -pipe -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib64/perl5/5.28.0/x86_64-linux-thread-multi/CORE" -DPM3D -DUSE_ULIG_FILLEDBOXES -DUSE_ACTIVE_EVENTS -DHAVE_LIBPNG -DHAVE_LIBGD -DHAVE_GD_GIF -DHAVE_GIF -DHAVE_GD_JPEG -DHAVE_GD_PNG -DHAVE_NEWGD -DHAVE_PNG -DHAVE_GD_TTF -DPM3D -DUSE_ULIG_FILLEDBOXES -DUSE_ACTIVE_EVENTS -DHAVE_LIBPNG -DHAVE_LIBGD -DHAVE_GD_GIF -DHAVE_GIF -DHAVE_GD_JPEG -DHAVE_GD_PNG -DHAVE_NEWGD -DHAVE_PNG -DHAVE_GD_TTF -DRETSIGTYPE=void -DGPLT_X11_MODE -DPIPES -DX11 -DX11_DRIVER_DIR=\".\" -DEXENAME_X11=gnuplot_x11b -DEXENAME_PM=gplpmdrb -DCANT_ACCEPT_COMMANDS -DX11_FORCED_PATH -DNO_FLOAT_H -DHAVE_UNISTD_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_MALLOC_H -DHAVE_STDLIB_H -DHAVE_UNISTD_H -DHAVE_STRING_H -DHAVE_TERMIOS_H -DHAVE_SYS_TYPES_H -DHAVE_SYS_STAT_H -DHAVE_SYS_PARAM_H -DHAVE_TIME_H -DNO_MEMCPY -DNO_MEMSET -DNO_STRCHR -DANSI_C -DNOCOPY -DHAVE_STRNCASECMP -DHAVE_DIRENT_H term.c In file included from term_api.h:43, from term.c:77: stdfn.h:67:8: error: conflicting types for ‘memcpy’ char * memcpy __PROTO((char *, char *, size_t)); ^~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from syscfg.h:48, from term_api.h:42, from term.c:77: /usr/include/bits/string_fortified.h:31:1: note: previous definition of ‘memcpy’ was here __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, ^~~~~ In file included from term_api.h:43, from term.c:77: stdfn.h:168:14: error: conflicting types for ‘sys_errlist’ extern char *sys_errlist[]; ^~~~~~~~~~~ In file included from /usr/include/stdio.h:787, from stdfn.h:48, from term_api.h:43, from term.c:77: /usr/include/bits/sys_errlist.h:27:26: note: previous declaration of ‘sys_errlist’ was here extern const char *const sys_errlist[]; ^~~~~~~~~~~ term.c: In function ‘do_arrow’: term.c:855:24: warning: implicit declaration of function ‘sqrt’ [-Wimplicit-function-declaration] double len_arrow = sqrt(dx * dx + dy * dy); ^~~~ term.c:855:24: warning: incompatible implicit declaration of built-in function ‘sqrt’ term.c:855:24: note: include ‘’ or provide a declaration of ‘sqrt’ term.c:92:1: +#include  term.c:855:24: double len_arrow = sqrt(dx * dx + dy * dy); ^~~~ term.c:864:17: warning: implicit declaration of function ‘fabs’ [-Wimplicit-function-declaration] if (head && fabs(len_arrow) >= DBL_EPSILON) { ^~~~ term.c:864:17: warning: incompatible implicit declaration of built-in function ‘fabs’ term.c:864:17: note: include ‘’ or provide a declaration of ‘fabs’ term.c:884:19: warning: implicit declaration of function ‘atan2’ [-Wimplicit-function-declaration] double phi = atan2(-dy,-dx); /* azimuthal angle of the vector */ ^~~~~ term.c:884:19: warning: incompatible implicit declaration of built-in function ‘atan2’ term.c:884:19: note: include ‘’ or provide a declaration of ‘atan2’ term.c:886:42: warning: implicit declaration of function ‘cos’ [-Wimplicit-function-declaration] x1 = -(int)(curr_arrow_headlength * cos( alpha - phi )); ^~~ term.c:886:42: warning: incompatible implicit declaration of built-in function ‘cos’ term.c:886:42: note: include ‘’ or provide a declaration of ‘cos’ term.c:887:42: warning: implicit declaration of function ‘sin’ [-Wimplicit-function-declaration] y1 = (int)(curr_arrow_headlength * sin( alpha - phi )); ^~~ term.c:887:42: warning: incompatible implicit declaration of built-in function ‘sin’ term.c:887:42: note: include ‘’ or provide a declaration of ‘sin’ In file included from term.h:271, from term.c:1002: term/cgm.trm: In function ‘CGM_put_text’: term/cgm.trm:1342:45: warning: incompatible implicit declaration of built-in function ‘cos’ orient[0] = (int)cgm_next.char_height*cos(cgm_next.angle+M_PI_2); ^~~ term/cgm.trm:1342:45: note: include ‘’ or provide a declaration of ‘cos’ term/cgm.trm:1:1: +#include  /* Hey Emacs this is -*- C -*- term/cgm.trm:1342:45: orient[0] = (int)cgm_next.char_height*cos(cgm_next.angle+M_PI_2); ^~~ term/cgm.trm:1343:45: warning: incompatible implicit declaration of built-in function ‘sin’ orient[1] = (int)cgm_next.char_height*sin(cgm_next.angle+M_PI_2); ^~~ term/cgm.trm:1343:45: note: include ‘’ or provide a declaration of ‘sin’ In file included from term.h:288, from term.c:1002: term/emf.trm: In function ‘EMF_put_text’: term/emf.trm:766:52: warning: incompatible implicit declaration of built-in function ‘sin’ EMF_write_pointl(x + (long) ((EMF_VCHAR / 2) * sin(emf_vert_text * EMF_10THDEG2RAD)), term->ymax - y + (long) ((EMF_VCHAR / 2) * cos(emf_vert_text * EMF_10THDEG2RAD))); /* positioning... y is recentered from bottom reference set in text align */ ^~~ term/emf.trm:150:47: note: in definition of macro ‘EMF_write_pointl’ #define EMF_write_pointl(x,y) {EMF_write_long(x);EMF_write_long(y);} ^ term/emf.trm:766:52: note: include ‘’ or provide a declaration of ‘sin’ term/emf.trm:201:1: +#include  term/emf.trm:766:52: EMF_write_pointl(x + (long) ((EMF_VCHAR / 2) * sin(emf_vert_text * EMF_10THDEG2RAD)), term->ymax - y + (long) ((EMF_VCHAR / 2) * cos(emf_vert_text * EMF_10THDEG2RAD))); /* positioning... y is recentered from bottom reference set in text align */ ^~~ term/emf.trm:150:47: note: in definition of macro ‘EMF_write_pointl’ #define EMF_write_pointl(x,y) {EMF_write_long(x);EMF_write_long(y);} ^ term/emf.trm:766:134: warning: incompatible implicit declaration of built-in function ‘cos’ EMF_write_pointl(x + (long) ((EMF_VCHAR / 2) * sin(emf_vert_text * EMF_10THDEG2RAD)), term->ymax - y + (long) ((EMF_VCHAR / 2) * cos(emf_vert_text * EMF_10THDEG2RAD))); /* positioning... y is recentered from bottom reference set in text align */ ^~~ term/emf.trm:150:65: note: in definition of macro ‘EMF_write_pointl’ #define EMF_write_pointl(x,y) {EMF_write_long(x);EMF_write_long(y);} ^ term/emf.trm:766:134: note: include ‘’ or provide a declaration of ‘cos’ EMF_write_pointl(x + (long) ((EMF_VCHAR / 2) * sin(emf_vert_text * EMF_10THDEG2RAD)), term->ymax - y + (long) ((EMF_VCHAR / 2) * cos(emf_vert_text * EMF_10THDEG2RAD))); /* positioning... y is recentered from bottom reference set in text align */ ^~~ term/emf.trm:150:65: note: in definition of macro ‘EMF_write_pointl’ #define EMF_write_pointl(x,y) {EMF_write_long(x);EMF_write_long(y);} ^ In file included from term.h:296, from term.c:1002: term/fig.trm: In function ‘FIG_arrow’: term/fig.trm:794:51: warning: incompatible implicit declaration of built-in function ‘sin’ awidth = (double) curr_arrow_headlength * 2*sin(curr_arrow_headangle*M_PI/180); ^~~ term/fig.trm:794:51: note: include ‘’ or provide a declaration of ‘sin’ term/fig.trm:103:1: +#include  #define FIG_DEFAULT DEFAULT term/fig.trm:794:51: awidth = (double) curr_arrow_headlength * 2*sin(curr_arrow_headangle*M_PI/180); ^~~ term/fig.trm:795:49: warning: incompatible implicit declaration of built-in function ‘cos’ aheight = (double) curr_arrow_headlength * cos(curr_arrow_headangle*M_PI/180); ^~~ term/fig.trm:795:49: note: include ‘’ or provide a declaration of ‘cos’ In file included from term.h:317, from term.c:1002: term/hpgl.trm: In function ‘HPGL2_point’: term/hpgl.trm:1456:25: warning: incompatible implicit declaration of built-in function ‘sqrt’ HPGL2_vector(x - (3 * sqrt(3) * htic / 8), y - (3 * vtic / 8)); ^~~~ term/hpgl.trm:1456:25: note: include ‘’ or provide a declaration of ‘sqrt’ term/hpgl.trm:1:1: +#include  /* term/hpgl.trm:1456:25: HPGL2_vector(x - (3 * sqrt(3) * htic / 8), y - (3 * vtic / 8)); ^~~~ term/hpgl.trm:1518:21: warning: incompatible implicit declaration of built-in function ‘cos’ HPGL2_vector(x - (cos(.1 * acos(-1)) * 3 * htic / 4), y + (sin(.1 * acos(-1)) * 3 * vtic / 4)); ^~~ term/hpgl.trm:1518:21: note: include ‘’ or provide a declaration of ‘cos’ term/hpgl.trm:1518:30: warning: implicit declaration of function ‘acos’ [-Wimplicit-function-declaration] HPGL2_vector(x - (cos(.1 * acos(-1)) * 3 * htic / 4), y + (sin(.1 * acos(-1)) * 3 * vtic / 4)); ^~~~ term/hpgl.trm:1518:30: warning: incompatible implicit declaration of built-in function ‘acos’ term/hpgl.trm:1518:30: note: include ‘’ or provide a declaration of ‘acos’ term/hpgl.trm:1518:62: warning: incompatible implicit declaration of built-in function ‘sin’ HPGL2_vector(x - (cos(.1 * acos(-1)) * 3 * htic / 4), y + (sin(.1 * acos(-1)) * 3 * vtic / 4)); ^~~ term/hpgl.trm:1518:62: note: include ‘’ or provide a declaration of ‘sin’ term/hpgl.trm: In function ‘HPGL2_neg_point’: term/hpgl.trm:2319:24: warning: incompatible implicit declaration of built-in function ‘sqrt’ HPGL2_vector(x - (3 * sqrt(2) * htic / 8), y - (3 * sqrt(2) * vtic / 8)); ^~~~ term/hpgl.trm:2319:24: note: include ‘’ or provide a declaration of ‘sqrt’ In file included from term.h:358, from term.c:1002: term/post.trm: In function ‘PS_options’: term/post.trm:855:26: warning: incompatible implicit declaration of built-in function ‘fabs’ ps_palfunc_deviation = fabs(real(const_express(&a))); ^~~~ term/post.trm:855:26: note: include ‘’ or provide a declaration of ‘fabs’ term/post.trm:104:1: +#include  #ifdef PM3D term/post.trm:855:26: ps_palfunc_deviation = fabs(real(const_express(&a))); ^~~~ term/post.trm: In function ‘PS_graphics’: term/post.trm:1565:24: warning: format not a string literal and no format arguments [-Wformat-security] fprintf(gpoutfile, psg1); ^~~~ In file included from term.h:364, from term.c:1002: term/svg.trm: In function ‘SVG_set_color’: term/svg.trm:915:13: warning: implicit declaration of function ‘floor’ [-Wimplicit-function-declaration] gray = floor( gray * sm_palette.use_maxcolors ) ^~~~~ term/svg.trm:915:13: warning: incompatible implicit declaration of built-in function ‘floor’ term/svg.trm:915:13: note: include ‘’ or provide a declaration of ‘floor’ term/svg.trm:1:1: +#include  /* term/svg.trm:915:13: gray = floor( gray * sm_palette.use_maxcolors ) ^~~~~ In file included from term.h:373, from term.c:1002: term/tkcanvas.trm: In function ‘TK_vector’: term/tkcanvas.trm:239:7: warning: implicit declaration of function ‘pow’ [-Wimplicit-function-declaration] ? pow(axis_array[axis].base, axis_array[axis].min \ ^~~ term/tkcanvas.trm:304:7: note: in expansion of macro ‘TK_REAL_VALUE’ TK_REAL_VALUE(TK_X_VALUE(tk_lastx), FIRST_X_AXIS), ^~~~~~~~~~~~~ term/tkcanvas.trm:239:7: warning: incompatible implicit declaration of built-in function ‘pow’ ? pow(axis_array[axis].base, axis_array[axis].min \ ^~~ term/tkcanvas.trm:304:7: note: in expansion of macro ‘TK_REAL_VALUE’ TK_REAL_VALUE(TK_X_VALUE(tk_lastx), FIRST_X_AXIS), ^~~~~~~~~~~~~ term/tkcanvas.trm:239:7: note: include ‘’ or provide a declaration of ‘pow’ term/tkcanvas.trm:1:1: +#include  /* term/tkcanvas.trm:239:7: ? pow(axis_array[axis].base, axis_array[axis].min \ ^~~ term/tkcanvas.trm:304:7: note: in expansion of macro ‘TK_REAL_VALUE’ TK_REAL_VALUE(TK_X_VALUE(tk_lastx), FIRST_X_AXIS), ^~~~~~~~~~~~~ term/tkcanvas.trm:239:7: warning: incompatible implicit declaration of built-in function ‘pow’ ? pow(axis_array[axis].base, axis_array[axis].min \ ^~~ term/tkcanvas.trm:341:7: note: in expansion of macro ‘TK_REAL_VALUE’ TK_REAL_VALUE(TK_X_VALUE(tk_lastx), FIRST_X_AXIS), ^~~~~~~~~~~~~ term/tkcanvas.trm:239:7: note: include ‘’ or provide a declaration of ‘pow’ ? pow(axis_array[axis].base, axis_array[axis].min \ ^~~ term/tkcanvas.trm:341:7: note: in expansion of macro ‘TK_REAL_VALUE’ TK_REAL_VALUE(TK_X_VALUE(tk_lastx), FIRST_X_AXIS), ^~~~~~~~~~~~~ In file included from term.h:404, from term.c:1002: term/latex.trm: In function ‘LATEX_dot_line’: term/latex.trm:593:24: warning: incompatible implicit declaration of built-in function ‘sqrt’ xinc = dotspace / sqrt(1 + slope * slope) * sign(x2 - x1); ^~~~ term/latex.trm:593:24: note: include ‘’ or provide a declaration of ‘sqrt’ term/latex.trm:1:1: +#include  /* term/latex.trm:593:24: xinc = dotspace / sqrt(1 + slope * slope) * sign(x2 - x1); ^~~~ In file included from term.h:425, from term.c:1002: term/metafont.trm: In function ‘MF_vector’: term/metafont.trm:428:19: warning: incompatible implicit declaration of built-in function ‘sqrt’ dist_to_go = sqrt(delta_x * delta_x + delta_y * delta_y); ^~~~ term/metafont.trm:428:19: note: include ‘’ or provide a declaration of ‘sqrt’ term/metafont.trm:1:1: +#include  /* term/metafont.trm:428:19: dist_to_go = sqrt(delta_x * delta_x + delta_y * delta_y); ^~~~ term/metafont.trm:434:12: warning: incompatible implicit declaration of built-in function ‘floor’ next_x = floor(next_x_d + 0.5); ^~~~~ term/metafont.trm:434:12: note: include ‘’ or provide a declaration of ‘floor’ In file included from term.h:428, from term.c:1002: term/metapost.trm: In function ‘MP_set_color’: term/metapost.trm:835:11: warning: incompatible implicit declaration of built-in function ‘floor’ 1 : floor(gray * sm_palette.colors) / sm_palette.colors; ^~~~~ term/metapost.trm:835:11: note: include ‘’ or provide a declaration of ‘floor’ term/metapost.trm:1:1: +#include  /* term/metapost.trm:835:11: 1 : floor(gray * sm_palette.colors) / sm_palette.colors; ^~~~~ make[1]: *** [Makefile:373: term.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/perl-gcpan/Term-Gnuplot-0.90380906/work/Term-Gnuplot-0.90380906/gnuterm' make: *** [Makefile:1094: gnuterm/libgnuterm.a] Error 2 * ERROR: perl-gcpan/Term-Gnuplot-0.90380906::g-cpan failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=perl-gcpan/Term-Gnuplot-0.90380906::g-cpan'`, * the complete build log and the output of `emerge -pqv '=perl-gcpan/Term-Gnuplot-0.90380906::g-cpan'`. * The complete build log is located at '/var/log/portage/perl-gcpan:Term-Gnuplot-0.90380906:20190223-223918.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/perl-gcpan/Term-Gnuplot-0.90380906/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/perl-gcpan/Term-Gnuplot-0.90380906/temp/environment'. * Working directory: '/var/tmp/portage/perl-gcpan/Term-Gnuplot-0.90380906/work/Term-Gnuplot-0.90380906' * S: '/var/tmp/portage/perl-gcpan/Term-Gnuplot-0.90380906/work/Term-Gnuplot-0.90380906'