Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 533020 - app-admin/rsyslog-8.6.0 - does not install
Summary: app-admin/rsyslog-8.6.0 - does not install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ultrabug
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-19 12:16 UTC by Andrey Kolbasenko
Modified: 2015-02-23 11:20 UTC (History)
1 user (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 Andrey Kolbasenko 2014-12-19 12:16:27 UTC
Failed to emerge app-admin/rsyslog-8.6.0:


* Removing unnecessary /usr/lib64/rsyslog/imfile.la (module)
 * Removing unnecessary /usr/lib64/rsyslog/mmutf8fix.la (module)
install: cannot stat ‘plugins/ommysql/contrib/delete_mysql’: No such file or directory
!!! doins: plugins/ommysql/contrib/delete_mysql does not exist
 * ERROR: app-admin/rsyslog-8.6.0::gentoo failed (install phase):
 *   doins failed
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-19 13:55:50 UTC
1) Please attach the entire build log to this bug report.
2) Please post your `emerge --info' output in a comment.
Comment 2 Andrey Kolbasenko 2014-12-19 15:01:04 UTC
For what?
I think need remove this string from ebuild:

from
        if use mysql; then
                insinto /usr/share/doc/${PF}/scripts/mysql
                doins plugins/ommysql/{createDB.sql,contrib/delete_mysql}
        fi


to

        if use mysql; then
                insinto /usr/share/doc/${PF}/scripts/mysql
                doins plugins/ommysql/createDB.sql
        fi

because in rsyslog-8.6.0.tar.gz plugin/ommysql/contrib dir is absent
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-19 15:07:24 UTC
(In reply to Jeroen Roovers from comment #1)
> 1) Please attach the entire build log to this bug report.
> 2) Please post your `emerge --info' output in a comment.
Comment 4 Marc Schiffbauer gentoo-dev 2015-01-25 18:34:31 UTC
Same issue here:

[...]
 * Removing unnecessary /usr/lib64/rsyslog/lmstrmsrv.la (module)
 * Removing unnecessary /usr/lib64/rsyslog/lmnetstrms.la (module)
 * Removing unnecessary /usr/lib64/rsyslog/lmnet.la (module)
 * Removing unnecessary /usr/lib64/rsyslog/lmzlibw.la (module)
 * Removing unnecessary /usr/lib64/rsyslog/lmregexp.la (module)
/usr/bin/install: cannot stat ‘plugins/ommysql/contrib/delete_mysql’: No such file or directory
!!! doins: plugins/ommysql/contrib/delete_mysql does not exist
 * ERROR: app-admin/rsyslog-8.6.0::gentoo failed (install phase):
 *   doins failed
 * 
 * If you need support, post the output of `emerge --info '=app-admin/rsyslog-8.6.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-admin/rsyslog-8.6.0::gentoo'`.
 * The complete build log is located at '/var/log/portage/app-admin:rsyslog-8.6.0:20150125-175552.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-admin/rsyslog-8.6.0/temp/environment'.
 * Working directory: '/var/tmp/portage/app-admin/rsyslog-8.6.0/work/rsyslog-8.6.0'
 * S: '/var/tmp/portage/app-admin/rsyslog-8.6.0/work/rsyslog-8.6.0'
 * QA Notice: file does not exist:
 * 
 *      doins: plugins/ommysql/contrib/delete_mysql does not exist




emerge --info:

Portage 2.2.15 (python 3.3.5-final-0, default/linux/amd64/13.0/desktop/kde/systemd, gcc-4.8.4, glibc-2.20-r1, 3.17.8-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.17.8-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-2720QM_CPU_@_2.20GHz-with-gentoo-2.2
KiB Mem:    16446584 total,   9407920 free
KiB Swap:    1048572 total,    761900 free
Timestamp of tree: Sun, 25 Jan 2015 14:45:01 +0000
sh bash 4.3_p33-r1
ld GNU ld (Gentoo 2.24 p1.4) 2.24
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
ccache version 3.2.1 [enabled]
app-shells/bash:          4.3_p33-r1
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.3.5-r1, 3.4.2
dev-util/ccache:          3.2.1-r1
dev-util/cmake:           3.1.0
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6-r1, 1.12.6, 1.14.1, 1.15
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.4
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.5
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.18 (virtual/os-headers)
sys-libs/glibc:           2.20-r1
Repositories: gentoo sunrise dilfridge cvut qt tox-overlay mschiff-local mschiff kde mschiff-pkgtest
Installed sets: @kdeadmin, @kdebase, @kdelibs, @kdenetwork, @kdeutils, @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA NVIDIA-CUDA Q3AEULA PUEL dlj-1.1 skype-4.0.0.7-copyright googleearth AdobeFlash-11.x google-talkplugin Oracle-BCLA-JavaSE Google-TOS TeamViewer google-chrome"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/lib64/tomoyo/conf /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0 /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --load-average=3.0 --tree --quiet-build=n --ignore-built-slot-operator-deps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache compressdebug config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j32 -l8"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi adns akonadi alsa amd64 ao audiofile bacula-clientonly bacula-console bash-completion berkdb bluetooth branding btrfs bzip2 cairo caps cdda cddb cdr chm cli cracklib crypt cryptsetup css cups curl cxx dbus declarative device-mapper dhclient djvu dri dts dvd dvdr ebook emboss encode exif fam ffmpeg firefox flac foobar fortran gdbm gdm gif gimp glamor glibc-omitfp gnome-shell google-gadgets gpm gtk iconv id3tag ieee1394 ipv6 jpeg jpeg2k kde kipi l7filter lame laptop lcms ldap libnotify lm_sensors logrotate loop-aes lzma lzo mad mjpeg mmap mmx mmxext mng modules mp3 mp4 mpeg multilib musicbrainz mysql ncurses nepomuk networkmanager nls nptl nsplugin ntp ogg openexr opengl openmp pam pango pch pcmcia pcre pdf phonon plasma plymouth png policykit postgres ppds pulseaudio qt3support qt4 qt5 readline real resolvconf rss samba sdl semantic-desktop session smapi smp sndfile spell spice sse sse2 ssl ssse3 startup-notification svg systemd tcpd theora threads thumbnail tiff truetype udev udisks unicode upower usb vaapi vcd vim-syntax vnc vorbis webkit wifi win32codecs wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" 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" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="nss" DRACUT_MODULES="btrfs crypt lvm" 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 ublox ubx" GRUB_PLATFORMS="multiboot pc qemu" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby20 ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="nvidia nv" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 5 Thomas Deutschmann (RETIRED) gentoo-dev 2015-02-08 19:28:13 UTC
Good catch, the file was deleted in https://github.com/rsyslog/rsyslog/commit/dadec46996bfb1651ea43ab7a3ed647d349e1213

Andrey's proposed solution is right:

diff --git a/app-admin/rsyslog/rsyslog-8.6.0.ebuild b/app-admin/rsyslog/rsyslog-8.6.0.ebuild
index 07386f1..b6fd9ef 100644
--- a/app-admin/rsyslog/rsyslog-8.6.0.ebuild
+++ b/app-admin/rsyslog/rsyslog-8.6.0.ebuild
@@ -257,7 +257,7 @@ src_install() {

        if use mysql; then
                insinto /usr/share/doc/${PF}/scripts/mysql
-               doins plugins/ommysql/{createDB.sql,contrib/delete_mysql}
+               doins plugins/ommysql/createDB.sql
        fi

        if use postgres; then


But rsyslog-8.6.0 ebuild will be superseded by bug 536784 (bump to v8.7.0).
Comment 6 Ultrabug gentoo-dev 2015-02-23 11:20:04 UTC
Thanks everyone, and sorry for the delay. It's fixed in tree.