Build of perl-dbd-odbc with musl toolchain

The build took 00h 01m 13s and was SUCCESSFUL.

The program in this build is written in the following languages, according to sloccount:

SLOCLanguage
8,892 perl
8,446 ansic
691 makefile
18,029 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

Log

To avoid scrolling, you may jump to the last line of the invocation of makepkg that was used to build this package.

Removed vanilla repositories from pacman.conf and added:
# [tuscan]
# Server = file:///var/cache/pacman/pkg/

CMD: pacman -Syy --noconfirm
# :: Synchronizing package databases...
# downloading tuscan.db...

There were existing files in /sysroot, using those
# /sysroot/lib
# /sysroot/share
# /sysroot/bin
# /sysroot/include
# /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=clang CXX=clang++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: perl-dbd-odbc 1.52-2 (Wed Apr 5 02:07:13 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (2) perl-dbi-1.636-2 unixodbc-2.3.4-1
#
# Total Installed Size: 2.83 MiB
#
# :: Proceed with installation? [Y/n]
# checking keyring...
# checking package integrity...
# loading package files...
# checking for file conflicts...
# checking available disk space...
# :: Processing package changes...
# installing perl-dbi...
# installing unixodbc...
# :: Running post-transaction hooks...
# (1/1) Updating manpage index...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
#
# **********
# Remember to actually *READ* the README file!
# And re-read it if you have any problems.
#
# **********
#
# OSNAME: linux
# LANG: C
# ODBCHOME:
# LD_LIBRARY_PATH:
# DBROOT:
# WINDIR:
# II_SYSTEM:
# Perl: 5.024000
# ExtUtils::MakeMaker: 7.1001
# Command line options:
# u! = undef
# e! = undef
# o=s =
# g! = 0
# w! = undef
# x! = undef
#
# You are using a Perl configured with threading enabled.
# Please read the warnings in DBI about this.
#
# You should also be aware that on non-Windows platforms ODBC drivers come
# in two forms, thread-safe and non-thread-safe drivers and you may need
# to make sure you are using the right one.
#
# Press return to continue...
# Looking for odbc_config in : nowhere
# Looking for odbc_config in (PATH) /sysroot/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
# Found odbc_config (via odbc_config) version 2.3.4
#
# odbc_config reports --prefix=/usr
# odbc_config reports --include-prefix=/usr/include
# odbc_config reports --lib-prefix=/usr/lib
# ODBC INC dir set to /usr/include via odbc_config
# ODBC LIB dir set to /usr/lib via odbc_config
# Using ODBCHOME /usr
#
# This looks like a unixodbc type of driver manager.
# Looking for odbcinst
# Found odbcinst in /usr/bin
# odbcinst -j reports:
#
# unixODBC 2.3.4
# DRIVERS............: /etc/odbcinst.ini
# SYSTEM DATA SOURCES: /etc/odbc.ini
# FILE DATA SOURCES..: /etc/ODBCDataSources
# USER DATA SOURCES..: /home/tuscan/.odbc.ini
# SQLULEN Size.......: 8
# SQLLEN Size........: 8
# SQLSETPOSIROW Size.: 8
#
# Please note these files as they are where you define your ODBC drivers and data sources.
#
# Looking for odbc_config to get cflags
# Adding odbc_config --cflags "-DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/include " to CC line
# Warning: LD_LIBRARY_PATH= doesn't include /usr/lib
#
# Checking if your kit is complete...
# Looks good
# Using DBI 1.636 (for perl 5.024000 on x86_64-linux-thread-multi) installed in /usr/lib/perl5/vendor_perl/auto/DBI/
# Using DBI 1.636 (for perl 5.024000 on x86_64-linux-thread-multi) installed in /usr/lib/perl5/vendor_perl/auto/DBI/
# Generating a Unix-style Makefile
# Writing Makefile for DBD::ODBC
# CPAN::Meta::YAML found a duplicate key 'dynamic_config' in line '1' at /usr/share/perl5/core_perl/CPAN/Meta/YAML.pm line 515.
# Writing MYMETA.yml and MYMETA.json
# Warning: not all required environment variables are set.
#
# Warning: Will not be able to run tests as you have not defined
# all of DBI_DSN, DBI_USER and DBI_PASS environment variables.
# cp TO_DO blib/lib/DBD/ODBC/TO_DO.pm
# cp FAQ blib/lib/DBD/ODBC/FAQ.pm
# cp Changes blib/lib/DBD/ODBC/Changes.pm
# cc -c -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/include -I/usr/include -I. -I/usr/lib/perl5/vendor_perl/auto/DBI -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DVERSION=\"1.52\" -DXS_VERSION=\"1.52\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/include -I/usr/include ConvertUTF.c
# "/usr/bin/perl" -p -e "s/~DRIVER~/ODBC/g" /usr/lib/perl5/vendor_perl/auto/DBI/Driver.xst > ODBC.xsi
# cc -c -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/include -I/usr/include -I. -I/usr/lib/perl5/vendor_perl/auto/DBI -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DVERSION=\"1.52\" -DXS_VERSION=\"1.52\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/include -I/usr/include dbdimp.c
# cp ODBC.pm blib/lib/DBD/ODBC.pm
# cc -c -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/include -I/usr/include -I. -I/usr/lib/perl5/vendor_perl/auto/DBI -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DVERSION=\"1.52\" -DXS_VERSION=\"1.52\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/include -I/usr/include unicode_helper.c
# Running Mkbootstrap for DBD::ODBC ()
# "/usr/bin/perl" "/usr/share/perl5/core_perl/ExtUtils/xsubpp" -typemap "/usr/share/perl5/core_perl/ExtUtils/typemap" ODBC.xs > ODBC.xsc && mv ODBC.xsc ODBC.c
# In file included from dbdimp.c:38:
# In file included from /usr/include/limits.h:143:
# In file included from /usr/include/bits/posix1_lim.h:160:
# In file included from /usr/include/bits/local_lim.h:38:
# /usr/include/linux/limits.h:6:9: warning: 'NGROUPS_MAX' macro redefined [-Wmacro-redefined]
# #define NGROUPS_MAX 65536 /* supplemental group IDs are available */
# ^
# /sysroot/include/limits.h:51:9: note: previous definition is here
# #define NGROUPS_MAX 32
# ^
# In file included from dbdimp.c:38:
# In file included from /usr/include/limits.h:143:
# In file included from /usr/include/bits/posix1_lim.h:160:
# /usr/include/bits/local_lim.h:64:9: warning: 'PTHREAD_KEYS_MAX' macro redefined [-Wmacro-redefined]
# #define PTHREAD_KEYS_MAX 1024
# ^
# /sysroot/include/limits.h:63:9: note: previous definition is here
# #define PTHREAD_KEYS_MAX 128
# ^
# In file included from dbdimp.c:38:
# In file included from /usr/include/limits.h:143:
# In file included from /usr/include/bits/posix1_lim.h:160:
# /usr/include/bits/local_lim.h:69:9: warning: 'PTHREAD_DESTRUCTOR_ITERATIONS' macro redefined [-Wmacro-redefined]
# #define PTHREAD_DESTRUCTOR_ITERATIONS _POSIX_THREAD_DESTRUCTOR_ITERATIONS
# ^
# /sysroot/include/limits.h:65:9: note: previous definition is here
# #define PTHREAD_DESTRUCTOR_ITERATIONS 4
# ^
# In file included from dbdimp.c:38:
# In file included from /usr/include/limits.h:143:
# In file included from /usr/include/bits/posix1_lim.h:160:
# /usr/include/bits/local_lim.h:81:9: warning: 'PTHREAD_STACK_MIN' macro redefined [-Wmacro-redefined]
# #define PTHREAD_STACK_MIN 16384
# ^
# /sysroot/include/limits.h:64:9: note: previous definition is here
# #define PTHREAD_STACK_MIN 2048
# ^
# In file included from dbdimp.c:38:
# In file included from /usr/include/limits.h:143:
# In file included from /usr/include/bits/posix1_lim.h:160:
# /usr/include/bits/local_lim.h:84:9: warning: 'DELAYTIMER_MAX' macro redefined [-Wmacro-redefined]
# #define DELAYTIMER_MAX 2147483647
# ^
# /sysroot/include/limits.h:68:9: note: previous definition is here
# #define DELAYTIMER_MAX 0x7fffffff
# ^
# In file included from dbdimp.c:38:
# In file included from /usr/include/limits.h:143:
# In file included from /usr/include/bits/posix1_lim.h:160:
# /usr/include/bits/local_lim.h:93:9: warning: 'HOST_NAME_MAX' macro redefined [-Wmacro-redefined]
# #define HOST_NAME_MAX 64
# ^
# /sysroot/include/limits.h:59:9: note: previous definition is here
# #define HOST_NAME_MAX 255
# ^
# In file included from dbdimp.c:38:
# In file included from /usr/include/limits.h:143:
# In file included from /usr/include/bits/posix1_lim.h:160:
# /usr/include/bits/local_lim.h:99:9: warning: 'SEM_VALUE_MAX' macro redefined [-Wmacro-redefined]
# #define SEM_VALUE_MAX (2147483647)
# ^
# /sysroot/include/limits.h:66:9: note: previous definition is here
# #define SEM_VALUE_MAX 0x7fffffff
# ^
# In file included from dbdimp.c:38:
# In file included from /usr/include/limits.h:147:
# /usr/include/bits/posix2_lim.h:88:9: warning: 'RE_DUP_MAX' macro redefined [-Wmacro-redefined]
# #define RE_DUP_MAX (0x7fff)
# ^
# /sysroot/include/limits.h:82:9: note: previous definition is here
# #define RE_DUP_MAX 255
# ^
# In file included from dbdimp.c:38:
# In file included from /usr/include/limits.h:151:
# /usr/include/bits/xopen_lim.h:65:9: warning: '_XOPEN_IOV_MAX' macro redefined [-Wmacro-redefined]
# #define _XOPEN_IOV_MAX _POSIX_UIO_MAXIOV
# ^
# /sysroot/include/limits.h:150:9: note: previous definition is here
# #define _XOPEN_IOV_MAX 16
# ^
# In file included from dbdimp.c:38:
# In file included from /usr/include/limits.h:151:
# /usr/include/bits/xopen_lim.h:70:9: warning: 'NL_ARGMAX' macro redefined [-Wmacro-redefined]
# #define NL_ARGMAX _POSIX_ARG_MAX
# ^
# /sysroot/include/limits.h:84:9: note: previous definition is here
# #define NL_ARGMAX 9
# ^
# In file included from dbdimp.c:38:
# In file included from /usr/include/limits.h:151:
# /usr/include/bits/xopen_lim.h:73:9: warning: 'NL_LANGMAX' macro redefined [-Wmacro-redefined]
# #define NL_LANGMAX _POSIX2_LINE_MAX
# ^
# /sysroot/include/limits.h:85:9: note: previous definition is here
# #define NL_LANGMAX 32
# ^
# In file included from dbdimp.c:38:
# In file included from /usr/include/limits.h:151:
# /usr/include/bits/xopen_lim.h:76:9: warning: 'NL_MSGMAX' macro redefined [-Wmacro-redefined]
# #define NL_MSGMAX INT_MAX
# ^
# /sysroot/include/limits.h:86:9: note: previous definition is here
# #define NL_MSGMAX 32767
# ^
# In file included from dbdimp.c:38:
# In file included from /usr/include/limits.h:151:
# /usr/include/bits/xopen_lim.h:80:9: warning: 'NL_NMAX' macro redefined [-Wmacro-redefined]
# #define NL_NMAX INT_MAX
# ^
# /sysroot/include/limits.h:95:9: note: previous definition is here
# #define NL_NMAX 16
# ^
# In file included from dbdimp.c:38:
# In file included from /usr/include/limits.h:151:
# /usr/include/bits/xopen_lim.h:83:9: warning: 'NL_SETMAX' macro redefined [-Wmacro-redefined]
# #define NL_SETMAX INT_MAX
# ^
# /sysroot/include/limits.h:87:9: note: previous definition is here
# #define NL_SETMAX 255
# ^
# In file included from dbdimp.c:38:
# In file included from /usr/include/limits.h:151:
# /usr/include/bits/xopen_lim.h:86:9: warning: 'NL_TEXTMAX' macro redefined [-Wmacro-redefined]
# #define NL_TEXTMAX INT_MAX
# ^
# /sysroot/include/limits.h:88:9: note: previous definition is here
# #define NL_TEXTMAX 2048
# ^
# chmod 644 "ODBC.bs"
# In file included from dbdimp.c:44:
# In file included from ./ODBC.h:12:
# In file included from /usr/lib/perl5/vendor_perl/auto/DBI/DBIXS.h:23:
# In file included from /usr/lib/perl5/core_perl/CORE/perl.h:764:
# /usr/include/setjmp.h:59:12: warning: declaration of built-in function '__sigsetjmp' requires inclusion of the header [-Wbuiltin-requires-header]
# extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) __THROWNL;
# ^
# In file included from dbdimp.c:44:
# In file included from ./ODBC.h:12:
# In file included from /usr/lib/perl5/vendor_perl/auto/DBI/DBIXS.h:23:
# In file included from /usr/lib/perl5/core_perl/CORE/perl.h:2109:
# In file included from /usr/include/math.h:472:
# /usr/include/bits/mathinline.h:153:64: warning: use of GNU old-style field designator extension [-Wgnu-designator]
# __extension__ union { long double __l; int __i[3]; } __u = { __l: __x };
# ^~~~
# .__l =
# dbdimp.c:1025:30: warning: passing 'char *' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# dbname,
# ^~~~~~
# /usr/include/sqlext.h:1793:18: note: passing argument to parameter 'szConnStrIn' here
# SQLCHAR *szConnStrIn,
# ^
# dbdimp.c:1027:30: warning: passing 'char [512]' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# out_str, sizeof(out_str), &out_str_len,
# ^~~~~~~
# /usr/include/sqlext.h:1795:24: note: passing argument to parameter 'szConnStrOut' here
# SQLCHAR *szConnStrOut,
# ^
# dbdimp.c:1133:9: warning: passing 'char *' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# dbname, (SQLSMALLINT)strlen(dbname),
# ^~~~~~
# /usr/include/sql.h:633:44: note: passing argument to parameter 'ServerName' here
# SQLCHAR *ServerName, SQLSMALLINT NameLength1,
# ^
# dbdimp.c:1134:9: warning: passing 'char *' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# uid, (SQLSMALLINT)(uid ? strlen(uid) : 0),
# ^~~
# /usr/include/sql.h:634:44: note: passing argument to parameter 'UserName' here
# SQLCHAR *UserName, SQLSMALLINT NameLength2,
# ^
# dbdimp.c:1135:9: warning: passing 'char *' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# pwd, (SQLSMALLINT)(pwd ? strlen(pwd) : 0));
# ^~~
# /usr/include/sql.h:635:44: note: passing argument to parameter 'Authentication' here
# SQLCHAR *Authentication, SQLSMALLINT NameLength3);
# ^
# dbdimp.c:1334:24: warning: passing 'SQLCHAR [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# strcpy(ErrorMsg, what);
# ^~~~~~~~
# /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here
# extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
# ^
# dbdimp.c:1335:24: warning: passing 'SQLCHAR [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# strcpy(sqlstate, "HY000");
# ^~~~~~~~
# /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here
# extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
# ^
# dbdimp.c:1372:43: warning: passing 'SQLCHAR [6]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# XPUSHs(sv_2mortal(newSVpv(sqlstate, 0)));
# ^~~~~~~~
# /usr/lib/perl5/core_perl/CORE/embed.h:402:42: note: expanded from macro 'newSVpv'
# #define newSVpv(a,b) Perl_newSVpv(aTHX_ a,b)
# ^
# /usr/lib/perl5/core_perl/CORE/embed.h:581:46: note: expanded from macro 'sv_2mortal'
# #define sv_2mortal(a) Perl_sv_2mortal(aTHX_ a)
# ^
# /usr/lib/perl5/core_perl/CORE/pp.h:458:55: note: expanded from macro 'XPUSHs'
# #define XPUSHs(s) STMT_START { EXTEND(sp,1); *++sp = (s); } STMT_END
# ^
# /usr/lib/perl5/core_perl/CORE/proto.h:2173:56: note: passing argument to parameter 's' here
# PERL_CALLCONV SV* Perl_newSVpv(pTHX_ const char *const s, const STRLEN len)
# ^
# dbdimp.c:1373:43: warning: passing 'SQLCHAR [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# XPUSHs(sv_2mortal(newSVpv(ErrorMsg, 0)));
# ^~~~~~~~
# /usr/lib/perl5/core_perl/CORE/embed.h:402:42: note: expanded from macro 'newSVpv'
# #define newSVpv(a,b) Perl_newSVpv(aTHX_ a,b)
# ^
# /usr/lib/perl5/core_perl/CORE/embed.h:581:46: note: expanded from macro 'sv_2mortal'
# #define sv_2mortal(a) Perl_sv_2mortal(aTHX_ a)
# ^
# /usr/lib/perl5/core_perl/CORE/pp.h:458:55: note: expanded from macro 'XPUSHs'
# #define XPUSHs(s) STMT_START { EXTEND(sp,1); *++sp = (s); } STMT_END
# ^
# /usr/lib/perl5/core_perl/CORE/proto.h:2173:56: note: passing argument to parameter 's' here
# PERL_CALLCONV SV* Perl_newSVpv(pTHX_ const char *const s, const STRLEN len)
# ^
# dbdimp.c:1395:20: warning: passing 'SQLCHAR [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# strcat(ErrorMsg, " (SQL-");
# ^~~~~~~~
# /usr/include/string.h:133:39: note: passing argument to parameter '__dest' here
# extern char *strcat (char *__restrict __dest, const char *__restrict __src)
# ^
# dbdimp.c:1396:20: warning: passing 'SQLCHAR [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# strcat(ErrorMsg, sqlstate);
# ^~~~~~~~
# /usr/include/string.h:133:39: note: passing argument to parameter '__dest' here
# extern char *strcat (char *__restrict __dest, const char *__restrict __src)
# ^
# dbdimp.c:1396:30: warning: passing 'SQLCHAR [6]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# strcat(ErrorMsg, sqlstate);
# ^~~~~~~~
# /usr/include/string.h:133:70: note: passing argument to parameter '__src' here
# extern char *strcat (char *__restrict __dest, const char *__restrict __src)
# ^
# dbdimp.c:1397:20: warning: passing 'SQLCHAR [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# strcat(ErrorMsg, ")");
# ^~~~~~~~
# /usr/include/string.h:133:39: note: passing argument to parameter '__dest' here
# extern char *strcat (char *__restrict __dest, const char *__restrict __src)
# ^
# dbdimp.c:1400:38: warning: passing 'SQLCHAR [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# 1, ErrorMsg, sqlstate, Nullch);
# ^~~~~~~~
# /usr/lib/perl5/vendor_perl/auto/DBI/DBIXS.h:403:60: note: expanded from macro 'DBIh_SET_ERR_CHAR'
# (DBIc_DBISTATE(i)->set_err_char(h,i, err_c, err_i, errstr, state, method))
# ^~~~~~
# dbdimp.c:1400:48: warning: passing 'SQLCHAR [6]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# 1, ErrorMsg, sqlstate, Nullch);
# ^~~~~~~~
# /usr/lib/perl5/vendor_perl/auto/DBI/DBIXS.h:403:68: note: expanded from macro 'DBIh_SET_ERR_CHAR'
# (DBIc_DBISTATE(i)->set_err_char(h,i, err_c, err_i, errstr, state, method))
# ^~~~~
# dbdimp.c:1402:58: warning: passing 'SQLCHAR [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# DBIh_SET_ERR_CHAR(h, imp_xxh, Nullch, 1, ErrorMsg,
# ^~~~~~~~
# /usr/lib/perl5/vendor_perl/auto/DBI/DBIXS.h:403:60: note: expanded from macro 'DBIh_SET_ERR_CHAR'
# (DBIc_DBISTATE(i)->set_err_char(h,i, err_c, err_i, errstr, state, method))
# ^~~~~~
# dbdimp.c:1403:35: warning: passing 'SQLCHAR [6]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# sqlstate, Nullch);
# ^~~~~~~~
# /usr/lib/perl5/vendor_perl/auto/DBI/DBIXS.h:403:68: note: expanded from macro 'DBIh_SET_ERR_CHAR'
# (DBIc_DBISTATE(i)->set_err_char(h,i, err_c, err_i, errstr, state, method))
# ^~~~~
# dbdimp.c:1754:23: warning: passing 'char *' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# acatalog ? acatalog : NULL, SQL_NTS,
# ^~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/include/sql.h:828:44: note: passing argument to parameter 'CatalogName' here
# SQLCHAR *CatalogName, SQLSMALLINT NameLength1,
# ^
# dbdimp.c:1755:23: warning: passing 'char *' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# aschema ? aschema : NULL, SQL_NTS,
# ^~~~~~~~~~~~~~~~~~~~~~~~
# /usr/include/sql.h:829:44: note: passing argument to parameter 'SchemaName' here
# SQLCHAR *SchemaName, SQLSMALLINT NameLength2,
# ^
# dbdimp.c:1756:23: warning: passing 'char *' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# atable ? atable : NULL, SQL_NTS,
# ^~~~~~~~~~~~~~~~~~~~~~
# /usr/include/sql.h:830:44: note: passing argument to parameter 'TableName' here
# SQLCHAR *TableName, SQLSMALLINT NameLength3,
# ^
# dbdimp.c:1757:23: warning: passing 'char *' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# atype ? atype : NULL, SQL_NTS /* type (view, table, etc) */
# ^~~~~~~~~~~~~~~~~~~~
# /usr/include/sql.h:831:44: note: passing argument to parameter 'TableType' here
# SQLCHAR *TableType, SQLSMALLINT NameLength4);
# ^
# dbdimp.c:1882:10: warning: passing 'char *' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# (catalog && *catalog) ? catalog : 0, SQL_NTS,
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/include/sqlext.h:1987:18: note: passing argument to parameter 'szCatalogName' here
# SQLCHAR *szCatalogName,
# ^
# dbdimp.c:1883:10: warning: passing 'char *' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# (schema && *schema) ? schema : 0, SQL_NTS,
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/include/sqlext.h:1989:18: note: passing argument to parameter 'szSchemaName' here
# SQLCHAR *szSchemaName,
# ^
# dbdimp.c:1884:10: warning: passing 'char *' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# (table && *table) ? table : 0, SQL_NTS);
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/include/sqlext.h:1991:18: note: passing argument to parameter 'szTableName' here
# SQLCHAR *szTableName,
# ^
# dbdimp.c:1953:23: warning: passing 'char *' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# (catalog && *catalog) ? catalog : 0, SQL_NTS,
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/include/sql.h:822:47: note: passing argument to parameter 'CatalogName' here
# SQLCHAR *CatalogName, SQLSMALLINT NameLength1,
# ^
# dbdimp.c:1954:23: warning: passing 'char *' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# (schema && *schema) ? schema : 0, SQL_NTS,
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/include/sql.h:823:47: note: passing argument to parameter 'SchemaName' here
# SQLCHAR *SchemaName, SQLSMALLINT NameLength2,
# ^
# dbdimp.c:1955:23: warning: passing 'char *' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# (table && *table) ? table : 0, SQL_NTS,
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/include/sql.h:824:47: note: passing argument to parameter 'TableName' here
# SQLCHAR *TableName, SQLSMALLINT NameLength3,
# ^
# cc -c -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/include -I/usr/include -I. -I/usr/lib/perl5/vendor_perl/auto/DBI -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DVERSION=\"1.52\" -DXS_VERSION=\"1.52\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/include -I/usr/include ODBC.c
# dbdimp.c:2189:40: warning: passing 'char *' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# rc = SQLPrepare(imp_sth->hstmt, imp_sth->statement, SQL_NTS);
# ^~~~~~~~~~~~~~~~~~
# /usr/include/sql.h:762:44: note: passing argument to parameter 'StatementText' here
# SQLCHAR *StatementText, SQLINTEGER TextLength);
# ^
# dbdimp.c:2889:44: warning: passing 'char *' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# rc = SQLExecDirect(imp_sth->hstmt, imp_sth->statement, SQL_NTS);
# ^~~~~~~~~~~~~~~~~~
# /usr/include/sql.h:668:47: note: passing argument to parameter 'StatementText' here
# SQLCHAR *StatementText, SQLINTEGER TextLength);
# ^
# dbdimp.c:2947:13: warning: assigning to 'UCHAR *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# ptr = SvPV(phs->sv, len);
# ^ ~~~~~~~~~~~~~~~~~~
# dbdimp.c:4020:23: warning: assigning to 'UCHAR *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# value_ptr = phs->sv_buf;
# ^ ~~~~~~~~~~~
# dbdimp.c:4026:19: warning: assigning to 'UCHAR *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# value_ptr = phs->sv_buf;
# ^ ~~~~~~~~~~~
# In file included from ODBC.xs:1:
# In file included from ./ODBC.h:12:
# In file included from /usr/lib/perl5/vendor_perl/auto/DBI/DBIXS.h:23:
# In file included from /usr/lib/perl5/core_perl/CORE/perl.h:764:
# /usr/include/setjmp.h:59:12: warning: declaration of built-in function '__sigsetjmp' requires inclusion of the header [-Wbuiltin-requires-header]
# extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) __THROWNL;
# ^
# In file included from ODBC.xs:1:
# In file included from ./ODBC.h:12:
# In file included from /usr/lib/perl5/vendor_perl/auto/DBI/DBIXS.h:23:
# In file included from /usr/lib/perl5/core_perl/CORE/perl.h:770:
# In file included from /usr/include/sys/param.h:26:
# In file included from /usr/include/limits.h:143:
# In file included from /usr/include/bits/posix1_lim.h:160:
# In file included from /usr/include/bits/local_lim.h:38:
# /usr/include/linux/limits.h:6:9: warning: 'NGROUPS_MAX' macro redefined [-Wmacro-redefined]
# #define NGROUPS_MAX 65536 /* supplemental group IDs are available */
# ^
# /sysroot/include/limits.h:51:9: note: previous definition is here
# #define NGROUPS_MAX 32
# ^
# In file included from ODBC.xs:1:
# In file included from ./ODBC.h:12:
# In file included from /usr/lib/perl5/vendor_perl/auto/DBI/DBIXS.h:23:
# In file included from /usr/lib/perl5/core_perl/CORE/perl.h:770:
# In file included from /usr/include/sys/param.h:26:
# In file included from /usr/include/limits.h:143:
# In file included from /usr/include/bits/posix1_lim.h:160:
# /usr/include/bits/local_lim.h:64:9: warning: 'PTHREAD_KEYS_MAX' macro redefined [-Wmacro-redefined]
# #define PTHREAD_KEYS_MAX 1024
# ^
# /sysroot/include/limits.h:63:9: note: previous definition is here
# #define PTHREAD_KEYS_MAX 128
# ^
# In file included from ODBC.xs:1:
# In file included from ./ODBC.h:12:
# In file included from /usr/lib/perl5/vendor_perl/auto/DBI/DBIXS.h:23:
# In file included from /usr/lib/perl5/core_perl/CORE/perl.h:770:
# In file included from /usr/include/sys/param.h:26:
# In file included from /usr/include/limits.h:143:
# In file included from /usr/include/bits/posix1_lim.h:160:
# /usr/include/bits/local_lim.h:69:9: warning: 'PTHREAD_DESTRUCTOR_ITERATIONS' macro redefined [-Wmacro-redefined]
# #define PTHREAD_DESTRUCTOR_ITERATIONS _POSIX_THREAD_DESTRUCTOR_ITERATIONS
# ^
# /sysroot/include/limits.h:65:9: note: previous definition is here
# #define PTHREAD_DESTRUCTOR_ITERATIONS 4
# ^
# In file included from ODBC.xs:1:
# In file included from ./ODBC.h:12:
# In file included from /usr/lib/perl5/vendor_perl/auto/DBI/DBIXS.h:23:
# In file included from /usr/lib/perl5/core_perl/CORE/perl.h:770:
# In file included from /usr/include/sys/param.h:26:
# In file included from /usr/include/limits.h:143:
# In file included from /usr/include/bits/posix1_lim.h:160:
# /usr/include/bits/local_lim.h:81:9: warning: 'PTHREAD_STACK_MIN' macro redefined [-Wmacro-redefined]
# #define PTHREAD_STACK_MIN 16384
# ^
# /sysroot/include/limits.h:64:9: note: previous definition is here
# #define PTHREAD_STACK_MIN 2048
# ^
# In file included from ODBC.xs:1:
# In file included from ./ODBC.h:12:
# In file included from /usr/lib/perl5/vendor_perl/auto/DBI/DBIXS.h:23:
# In file included from /usr/lib/perl5/core_perl/CORE/perl.h:770:
# In file included from /usr/include/sys/param.h:26:
# In file included from /usr/include/limits.h:143:
# In file included from /usr/include/bits/posix1_lim.h:160:
# /usr/include/bits/local_lim.h:84:9: warning: 'DELAYTIMER_MAX' macro redefined [-Wmacro-redefined]
# #define DELAYTIMER_MAX 2147483647
# ^
# /sysroot/include/limits.h:68:9: note: previous definition is here
# #define DELAYTIMER_MAX 0x7fffffff
# ^
# In file included from ODBC.xs:1:
# In file included from ./ODBC.h:12:
# In file included from /usr/lib/perl5/vendor_perl/auto/DBI/DBIXS.h:23:
# In file included from /usr/lib/perl5/core_perl/CORE/perl.h:770:
# In file included from /usr/include/sys/param.h:26:
# In file included from /usr/include/limits.h:143:
# In file included from /usr/include/bits/posix1_lim.h:160:
# /usr/include/bits/local_lim.h:93:9: warning: 'HOST_NAME_MAX' macro redefined [-Wmacro-redefined]
# #define HOST_NAME_MAX 64
# ^
# /sysroot/include/limits.h:59:9: note: previous definition is here
# #define HOST_NAME_MAX 255
# ^
# In file included from ODBC.xs:1:
# In file included from ./ODBC.h:12:
# In file included from /usr/lib/perl5/vendor_perl/auto/DBI/DBIXS.h:23:
# In file included from /usr/lib/perl5/core_perl/CORE/perl.h:770:
# In file included from /usr/include/sys/param.h:26:
# In file included from /usr/include/limits.h:143:
# In file included from /usr/include/bits/posix1_lim.h:160:
# /usr/include/bits/local_lim.h:99:9: warning: 'SEM_VALUE_MAX' macro redefined [-Wmacro-redefined]
# #define SEM_VALUE_MAX (2147483647)
# ^
# /sysroot/include/limits.h:66:9: note: previous definition is here
# #define SEM_VALUE_MAX 0x7fffffff
# ^
# In file included from ODBC.xs:1:
# In file included from ./ODBC.h:12:
# In file included from /usr/lib/perl5/vendor_perl/auto/DBI/DBIXS.h:23:
# In file included from /usr/lib/perl5/core_perl/CORE/perl.h:770:
# In file included from /usr/include/sys/param.h:26:
# In file included from /usr/include/limits.h:147:
# /usr/include/bits/posix2_lim.h:88:9: warning: 'RE_DUP_MAX' macro redefined [-Wmacro-redefined]
# #define RE_DUP_MAX (0x7fff)
# ^
# /sysroot/include/limits.h:82:9: note: previous definition is here
# #define RE_DUP_MAX 255
# ^
# In file included from ODBC.xs:1:
# In file included from ./ODBC.h:12:
# In file included from /usr/lib/perl5/vendor_perl/auto/DBI/DBIXS.h:23:
# In file included from /usr/lib/perl5/core_perl/CORE/perl.h:770:
# In file included from /usr/include/sys/param.h:26:
# In file included from /usr/include/limits.h:151:
# /usr/include/bits/xopen_lim.h:65:9: warning: '_XOPEN_IOV_MAX' macro redefined [-Wmacro-redefined]
# #define _XOPEN_IOV_MAX _POSIX_UIO_MAXIOV
# ^
# /sysroot/include/limits.h:150:9: note: previous definition is here
# #define _XOPEN_IOV_MAX 16
# ^
# In file included from ODBC.xs:1:
# In file included from ./ODBC.h:12:
# In file included from /usr/lib/perl5/vendor_perl/auto/DBI/DBIXS.h:23:
# In file included from /usr/lib/perl5/core_perl/CORE/perl.h:770:
# In file included from /usr/include/sys/param.h:26:
# In file included from /usr/include/limits.h:151:
# /usr/include/bits/xopen_lim.h:70:9: warning: 'NL_ARGMAX' macro redefined [-Wmacro-redefined]
# #define NL_ARGMAX _POSIX_ARG_MAX
# ^
# /sysroot/include/limits.h:84:9: note: previous definition is here
# #define NL_ARGMAX 9
# ^
# In file included from ODBC.xs:1:
# In file included from ./ODBC.h:12:
# In file included from /usr/lib/perl5/vendor_perl/auto/DBI/DBIXS.h:23:
# In file included from /usr/lib/perl5/core_perl/CORE/perl.h:770:
# In file included from /usr/include/sys/param.h:26:
# In file included from /usr/include/limits.h:151:
# /usr/include/bits/xopen_lim.h:73:9: warning: 'NL_LANGMAX' macro redefined [-Wmacro-redefined]
# #define NL_LANGMAX _POSIX2_LINE_MAX
# ^
# /sysroot/include/limits.h:85:9: note: previous definition is here
# #define NL_LANGMAX 32
# ^
# In file included from ODBC.xs:1:
# In file included from ./ODBC.h:12:
# In file included from /usr/lib/perl5/vendor_perl/auto/DBI/DBIXS.h:23:
# In file included from /usr/lib/perl5/core_perl/CORE/perl.h:770:
# In file included from /usr/include/sys/param.h:26:
# In file included from /usr/include/limits.h:151:
# /usr/include/bits/xopen_lim.h:76:9: warning: 'NL_MSGMAX' macro redefined [-Wmacro-redefined]
# #define NL_MSGMAX INT_MAX
# ^
# /sysroot/include/limits.h:86:9: note: previous definition is here
# #define NL_MSGMAX 32767
# ^
# In file included from ODBC.xs:1:
# In file included from ./ODBC.h:12:
# In file included from /usr/lib/perl5/vendor_perl/auto/DBI/DBIXS.h:23:
# In file included from /usr/lib/perl5/core_perl/CORE/perl.h:770:
# In file included from /usr/include/sys/param.h:26:
# In file included from /usr/include/limits.h:151:
# /usr/include/bits/xopen_lim.h:80:9: warning: 'NL_NMAX' macro redefined [-Wmacro-redefined]
# #define NL_NMAX INT_MAX
# ^
# /sysroot/include/limits.h:95:9: note: previous definition is here
# #define NL_NMAX 16
# ^
# In file included from ODBC.xs:1:
# In file included from ./ODBC.h:12:
# In file included from /usr/lib/perl5/vendor_perl/auto/DBI/DBIXS.h:23:
# In file included from /usr/lib/perl5/core_perl/CORE/perl.h:770:
# In file included from /usr/include/sys/param.h:26:
# In file included from /usr/include/limits.h:151:
# /usr/include/bits/xopen_lim.h:83:9: warning: 'NL_SETMAX' macro redefined [-Wmacro-redefined]
# #define NL_SETMAX INT_MAX
# ^
# /sysroot/include/limits.h:87:9: note: previous definition is here
# #define NL_SETMAX 255
# ^
# In file included from ODBC.xs:1:
# In file included from ./ODBC.h:12:
# In file included from /usr/lib/perl5/vendor_perl/auto/DBI/DBIXS.h:23:
# In file included from /usr/lib/perl5/core_perl/CORE/perl.h:770:
# In file included from /usr/include/sys/param.h:26:
# In file included from /usr/include/limits.h:151:
# /usr/include/bits/xopen_lim.h:86:9: warning: 'NL_TEXTMAX' macro redefined [-Wmacro-redefined]
# #define NL_TEXTMAX INT_MAX
# ^
# /sysroot/include/limits.h:88:9: note: previous definition is here
# #define NL_TEXTMAX 2048
# ^
# dbdimp.c:4704:22: warning: cast to 'SQLPOINTER' (aka 'void *') from smaller integer type 'UDWORD' (aka 'unsigned int') [-Wint-to-void-pointer-cast]
# vParam = (SQLPOINTER)pars->atrue;
# ^
# dbdimp.c:4706:22: warning: cast to 'SQLPOINTER' (aka 'void *') from smaller integer type 'UDWORD' (aka 'unsigned int') [-Wint-to-void-pointer-cast]
# vParam = (SQLPOINTER)pars->afalse;
# ^
# dbdimp.c:4959:18: warning: cast to 'SQLPOINTER' (aka 'void *') from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast]
# vParam = (SQLPOINTER)(on ? pars->atrue : pars->afalse);
# ^
# dbdimp.c:4964:18: warning: cast to 'SQLPOINTER' (aka 'void *') from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast]
# vParam = (SQLPOINTER)(on ? pars->atrue : pars->afalse);
# ^
# dbdimp.c:4984:27: warning: cast to 'SQLPOINTER' (aka 'void *') from smaller integer type 'UDWORD' (aka 'unsigned int') [-Wint-to-void-pointer-cast]
# if (vParam == (SQLPOINTER)pars->atrue) {
# ^
# dbdimp.c:4991:60: warning: passing 'char [256]' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# (SQLCHAR *)state, &native, msg, sizeof(msg), &msg_len);
# ^~~
# /usr/include/sql.h:728:72: note: passing argument to parameter 'MessageText' here
# SQLINTEGER *NativeError, SQLCHAR *MessageText,
# ^
# In file included from ODBC.xs:1:
# In file included from ./ODBC.h:12:
# In file included from /usr/lib/perl5/vendor_perl/auto/DBI/DBIXS.h:23:
# In file included from /usr/lib/perl5/core_perl/CORE/perl.h:2109:
# In file included from /usr/include/math.h:472:
# /usr/include/bits/mathinline.h:153:64: warning: use of GNU old-style field designator extension [-Wgnu-designator]
# __extension__ union { long double __l; int __i[3]; } __u = { __l: __x };
# ^~~~
# .__l =
# ODBC.xs:99:35: warning: passing 'SQLCHAR [10]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# XPUSHs(sv_2mortal(newSVpv(state, 0)));
# ^~~~~
# /usr/lib/perl5/core_perl/CORE/embed.h:402:42: note: expanded from macro 'newSVpv'
# #define newSVpv(a,b) Perl_newSVpv(aTHX_ a,b)
# ^
# /usr/lib/perl5/core_perl/CORE/embed.h:581:46: note: expanded from macro 'sv_2mortal'
# #define sv_2mortal(a) Perl_sv_2mortal(aTHX_ a)
# ^
# /usr/lib/perl5/core_perl/CORE/pp.h:458:55: note: expanded from macro 'XPUSHs'
# #define XPUSHs(s) STMT_START { EXTEND(sp,1); *++sp = (s); } STMT_END
# ^
# /usr/lib/perl5/core_perl/CORE/proto.h:2173:56: note: passing argument to parameter 's' here
# PERL_CALLCONV SV* Perl_newSVpv(pTHX_ const char *const s, const STRLEN len)
# ^
# ODBC.xs:101:35: warning: passing 'SQLCHAR [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# XPUSHs(sv_2mortal(newSVpv(msg, 0)));
# ^~~
# /usr/lib/perl5/core_perl/CORE/embed.h:402:42: note: expanded from macro 'newSVpv'
# #define newSVpv(a,b) Perl_newSVpv(aTHX_ a,b)
# ^
# /usr/lib/perl5/core_perl/CORE/embed.h:581:46: note: expanded from macro 'sv_2mortal'
# #define sv_2mortal(a) Perl_sv_2mortal(aTHX_ a)
# ^
# /usr/lib/perl5/core_perl/CORE/pp.h:458:55: note: expanded from macro 'XPUSHs'
# #define XPUSHs(s) STMT_START { EXTEND(sp,1); *++sp = (s); } STMT_END
# ^
# /usr/lib/perl5/core_perl/CORE/proto.h:2173:56: note: passing argument to parameter 's' here
# PERL_CALLCONV SV* Perl_newSVpv(pTHX_ const char *const s, const STRLEN len)
# ^
# ODBC.xs:164:39: warning: passing 'SQLCHAR [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# XPUSHs(sv_2mortal(newSVpv(buf, 0)));
# ^~~
# /usr/lib/perl5/core_perl/CORE/embed.h:402:42: note: expanded from macro 'newSVpv'
# #define newSVpv(a,b) Perl_newSVpv(aTHX_ a,b)
# ^
# /usr/lib/perl5/core_perl/CORE/embed.h:581:46: note: expanded from macro 'sv_2mortal'
# #define sv_2mortal(a) Perl_sv_2mortal(aTHX_ a)
# ^
# /usr/lib/perl5/core_perl/CORE/pp.h:458:55: note: expanded from macro 'XPUSHs'
# #define XPUSHs(s) STMT_START { EXTEND(sp,1); *++sp = (s); } STMT_END
# ^
# /usr/lib/perl5/core_perl/CORE/proto.h:2173:56: note: passing argument to parameter 's' here
# PERL_CALLCONV SV* Perl_newSVpv(pTHX_ const char *const s, const STRLEN len)
# ^
# ODBC.xs:328:35: warning: passing 'SQLCHAR [10]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# XPUSHs(sv_2mortal(newSVpv(state, 0)));
# ^~~~~
# /usr/lib/perl5/core_perl/CORE/embed.h:402:42: note: expanded from macro 'newSVpv'
# #define newSVpv(a,b) Perl_newSVpv(aTHX_ a,b)
# ^
# /usr/lib/perl5/core_perl/CORE/embed.h:581:46: note: expanded from macro 'sv_2mortal'
# #define sv_2mortal(a) Perl_sv_2mortal(aTHX_ a)
# ^
# /usr/lib/perl5/core_perl/CORE/pp.h:458:55: note: expanded from macro 'XPUSHs'
# #define XPUSHs(s) STMT_START { EXTEND(sp,1); *++sp = (s); } STMT_END
# ^
# /usr/lib/perl5/core_perl/CORE/proto.h:2173:56: note: passing argument to parameter 's' here
# PERL_CALLCONV SV* Perl_newSVpv(pTHX_ const char *const s, const STRLEN len)
# ^
# ODBC.xs:330:35: warning: passing 'SQLCHAR [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# XPUSHs(sv_2mortal(newSVpv(msg, 0)));
# ^~~
# /usr/lib/perl5/core_perl/CORE/embed.h:402:42: note: expanded from macro 'newSVpv'
# #define newSVpv(a,b) Perl_newSVpv(aTHX_ a,b)
# ^
# /usr/lib/perl5/core_perl/CORE/embed.h:581:46: note: expanded from macro 'sv_2mortal'
# #define sv_2mortal(a) Perl_sv_2mortal(aTHX_ a)
# ^
# /usr/lib/perl5/core_perl/CORE/pp.h:458:55: note: expanded from macro 'XPUSHs'
# #define XPUSHs(s) STMT_START { EXTEND(sp,1); *++sp = (s); } STMT_END
# ^
# /usr/lib/perl5/core_perl/CORE/proto.h:2173:56: note: passing argument to parameter 's' here
# PERL_CALLCONV SV* Perl_newSVpv(pTHX_ const char *const s, const STRLEN len)
# ^
# ODBC.xs:394:39: warning: passing 'SQLCHAR [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# XPUSHs(sv_2mortal(newSVpv(buf, 0)));
# ^~~
# /usr/lib/perl5/core_perl/CORE/embed.h:402:42: note: expanded from macro 'newSVpv'
# #define newSVpv(a,b) Perl_newSVpv(aTHX_ a,b)
# ^
# /usr/lib/perl5/core_perl/CORE/embed.h:581:46: note: expanded from macro 'sv_2mortal'
# #define sv_2mortal(a) Perl_sv_2mortal(aTHX_ a)
# ^
# /usr/lib/perl5/core_perl/CORE/pp.h:458:55: note: expanded from macro 'XPUSHs'
# #define XPUSHs(s) STMT_START { EXTEND(sp,1); *++sp = (s); } STMT_END
# ^
# /usr/lib/perl5/core_perl/CORE/proto.h:2173:56: note: passing argument to parameter 's' here
# PERL_CALLCONV SV* Perl_newSVpv(pTHX_ const char *const s, const STRLEN len)
# ^
# dbdimp.c:5360:38: warning: passing 'UCHAR *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# av_store(av, i, newSVpv(imp_sth->fbh[i].ColName, 0));
# ^~~~~~~~~~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/embed.h:402:42: note: expanded from macro 'newSVpv'
# #define newSVpv(a,b) Perl_newSVpv(aTHX_ a,b)
# ^
# /usr/lib/perl5/core_perl/CORE/embed.h:63:50: note: expanded from macro 'av_store'
# #define av_store(a,b,c) Perl_av_store(aTHX_ a,b,c)
# ^
# /usr/lib/perl5/core_perl/CORE/proto.h:2173:56: note: passing argument to parameter 's' here
# PERL_CALLCONV SV* Perl_newSVpv(pTHX_ const char *const s, const STRLEN len)
# ^
# dbdimp.c:5403:41: warning: passing 'char [256]' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# rc = SQLGetCursorName(imp_sth->hstmt, cursor_name,
# ^~~~~~~~~~~
# /usr/include/sql.h:700:50: note: passing argument to parameter 'CursorName' here
# SQLCHAR *CursorName, SQLSMALLINT BufferLength,
# ^
# dbdimp.c:5773:28: warning: passing 'char *' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# CatalogName, (SQLSMALLINT)strlen(CatalogName),
# ^~~~~~~~~~~
# /usr/include/sql.h:815:80: note: passing argument to parameter 'CatalogName' here
# SQLUSMALLINT IdentifierType, SQLCHAR *CatalogName,
# ^
# dbdimp.c:5774:28: warning: passing 'char *' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# SchemaName, (SQLSMALLINT)strlen(SchemaName),
# ^~~~~~~~~~
# /usr/include/sql.h:816:76: note: passing argument to parameter 'SchemaName' here
# SQLSMALLINT NameLength1, SQLCHAR *SchemaName,
# ^
# dbdimp.c:5775:28: warning: passing 'char *' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# TableName, (SQLSMALLINT)strlen(TableName),
# ^~~~~~~~~
# /usr/include/sql.h:817:76: note: passing argument to parameter 'TableName' here
# SQLSMALLINT NameLength2, SQLCHAR *TableName,
# ^
# dbdimp.c:5841:9: warning: passing 'char *' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# (PK_CatalogName && *PK_CatalogName) ? PK_CatalogName : 0, SQL_NTS,
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/include/sqlext.h:1952:18: note: passing argument to parameter 'szPkCatalogName' here
# SQLCHAR *szPkCatalogName,
# ^
# dbdimp.c:5842:9: warning: passing 'char *' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# (PK_SchemaName && *PK_SchemaName) ? PK_SchemaName : 0, SQL_NTS,
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/include/sqlext.h:1954:18: note: passing argument to parameter 'szPkSchemaName' here
# SQLCHAR *szPkSchemaName,
# ^
# dbdimp.c:5843:9: warning: passing 'char *' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# (PK_TableName && *PK_TableName) ? PK_TableName : 0, SQL_NTS,
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/include/sqlext.h:1956:18: note: passing argument to parameter 'szPkTableName' here
# SQLCHAR *szPkTableName,
# ^
# dbdimp.c:5844:9: warning: passing 'char *' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# (FK_CatalogName && *FK_CatalogName) ? FK_CatalogName : 0, SQL_NTS,
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/include/sqlext.h:1958:18: note: passing argument to parameter 'szFkCatalogName' here
# SQLCHAR *szFkCatalogName,
# ^
# dbdimp.c:5845:9: warning: passing 'char *' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# (FK_SchemaName && *FK_SchemaName) ? FK_SchemaName : 0, SQL_NTS,
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/include/sqlext.h:1960:18: note: passing argument to parameter 'szFkSchemaName' here
# SQLCHAR *szFkSchemaName,
# ^
# dbdimp.c:5846:9: warning: passing 'char *' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# (FK_TableName && *FK_TableName) ? FK_TableName : 0, SQL_NTS);
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/include/sqlext.h:1962:18: note: passing argument to parameter 'szFkTableName' here
# SQLCHAR *szFkTableName,
# ^
# dbdimp.c:6139:44: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# retsv = newSVpv(str_attr, strlen(str_attr));
# ^~~~~~~~
# /usr/lib/perl5/core_perl/CORE/embed.h:402:44: note: expanded from macro 'newSVpv'
# #define newSVpv(a,b) Perl_newSVpv(aTHX_ a,b)
# ^
# /usr/include/string.h:394:35: note: passing argument to parameter '__s' here
# extern size_t strlen (const char *__s)
# ^
# dbdimp.c:6139:27: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# retsv = newSVpv(str_attr, strlen(str_attr));
# ^~~~~~~~
# /usr/lib/perl5/core_perl/CORE/embed.h:402:42: note: expanded from macro 'newSVpv'
# #define newSVpv(a,b) Perl_newSVpv(aTHX_ a,b)
# ^
# /usr/lib/perl5/core_perl/CORE/proto.h:2173:56: note: passing argument to parameter 's' here
# PERL_CALLCONV SV* Perl_newSVpv(pTHX_ const char *const s, const STRLEN len)
# ^
# dbdimp.c:6335:10: warning: passing 'char *' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# (acatalog && *acatalog) ? acatalog : 0, SQL_NTS,
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/include/sql.h:626:44: note: passing argument to parameter 'CatalogName' here
# SQLCHAR *CatalogName, SQLSMALLINT NameLength1,
# ^
# dbdimp.c:6336:10: warning: passing 'char *' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# (aschema && *aschema) ? aschema : 0, SQL_NTS,
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/include/sql.h:627:44: note: passing argument to parameter 'SchemaName' here
# SQLCHAR *SchemaName, SQLSMALLINT NameLength2,
# ^
# dbdimp.c:6337:10: warning: passing 'char *' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# (atable && *atable) ? atable : 0, SQL_NTS,
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/include/sql.h:628:44: note: passing argument to parameter 'TableName' here
# SQLCHAR *TableName, SQLSMALLINT NameLength3,
# ^
# dbdimp.c:6338:10: warning: passing 'char *' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# (acolumn && *acolumn) ? acolumn : 0, SQL_NTS);
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/include/sql.h:629:44: note: passing argument to parameter 'ColumnName' here
# SQLCHAR *ColumnName, SQLSMALLINT NameLength4);
# ^
# dbdimp.c:7492:44: warning: passing 'char *' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# state, native, msg, max_msg, &msg_len))) {
# ^~~~~
# /usr/include/sql.h:40:30: note: expanded from macro 'SQL_SUCCEEDED'
# #define SQL_SUCCEEDED(rc) (((rc)&(~1))==0)
# ^~
# /usr/include/sql.h:727:70: note: passing argument to parameter 'Sqlstate' here
# SQLSMALLINT RecNumber, SQLCHAR *Sqlstate,
# ^
# dbdimp.c:7492:59: warning: passing 'char *' to parameter of type 'SQLCHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# state, native, msg, max_msg, &msg_len))) {
# ^~~
# /usr/include/sql.h:40:30: note: expanded from macro 'SQL_SUCCEEDED'
# #define SQL_SUCCEEDED(rc) (((rc)&(~1))==0)
# ^~
# /usr/include/sql.h:728:72: note: passing argument to parameter 'MessageText' here
# SQLINTEGER *NativeError, SQLCHAR *MessageText,
# ^
# dbdimp.c:7643:9: warning: passing 'SQLCHAR [42]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# strcpy(dsn, "dbi:ODBC:");
# ^~~
# /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here
# extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
# ^
# dbdimp.c:7664:30: warning: passing 'SQLCHAR [42]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# av_push( ds, newSVpv(dsn, dsn_length + 9 ) );
# ^~~
# /usr/lib/perl5/core_perl/CORE/embed.h:402:42: note: expanded from macro 'newSVpv'
# #define newSVpv(a,b) Perl_newSVpv(aTHX_ a,b)
# ^
# /usr/lib/perl5/core_perl/CORE/embed.h:61:44: note: expanded from macro 'av_push'
# #define av_push(a,b) Perl_av_push(aTHX_ a,b)
# ^
# /usr/lib/perl5/core_perl/CORE/proto.h:2173:56: note: passing argument to parameter 's' here
# PERL_CALLCONV SV* Perl_newSVpv(pTHX_ const char *const s, const STRLEN len)
# ^
# 23 warnings generated.
# 76 warnings generated.
# rm -f blib/arch/auto/DBD/ODBC/ODBC.so
# LD_RUN_PATH="/usr/lib" cc -shared -Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/local/lib -fstack-protector-strong ConvertUTF.o ODBC.o dbdimp.o unicode_helper.o -o blib/arch/auto/DBD/ODBC/ODBC.so \
# -L/usr/lib -lodbc \
#
# chmod 755 blib/arch/auto/DBD/ODBC/ODBC.so
# "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- ODBC.bs blib/arch/auto/DBD/ODBC/ODBC.bs 644
# Manifying 1 pod document
# ==> Entering fakeroot environment...
# ==> Starting package()...
# Running Mkbootstrap for DBD::ODBC ()
# chmod 644 "ODBC.bs"
# Manifying 1 pod document
# Appending installation info to /tmp/perl-dbd-odbc/pkg/perl-dbd-odbc/usr/lib/perl5/core_perl/perllocal.pod
# Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
# Installing /tmp/perl-dbd-odbc/pkg/perl-dbd-odbc/usr/lib/perl5/vendor_perl/auto/DBD/ODBC/ODBC.so
# Installing /tmp/perl-dbd-odbc/pkg/perl-dbd-odbc/usr/lib/perl5/vendor_perl/DBD/ODBC.pm
# Installing /tmp/perl-dbd-odbc/pkg/perl-dbd-odbc/usr/lib/perl5/vendor_perl/DBD/ODBC/TO_DO.pm
# Installing /tmp/perl-dbd-odbc/pkg/perl-dbd-odbc/usr/lib/perl5/vendor_perl/DBD/ODBC/FAQ.pm
# Installing /tmp/perl-dbd-odbc/pkg/perl-dbd-odbc/usr/lib/perl5/vendor_perl/DBD/ODBC/Changes.pm
# Installing /tmp/perl-dbd-odbc/pkg/perl-dbd-odbc/usr/share/man/man3/DBD::ODBC.3pm
# ==> Tidying install...
# -> Removing doc files...
# -> Removing empty directories...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "perl-dbd-odbc"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: perl-dbd-odbc 1.52-2 (Wed Apr 5 02:07:29 UTC 2017)

