Не было времени до этого написать.
И так, dev-db/mysql собрался нормально, после вышеупомянутых действий (Еще раз спасибо /dev/random ))) А вот media-video/vlc не хочет собираться в никакую, и тоже ругается на zlib/minizip :-(
Spoiler
libtool: link: echo "local: *; };" >> .libs/libtimecode_plugin.ver
libtool: link: x86_64-pc-linux-gnu-gcc -std=gnu99 -shared -fPIC -DPIC access/.libs/timecode.o -Wl,-rpath -Wl,/var/tmp/portage/media-video/vlc-2.2.1-r1/work/vlc-2.2.1/src/.libs ../compat/.libs/libcompat.a -L/usr/lib64/sidplay/builders/ ../src/.libs/libvlccore.so -lrt -lidn -lpthread -ldl -lm -ldbus-1 -Wl,--as-needed -march=core2 -O2 -Wl,-O1 -Wl,-soname -Wl,libtimecode_plugin.so -Wl,-version-script -Wl,.libs/libtimecode_plugin.ver -o .libs/libtimecode_plugin.so
libtool: link: ( cd ".libs" && rm -f "libtimecode_plugin.la" && ln -s "../libtimecode_plugin.la" "libtimecode_plugin.la" )
../doltlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -DMODULE_STRING=\"$(p="access/zip/libzip_plugin_la-zipstream.lo"; p="${p##*/}"; p="${p#lib}"; p="${p%_plugin*}"; p="${p%.lo}"; echo "$p")\" -D__PLUGIN__ -I./access -I./codec -I../include -I../include -I/usr/include/minizip -march=core2 -O2 -pipe -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -Werror-implicit-function-declaration -pipe -fvisibility=hidden -c -o access/zip/libzip_plugin_la-zipstream.lo `test -f 'access/zip/zipstream.c' || echo './'`access/zip/zipstream.c
In file included from /usr/include/minizip/unzip.h:55:0,
from access/zip/zip.h:37,
from access/zip/zipstream.c:32:
/usr/include/minizip/ioapi.h:135:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
typedef voidpf (ZCALLBACK *open_file_func) _Z_OF((voidpf opaque, const char* filename, int mode));
^
/usr/include/minizip/ioapi.h:136:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
typedef uLong (ZCALLBACK *read_file_func) _Z_OF((voidpf opaque, voidpf stream, void* buf, uLong size));
^
/usr/include/minizip/ioapi.h:137:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
typedef uLong (ZCALLBACK *write_file_func) _Z_OF((voidpf opaque, voidpf stream, const void* buf, uLong size));
^
/usr/include/minizip/ioapi.h:138:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
typedef int (ZCALLBACK *close_file_func) _Z_OF((voidpf opaque, voidpf stream));
^
/usr/include/minizip/ioapi.h:139:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
typedef int (ZCALLBACK *testerror_file_func) _Z_OF((voidpf opaque, voidpf stream));
^
/usr/include/minizip/ioapi.h:141:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
typedef long (ZCALLBACK *tell_file_func) _Z_OF((voidpf opaque, voidpf stream));
^
/usr/include/minizip/ioapi.h:142:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
typedef long (ZCALLBACK *seek_file_func) _Z_OF((voidpf opaque, voidpf stream, uLong offset, int origin));
^
/usr/include/minizip/ioapi.h:148:5: error: unknown type name ‘open_file_func’
open_file_func zopen_file;
^
/usr/include/minizip/ioapi.h:149:5: error: unknown type name ‘read_file_func’
read_file_func zread_file;
^
/usr/include/minizip/ioapi.h:150:5: error: unknown type name ‘write_file_func’
write_file_func zwrite_file;
^
/usr/include/minizip/ioapi.h:151:5: error: unknown type name ‘tell_file_func’
tell_file_func ztell_file;
^
/usr/include/minizip/ioapi.h:152:5: error: unknown type name ‘seek_file_func’
seek_file_func zseek_file;
^
/usr/include/minizip/ioapi.h:153:5: error: unknown type name ‘close_file_func’
close_file_func zclose_file;
^
/usr/include/minizip/ioapi.h:154:5: error: unknown type name ‘testerror_file_func’
testerror_file_func zerror_file;
^
/usr/include/minizip/ioapi.h:158:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
typedef ZPOS64_T (ZCALLBACK *tell64_file_func) _Z_OF((voidpf opaque, voidpf stream));
^
/usr/include/minizip/ioapi.h:159:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
typedef long (ZCALLBACK *seek64_file_func) _Z_OF((voidpf opaque, voidpf stream, ZPOS64_T offset, int origin));
^
/usr/include/minizip/ioapi.h:160:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
typedef voidpf (ZCALLBACK *open64_file_func) _Z_OF((voidpf opaque, const void* filename, int mode));
^
/usr/include/minizip/ioapi.h:164:5: error: unknown type name ‘open64_file_func’
open64_file_func zopen64_file;
^
/usr/include/minizip/ioapi.h:165:5: error: unknown type name ‘read_file_func’
read_file_func zread_file;
^
/usr/include/minizip/ioapi.h:166:5: error: unknown type name ‘write_file_func’
write_file_func zwrite_file;
^
/usr/include/minizip/ioapi.h:167:5: error: unknown type name ‘tell64_file_func’
tell64_file_func ztell64_file;
^
/usr/include/minizip/ioapi.h:168:5: error: unknown type name ‘seek64_file_func’
seek64_file_func zseek64_file;
^
/usr/include/minizip/ioapi.h:169:5: error: unknown type name ‘close_file_func’
close_file_func zclose_file;
^
/usr/include/minizip/ioapi.h:170:5: error: unknown type name ‘testerror_file_func’
testerror_file_func zerror_file;
^
/usr/include/minizip/ioapi.h:174:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
void fill_fopen64_filefunc _Z_OF((zlib_filefunc64_def* pzlib_filefunc_def));
^
/usr/include/minizip/ioapi.h:175:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
void fill_fopen_filefunc _Z_OF((zlib_filefunc_def* pzlib_filefunc_def));
^
/usr/include/minizip/ioapi.h:181:5: error: unknown type name ‘open_file_func’
open_file_func zopen32_file;
^
/usr/include/minizip/ioapi.h:182:5: error: unknown type name ‘tell_file_func’
tell_file_func ztell32_file;
^
/usr/include/minizip/ioapi.h:183:5: error: unknown type name ‘seek_file_func’
seek_file_func zseek32_file;
^
/usr/include/minizip/ioapi.h:194:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
voidpf call_zopen64 _Z_OF((const zlib_filefunc64_32_def* pfilefunc,const void*filename,int mode));
^
/usr/include/minizip/ioapi.h:195:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
long call_zseek64 _Z_OF((const zlib_filefunc64_32_def* pfilefunc,voidpf filestream, ZPOS64_T offset, int origin));
^
/usr/include/minizip/ioapi.h:196:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
ZPOS64_T call_ztell64 _Z_OF((const zlib_filefunc64_32_def* pfilefunc,voidpf filestream));
^
In file included from access/zip/zip.h:37:0,
from access/zip/zipstream.c:32:
/usr/include/minizip/unzip.h:153:45: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
extern int ZEXPORT unzStringFileNameCompare _Z_OF ((const char* fileName1,
^
/usr/include/minizip/unzip.h:166:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
extern unzFile ZEXPORT unzOpen _Z_OF((const char *path));
^
/usr/include/minizip/unzip.h:167:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
extern unzFile ZEXPORT unzOpen64 _Z_OF((const void *path));
^
/usr/include/minizip/unzip.h:184:33: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
extern unzFile ZEXPORT unzOpen2 _Z_OF((const char *path,
^
/usr/include/minizip/unzip.h:191:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
extern unzFile ZEXPORT unzOpen2_64 _Z_OF((const void *path,
^
/usr/include/minizip/unzip.h:198:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
extern int ZEXPORT unzClose _Z_OF((unzFile file));
^
/usr/include/minizip/unzip.h:205:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
extern int ZEXPORT unzGetGlobalInfo _Z_OF((unzFile file,
^
/usr/include/minizip/unzip.h:208:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
extern int ZEXPORT unzGetGlobalInfo64 _Z_OF((unzFile file,
^
/usr/include/minizip/unzip.h:216:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
extern int ZEXPORT unzGetGlobalComment _Z_OF((unzFile file,
^
/usr/include/minizip/unzip.h:229:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
extern int ZEXPORT unzGoToFirstFile _Z_OF((unzFile file));
^
/usr/include/minizip/unzip.h:235:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
extern int ZEXPORT unzGoToNextFile _Z_OF((unzFile file));
^
/usr/include/minizip/unzip.h:242:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
extern int ZEXPORT unzLocateFile _Z_OF((unzFile file,
^
/usr/include/minizip/unzip.h:288:44: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
extern int ZEXPORT unzGetCurrentFileInfo64 _Z_OF((unzFile file,
^
/usr/include/minizip/unzip.h:297:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
extern int ZEXPORT unzGetCurrentFileInfo _Z_OF((unzFile file,
^
/usr/include/minizip/unzip.h:321:55: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
extern ZPOS64_T ZEXPORT unzGetCurrentFileZStreamPos64 _Z_OF((unzFile file));
^
/usr/include/minizip/unzip.h:331:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
extern int ZEXPORT unzOpenCurrentFile _Z_OF((unzFile file));
^
/usr/include/minizip/unzip.h:337:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
extern int ZEXPORT unzOpenCurrentFilePassword _Z_OF((unzFile file,
^
/usr/include/minizip/unzip.h:345:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
extern int ZEXPORT unzOpenCurrentFile2 _Z_OF((unzFile file,
^
/usr/include/minizip/unzip.h:358:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
extern int ZEXPORT unzOpenCurrentFile3 _Z_OF((unzFile file,
^
/usr/include/minizip/unzip.h:373:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
extern int ZEXPORT unzCloseCurrentFile _Z_OF((unzFile file));
^
/usr/include/minizip/unzip.h:379:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
extern int ZEXPORT unzReadCurrentFile _Z_OF((unzFile file,
^
/usr/include/minizip/unzip.h:393:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
extern z_off_t ZEXPORT unztell _Z_OF((unzFile file));
^
/usr/include/minizip/unzip.h:395:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
extern ZPOS64_T ZEXPORT unztell64 _Z_OF((unzFile file));
^
/usr/include/minizip/unzip.h:400:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
extern int ZEXPORT unzeof _Z_OF((unzFile file));
^
/usr/include/minizip/unzip.h:405:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_Z_OF’
extern int ZEXPORT unzGetLocalExtrafield _Z_OF((unzFile file,
^
access/zip/zipstream.c: In function ‘StreamOpen’:
access/zip/zipstream.c:193:40: warning: assignment makes integer from pointer without a cast
p_sys->fileFunctions->zopen_file = ZipIO_Open;
^
access/zip/zipstream.c:194:40: warning: assignment makes integer from pointer without a cast
p_sys->fileFunctions->zread_file = ZipIO_Read;
^
access/zip/zipstream.c:195:40: warning: assignment makes integer from pointer without a cast
p_sys->fileFunctions->zwrite_file = ZipIO_Write;
^
access/zip/zipstream.c:196:40: warning: assignment makes integer from pointer without a cast
p_sys->fileFunctions->ztell_file = ZipIO_Tell;
^
access/zip/zipstream.c:197:40: warning: assignment makes integer from pointer without a cast
p_sys->fileFunctions->zseek_file = ZipIO_Seek;
^
access/zip/zipstream.c:198:40: warning: assignment makes integer from pointer without a cast
p_sys->fileFunctions->zclose_file = ZipIO_Close;
^
access/zip/zipstream.c:199:40: warning: assignment makes integer from pointer without a cast
p_sys->fileFunctions->zerror_file = ZipIO_Error;
^
access/zip/zipstream.c:201:5: error: implicit declaration of function ‘unzOpen2’ [-Werror=implicit-function-declaration]
p_sys->zipFile = unzOpen2( NULL /* path */, p_sys->fileFunctions );
^
access/zip/zipstream.c:201:20: warning: assignment makes pointer from integer without a cast
p_sys->zipFile = unzOpen2( NULL /* path */, p_sys->fileFunctions );
^
access/zip/zipstream.c: In function ‘StreamClose’:
access/zip/zipstream.c:233:9: error: implicit declaration of function ‘unzClose’ [-Werror=implicit-function-declaration]
unzClose( p_sys->zipFile );
^
access/zip/zipstream.c: In function ‘GetFilesInZip’:
access/zip/zipstream.c:412:5: error: implicit declaration of function ‘unzGetGlobalInfo’ [-Werror=implicit-function-declaration]
if( unzGetGlobalInfo( file, &info ) != UNZ_OK )
^
access/zip/zipstream.c:419:5: error: implicit declaration of function ‘unzGoToFirstFile’ [-Werror=implicit-function-declaration]
unzGoToFirstFile( file );
^
access/zip/zipstream.c:434:9: error: implicit declaration of function ‘unzGetCurrentFileInfo’ [-Werror=implicit-function-declaration]
if( unzGetCurrentFileInfo( file, p_fileInfo, psz_fileName,
^
access/zip/zipstream.c:456:13: error: implicit declaration of function ‘unzGoToNextFile’ [-Werror=implicit-function-declaration]
if( unzGoToNextFile( file ) != UNZ_OK )
^
access/zip/zipstream.c: In function ‘ZipIO_Write’:
access/zip/zipstream.c:846:9: warning: unused variable ‘ERROR_zip_cannot_write_this_should_not_happen’ [-Wunused-variable]
int ERROR_zip_cannot_write_this_should_not_happen = 0;
^
cc1: some warnings being treated as errors
Makefile:9133: recipe for target 'access/zip/libzip_plugin_la-zipstream.lo' failed
make[4]: *** [access/zip/libzip_plugin_la-zipstream.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: link: /usr/bin/x86_64-pc-linux-gnu-nm -B access/.libs/vdr.o | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' | /bin/sed 's/.* //' | sort | uniq > .libs/libvdr_plugin.exp
libtool: link: /bin/grep -E -e "^vlc_entry" ".libs/libvdr_plugin.exp" > ".libs/libvdr_plugin.expT"
libtool: link: mv -f ".libs/libvdr_plugin.expT" ".libs/libvdr_plugin.exp"
libtool: link: echo "{ global:" > .libs/libvdr_plugin.ver
libtool: link: cat .libs/libvdr_plugin.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libvdr_plugin.ver
libtool: link: echo "local: *; };" >> .libs/libvdr_plugin.ver
libtool: link: x86_64-pc-linux-gnu-gcc -std=gnu99 -shared -fPIC -DPIC access/.libs/vdr.o -Wl,-rpath -Wl,/var/tmp/portage/media-video/vlc-2.2.1-r1/work/vlc-2.2.1/src/.libs ../compat/.libs/libcompat.a -L/usr/lib64/sidplay/builders/ ../src/.libs/libvlccore.so -lrt -lidn -lpthread -ldl -lm -ldbus-1 -Wl,--as-needed -march=core2 -O2 -Wl,-O1 -Wl,-soname -Wl,libvdr_plugin.so -Wl,-version-script -Wl,.libs/libvdr_plugin.ver -o .libs/libvdr_plugin.so
libtool: link: ( cd ".libs" && rm -f "libvdr_plugin.la" && ln -s "../libvdr_plugin.la" "libvdr_plugin.la" )
make[4]: Leaving directory '/var/tmp/portage/media-video/vlc-2.2.1-r1/work/vlc-2.2.1/modules'
Makefile:9653: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/var/tmp/portage/media-video/vlc-2.2.1-r1/work/vlc-2.2.1/modules'
Makefile:4527: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/var/tmp/portage/media-video/vlc-2.2.1-r1/work/vlc-2.2.1/modules'
Makefile:2262: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/media-video/vlc-2.2.1-r1/work/vlc-2.2.1'
Makefile:2147: recipe for target 'all' failed
make: *** [all] Error 2
* ERROR: media-video/vlc-2.2.1-r1::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=media-video/vlc-2.2.1-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=media-video/vlc-2.2.1-r1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/media-video/vlc-2.2.1-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-video/vlc-2.2.1-r1/temp/environment'.
* Working directory: '/var/tmp/portage/media-video/vlc-2.2.1-r1/work/vlc-2.2.1'
* S: '/var/tmp/portage/media-video/vlc-2.2.1-r1/work/vlc-2.2.1'
>>> Failed to emerge media-video/vlc-2.2.1-r1, Log file:
Перепробовал разные use на zlib, результат ноль( где то на просторах ТЫРнета, наткнулся на небольшое сообщение что разрабы vlc уже не раз последние сборки сабжа
затачивают под определенную (здесь=не всегда актуальную) версию zlib, но сообщение то было давной-давности, и все же, чего делать? В дереве, других версий нету zlib, ставить бинарники, скачанные откуда нибудь? подскажите пожалуйстО))))