Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 469012 - app-admin/syslog-ng-3.4.1 USE=smtp should depend on net-libs/libesmtp
Summary: app-admin/syslog-ng-3.4.1 USE=smtp should depend on net-libs/libesmtp
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mr. Bones. (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-08 09:19 UTC by Klemen Mihevc
Modified: 2013-05-08 20:15 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Klemen Mihevc 2013-05-08 09:19:15 UTC
app-admin/syslog-ng-3.4.1 does not build with smtp flag enabled, because it depends on net-libs/libesmtp.

Reproducible: Always

Steps to Reproduce:
1. build syslog-ng with smtp flag without libesmtp installed
2. i dont have log anymore couse i already fixed my local ebuild
3.



adding "smtp? ( net-libs/libesmtp )" to RDEPEND fixes the problem.
Comment 1 Klemen Mihevc 2013-05-08 09:23:35 UTC
Hm... now im geting error when loading syslog:

 * Checking your configfile (/etc/syslog-ng/syslog-ng.conf) ...
Error opening plugin module; module='afsmtp', error='libsyslog-ng-3.3.5.so: cannot open shared object file: No such file or directory [ ok ]
 * Starting syslog-ng ...
Error opening plugin module; module='afsmtp', error='libsyslog-ng-3.3.5.so: cannot open shared object file: No such file or directory'
Error creating persistent state file; filename='/var/lib/syslog-ng/syslog-ng.persist-', error='Permission denied (13)'
 * start-stop-daemon: failed to start `syslog-ng'
 * Failed to start syslog-ng                                                                                                          [ !! ]
 * ERROR: syslog-ng failed to start
Comment 2 Klemen Mihevc 2013-05-08 09:37:11 UTC
Well i could fix error:

* Checking your configfile (/etc/syslog-ng/syslog-ng.conf) ...
Error opening plugin module; module='afsmtp', error='libsyslog-ng-3.3.5.so: cannot open shared object file: No such file or directory [ ok ]

with deleting /usr/lib/syslog-ng and recompiling syslog-ng again, however whatever i did i could not fix error:

Error creating persistent state file; filename='/var/lib/syslog-ng/syslog-ng.persist-', error='Permission denied (13)'


so atm im revering back to 3.3.5-r1
Comment 3 Klemen Mihevc 2013-05-08 09:43:40 UTC
mih lib # emerge --info
Portage 2.1.11.63 (default/linux/x86/13.0, gcc-4.7.2, glibc-2.17, 3.9.0-gentoo i686)
=================================================================
System uname: Linux-3.9.0-gentoo-i686-Intel-R-_Pentium-R-_4_CPU_3.20GHz-with-gentoo-2.2
KiB Mem:     2069756 total,   1304756 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of tree: Wed, 08 May 2013 09:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.4, 3.2.4
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.12.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.2-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo LocalRepository
Installed sets: @system
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -mtune=pentium4 -O2 -pipe -fomit-frame-pointer -msse -msse2 -mmmx"
CHOST="i686-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/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=pentium4 -mtune=pentium4 -O2 -pipe -fomit-frame-pointer -msse -msse2 -mmmx"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="ftp://mirror.netcologne.de/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="en_US.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="-6 --recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/repository"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="acl acpi animgif apache2 apm apng authfile bash-completion berkdb bluetooth bzip2 caps ccache cgi cli client cracklib crypt cups curl cxx dbus dedicated dhcp dlz dovecot-sasl dri eap-tls encode exif expat extraengine extras fontconfig fortran ftp gd gdbm geoip gif gmp gpg gpm gzip hardened iconv icu idn imap intl ipv6 ithreads java jpeg lcms ldap lua lzma lzo maildir managesieve mhash mmx mng modules mudflap mysql mysqli ncurses netboot nls nptl ntp ocaml ocamlopt odbc openmp openssl pam pch pcntl pcre pdo perl phar php pic png pop3d posix python quota raw readline rpc ruby samba sasl server session sieve slang smtp snmp soap sockets socks5 spell sqlite3 sse sse2 ssl suexec svg swig tcl tcpd threads tiff truetype udev unicode upcall urandom usb vhosts x86 xinetd xml xmlreader xmlrpc xmlwriter xsl zip zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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 auth_digest authn_dbd ident lbmethod_byrequests lbmethod_bytraffic lbmethod_bybusyness lbmethod_heartbeat proxy proxy_ajp proxy_balancer proxy_connect proxy_fcgi proxy_ftp proxy_http proxy_scgi slotmem_shm" APACHE2_MPMS="event" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog apache bind logfile mysql network ntpd tcpconns uptime" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en sl" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2013-05-08 20:15:59 UTC
fixed.