Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] syslog-ng compile error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Ciff
n00b
n00b


Joined: 12 Aug 2009
Posts: 23

PostPosted: Tue Jan 09, 2018 1:50 pm    Post subject: [SOLVED] syslog-ng compile error Reply with quote

Dear forum,

I've spent hours and hours (since new year) and could not pinpoint why it won't compile >_<*
Maybe many more eyes see what mine have missed....
Looks like python tries something weird, and then the whole process fails.. :o



emerge -vp syslog-ng
Code:
[ebuild  N    ] app-admin/syslog-ng-3.13.2  USE="caps ipv6 python tcpd -amqp -dbi -geoip -http -json -libressl -mongodb -pacct -redis -smtp -spoof-source -systemd" PYTHON_SINGLE_TARGET="python3_5 -python2_7 -python3_4 -python3_6" PYTHON_TARGETS="python2_7 python3_4 python3_5 -python3_6"



the emerge process looks like this:
Code:
# emerge -uDN syslog-ng
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) app-admin/syslog-ng-3.13.2::gentoo
 * syslog-ng-3.13.2.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                  [ ok ]
>>> Unpacking source...
>>> Unpacking syslog-ng-3.13.2.tar.gz to /var/tmp/portage/app-admin/syslog-ng-3.13.2/work
>>> Source unpacked in /var/tmp/portage/app-admin/syslog-ng-3.13.2/work
>>> Preparing source in /var/tmp/portage/app-admin/syslog-ng-3.13.2/work/syslog-ng-3.13.2 ...
 * Fixing shebang in ./tests/functional/func_test.py.
 * Fixing shebang in ./lib/merge-grammar.py.
 * Fixing shebang in ./modules/python/pylib/setup.py.
removed 'lib/ivykis/Makefile.in'
removed 'lib/ivykis/src/Makefile.in'
removed 'lib/ivykis/src/spinlock.h'
[...] many many more removed files.. [...]
removed 'modules/afamqp/rabbitmq-c/examples/amqps_listen.c'
removed 'modules/afamqp/rabbitmq-c/examples/amqps_unbind.c'
removed 'modules/afamqp/rabbitmq-c/examples/amqp_unbind.c'
removed directory 'modules/afamqp/rabbitmq-c/examples'
removed 'modules/afamqp/rabbitmq-c/configure'
removed directory 'modules/afamqp/rabbitmq-c'
 * Applying syslog-ng-3.12.1-json-c-0.13+.patch ...                                                                                                     [ ok ]
 * Running eautoreconf in '/var/tmp/portage/app-admin/syslog-ng-3.13.2/work/syslog-ng-3.13.2' ...
 * Running libtoolize --install --copy --force --automake ...                                                                                           [ ok ]
 * Running aclocal -I m4 --install ...                                                                                                                  [ ok ]
 * Running autoconf --force ...                                                                                                                         [ ok ]
 * Running autoheader ...                                                                                                                               [ ok ]
 * Running automake --add-missing --copy --foreign --force-missing ...                                                                                  [ ok ]
 * Running elibtoolize in: syslog-ng-3.13.2/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.3 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-admin/syslog-ng-3.13.2/work/syslog-ng-3.13.2 ...
 * econf: updating syslog-ng-3.13.2/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating syslog-ng-3.13.2/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/syslog-ng-3.13.2 --htmldir=/usr/share/doc/syslog-ng-3.13.2/html --libdir=/usr/lib64 --disable-docs --disable-java --disable-java-modules --disable-riemann --enable-manpages --localstatedir=/var/lib/syslog-ng --sysconfdir=/etc/syslog-ng --with-embedded-crypto --with-ivykis=system --with-module-dir=/usr/lib64/syslog-ng --with-pidfile-dir=/var/run --with-systemdsystemunitdir=/usr/lib/systemd/system --disable-amqp --without-librabbitmq-client --enable-linux-caps --disable-sql --disable-geoip --disable-http --enable-ipv6 --disable-json --disable-mongodb --without-mongoc --disable-legacy-mongodb-options --disable-pacct --enable-python --disable-redis --disable-smtp --disable-spoof-source --disable-systemd --enable-tcp-wrapper
