Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 444872 - app-forensics/sleuthkit-4.0.1 and app-arch/freeze-2.5.0 file collision: /usr/bin/fcat
Summary: app-forensics/sleuthkit-4.0.1 and app-arch/freeze-2.5.0 file collision: /usr/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Göktürk Yüksek
URL:
Whiteboard:
Keywords:
Depends on: 449920
Blocks:
  Show dependency tree
 
Reported: 2012-11-26 22:20 UTC by Marc Schiffbauer
Modified: 2017-08-18 18:14 UTC (History)
3 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 Marc Schiffbauer gentoo-dev 2012-11-26 22:20:05 UTC
Summary says ist all. Bot packages want to install fcat.

Portage 2.2.0_alpha142 (default/linux/amd64/10.0/desktop, gcc-4.6.3, glibc-2.16.0, 3.6.6-gentoo x86_64)
=================================================================
System uname: Linux-3.6.6-gentoo-x86_64-Intel-R-_Core-TM-_i7-2720QM_CPU_@_2.20GHz-with-gentoo-2.2
Timestamp of tree: Mon, 26 Nov 2012 19:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.8 [enabled]
app-shells/bash:          4.2_p39
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/ccache:          3.1.8
dev-util/cmake:           2.8.10.1
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.5
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo java-overlay vmware sunrise hasufell gnustep mschiff-local mschiff kde
Installed sets: @kde-4.9, @kdepim-4.9, @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA Q3AEULA PUEL dlj-1.1 skype-4.0.0.7-copyright googleearth AdobeFlash-10.3 google-talkplugin Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/tomoyo/conf /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
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=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --load-average=3.0 --tree --quiet-build=n"
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 xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j14"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/java-overlay /var/lib/layman/vmware /var/lib/layman/sunrise /var/lib/layman/hasufell /var/lib/layman/gnustep /home/mschiff/gentoo/overlays/mschiff-local /home/mschiff/gentoo/overlays/mschiff /home/mschiff/gentoo/overlays/kde"
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 consolekit cracklib crypt css cups curl cxx dbus device-mapper dhclient djvu dri dts dvd dvdr ebook emboss encode exif fam ffmpeg firefox flac fortran gdbm gif gimp glibc-omitfp google-gadgets gpm gtk iconv id3tag ieee1394 ipod 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 mudflap multilib musicbrainz mysql ncurses networkmanager nls nptl nsplugin ntp ogg openexr opengl openmp pam pango pch pcmcia pcre pdf phonon png policykit postgres ppds pppd pulseaudio qt3support qt4 readline rss samba sdl semantic-desktop session smapi smp sndfile spell spice sse sse2 ssl ssse3 startup-notification svg tcpd threads thumbnail tiff truetype udev udisks unicode upower usb vcd vim-syntax vnc vorbis webkit wifi wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver 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="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" 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 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" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" 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 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-12-09 18:57:30 UTC
--- ChangeLog   2012-11-27 18:14:24.243348601 +0100
+++ ChangeLog.new       2012-12-09 19:56:42.759754625 +0100
@@ -2,6 +2,9 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/app-arch/freeze/ChangeLog,v 1.19 2012/11/22 18:13:39 ulm Exp $
 
+  09 Dec 2012; Jeroen Roovers <jer@gentoo.org> freeze-2.5.0.ebuild:
+  Block app-forensics/sleuthkit (bug #444872 by Marc Schiffbauer).
+
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-12-10 11:10:38 UTC
This clashes with my deep desire to have mail-filter/amavisd-new and sleuthkit installed at the same time, since the former RDEPENDs on freeze and the latter is now blocked by it. It looks like nothing in sleuthkit 4.0.1 actually needs it - it is a standalone tool which doesn't even come with a man page (yet). Could we rename sleuthkit's fcat instead?
Comment 3 Marc Schiffbauer gentoo-dev 2012-12-10 19:13:10 UTC
(In reply to comment #2)
> This clashes with my deep desire to have mail-filter/amavisd-new and
> sleuthkit installed at the same time, since the former RDEPENDs on freeze
> and the latter is now blocked by it. It looks like nothing in sleuthkit
> 4.0.1 actually needs it - it is a standalone tool which doesn't even come
> with a man page (yet). Could we rename sleuthkit's fcat instead?

+1
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2012-12-12 02:12:41 UTC
The only runtime user of app-arch/freeze in the tree happens to be mail-filter/amavisd-new. We could replace 'fcat' there with the equivalent 'melt -c' [see freeze(1)].

--- amavisd-new-2.8.0.ebuild    13 Nov 2012 17:52:44 -0000      1.3
+++ amavisd-new-2.8.0.ebuild    12 Dec 2012 02:11:31 -0000
@@ -81,6 +81,10 @@
                -e '/daemon/s/vscan/amavis/' \
                -e "s:'/var/virusmails':\"\$MYHOME/quarantine\":" \
                "${S}/amavisd.conf" "${S}/amavis-mc"  || die
+       
+       sed -i \
+               -e 's|fcat|melt -c|g' \
+               amavisd amavisd.conf || die
 
        if ! use dkim ; then
                sed -i -e '/enable_dkim/s/1/0/' "${S}/amavisd.conf" \
Comment 5 Eray Aslan gentoo-dev 2012-12-12 08:27:27 UTC
(In reply to comment #4)
> The only runtime user of app-arch/freeze in the tree happens to be
> mail-filter/amavisd-new.

amavisd-new checks for unfreeze, freeze -d, melt and fcat (in that order).  First match wins.  In other words, an app-arch/freeze package that does not provide fcat (but provides at least one of unfreeze, freeze or melt) is OK as far as amavisd-new is concerned.

If amavisd-new is your only concern, don't install the fcat symlink in app-arch/freeze.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2012-12-12 16:14:49 UTC
app-arch/freeze-2.5.0 now blocks >=app-forensics/sleuthkit-4.0.1, the first version that installs the offending fcat.

app-arch/freeze-2.5.0-r1 does no longer install the fcat and fcat.1 symlinks.

These changes ought to keep most stable and unstable users happy.
Comment 7 Marc Schiffbauer gentoo-dev 2015-03-10 01:44:37 UTC
Thanks, I think this bug can be closed then.
Comment 8 Göktürk Yüksek archtester gentoo-dev 2017-08-18 18:14:51 UTC
freeze no longer installs fcat. closing.