* Package:    dev-perl/Sane-0.50.0-r1
 * Repository: gentoo
 * Maintainer: perl@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux test userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox test userpriv usersandbox
>>> Unpacking source...
>>> Unpacking Sane-0.05.tar.gz to /var/tmp/portage/dev-perl/Sane-0.50.0-r1/work
>>> Source unpacked in /var/tmp/portage/dev-perl/Sane-0.50.0-r1/work
>>> Preparing source in /var/tmp/portage/dev-perl/Sane-0.50.0-r1/work/Sane-0.05 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-perl/Sane-0.50.0-r1/work/Sane-0.05 ...
 * Using ExtUtils::MakeMaker
 * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/var/tmp/portage/dev-perl/Sane-0.50.0-r1/image/
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Sane
Writing MYMETA.yml and MYMETA.json
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-perl/Sane-0.50.0-r1/work/Sane-0.05 ...
 * emake OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed
make -j1 'OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed' 
cp lib/Sane.pm blib/lib/Sane.pm
Running Mkbootstrap for Sane ()
chmod 644 "Sane.bs"
"/usr/bin/perl" "/usr/lib64/perl5/5.24.2/ExtUtils/xsubpp"  -typemap "/usr/lib64/perl5/5.24.2/ExtUtils/typemap" -typemap "typemap"  Sane.xs > Sane.xsc && mv Sane.xsc Sane.c
x86_64-pc-linux-gnu-gcc -c  -I.  -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -Wall   -DVERSION=\"0.05\" -DXS_VERSION=\"0.05\" -fPIC "-I/usr/lib64/perl5/5.24.2/x86_64-linux/CORE"   Sane.c
In file included from /usr/lib64/perl5/5.24.2/x86_64-linux/CORE/perl.h:5562:0,
                 from Sane.xs:2:
Sane.xs: In function ‘XS_Sane__Device_read’:
Sane.xs:288:45: warning: pointer targets in passing argument 1 of ‘Perl_newSVpvn’ differ in signedness [-Wpointer-sign]
                  XPUSHs(sv_2mortal(newSVpvn(data, length)));
                                             ^
/usr/lib64/perl5/5.24.2/x86_64-linux/CORE/pp.h:458:55: note: in definition of macro ‘XPUSHs’
 #define XPUSHs(s) STMT_START { EXTEND(sp,1); *++sp = (s); } STMT_END
                                                       ^
Sane.xs:288:25: note: in expansion of macro ‘sv_2mortal’
                  XPUSHs(sv_2mortal(newSVpvn(data, length)));
                         ^~~~~~~~~~
Sane.xs:288:36: note: in expansion of macro ‘newSVpvn’
                  XPUSHs(sv_2mortal(newSVpvn(data, length)));
                                    ^~~~~~~~
In file included from /usr/lib64/perl5/5.24.2/x86_64-linux/CORE/perl.h:5582:0,
                 from Sane.xs:2:
/usr/lib64/perl5/5.24.2/x86_64-linux/CORE/proto.h:2191:19: note: expected ‘const char * const’ but argument is of type ‘SANE_Byte * {aka unsigned char *}’
 PERL_CALLCONV SV* Perl_newSVpvn(pTHX_ const char *const s, const STRLEN len)
                   ^~~~~~~~~~~~~
Sane.c: In function ‘XS_Sane__get_devices’:
Sane.xs:532:8: warning: variable ‘array’ set but not used [-Wunused-but-set-variable]
   AV * array;
        ^~~~~
Sane.xs: In function ‘XS_Sane_END’:
Sane.xs:586:4: warning: statement with no effect [-Wunused-value]
    sane_exit;
    ^~~~~~~~~
Sane.c: In function ‘XS_Sane__Device_set_option’:
Sane.xs:223:10: warning: ‘valuep’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   status = sane_control_option (h, n, SANE_ACTION_SET_VALUE, valuep, &info);
   ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sane.xs:164:11: note: ‘valuep’ was declared here
   void *  valuep;
           ^~~~~~
rm -f blib/arch/auto/Sane/Sane.so
LD_RUN_PATH="/usr/lib64" x86_64-pc-linux-gnu-gcc  -shared -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed Sane.o -Wl,-O1 -Wl,--as-needed -o blib/arch/auto/Sane/Sane.so 	\
   -lsane  	\
  
chmod 755 blib/arch/auto/Sane/Sane.so
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Sane.bs blib/arch/auto/Sane/Sane.bs 644
>>> Source compiled.
>>> Test phase: dev-perl/Sane-0.50.0-r1
make -j1 test TEST_VERBOSE=0 
Running Mkbootstrap for Sane ()
chmod 644 "Sane.bs"
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/data.t .......... 
t/data.t .......... 1/? 
                          
t/data.t .......... ok
t/enums.t ......... 
t/enums.t ......... 1/117 
                             
t/enums.t ......... ok
t/err.t ........... 
t/err.t ........... 1/38 
                           
t/err.t ........... ok
t/non-blocking.t .. 
t/non-blocking.t .. 1/14 
                           
t/non-blocking.t .. ok
t/options.t ....... 
t/options.t ....... 1/? 
t/options.t ....... 3/? make: *** [Makefile:995: test_dynamic] Terminated
 * ERROR: dev-perl/Sane-0.50.0-r1::gentoo failed (test phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-perl/Sane-0.50.0-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-perl/Sane-0.50.0-r1::gentoo'`.
 * The complete build log is located at '/var/log/portage/dev-perl:Sane-0.50.0-r1:20170730-072403.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-perl/Sane-0.50.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-perl/Sane-0.50.0-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-perl/Sane-0.50.0-r1/work/Sane-0.05'
 * S: '/var/tmp/portage/dev-perl/Sane-0.50.0-r1/work/Sane-0.05'