checking whether make supports nested variables... yes
checking for a BSD-compatible install... /usr/lib/portage/python3.5/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether UID '250' is supported by ustar format... yes
checking whether GID '250' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C99... none needed
checking for bison... bison -y
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking whether make sets $(MAKE)... (cached) yes
checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B
checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for archiver @FILE support... @
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for x86_64-pc-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for python... /usr/bin/python3.5
checking CFLAGS_NOWARN_POINTER_SIGN for gcc -Wno-pointer-sign... -Wno-pointer-sign
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking how to enable static linking for certain libraries... GNU or Solaris
checking for ANSI C header files... (cached) yes
checking dmalloc.h usability... no
checking dmalloc.h presence... no
checking for dmalloc.h... no
checking for strings.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking sys/strlog.h usability... no
checking sys/strlog.h presence... no
checking for sys/strlog.h... no
checking door.h usability... no
checking door.h presence... no
checking for door.h... no
checking sys/capability.h usability... yes
checking sys/capability.h presence... yes
checking for sys/capability.h... yes
checking sys/prctl.h usability... yes
checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking utmpx.h usability... yes
checking utmpx.h presence... yes
checking for utmpx.h... yes
checking tcpd.h usability... yes
checking tcpd.h presence... yes
checking for tcpd.h... yes
checking for struct ucred... yes
checking for struct cmsgcred... no
checking whether struct tm is in sys/time.h or time.h... time.h
checking for SO_ACCEPTCONN... yes
checking for struct tm.tm_gmtoff... yes
checking for struct msghdr.msg_control... yes
checking for I_CONSLOG... yes
checking for O_LARGEFILE... yes
checking for struct sockaddr_storage... yes
checking for struct sockaddr_in6... yes
checking for PR_SET_KEEPCAPS... yes
checking for modern utmp... yes
checking for door_create in -ldoor... no
checking for socket in -lsocket... no
checking for nanosleep in -lrt... yes
checking for gethostbyname in -lnsl... no
checking for regexec in -lregex... no
checking for res_init in -lresolv... no
checking for strdup... yes
checking for strtol... yes
checking for strtoll... yes
checking for strtoimax... yes
checking for inet_aton... yes
checking for inet_ntoa... yes
checking for getopt_long... yes
checking for getaddrinfo... yes
checking for getnameinfo... yes
checking for getutent... yes
checking for getutxent... yes
checking for pread... yes
checking for pwrite... yes
checking for strcasestr... yes
checking for memrchr... yes
checking for localtime_r... yes
checking for gmtime_r... yes
checking for strtok_r... yes
checking for clock_gettime... yes
checking for inotify_init... yes
checking for TCP wrapper library... -lwrap
checking for dlsym in -ldl... yes
checking for glib-2.0 >= 2.10.1 gmodule-2.0 gthread-2.0... yes
checking for g_mapped_file_unref... yes
checking for g_list_copy_deep... yes
checking sanity checking Glib headers... yes
checking for MAXMINDDB... checking for MMDB_open in -lmaxminddb... no
checking for libpcre >= 6.1... yes
checking for openssl >= 0.9.8... yes
checking whether SSL_CTX_get0_param is declared... yes
checking whether X509_STORE_CTX_get0_cert is declared... no
checking whether X509_get_extension_flags is declared... no
checking whether EVP_MD_CTX_reset is declared... no
checking whether ASN1_STRING_get0_data is declared... no
checking whether DH_set0_pqg is declared... no
checking for LIBNET... yes
checking for criterion >= 2.2.1... no
configure: WARNING: pkg-config was not able to find Criterion >= 2.2.1
checking for ivykis >= 0.36.1... yes
checking for python3... yes
checking for PyUnicode_AsUTF8... yes
checking whether to enable Sun STREAMS support... no
checking for cap_set_proc in -lcap... yes
checking whether to enable Linux capability support... yes
checking for uuid... yes
checking for struct tm.tm_zone... yes
checking for `timezone' variable in time.h... yes
checking for `altzone' variable in time.h... no
checking for `daylight' variable in time.h... yes
checking whether to enable Valgrind on the unit tests... checking for valgrind... no
yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating syslog-ng-native-connector.pc
config.status: creating dist.conf
config.status: creating Makefile
config.status: creating syslog-ng.spec
config.status: creating syslog-ng.pc
config.status: creating syslog-ng-add-contextual-data.pc
config.status: creating libtest/syslog-ng-test.pc
config.status: creating scripts/update-patterndb
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing syslog-ng-config.h commands
config.status: creating syslog-ng-config.h - prefix SYSLOG_NG for config.h defines

syslog-ng Open Source Edition 3.13.2 configured
 Edition settings:
  Release type                : stable
  Pretty version              : 3
  Combined vers.              : 3 (3.13.2)
  Package name                : syslog-ng
 Compiler options:
  compiler                    : x86_64-pc-linux-gnu-gcc
  compiler options            : -march=athlon64 -O2 -pipe -Wall -pthread  -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I$(top_srcdir)/lib/eventlog/src -I$(top_builddir)/lib/eventlog/src      -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
  linker flags                : -Wl,-O1 -Wl,--as-needed
  prefix                      : /usr
  linking mode                : dynamic
  embedded crypto             : yes
  __thread keyword            : yes
 Test dependencies:
  Criterion                   : no
 Submodules:
  ivykis                      : system
  mongoc                      : no
  librabbitmq                 : no
  jsonc                       : no
 Features:
  Forced server mode          : yes
  Debug symbols               : no
  GCC profiling               : no
  Memtrace                    : no
  IPV6 support                : yes
  spoof-source support        : no
  tcp-wrapper support         : yes
  Linux capability support    : yes
  Env wrapper support         : no
  systemd support             : no (unit dir: none)
  systemd-journal support     : no
  libmongo-client options     : no
 Modules:
  Module search path          : /usr/lib64/syslog-ng
  Sun STREAMS support (module): no
  SQL support (module)        : no
  PACCT module (EXPERIMENTAL) : no
  MongoDB destination (module): no
  JSON support (module)       : no
  SMTP support (module)       : no
  HTTP support (module)       : no
  AMQP destination (module)   : no
  STOMP destination (module)  : yes
  GEOIP support (module)      : no
  GEOIP2 support (module)     : no
  Redis support (module)      : no
  Riemann destination (module): no, microseconds: no
  python                      : yes (pkg-config package: python3)
  java                        : no
  java modules                : no
  native bindings             : auto
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-admin/syslog-ng-3.13.2/work/syslog-ng-3.13.2 ...
make -j8
/bin/sh /var/tmp/portage/app-admin/syslog-ng-3.13.2/work/syslog-ng-3.13.2/install-sh -d lib/rewrite/
/bin/sh /var/tmp/portage/app-admin/syslog-ng-3.13.2/work/syslog-ng-3.13.2/install-sh -d lib/parser/
/bin/sh /var/tmp/portage/app-admin/syslog-ng-3.13.2/work/syslog-ng-3.13.2/install-sh -d lib/filter/
./lib/merge-grammar.py lib/rewrite/rewrite-expr-grammar.ym > lib/rewrite/rewrite-expr-grammar.y
./lib/merge-grammar.py lib/parser/parser-expr-grammar.ym > lib/parser/parser-expr-grammar.y
./lib/merge-grammar.py lib/filter/filter-expr-grammar.ym > lib/filter/filter-expr-grammar.y
/bin/sh /var/tmp/portage/app-admin/syslog-ng-3.13.2/work/syslog-ng-3.13.2/install-sh -d lib/
/bin/sh /var/tmp/portage/app-admin/syslog-ng-3.13.2/work/syslog-ng-3.13.2/install-sh -d lib/
./lib/merge-grammar.py lib/block-ref-grammar.ym > lib/block-ref-grammar.y
Traceback (most recent call last):
  File "./lib/merge-grammar.py", line 55, in <module>
/bin/sh /var/tmp/portage/app-admin/syslog-ng-3.13.2/work/syslog-ng-3.13.2/install-sh -d modules/afsocket/
    for line in fileinput.input():
  File "/usr/lib64/python3.5/fileinput.py", line 248, in __next__
    line = self._readline()
  File "/usr/lib64/python3.5/fileinput.py", line 362, in _readline
    return self._readline()
  File "/usr/lib64/python3.5/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 68: ordinal not in range(128)
make: *** [Makefile:18249: lib/rewrite/rewrite-expr-grammar.y] Error 1
make: *** Waiting for unfinished jobs....
./lib/merge-grammar.py lib/pragma-grammar.ym > lib/pragma-grammar.y
Traceback (most recent call last):
Traceback (most recent call last):
  File "./lib/merge-grammar.py", line 55, in <module>
    for line in fileinput.input():
  File "/usr/lib64/python3.5/fileinput.py", line 248, in __next__
    line = self._readline()
  File "/usr/lib64/python3.5/fileinput.py", line 362, in _readline
    return self._readline()
  File "/usr/lib64/python3.5/encodings/ascii.py", line 26, in decode
  File "./lib/merge-grammar.py", line 55, in <module>
    return codecs.ascii_decode(input, self.errors)[0]
    for line in fileinput.input():
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 68: ordinal not in range(128)
make: *** [Makefile:18250: lib/filter/filter-expr-grammar.y] Error 1
  File "/usr/lib64/python3.5/fileinput.py", line 248, in __next__
    line = self._readline()
  File "/usr/lib64/python3.5/fileinput.py", line 362, in _readline
    return self._readline()
  File "/usr/lib64/python3.5/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 68: ordinal not in range(128)
make: *** [Makefile:18250: lib/parser/parser-expr-grammar.y] Error 1
Traceback (most recent call last):
  File "./lib/merge-grammar.py", line 55, in <module>
    for line in fileinput.input():
  File "/usr/lib64/python3.5/fileinput.py", line 248, in __next__
    line = self._readline()
  File "/usr/lib64/python3.5/fileinput.py", line 362, in _readline
    return self._readline()
  File "/usr/lib64/python3.5/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 68: ordinal not in range(128)
make: *** [Makefile:18250: lib/block-ref-grammar.y] Error 1
Traceback (most recent call last):
  File "./lib/merge-grammar.py", line 55, in <module>
    for line in fileinput.input():
  File "/usr/lib64/python3.5/fileinput.py", line 248, in __next__
    line = self._readline()
  File "/usr/lib64/python3.5/fileinput.py", line 362, in _readline
    return self._readline()
  File "/usr/lib64/python3.5/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 68: ordinal not in range(128)
make: *** [Makefile:18250: lib/pragma-grammar.y] Error 1
 * ERROR: app-admin/syslog-ng-3.13.2::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-admin/syslog-ng-3.13.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-admin/syslog-ng-3.13.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-admin/syslog-ng-3.13.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-admin/syslog-ng-3.13.2/temp/environment'.
 * Working directory: '/var/tmp/portage/app-admin/syslog-ng-3.13.2/work/syslog-ng-3.13.2'
 * S: '/var/tmp/portage/app-admin/syslog-ng-3.13.2/work/syslog-ng-3.13.2'

>>> Failed to emerge app-admin/syslog-ng-3.13.2, Log file:

>>>  '/var/tmp/portage/app-admin/syslog-ng-3.13.2/temp/build.log'



emerge --info shows:
Code:
# emerge --info '=app-admin/syslog-ng-3.13.2::gentoo'
Portage 2.3.19 (python 3.5.4-final-0, default/linux/amd64/17.0, gcc-7.2.0, glibc-2.26-r5, 4.10.13-gentoo_2008-12-05_ x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.10.13-gentoo_2008-12-05_-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5200+-with-gentoo-2.4.1
KiB Mem:     2053396 total,    290268 free
KiB Swap:    1028124 total,   1017708 free
Timestamp of repository gentoo: Mon, 08 Jan 2018 11:30:01 +0000
Head commit of repository gentoo: 18137c56f149ef7f48936b25d5bb8ed06257e4a3
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]
ccache version 3.3.4 [enabled]
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.26.1-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.6-r1::gentoo, 3.5.4-r1::gentoo, 3.6.4::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.10.1::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.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.14.1-r1::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0::gentoo, 7.2.0::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.14::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA RAR"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n --quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache 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://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://gentoo.mneisen.org http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
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="acl ads amd64 berkdb bzip2 caps cli crypt cxx dlz dri fontconfig fortran ftp gdbm gnutls iconv ipfilter ipv6 jpeg ldap mbox modules multilib ncurses nls nptl openmp openssl pam pcre png pop3d python readline seccomp sftp sqlite ssl tcpd threads truetype unicode xattr zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2 sse3" 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="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_4 python3_5" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" 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"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Hmm.. what can be done here? Cannot see any leads.. - Thank you in advance!!


Last edited by Ciff on Tue Jan 09, 2018 3:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30837
Location: here

PostPosted: Tue Jan 09, 2018 2:50 pm    Post subject: Reply with quote

It seems that app-admin/syslog-ng not support python3 (see bug).
Try to remove python_targets_python3_4 and python_targets_python3_5 to package or downgrade to app-admin/syslog-ng-3.12.1
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Ciff
n00b
n00b


Joined: 12 Aug 2009
Posts: 23

PostPosted: Tue Jan 09, 2018 3:24 pm    Post subject: Thank you!! : ) Reply with quote

fedeliallalinea, problem solved:

my new make.conf:
Code:
[...]
# PYTHON-Targets:
PYTHON_TARGETS="python2_7 python3_5"
PYTHON_SINGLE_TARGET="python2_7"
[...]


and it works! : )
Thank you a lot!! : ))
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum