First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 118264
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Text-Markup Team <text-markup@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: GerbilSoft <gerbilsoft@verizon.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
tetex-2.0.2-dvi-draw-compile-fix.patch Patch for dvi-draw.c compile error text/plain GerbilSoft 2006-01-08 01:58 0000 410 bytes Details
tetex-2.0.2-r5.log tetex-2.0.2-r5 compile failure log text/plain GerbilSoft 2006-01-21 00:37 0000 184.69 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 118264 depends on: Show dependency tree
Bug 118264 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: 2006-01-08 01:57 0000
While recompiling my system with gcc-4.0.2, I encountered a compile problem
with app-text/tetex-2.0.2-r5:

i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -I/usr/include
-I/usr/include/w3c-libwww -DHAVE_CONFIG_H -DHAVE_LIBWWW -DHAVE_WWWLIB_H
-I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1
-I./../../libs/t1lib/../type1 -DPS_GS -DOmega -DXSERVER_INFO
-I../../libs/t1lib/lib/t1lib -I../kpathsea -I/usr/X11R6/include  -O2
-march=athlon-xp -msse -mmmx -m3dnow -fomit-frame-pointer -pipe  -c dvi-draw.c
dvi-draw.c:521: error: conflicting types for 'home'
dvi-draw.c:521: note: an argument type that has a default promotion can't match
an empty parameter name list declaration
xdvi.h:1269: error: previous declaration of 'home' was here
dvi-draw.c:521: error: conflicting types for 'home'
dvi-draw.c:521: note: an argument type that has a default promotion can't match
an empty parameter name list declaration
xdvi.h:1269: error: previous declaration of 'home' was here
make[2]: *** [dvi-draw.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/tetex-2.0.2-r5/work/tetex-src-2.0.2/texk/oxdvik'
make[1]: *** [all] Error 1
make[1]: Leaving directory
`/var/tmp/portage/tetex-2.0.2-r5/work/tetex-src-2.0.2/texk'
make: *** [all] Error 1

!!! ERROR: app-text/tetex-2.0.2-r5 failed.
!!! Function tetex_src_compile, Line 196, Exitcode 2
!!! make teTeX failed
!!! If you need support, post the topmost build error, NOT this status message.

This problem seems to occur with gcc-3.4 as well, which seems odd. The fix is a
one-liner though, and is attached in the next message.

emerge --info:

Portage 2.0.53 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r2,
2.6.14-gentoo-r5-grsec i686)
=================================================================
System uname: 2.6.14-gentoo-r5-grsec i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -msse -mmmx -m3dnow -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -msse -mmmx -m3dnow -fomit-frame-pointer -pipe
-fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict test userpriv
usersandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://sonic.gerbilsoft.gsft/gentoo-portage"
USE="x86 3dnow 3dnowext X aac aalib accessibility acpi alsa arts
artswrappersuid asm audiofile avi berkdb bidi bitmap-fonts bonobo bzip2 cairo
cdb cddb cdparanoia cdr cjk clamav crypt cups curl dbus dga directfb dlloader
doc dri dv dvd dvdr dvdread edl emboss encode exif expat fam fbcon ffmpeg flac
foomaticdb fortran fuse gd gdbm gif gimp gimpprint ginac glitz glut glx gmp
gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 guile hal idn imagemagick imlib
java javascript jbig joystick jpeg jpeg2k kde kdeenablefinal kipi lcms libcaca
libclamav libg++ libwww live lm_sensors lzo lzw mad mhash mikmod mime mjpeg
mmap mmx mmxext mng motif mozdevelop mozilla mozsvg mp3 mpeg mpi musicbrainz
mysql ncurses network nls nptl nptlonly nsplugin nvidia offensive ogg oggvorbis
openal openexr opengl oss pam pcre pda pdflib perl pic png postgres ppds python
qt quicktime readline real recode rtc ruby samba sasl scanner sdk sdl session
simplexml slang smime sndfile speex spell sqlite sqlite3 sse ssl subversion svg
symlink tcltk tcpd test tetex theora threads tidy tiff truetype truetype-fonts
type1-fonts udev unicode usb v4l v4l2 vcd videos vorbis win32codecs wmf xanim
xine xinerama xml xml2 xmms xosd xpm xscreensaver xsl xv xvid xvmc yv12 zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LINGUAS

------- Comment #1 From GerbilSoft 2006-01-08 01:58:11 0000 -------
Created an attachment (id=76507) [edit]
Patch for dvi-draw.c compile error

------- Comment #2 From Martin Ehmsen (RETIRED) 2006-01-19 03:24:56 0000 -------
I can't make it fail with neither gcc-3.4.5 nor gcc-4.0.2!
Can you please re-sync and try again once more?

------- Comment #3 From Viðar Svansson 2006-01-20 03:40:20 0000 -------
I have the same error with gcc-3.4.4 on a new install.

------- Comment #4 From Viðar Svansson 2006-01-20 04:23:28 0000 -------
I can confirm that the patch works with gcc-3.4.4 and tetex-2.0.2-r5

------- Comment #5 From GerbilSoft 2006-01-21 00:37:45 0000 -------
Created an attachment (id=77687) [edit]
tetex-2.0.2-r5 compile failure log

After re-syncing, I recompiled tetex and logged the compilation. It failed
again without the patch, but with the patch it works fine.

------- Comment #6 From Alexandre Buisse (RETIRED) 2006-01-21 03:47:52 0000 -------
Fixed in CVS. Thanks for the report and the patch.

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