CMD: pacman --query --file perl-dbd-odbc-1.52-2-x86_64.pkg.tar.xz
# perl-dbd-odbc 1.52-2

Creating hybrid package for 'perl-dbd-odbc'

Trying to find vanilla package 'perl-dbd-odbc'...

CMD: pacman --query --file /mirror/perl-dbd-odbc-1.52-2.pkg.tar.xz
# perl-dbd-odbc 1.52-2

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/share/man/man3/DBD::ODBC.3pm.gz
# /usr/lib/perl5/vendor_perl/DBD/ODBC.pm
# /usr/lib/perl5/vendor_perl/DBD/ODBC/FAQ.pm
# /usr/lib/perl5/vendor_perl/DBD/ODBC/TO_DO.pm
# /usr/lib/perl5/vendor_perl/DBD/ODBC/Changes.pm
# /usr/lib/perl5/vendor_perl/auto/DBD/ODBC/ODBC.so
# /sysroot/usr/lib/perl5/vendor_perl/DBD/ODBC.pm
# /sysroot/usr/lib/perl5/vendor_perl/DBD/ODBC/TO_DO.pm
# /sysroot/usr/lib/perl5/vendor_perl/DBD/ODBC/FAQ.pm
# /sysroot/usr/lib/perl5/vendor_perl/DBD/ODBC/Changes.pm
# /sysroot/usr/lib/perl5/vendor_perl/auto/DBD/ODBC/ODBC.so

Generating .MTREE

CMD: bsdtar -czf .MTREE --format=mtree --options=!all,use-set,type,uid,mode,time,size,md5,sha256,link .PKGINFO .BUILDINFO usr sysroot

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO .BUILDINFO usr sysroot .MTREE

CMD: xz -c -z

Successfully ran bsdtar -cf - .PKGINFO .BUILDINFO usr sysroot .MTREE | xz -c -z

CMD: bsdtar -tqf perl-dbd-odbc.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/perl-dbd-odbc.pkg.tar.xz

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/perl-dbd-odbc.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/perl-dbd-odbc.pkg.tar.xz'
# -> Computing checksums...
# -> Creating 'desc' db entry...
# -> Creating 'files' db entry...
# ==> Creating updated database file '/var/cache/pacman/pkg/tuscan.db.tar'