Created attachment 508208 [details] log In the middle of emerge -e @world, after switching to profile default/linux/amd64/17.0 >>> Compiling source in /var/tmp/portage/dev-lua/luasql-2.3.1/work/luasql-2.3.1 ... * building mysql module make -j5 mysql T=mysql LUA_VERSION_NUM=0 'CFLAGS=-O2 -pipe -march=corei7 -mtune=generic -fPIC' DRIVER_LIBS=-lmysqlclient -lz gcc -O2 -pipe -march=corei7 -mtune=generic -fPIC -c src/luasql.c -o src/luasql.o gcc -O2 -pipe -march=corei7 -mtune=generic -fPIC src/ls_mysql.c -o src/mysql.so -shared src/luasql.o -I/usr/include/mysql -L/usr/lib -lmysqlclient -lz In file included from src/ls_mysql.c:21:0: src/ls_mysql.c: In function ‘luaopen_luasql_mysql’: src/ls_mysql.c:605:25: error: expected ‘)’ before ‘MYSQL_SERVER_VERSION’ lua_pushliteral (L, MYSQL_SERVER_VERSION); ^ src/ls_mysql.c:605:5: error: too few arguments to function ‘lua_pushlstring’ lua_pushliteral (L, MYSQL_SERVER_VERSION); ^ /usr/include/lua.h:163:16: note: declared here LUA_API void (lua_pushlstring) (lua_State *L, const char *s, size_t l); ^~~~~~~~~~~~~~~ make: *** [Makefile:24: src/mysql.so] Error 1 # emerge --ignore-default-opts --info =dev-lua/luasql-2.3.1 Portage 2.3.16 (python 3.5.4-final-0, default/linux/amd64/17.0, gcc-6.4.0, glibc-2.26-r3, 4.14.1-gentoo-dtop-v1 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.14.1-gentoo-dtop-v1-x86_64-Intel-R-_Core-TM-_i7-4790K_CPU_@_4.00GHz-with-gentoo-2.4.1 KiB Mem: 15908528 total, 1080548 free KiB Swap: 4194300 total, 4194300 free Timestamp of repository gentoo: Tue, 05 Dec 2017 02:00:01 +0000 Head commit of repository gentoo: 0b0b9bd27590733cdd421ca0d53e1c5866d2c655 sh bash 4.4_p12 ld GNU ld (Gentoo 2.29.1 p3) 2.29.1 distcc 3.2rc1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.4_p12::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.26.1-r1::gentoo dev-lang/python: 2.7.14-r1::gentoo, 3.5.4-r1::gentoo dev-util/cmake: 3.10.0::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1-r2::gentoo sys-apps/openrc: 0.34.11::gentoo sys-apps/sandbox: 2.12::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.15.1-r1::gentoo sys-devel/binutils: 2.29.1-r1::gentoo sys-devel/gcc: 6.4.0::gentoo sys-devel/gcc-config: 1.9.0-r1::gentoo sys-devel/libtool: 2.4.6-r4::gentoo sys-devel/make: 4.2.1-r1::gentoo sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers) sys-libs/glibc: 2.26-r3::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=corei7 -mtune=generic" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/apache2-php7.1/ext-active/ /etc/php/apache2-php7.2/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -march=corei7 -mtune=generic" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--verbose --ask --tree --keep-going --usepkg --with-bdeps y --buildpkg --jobs 2" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="pl_PL.utf8" LC_ALL="pl_PL.utf8" LDFLAGS="-Wl,--as-needed -Wl,-O1" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac aalib acl acpi aiglx alsa amd64 apm bash-completion bcmath berkdb bluetooth bmp branding browserplugin bzip2 calendar cdinstall cdr cleartype cli cracklib crypt cups cxx dbus directfb dri dvd dvdr dvdread encode fbcon ffmpeg flac fortran ftp gd-exteral gdbm gif glamor glut gpm gtk2 gtk3 http2 iconv ieee1394 jabber javascript jpeg libnotify libwww mmx modules mozilla mp3 mpd mpeg3 multilib mysql ncurses newspr nls nptl nptlonly nsplugin ogg opengl openmp pam pam_console pcre pdf perl php png pulseaudio readline realip seccomp session smp soap spell sse sse2 sse3 sse4_1 ssl ssse3 svg tcpd threads tiff truetype truetype-fonts unicode usb userlocales vdpau vhosts vim wifi win32codecs with-x wmf xattr xcomposite xinerama xml xmpp xorg xosd xv xvid zlib" ABI_X86="64" ALSA_CARDS="usb-audio hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="mouse keyboard evdev synaptics" KERNEL="linux" L10N="pl" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_req limit_conn map memcached gzip_static proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi addition fancyindex geoip upload upload_progress stub_status headers_more echo sub spdy metrics auth_request enmemcache tcpproxy v2 set_misc ndk gunzip lua lua_upstream redis upstream_hash upstream_keepalive upstream_least_conn upstream_zone lua_upstream upstream_check rdns realip dav dav_ext" NGINX_MODULES_MAIL="imap pop3 smtp" NGINX_MODULES_STREAM="lua map return upstream_hash upstream_least_conn upstream_zone" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0 php7-1" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby21 ruby22 ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="intel i965 radeon radeonsi amdgpu" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"