Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 253459 - net-misc/l7-filter-2.18 / sys-kernel/gentoo-sources-2.6.25-r9 - file collisions
Summary: net-misc/l7-filter-2.18 / sys-kernel/gentoo-sources-2.6.25-r9 - file collisions
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Black (RETIRED)
URL:
Whiteboard:
Keywords:
: 269140 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-01-02 17:26 UTC by cpa
Modified: 2009-05-09 15:43 UTC (History)
3 users (show)

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


Attachments
Log from the emerge l7-filter (log.txt,2.32 KB, text/plain)
2009-01-03 12:06 UTC, cpa
Details
Log from the emerge l7-filter with -protect-owned FEATURE (kernel-2.6.25-layer7-2.18.patch-7761.out,13.06 KB, text/plain)
2009-01-03 13:10 UTC, cpa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cpa 2009-01-02 17:26:13 UTC
With the new portage (sys-apps/portage-2.1.6.4) the net-misc/l7-filter-2.18 do not emerge because file collisions with the FEATURE=-collision-protect, of course...

(This happen with the gentoo-sources-2.6.25-r9, and with the gentoo-sources-2.6.25-r4, that it was working before)

Reproducible: Always

Steps to Reproduce:
1.ACCEPT_KEYWORDS="~x86" FEATURE=-collision-protect emerge l7-filter
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2009-01-03 06:53:10 UTC
Please post your `emerge --info' and attach the entire build log.
Comment 2 cpa 2009-01-03 11:58:09 UTC
(In reply to comment #1)
> Please post your `emerge --info' and attach the entire build log.
> 

Sorry, I forgot this... I'm posting right now...
Comment 3 cpa 2009-01-03 12:02:45 UTC
Portage 2.1.6.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r4 i686)
=================================================================
System uname: Linux-2.6.25-gentoo-r4-i686-Intel-R-_Core-TM-2_Duo_CPU_T8100_@_2.10GHz-with-glibc2.0
Timestamp of tree: Fri, 02 Jan 2009 13:05:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r2
sys-devel/automake:  1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo-euetib.upc.es/mirror/gentoo/ http://gentoo.osuosl.org/ http://gentoo.mirrors.tds.net/gentoo"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="es"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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="aalib acl acpi acpi4linux apache2 berkdb bzip2 cli cracklib crypt cups dri ethereal fortran gd gdbm gpm hardened hardenedphp iconv imq innodb isdnlog jpeg l7filter loop-aes midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl php png pppd python readline reflection sd1 session spl ssl svga sysfs tcpd truetype unicode x86 xorg zlib" 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="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 mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Note that the uname say that this computer is a DualCore and the CFLAGS are for a AMD. It's right, because I'm working under a virtual machine before put the system on the right server (AMD)...
Comment 4 cpa 2009-01-03 12:06:02 UTC
Created attachment 177203 [details]
Log from the emerge l7-filter

Here is the emerge log from l7-filter ebuild
Comment 5 cpa 2009-01-03 13:10:29 UTC
Created attachment 177210 [details]
Log from the emerge l7-filter with -protect-owned FEATURE

(In reply to comment #4)
> Created an attachment (id=177203) [edit]
> Log from the emerge l7-filter
> 
> Here is the emerge log from l7-filter ebuild
> 

If you run `FEATURES=-protect-owned emerge l7-filter` you'll get:
>>> Failed to emerge net-misc/l7-filter-2.18, Log file:

>>>  '/var/tmp/portage/net-misc/l7-filter-2.18/temp/build.log'

 * Messages for package net-misc/l7-filter-2.18:

 * This may not work with all kernels. If it does not work please enter a bug at bugs.gentoo.org
 * This only patches the current kernel source code. (/usr/src/linux)
 * Its up to you to recompile the kernel with the l7 options
 *
 * You will also need to emerge iptables with the "extensions" or
 * "l7filter" USE flag (depend which version of iptables you emerge)
 * Failed Patch: kernel-2.6.25-layer7-2.18.patch !
 *  ( /var/tmp/portage/net-misc/l7-filter-2.18/work/netfilter-layer7-v2.18/kernel-2.6.25-layer7-2.18.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/net-misc/l7-filter-2.18/temp/kernel-2.6.25-layer7-2.18.patch-7761.out
 *
 * ERROR: net-misc/l7-filter-2.18 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 2859:  Called epatch '/var/tmp/portage/net-misc/l7-filter-2.18/work/netfilter-layer7-v2.18/kernel-2.6.25-layer7-2.18.patch'
 *             environment, line 1430:  Called die
 * The specific snippet of code:
 *                   die "Failed Patch: ${patchname}!";
 *  The die message:
 *   Failed Patch: kernel-2.6.25-layer7-2.18.patch!
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-misc/l7-filter-2.18/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/l7-filter-2.18/temp/environment'.
 *
Comment 6 Daniel Black (RETIRED) gentoo-dev 2009-01-05 08:08:19 UTC
i'm guessing an unmerge of l7-filter removed the net/netfilter/nf_conntrack_core.c file which means the new version cannot patch it.

sorry - you going to have to reemerge the gentoo-sources. dont' forget to keep track of your .config file.

note also i added l7-filter-2.20.ebuild.

if you could test net-misc/l7-filter-userspace in preference to l7-filter I'd appreciate it. Its a horrible ebuild to maintain because it causes bugs like these.

sorry for the inconvience.
Comment 7 Daniel Black (RETIRED) gentoo-dev 2009-01-05 08:09:17 UTC
closing - sorry can't fix due the current portage architecture being incompatible with a patch based distribution of the l7-filter.
Comment 8 cpa 2009-01-05 20:48:38 UTC
(In reply to comment #6)
> i'm guessing an unmerge of l7-filter removed the
> net/netfilter/nf_conntrack_core.c file which means the new version cannot patch
> it.
> 
> sorry - you going to have to reemerge the gentoo-sources. dont' forget to keep
> track of your .config file.
> 
> note also i added l7-filter-2.20.ebuild.
> 
> if you could test net-misc/l7-filter-userspace in preference to l7-filter I'd
> appreciate it. Its a horrible ebuild to maintain because it causes bugs like
> these.
> 
> sorry for the inconvience.
> 

Ok, I've unemerged the l7-filter 2.17, reemerged the gentoo-sources again, emerge sync and then emerge the new l7-filter 2.20. Again I've got the collision protect, but now with FEATURES=-protect-owned emerge l7-filter did the trick and work.

Thanks for your support...

best regards... ;-)
Comment 9 Patrick Lauer gentoo-dev 2009-05-09 15:43:10 UTC
*** Bug 269140 has been marked as a duplicate of this bug. ***