Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 289960 - Stabilize app-admin/syslog-ng-3.0.4
Summary: Stabilize app-admin/syslog-ng-3.0.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Mr. Bones. (RETIRED)
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2009-10-21 05:52 UTC by Mr. Bones. (RETIRED)
Modified: 2009-12-02 17:36 UTC (History)
0 users

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 Mr. Bones. (RETIRED) gentoo-dev 2009-10-21 05:52:51 UTC
Please mark syslog-ng-3.0.4.ebuild stable.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2009-10-21 08:28:35 UTC
Stable for HPPA.
Comment 2 Jack Morgan (RETIRED) gentoo-dev 2009-10-21 14:18:48 UTC
syslog-ng has been working fine on my sparc (Sun Blade 2000)
Comment 3 Víctor Enríquez 2009-10-21 14:43:47 UTC
====AMD64 AT REPORT====

*Installation[OK]
*No src_test in ebuild[OK]
*Functionality[OK]: Seems to work ok here, I tested it with all use flags minus
static and hardened
*Documentation[OK]

emerge --info:

Portage 2.1.6.13 (default/linux/amd64/10.0/desktop, gcc-4.3.4,
glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 x86_64)                                
=================================================================               
System uname:
Linux-2.6.30-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-1.12.11.1 
Timestamp of tree: Wed, 21 Oct 2009 13:30:01 +0000                              
app-shells/bash:     4.0_p28                                                    
dev-lang/python:     2.6.2-r1                                                   
sys-apps/baselayout: 1.12.11.1                                                  
sys-apps/sandbox:    1.6-r2                                                     
sys-devel/autoconf:  2.63-r1                                                    
sys-devel/automake:  1.9.6-r2, 1.10.2                                           
sys-devel/binutils:  2.18-r3                                                    
sys-devel/gcc-config: 1.4.1                                                     
sys-devel/libtool:   2.2.6a                                                     
virtual/os-headers:  2.6.27-r2                                                  
ACCEPT_KEYWORDS="amd64"                                                         
CBUILD="x86_64-pc-linux-gnu"                                                    
CFLAGS="-march=native -O2 -pipe"                                                
CHOST="x86_64-pc-linux-gnu"                                                     
CONFIG_PROTECT="/etc"                                                           
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf
/etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"  
CXXFLAGS="-march=native -O2 -pipe"                                              
DISTDIR="/usr/portage/distfiles"                                                
FEATURES="collision-protect distlocks fixpackages multilib-strict
parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"  
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr
cli consolekit cracklib crypt dbus dri dts dvd dvdr eds emboss encode evo fam
firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog
jpeg kde libnotify mad mikmod mmx modules mp3 mp4 mpeg mudflap multilib ncurses
nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python
qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl
startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis
x264 xcb xml xorg xulrunner xv xvid zlib" 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" 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="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
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" ELIBC="glibc" INPUT_DEVICES="keyboard virtualbox evdev mouse"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="virtualbox vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG,
LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 4 Víctor Enríquez 2009-10-22 19:34:35 UTC
Got enough time to test with static, fails compilation here:

x86_64-pc-linux-gnu-gcc  -march=native -O2 -pipe -Wall  -Wl,-O1 -o syslog-ng  main.o libsyslog-ng.a -static   -lrt -lnsl -lfl -pthread -lgthread-2.0 -lrt -lglib-2.0   -levtlog   -lssl -lcrypto  -lz -ldl -lnet -lwrap -ldbi    -lcap                                        
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../lib64/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':                                                                        
(.text+0x5f2): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking                           
libsyslog-ng.a(gprocess.o): In function `g_process_start':                                
gprocess.c:(.text+0xc76): warning: Using 'initgroups' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking            
libsyslog-ng.a(misc.o): In function `resolve_group':                                      
misc.c:(.text+0x531): warning: Using 'getgrnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking                  
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../lib64/libwrap.a(options.o): In function `group_option':                                                                          
(.text+0x7bf): warning: Using 'endgrent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking                         
libsyslog-ng.a(misc.o): In function `resolve_user':                                       
misc.c:(.text+0x5b1): warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking                  
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../lib64/libglib-2.0.a(gutils.o): In function `g_get_any_init_do':                                                                  
(.text+0x12ae): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking                        
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../lib64/libglib-2.0.a(gutils.o): In function `g_get_any_init_do':                                                                  
(.text+0x12a2): warning: Using 'setpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking                        
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../lib64/libglib-2.0.a(gutils.o): In function `g_get_any_init_do':                                                                  
(.text+0x12bb): warning: Using 'endpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking                        
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../lib64/libglib-2.0.a(gutils.o): In function `g_get_any_init_do':                                                                  
(.text+0x1142): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking                      
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../lib64/libglib-2.0.a(gutils.o): In function `g_get_any_init_do':                                                                  
(.text+0x117b): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking                      
libsyslog-ng.a(misc.o): In function `resolve_hostname':                                   
misc.c:(.text+0xb0e): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking               
libsyslog-ng.a(misc.o): In function `resolve_sockaddr':                                   
misc.c:(.text+0x9d3): warning: Using 'gethostbyaddr' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking             
libsyslog-ng.a(misc.o): In function `getlonghostname':                                    
misc.c:(.text+0x7dc): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking             
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../lib64/libnet.a(libnet_resolve.o): In function `libnet_name2addr6':                                                               
(.text+0x2c1): warning: Using 'gethostbyname2' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking                   
libsyslog-ng.a(afinet.o): In function `afinet_set_port':                                  
afinet.c:(.text+0xa37): warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking           
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../lib64/libdbi.a(dbi_main.o): In function `_isolate_attrib':                                                                       
(.text+0x1d2): undefined reference to `log'                                               
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../lib64/libdbi.a(dbi_main.o): In function `_isolate_attrib':                                                                       
(.text+0x1e3): undefined reference to `log'                                               
collect2: ld returned 1 exit status                                                       
make[2]: *** [syslog-ng] Error 1                                                          
make[2]: Leaving directory `/var/tmp/portage/app-admin/syslog-ng-3.0.4/work/syslog-ng-3.0.4/src'                                                                                    
make[1]: *** [all-recursive] Error 1                                                      
make[1]: Leaving directory `/var/tmp/portage/app-admin/syslog-ng-3.0.4/work/syslog-ng-3.0.4'                                                                                        
make: *** [all] Error 2 

