<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>160381</bug_id>
          
          <creation_ts>2007-01-06 09:15 0000</creation_ts>
          <short_desc>net-dialup/linux-atm-2.4.1-r1 compile fails w/ linux-headers-2.6.17-r2</short_desc>
          <delta_ts>2007-11-17 11:41:33 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Core system</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>156814</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>sneer@olnet.pl</reporter>
          <assigned_to>toolchain@gentoo.org</assigned_to>
          <cc>alanh@fairlite.co.uk</cc>
    
    <cc>alephlg@gmail.com</cc>
    
    <cc>bangert@gentoo.org</cc>
    
    <cc>jlewis@johnlewis.ie</cc>
    
    <cc>mlists@arhont.com</cc>
    
    <cc>nelson_batalha@hotmail.com</cc>
    
    <cc>net-dialup@gentoo.org</cc>
    
    <cc>sergio.migmac@gmail.com</cc>
    
    <cc>siegerstein@pochta.ru</cc>
    
    <cc>warwick@thusa.co.za</cc>

      

      
          <long_desc isprivate="0">
            <who>sneer@olnet.pl</who>
            <bug_when>2007-01-06 09:15:04 0000</bug_when>
            <thetext>It is my first bugreport so please, be batient for me. Sorry for my English :-(
When I yesterday tried to recompile whole system (emerge -e world) linux-atm did not compiled. 

Hehe is the reason.

gcc -DHAVE_CONFIG_H -I. -I. -I../..     -I../../src/include -O2 -march=i686 -pipe -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c io.c
In file included from /usr/include/linux/netdevice.h:28,
                 from /usr/include/linux/if_arp.h:26,
                 from io.c:24:
/usr/include/linux/if.h:118: error: redefinition of &apos;struct ifmap&apos;
/usr/include/linux/if.h:154: error: redefinition of &apos;struct ifreq&apos;
/usr/include/linux/if.h:204: error: redefinition of &apos;struct ifconf&apos;
io.c: In function &apos;accept_new&apos;:
io.c:281: warning: pointer targets in passing argument 3 of &apos;accept&apos; differ in signedness
io.c:296: warning: pointer targets in passing argument 5 of &apos;getsockopt&apos; differ in signedness
io.c: In function &apos;get_local&apos;:
io.c:618: warning: pointer targets in passing argument 3 of &apos;getsockname&apos; differ in signedness
make[3]: *** [io.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/linux-atm-2.4.1-r1/work/linux-atm-2.4.1/src/arpd&apos;
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/linux-atm-2.4.1-r1/work/linux-atm-2.4.1/src&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/linux-atm-2.4.1-r1/work/linux-atm-2.4.1&apos;
make: *** [all-recursive-am] Error 2

!!! ERROR: net-dialup/linux-atm-2.4.1-r1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 608:   Called die

If you want I can submit full log of compilation

Reproducible: Always

Steps to Reproduce:
1. emerge -v linux-atm
2.
3.




emerge --info
Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.3.6-r5, 2.6.18-gentoo-r6 i686)
=================================================================
System uname: 2.6.18-gentoo-r6 i686 AMD Duron(tm) Processor
Gentoo Base System version 1.12.6
Last Sync: Fri, 05 Jan 2007 17:00:01 +0000
ccache version 2.4 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-O2 -march=i686 -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /var/bind&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo&quot;
CXXFLAGS=&quot;-O2 -march=i686 -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://gentoo.po.opole.pl ftp://mirror.icis.pcz.pl/gentoo/ &quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_EXTRA_OPTS=&quot;--exclude-from=/etc/portage/banned_branches&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=&apos;/distfiles&apos; --exclude=&apos;/local&apos; --exclude=&apos;/packages&apos;&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
SYNC=&quot;rsync://rsync.europe.gentoo.org/gentoo-portage&quot;
USE=&quot;x86 alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol atm berkdb bitmap-fonts cli cracklib crypt cups dlloader dri elibc_glibc fortran gdbm iconv input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog kernel_linux libg++ ncurses nls nptl nptlonly pam pcre perl php ppds pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts udev unicode userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo xorg zlib&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2007-01-06 09:26:26 0000</bug_when>
            <thetext>ive fixed this in 2.6.19 already</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-01-06 11:23:37 0000</bug_when>
            <thetext>*** Bug 160419 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jlewis@johnlewis.ie</who>
            <bug_when>2007-01-07 19:09:26 0000</bug_when>
            <thetext>FYI this is also failing with exactly the same error on x86_64 native.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jlewis@johnlewis.ie</who>
            <bug_when>2007-01-07 21:05:08 0000</bug_when>
            <thetext>So as per Spanky&apos;s message you can work around the error by upgrading to unstable linux-headers.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>alanh@fairlite.co.uk</who>
            <bug_when>2007-01-08 18:13:07 0000</bug_when>
            <thetext>I&apos;d rather not upgrade to unstable. Is there any fix that can be backported to stable ??</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jlewis@johnlewis.ie</who>
            <bug_when>2007-01-08 20:54:29 0000</bug_when>
            <thetext>Well I&apos;ll tell you what I did and the devs can comment on the wrongness or impending doom if any.

Simply upgrade to unstable linux-headers, install linux-atm and then go back to stable linux-headers, worked for me anyway.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2007-01-08 21:48:39 0000</bug_when>
            <thetext>i havent looked at the src code, but that should be no problem

the 2.6.19 headers actually arent too bad ... i imagine it shouldnt be long before they hit stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jlewis@johnlewis.ie</who>
            <bug_when>2007-01-13 14:56:43 0000</bug_when>
            <thetext>I really think this should be a MAJOR bug as it could stop some noob from being able to finish their Gentoo install i.e. internet access and put people off Gentoo altogether.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>alanh@fairlite.co.uk</who>
            <bug_when>2007-01-13 15:10:46 0000</bug_when>
            <thetext>I have to agree. I don&apos;t know what the problem is with backporting the fix.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jlewis@johnlewis.ie</who>
            <bug_when>2007-01-13 18:21:08 0000</bug_when>
            <thetext>Yes well the really weird thing is that this only appeared when I &quot;emerge --sync&quot;ed on the 5th of January. Prior to that linux-atm compiled perfectly with the current stable headers i.e. &quot;2.6.17.whatever&quot; so whatever it was that screwed the compilation up came down with &quot;emerge --sync&quot;. Not knowing that much about portage I would say it&apos;s either the linux-atm &quot;ebuild&quot; or the &quot;2006.1&quot; profile that has caused the problem.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dronnick@web.de</who>
            <bug_when>2007-01-17 12:25:27 0000</bug_when>
            <thetext>how to upgrade to unstable linux-headers and to downgrade again?

have i to rebuild kernel?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jlewis@johnlewis.ie</who>
            <bug_when>2007-01-17 12:48:28 0000</bug_when>
            <thetext>Add &quot;sys-kernel/linux-headers ~x86&quot; to &quot;/etc/portage/package.keywords&quot;

Only put &quot;x86&quot; in there if you are using an Intel processor, alternatively you might be using an AMD chip with 64 bit support in which case you would put ~amd64 in there instead.

Then &quot;emerge -u --oneshot linux-headers &amp;&amp; emerge linux-atm&quot;

This will upgrade linux-headers and install linux-atm.

Then remove &quot;sys-kernel/linux-headers ~x86&quot; from &quot;/etc/portage/package.keywords&quot;.

and &quot;emerge -u --oneshot linux-headers&quot;.

This will downgrade linux-headers back to stable but you will still have linux-atm installed.

You don&apos;t need to recompile or upgrade your kernel or gcc or anything like that.

I&apos;m assuming this hasn&apos;t been fixed yet because linux-headers-2.6.19 should be stable any day now. Still it would&apos;ve been nice for a dev to have said this or for an announcement on the forums or in newsletter.

Incidentally devs there is exactly the same problem with stable 64 bit linux-headers.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2007-02-07 23:56:30 0000</bug_when>
            <thetext>There&apos;s currently no stabilization bug for newer headers, so we either need to backport this to the current stable, or mark a newer set of headers stable before we make the 2007.0 snapshot.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bangert@gentoo.org</who>
            <bug_when>2007-02-11 22:34:13 0000</bug_when>
            <thetext>jupp - been bit by this one as well.
i guess no new linux-headers in 2007.0?!
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2007-02-14 19:44:49 0000</bug_when>
            <thetext>This is now blocking the snapshot.  We can either get this fixed, or we can drop support for any ATM-based devices (which includes several DSL modems) from the upcoming release.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bangert@gentoo.org</who>
            <bug_when>2007-02-19 22:09:11 0000</bug_when>
            <thetext>i don&apos;t know the process involved - but if its fixed in linux-headers-2.6.19 then lets get them to stable...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>alanh@fairlite.co.uk</who>
            <bug_when>2007-02-25 21:23:19 0000</bug_when>
            <thetext>Is there any progress on backporting the fix ??</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-02-27 23:52:58 0000</bug_when>
            <thetext>*** Bug 168657 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>alanh@fairlite.co.uk</who>
            <bug_when>2007-03-08 23:18:56 0000</bug_when>
            <thetext>Hello - any news ???</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-03-15 14:10:30 0000</bug_when>
            <thetext>*** Bug 171028 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>warwick@thusa.co.za</who>
            <bug_when>2007-03-22 16:05:20 0000</bug_when>
            <thetext>What is holding the new headers back from being marked stable?!  Surely this is a show stopper?  Anyone merging a new stable version of Gentoo will be stumped at this point...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>g.tomassoni@libero.it</who>
            <bug_when>2007-04-07 22:53:34 0000</bug_when>
            <thetext>Created an attachment (id=115688)
A simple patch which seems to work to me

It seems that linux-headers-2.6.19 still has some troubles to be safely put stable.

I&apos;m proposing this simple patch which should fix the problem against linux-headers-2.6.17-r2.

Well, maybe this is not the right way to face the problem. But, you know, I need my ADSL lines...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mrness@gentoo.org</who>
            <bug_when>2007-04-13 22:36:04 0000</bug_when>
            <thetext>Fixed in cvs by replacing net/if.h with linux/if.h.

However, the package compiles with dozens of QA warnings. One of these days I will have to make a new revision with all those QA issues fixed.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mrness@gentoo.org</who>
            <bug_when>2007-04-14 16:19:22 0000</bug_when>
            <thetext>FYI: I&apos;ve committed linux-atm-2.4.1-r2, which fixes all QA warnings of the previous revision.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-08-15 12:27:25 0000</bug_when>
            <thetext>*** Bug 188982 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mailingdotlist@gmail.com</who>
            <bug_when>2007-11-17 00:11:45 0000</bug_when>
            <thetext>What is the reason this bug is fixed? I still can&apos;t emerge net-misc/networkmanager-0.6.5_p20070823 without unstable linux-headers.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mrness@gentoo.org</who>
            <bug_when>2007-11-17 11:41:33 0000</bug_when>
            <thetext>(In reply to comment #26)
How is this related to linux-atm?</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>115688</attachid>
            <date>2007-04-07 22:53 0000</date>
            <desc>A simple patch which seems to work to me</desc>
            <filename>linux-atm-2.4.1-headers-2.6.17-patch.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlmZiAtcnVkIC90bXAvbGludXgtYXRtLTIuNC4xL3NyYy9hcnBkL2lvLmMgbGludXgtYXRtLTIu
NC4xL3NyYy9hcnBkL2lvLmMKLS0tIC90bXAvbGludXgtYXRtLTIuNC4xL3NyYy9hcnBkL2lvLmMJ
MjAwNy0wNC0wOCAwMDoxMjoxMy4wMDAwMDAwMDAgKzAyMDAKKysrIGxpbnV4LWF0bS0yLjQuMS9z
cmMvYXJwZC9pby5jCTIwMDctMDQtMDggMDA6NDQ6MjMuMDAwMDAwMDAwICswMjAwCkBAIC0xNiw3
ICsxNiwxMCBAQAogI2luY2x1ZGUgPHN5cy90eXBlcy5oPgogI2luY2x1ZGUgPHN5cy9zb2NrZXQu
aD4KICNpbmNsdWRlIDxzeXMvaW9jdGwuaD4KKyNpbmNsdWRlIDxsaW51eC92ZXJzaW9uLmg+Cisj
aWYJTElOVVhfVkVSU0lPTl9DT0RFICE9IEtFUk5FTF9WRVJTSU9OKDIsNiwxNykKICNpbmNsdWRl
IDxuZXQvaWYuaD4KKyNlbmRpZgogI2luY2x1ZGUgPG5ldGluZXQvaW4uaD4KICNpbmNsdWRlIDxh
dG0uaD4KICNpbmNsdWRlIDxsaW51eC9hdG1jbGlwLmg+IC8qIGZvciBDTElQX0RFRkFVTFRfSURM
RVRJTUVSICovCg==
</data>        

          </attachment>
    </bug>

</bugzilla>