D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/perl-DBD-Sybase-1.250.0-3.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.FOPX73 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-DBD-Sybase-1.250.0-build + test -d /home/pterjan/rpmbuild/BUILD/perl-DBD-Sybase-1.250.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/perl-DBD-Sybase-1.250.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/perl-DBD-Sybase-1.250.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-DBD-Sybase-1.250.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-DBD-Sybase-1.250.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.AAPtpr + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-DBD-Sybase-1.250.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/perl-DBD-Sybase-1.250.0-build + rm -rf DBD-Sybase-1.25 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/DBD-Sybase-1.25.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd DBD-Sybase-1.25 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.1Q1IKk + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-DBD-Sybase-1.250.0-build + cd DBD-Sybase-1.25 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export SYBASE=/usr + SYBASE=/usr + echo -e '\n\n\n\n\n\n' + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor Unknown Client Library version - assuming FreeTDS. By default DBD::Sybase 1.05 and later use the 'CHAINED' mode (where available) when 'AutoCommit' is turned off. Versions 1.04 and older instead managed the transactions explicitly with a 'BEGIN TRAN' before the first DML statement. Using the 'CHAINED' mode is preferable as it is the way that Sybase implements AutoCommit handling for both its ODBC and JDBC drivers. Use 'CHAINED' mode by default (Y/N) [Y]: Running in threaded mode - looking for _r libraries... ***NOTE*** There is an incompatibility between perl (5.8.x or later) built in threaded mode and Sybase's threaded libraries, which means that signals delivered to the perl process result in a segment violation. I suggest building DBD::Sybase with the normal libraries in this case to get reasonable behavior for signal handling. Use the threaded (lib..._r) libraries [N]: OK - I'll use the normal libs Running in 64bit mode - looking for '64' libraries... BLK api available - found: blkid The DBD::Sybase module need access to a Sybase server to run the tests. To clear an entry please enter 'undef' Sybase server to use (default: SYBASE): User ID to log in to Sybase (default: sa): Password (default: undef): Sybase database to use on SYBASE (default: undef): * Writing login information, including password, to file PWD. Checking if your kit is complete... Looks good Warning (mostly harmless): No library found for -lcs Warning (mostly harmless): No library found for -lsybtcl Warning (mostly harmless): No library found for -lcomn Warning (mostly harmless): No library found for -lblk Using DBI 1.645 (for perl 5.040000 on x86_64-linux-thread-multi) installed in /usr/lib64/perl5/vendor_perl/auto/DBI/ Generating a Unix-style Makefile Writing Makefile for DBD::Sybase Writing MYMETA.yml and MYMETA.json + /usr/bin/make -O -j48 V=1 VERBOSE=1 'OPTIMIZE=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' LD_RUN_PATH= "/usr/bin/perl5.40.0" -p -e "s/~DRIVER~/Sybase/g" /usr/lib64/perl5/vendor_perl/auto/DBI/Driver.xst > Sybase.xsi Running Mkbootstrap for Sybase () chmod 644 "Sybase.bs" "/usr/bin/perl5.40.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- Sybase.bs blib/arch/auto/DBD/Sybase/Sybase.bs 644 cp Sybase.pm blib/lib/DBD/Sybase.pm "/usr/bin/perl5.40.0" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' Sybase.xs > Sybase.xsc mv Sybase.xsc Sybase.c gcc -c -I/usr/include -DSYB_LP64 -I/usr/lib64/perl5/vendor_perl/auto/DBI -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DVERSION=\"1.25\" -DXS_VERSION=\"1.25\" -fPIC "-I/usr/lib64/perl5/CORE" Sybase.c gcc -c -I/usr/include -DSYB_LP64 -I/usr/lib64/perl5/vendor_perl/auto/DBI -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DVERSION=\"1.25\" -DXS_VERSION=\"1.25\" -fPIC "-I/usr/lib64/perl5/CORE" dbdimp.c dbdimp.c: In function 'syb_db_opentran': dbdimp.c:2155:35: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'void *' [-Wformat=] 2155 | sprintf(imp_dbh->tranName, "DBI%x", (void*)imp_dbh); | ~^ ~~~~~~~~~~~~~~ | | | | | void * | unsigned int | %p dbdimp.c: In function 'syb_alloc_cmd': dbdimp.c:2764:45: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'CS_COMMAND *' {aka 'struct _cs_command *'} [-Wformat=] 2764 | " syb_alloc_cmd() -> CS_COMMAND %x for CS_CONNECTION %x\n", | ~^ | | | unsigned int 2765 | cmd, connection); | ~~~ | | | CS_COMMAND * {aka struct _cs_command *} dbdimp.c:2764:66: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'CS_CONNECTION *' {aka 'struct _cs_connection *'} [-Wformat=] 2764 | " syb_alloc_cmd() -> CS_COMMAND %x for CS_CONNECTION %x\n", | ~^ | | | unsigned int 2765 | cmd, connection); | ~~~~~~~~~~ | | | CS_CONNECTION * {aka struct _cs_connection *} dbdimp.c: In function 'cmd_execute': dbdimp.c:4142:61: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'CS_COMMAND *' {aka 'struct _cs_command *'} [-Wformat=] 4142 | " cmd_execute() -> ct_command() failed (cmd=%x, statement=%s, imp_sth=%x)\n", | ~^ | | | unsigned int 4143 | imp_sth->cmd, imp_sth->statement, imp_sth); | ~~~~~~~~~~~~ | | | CS_COMMAND * {aka struct _cs_command *} dbdimp.c:4142:87: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'imp_sth_t *' {aka 'struct imp_sth_st *'} [-Wformat=] 4142 | " cmd_execute() -> ct_command() failed (cmd=%x, statement=%s, imp_sth=%x)\n", | ~^ | | | unsigned int 4143 | imp_sth->cmd, imp_sth->statement, imp_sth); | ~~~~~~~ | | | imp_sth_t * {aka struct imp_sth_st *} dbdimp.c: In function 'syb_st_destroy': dbdimp.c:4810:41: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'imp_sth_t *' {aka 'struct imp_sth_st *'} [-Wformat=] 4810 | " syb_st_destroy: called on %x...\n", imp_sth); | ~^ ~~~~~~~ | | | | | imp_sth_t * {aka struct imp_sth_st *} | unsigned int dbdimp.c:4848:45: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'CS_COMMAND *' {aka 'struct _cs_command *'} [-Wformat=] 4848 | " ct_cmd_drop() -> CS_COMMAND %x\n", imp_sth->cmd); | ~^ ~~~~~~~~~~~~ | | | | unsigned int CS_COMMAND * {aka struct _cs_command *} dbdimp.c: In function 'syb_ct_data_info': dbdimp.c:5077:68: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'CS_BYTE *' {aka 'unsigned char *'} [-Wformat=] 5077 | " ct_data_info(): ret = %d, total_txtlen = %d, textptr=%x, timestamp=%x, datatype=%d\n", ret, imp_dbh->iodesc.total_txtlen, | ~^ | | | unsigned int | %hhn 5078 | imp_dbh->iodesc.textptr, imp_dbh->iodesc.timestamp, imp_dbh->iodesc.datatype); | ~~~~~~~~~~~~~~~~~~~~~~~ | | | CS_BYTE * {aka unsigned char *} dbdimp.c:5077:82: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'CS_BYTE *' {aka 'unsigned char *'} [-Wformat=] 5077 | " ct_data_info(): ret = %d, total_txtlen = %d, textptr=%x, timestamp=%x, datatype=%d\n", ret, imp_dbh->iodesc.total_txtlen, | ~^ | | | unsigned int | %hhn 5078 | imp_dbh->iodesc.textptr, imp_dbh->iodesc.timestamp, imp_dbh->iodesc.datatype); | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | CS_BYTE * {aka unsigned char *} dbdimp.c: In function '_dbd_rebind_ph': dbdimp.c:5785:45: warning: format '%d' expects argument of type 'int', but argument 5 has type 'IV' {aka 'long int'} [-Wformat=] 5785 | " bind %s <== '%.100s' (size %d, ok %d)\n", phs->name, | ~^ | | | int | %ld 5786 | phs->sv_buf, phs->maxlen, SvOK(phs->sv) ? 1 : 0); | ~~~~~~~~~~~ | | | IV {aka long int} dbdimp.c: In function 'blkCleanUp': dbdimp.c:6353:40: warning: format '%d' expects argument of type 'int', but argument 3 has type 'CS_BLKDESC *' {aka 'struct _cs_blkdesc *'} [-Wformat=] 6353 | " blkCleanUp -> blk_drop(%d) = %d\n", imp_sth->bcp_desc, | ~^ ~~~~~~~~~~~~~~~~~ | | | | int CS_BLKDESC * {aka struct _cs_blkdesc *} dbdimp.c: In function 'syb_db_connect': dbdimp.c:1683:28: warning: '%s' directive writing up to 259 bytes into a region of size 250 [-Wformat-overflow=] 1683 | sprintf(statement, "use [%s]", db); | ^~ In file included from /usr/include/stdio.h:970, from /usr/lib64/perl5/CORE/perlio.h:41, from /usr/lib64/perl5/CORE/iperlsys.h:50, from /usr/lib64/perl5/CORE/perl.h:4496, from /usr/lib64/perl5/vendor_perl/auto/DBI/DBIXS.h:23, from Sybase.h:16, from dbdimp.c:10: In function 'sprintf', inlined from 'syb_db_use' at dbdimp.c:1683:3, inlined from 'syb_db_connect' at dbdimp.c:1582:17: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 266 bytes into a destination of size 255 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ rm -f blib/arch/auto/DBD/Sybase/Sybase.so gcc -L/usr//usr/lib64 -lpthread -shared -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -fstack-protector-strong Sybase.o dbdimp.o -o blib/arch/auto/DBD/Sybase/Sybase.so \ -L/usr/lib64 -lct -lintl -ldl -lm -lperl \ chmod 755 blib/arch/auto/DBD/Sybase/Sybase.so Manifying 1 pod document + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.RtC444 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-DBD-Sybase-1.250.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/perl-DBD-Sybase-1.250.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/perl-DBD-Sybase-1.250.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/perl-DBD-Sybase-1.250.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/perl-DBD-Sybase-1.250.0-build + mkdir /home/pterjan/rpmbuild/BUILD/perl-DBD-Sybase-1.250.0-build/BUILDROOT + cd DBD-Sybase-1.25 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/perl-DBD-Sybase-1.250.0-build/BUILDROOT 'INSTALL=/usr/bin/install -p' "/usr/bin/perl5.40.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- Sybase.bs blib/arch/auto/DBD/Sybase/Sybase.bs 644 Manifying 1 pod document Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /home/pterjan/rpmbuild/BUILD/perl-DBD-Sybase-1.250.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/DBD/Sybase/Sybase.so Installing /home/pterjan/rpmbuild/BUILD/perl-DBD-Sybase-1.250.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/DBD/Sybase.pm Installing /home/pterjan/rpmbuild/BUILD/perl-DBD-Sybase-1.250.0-build/BUILDROOT/usr/share/man/man3/DBD::Sybase.3 Appending installation info to /home/pterjan/rpmbuild/BUILD/perl-DBD-Sybase-1.250.0-build/BUILDROOT/usr/lib64/perl5/perllocal.pod + /usr/bin/find-debuginfo -j48 --strict-build-id -m -i --build-id-seed 1.250.0-3.mga10 --unique-debug-suffix -1.250.0-3.mga10.x86_64 --unique-debug-src-base perl-DBD-Sybase-1.250.0-3.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/perl-DBD-Sybase-1.250.0-build/DBD-Sybase-1.25 find-debuginfo: starting Extracting debug info from 1 files objcopy: unable to copy file '/home/pterjan/rpmbuild/BUILD/perl-DBD-Sybase-1.250.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/DBD/Sybase/Sybase.so'; reason: Permission denied *** ERROR:: GDB exited with exit status 1 during index generation error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.RtC444 (%install) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.RtC444 (%install) I: [iurt_root_command] ERROR: chroot