emerge --info:

Portage 2.1.6.13 (default/linux/amd64/10.0/desktop, gcc-4.3.4,
glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 x86_64)                                
=================================================================               
System uname:
Linux-2.6.30-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-1.12.11.1 
Timestamp of tree: Wed, 21 Oct 2009 13:30:01 +0000                              
app-shells/bash:     4.0_p28                                                    
dev-lang/python:     2.6.2-r1                                                   
sys-apps/baselayout: 1.12.11.1                                                  
sys-apps/sandbox:    1.6-r2                                                     
sys-devel/autoconf:  2.63-r1                                                    
sys-devel/automake:  1.9.6-r2, 1.10.2                                           
sys-devel/binutils:  2.18-r3                                                    
sys-devel/gcc-config: 1.4.1                                                     
sys-devel/libtool:   2.2.6a                                                     
virtual/os-headers:  2.6.27-r2                                                  
ACCEPT_KEYWORDS="amd64"                                                         
CBUILD="x86_64-pc-linux-gnu"                                                    
CFLAGS="-march=native -O2 -pipe"                                                
CHOST="x86_64-pc-linux-gnu"                                                     
CONFIG_PROTECT="/etc"                                                           
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf
/etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"  
CXXFLAGS="-march=native -O2 -pipe"                                              
DISTDIR="/usr/portage/distfiles"                                                
FEATURES="collision-protect distlocks fixpackages multilib-strict
parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"  
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr
cli consolekit cracklib crypt dbus dri dts dvd dvdr eds emboss encode evo fam
firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog
jpeg kde libnotify mad mikmod mmx modules mp3 mp4 mpeg mudflap multilib ncurses
nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python
qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl
startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis
x264 xcb xml xorg xulrunner xv xvid zlib" 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" 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="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
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" ELIBC="glibc" INPUT_DEVICES="keyboard virtualbox evdev mouse"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="virtualbox vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG,
LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 5 nixnut (RETIRED) gentoo-dev 2009-10-24 14:56:19 UTC
ppc stable
Comment 6 Markus Meier gentoo-dev 2009-10-30 11:05:00 UTC
amd64/x86 stable
Comment 7 Jarry 2009-11-04 21:07:51 UTC
(In reply to comment #6)
> amd64/x86 stable

NEGATIVE! amd64 (and maybe other versions) have bug in program_override() option [at least for file() source]. Confirmed by BalaBit devs (check gentoo-user mailing list, subj "Re: syslog-ng: v2->v3 config issue..." from 4.Nov.2009).

This option "program_override()" is a substitution for "log_prefix()" which was in syslog-ng 2.x, but due to some bug it actually does not work at all. 

Mark 3.0.4 as "~" and include 3.0.3, which according to BalaBit should be free of this bug...
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2009-11-04 21:22:10 UTC
And none of the gentoo-installed configs use that option.

3.0.3 has its own share of problems.  If 3.0.4 doesn't work for your particular setup you can install 3.0.3 yourself or mask syslog-ng-3 entirely and stick with 2.1.4.
Comment 9 Jarry 2009-11-05 19:33:03 UTC
> And none of the gentoo-installed configs use that option.

Does it mean every option which is not turned on by default may be broken, yet the package is still marked as "stable"???

When I mask it for myself, it is not a solution. Just because of this bug I had to downgrade 12 servers back to 2.x (which was not that easy because of different config syntax), but anyone else could have the same problem. BTW, that option is quite often used when running syslog-ng in client/server configuration. I do not think it is right to hide this bug and wait till more gentoo users get trapped into this problem...
Comment 10 Mr. Bones. (RETIRED) gentoo-dev 2009-11-05 19:41:20 UTC
You're putting your experience above the desires and expectations of others.

A lot of people are wanting the features and functionality of the 3.0 series.

You have a specific problem with 3.0.4 and I offered a couple of solutions.  From what you've described of your environment though it sounds like you might look into a commercial support contract from BalaBit if you're not will and/or able to work around your specific configuration issue.
Comment 11 Tobias Klausmann (RETIRED) gentoo-dev 2009-11-08 17:11:30 UTC
Stable on alpha.
Comment 12 Markus Meier gentoo-dev 2009-11-16 21:55:57 UTC
arm stable
Comment 13 Brent Baude (RETIRED) gentoo-dev 2009-11-18 17:57:30 UTC
ppc64 done
Comment 14 Raúl Porcel (RETIRED) gentoo-dev 2009-12-02 17:36:33 UTC
ia64/s390/sh/sparc stable, closing