First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 44265
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Tim Yamin (RETIRED) <plasmaroo@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: David Bryson (RETIRED) <mutex@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mrouted-fix-types.h.diff fixes a types.h inclusion patch David Bryson (RETIRED) 2004-03-10 10:05 0000 249 bytes Details | Diff
mrouted-ebuild.diff adds patch line and yacc dependancy patch David Bryson (RETIRED) 2004-03-10 10:08 0000 470 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 44265 depends on: Show dependency tree
Bug 44265 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-03-10 10:04 0000
attempting to build mrouted results in a compilation error two fold:
1) it doesn't seem to include types.h properly
2) once it is completed properly the build sequence requires yacc so dependancy information must be updated in the ebuild

Reproducible: Always
Steps to Reproduce:
1. emerge mrouted
2. build fails
3.

Actual Results:  
gcc -O2 -march=athlon-mp -fomit-frame-pointer   -DRSRR -D__BSD_SOURCE
-DRAW_INPUT_IS_RAW -DRAW_OUTPUT_IS_RAW -DIOCTL_OK_ON_RAW_SOCKET      -c -o
igmp.o igmp.c
In file included from netinet/ip_mroute.h:6,
                 from defs.h:48,
                 from igmp.c:14:
/usr/include/linux/mroute.h:116: error: syntax error before "__u32"
/usr/include/linux/mroute.h:122: error: syntax error before '}' token
In file included from igmp.c:14:
defs.h:235: warning: conflicting types for built-in function `log'
make: *** [igmp.o] Error 1



there are still some warnings left about the 
defs.h:235: warning: conflicting types for built-in function `log'
but nothing serious

also the init script which I submitted with this ebuild originally doesn't seem
to be included, however the line is still in the ebuild

------- Comment #1 From David Bryson (RETIRED) 2004-03-10 10:05:08 0000 -------
Created an attachment (id=27162) [edit]
fixes a types.h inclusion

The lack of this line prevents compiling on linux for some odd reason.

------- Comment #2 From David Bryson (RETIRED) 2004-03-10 10:08:46 0000 -------
Created an attachment (id=27163) [edit]
adds patch line and yacc dependancy

patches the ebuild to apply the types.h patch and a yacc dependancy

------- Comment #3 From David Bryson (RETIRED) 2004-03-10 10:12:29 0000 -------
the init script which should be in mrouted/files is still attached to the old
bug I filed:
http://bugs.gentoo.org/attachment.cgi?id=18135&action=view

------- Comment #4 From SpanKY 2004-03-12 17:01:49 0000 -------
yeah, i must have been retarded or something that i forgot to add the init
script ... sorry about that

the type.h thing is a kernel bug and is an issue with 2.6.x headers
plasmaroo: could we get a patch to linux/mroute.h ?  just need to #include
<linux/types.h> at the top of the file somewhere

------- Comment #5 From SpanKY 2004-03-12 17:19:22 0000 -------
oh, and what's up with the yacc dependency ?
i looked and didnt see yacc being executed anywhere ...

------- Comment #6 From David Bryson (RETIRED) 2004-03-12 17:38:03 0000 -------
well try unmerging yacc and then  building... it executes yacc somewhere in
there.

------- Comment #7 From SpanKY 2004-03-12 17:43:31 0000 -------
ah, it's a make built in ... tell it to build a .y file and it'll run yacc

added yacc to DEPEND, thanks

------- Comment #8 From Tim Yamin (RETIRED) 2004-03-13 05:36:31 0000 -------
Fixed in linux-headers-2.6.4. Thanks!

------- Comment #9 From Alexey Fisher 2007-01-19 17:02:21 0000 -------
The same bug upper now with gentoo 2006.1.
types.h inclusion patch solve this problem again. 
Is this ebuild discontinued ? is there any other possibilities to set
multicasting up?



emerge --info
Portage 2.1.2_rc4-r7 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0,
2.6.19.2 i686)
=================================================================
System uname: 2.6.19.2 i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.8
Last Sync: Wed, 10 Jan 2007 17:30:01 +0000
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
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.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium3 -O2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acpi apache2 apm arts berkdb bitmap-fonts bzip2 cli cracklib crypt
dlloader eds emboss encode esd foomaticdb fortran gdbm gif gpm iconv imlib ipv6
isdnlog jpeg libg++ libwww lm_sensors mad mikmod motif mp3 mpeg mysql
nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses nls nptl nptlonly ogg oss
pam pcre perl png pppd python quicktime readline reflection samba sdl session
snmp spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode vorbis
x86 xml xv 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 mulaw multi null plug rate route
share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev"
KERNEL="linux" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy
fbdev glint i128 i740 i810 imstt mga neomagic nsc nv rendition s3 s3virge
savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware
voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

First Last Prev Next    No search results available      Search page      Enter new bug