Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139741 - app-text/xdvik-22.40y-r2 compile error
Summary: app-text/xdvik-22.40y-r2 compile error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mamoru KOMACHI (RETIRED)
URL:
Whiteboard:
Keywords:
: 141321 (view as bug list)
Depends on: 143851
Blocks:
  Show dependency tree
 
Reported: 2006-07-09 02:31 UTC by Tom
Modified: 2006-11-06 08:33 UTC (History)
4 users (show)

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


Attachments
dvi-draw.patch (dvi-draw.patch,410 bytes, patch)
2006-07-25 05:59 UTC, Aurélien Francillon
Details | Diff
An updated ebuild (xdvik-22.40y-r2.ebuild,1.78 KB, text/plain)
2006-10-17 05:30 UTC, Sebastian Volke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom 2006-07-09 02:31:47 UTC
$ emerge xdvik

[...]

gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -I/usr/include -I/usr/include/w3c-libwww -DHAVE_CONFIG_H -DHAVE_LIBWWW -DHAVE_WWWLIB_H  -DPS_GS -DXSERVER_INFO -I../../libs/t1lib/lib/t1lib -I../kpathsea   -O2 -march=pentium4 -pipe -W -Wall -Wunused   -c dvi-draw.c
dvi-draw.c:522: error: conflicting types for 'home'
dvi-draw.c:522: 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:522: error: conflicting types for 'home'
dvi-draw.c:522: 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: In function `shrink_glyph':
dvi-draw.c:1051: warning: dereferencing type-punned pointer will break strict-aliasing rules
dvi-draw.c:1052: warning: dereferencing type-punned pointer will break strict-aliasing rules
dvi-draw.c: In function `shrink_glyph_grey':
dvi-draw.c:1145: warning: dereferencing type-punned pointer will break strict-aliasing rules
make: *** [dvi-draw.o] Error 1

!!! ERROR: app-text/xdvik-22.40y-r2 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  xdvik-22.40y-r2.ebuild, line 57:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.


$ emerge --info

Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r12 i686)
=================================================================
System uname: 2.6.16-gentoo-r12 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.70GHz
Gentoo Base System version 1.6.15
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://distfiles.gentoo.org http://www.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.europe.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts cdr cdrom chroot cli cpudetection crypt cups dlloader dri eds emboss encode esd fbdev fbsplash firefox foomaticdb fortran freetext freetts gdbm gif glx gpm gstreamer gtk gtk2 gvim gzip imagemagick imlib ipv6 isdnlog javascript jpeg kde latex libg++ libwww lm_sensors mad mikmod mmap mmx mmxext motif mozilla mp3 mpeg mplayer ncurses nls nptl ogg opengl oss pam pcmcia pcre pdflib perl png pppd preview-latex python qt qt3 qt4 quicktime readline reflection reiserfs sdl session spell spl ssl tcpd tetex truetype truetype-fonts type1-fonts udev video_cards_ati vim vorbis wifi xml xmms xorg xscreensaver xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Mamoru KOMACHI (RETIRED) gentoo-dev 2006-07-09 06:12:25 UTC
Thanks for reporting. I'll fix it asap. 
(In addition to this problem, xdvik needs a patch to display cjk fonts w/ recent xorg-x11-7)
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-07-21 19:15:36 UTC
*** Bug 141321 has been marked as a duplicate of this bug. ***
Comment 3 Aurélien Francillon 2006-07-25 05:59:19 UTC
Created attachment 92715 [details, diff]
dvi-draw.patch

Hi
this is a patch to fix the "conflicting types for 'home'" error.
Compilation works now without error (but still a lot of warnings the code seems dirty ) and xdvi works for mer (c)  under some basic testing 
thanks
Aur
Comment 4 Aurélien Francillon 2006-07-25 05:59:19 UTC
Created attachment 92715 [details, diff]
dvi-draw.patch

Hi
this is a patch to fix the "conflicting types for 'home'" error.
Compilation works now without error (but still a lot of warnings the code seems dirty ) and xdvi works for mer (c)  under some basic testing 
thanks
Aurélien
Comment 5 Sebastian Volke 2006-10-17 05:30:36 UTC
Created attachment 99872 [details]
An updated ebuild

To get things rolling and have the patch in portage within a reasonable time (hey guys, this ought to be bleeding edge, get things done faster ...), I created an updated ebuild.
Comment 6 Mamoru KOMACHI (RETIRED) gentoo-dev 2006-11-06 08:33:53 UTC
Sorry for the delay. I've just fixed the bug in addition to modular X dep.
Thanks for all your effort.