Summary: | net-analyzer/suricata: use system net-libs/libhtp | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Sławek Lis (RETIRED) <slis> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | bug, dan, treecleaner, vapier |
Priority: | Normal | Keywords: | PMASKED |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Deadline: | 2019-12-31 | ||
Attachments: |
emerge-history.txt
net-libs:libhtp-0.5.18:20160219-051207.log |
Description
Toralf Förster
2016-02-19 12:52:39 UTC
Created attachment 425894 [details]
emerge-history.txt
Created attachment 425896 [details]
net-libs:libhtp-0.5.18:20160219-051207.log
we want to update suricata to use the new split out libhtp Please try out updated ebuild. (In reply to Sławek Lis from comment #4) it shouldn't be a USE flag ... it should always use the system copy (In reply to SpanKY from comment #5) updated. *** Bug 576540 has been marked as a duplicate of this bug. *** I'm getting filecollision with suricata and libhtp, I think that it's corelated to this bug. I've installed net-analyzer/suricata-2.0.11::gentoo at 26.02.2016 When I trying to reemerge suricata (due to changed USE flags) portage try to install libhttp to satisfy dependencies. # emerge -pv suricata These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ~] net-libs/libhtp-0.5.18::gentoo USE="-debug -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB [ebuild R ~] net-analyzer/suricata-2.0.11::gentoo USE="af-packet detection hardened nfqueue rules -control-socket -cuda -debug -geoip -lua -luajit -nflog {-test} (-system-htp%)" 0 KiB Total: 2 packages (1 new, 1 reinstall), Size of downloads: 0 KiB but installing libhtp failes due to file collision: >>> Completed installing libhtp-0.5.18 into /var/tmp/portage/net-libs/libhtp-0.5.18/image/ [99/1850] * Final size of build directory: 7169 KiB * Final size of installed tree: 705 KiB strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.gold-version usr/lib64/libhtp-0.5.18.so.1.0.0 >>> Installing (1 of 2) net-libs/libhtp-0.5.18::gentoo * checking 20 files for package collisions * This package will overwrite one or more files that may belong to other * packages (see list below). You can use a command such as `portageq * owners / <filename>` to identify the installed package that owns a * file. If portageq reports that only one package owns a file then do * NOT file a bug report. A bug report is only useful if it identifies at * least two or more packages that are known to install the same file(s). * If a collision occurs and you can not explain where the file came from * then you should simply ignore the collision since there is not enough * information to determine if a real problem exists. Please do NOT file * a bug report at http://bugs.gentoo.org unless you report exactly which * two packages install the same file(s). See * http://wiki.gentoo.org/wiki/Knowledge_Base:Blockers for tips on how to * solve the problem. And once again, please do NOT file a bug report * unless you have completely understood the above message. * * package net-libs/libhtp-0.5.18 NOT merged * * Detected file collision(s): * * /usr/include/htp/htp_list.h * /usr/include/htp/htp_core.h * /usr/include/htp/htp_urlencoded.h * /usr/include/htp/htp_hooks.h * /usr/include/htp/bstr_builder.h * /usr/include/htp/htp.h * /usr/include/htp/bstr.h * /usr/include/htp/htp_decompressors.h * /usr/include/htp/htp_table.h * /usr/include/htp/htp_base64.h * /usr/include/htp/htp_utf8_decoder.h * /usr/include/htp/htp_connection_parser.h * /usr/include/htp/htp_config.h * /usr/include/htp/htp_multipart.h * /usr/include/htp/htp_version.h * /usr/include/htp/htp_transaction.h * /usr/lib64/libhtp-0.5.18.so.1.0.0 * /usr/lib64/pkgconfig/htp.pc * /usr/lib64/libhtp.so * /usr/lib64/libhtp-0.5.18.so.1 * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * net-analyzer/suricata-2.0.11:0::gentoo * /usr/include/htp/bstr.h * /usr/include/htp/bstr_builder.h * /usr/include/htp/htp.h * /usr/include/htp/htp_base64.h * /usr/include/htp/htp_config.h * /usr/include/htp/htp_connection_parser.h * /usr/include/htp/htp_core.h * /usr/include/htp/htp_decompressors.h * /usr/include/htp/htp_hooks.h * /usr/include/htp/htp_list.h * /usr/include/htp/htp_multipart.h * /usr/include/htp/htp_table.h * /usr/include/htp/htp_transaction.h * /usr/include/htp/htp_urlencoded.h * /usr/include/htp/htp_utf8_decoder.h * /usr/include/htp/htp_version.h * /usr/lib64/libhtp-0.5.18.so.1 * /usr/lib64/libhtp-0.5.18.so.1.0.0 * /usr/lib64/libhtp.so * /usr/lib64/pkgconfig/htp.pc * * Package 'net-libs/libhtp-0.5.18' NOT merged due to file collisions. If * necessary, refer to your elog messages for the whole content of the * above message. >>> Failed to install net-libs/libhtp-0.5.18, Log file: I've checked again suricata-2.0.11 and libhtp, it seems working fine for me. Is that possible that you've got suricata installed before my last changes? The simplest solution would be to 'emerge -C suricata' and re-emerge it. Is that possible to do so on your machine? (In reply to Sławek Lis from comment #9) > I've checked again suricata-2.0.11 and libhtp, it seems working fine for me. > Is that possible that you've got suricata installed before my last changes? (In reply to Marcin Mirosław from comment #8) > I'm getting filecollision with suricata and libhtp, I think that it's > corelated to this bug. I've installed net-analyzer/suricata-2.0.11::gentoo > at 26.02.2016 Yes:) As you see above. It's not problem to uninstall and install again but I reported it to avoid other users to see nasty message:) Closing this due to the affected version of Suricata having been removed from the tree a long, long time ago. |