Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146092 - net-misc/vnc-4.0-r1 fails to build at attributes.c
Summary: net-misc/vnc-4.0-r1 fails to build at attributes.c
Status: RESOLVED DUPLICATE of bug 136243
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-02 23:42 UTC by Péter Werner
Modified: 2006-09-21 11:16 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Péter Werner 2006-09-02 23:42:04 UTC
bug 136243 is the same, but it is set to fixed while 4.0-r1 is still broken and 4.1.2 does not resolve it at least for me.  I can't reopen it so I create this dulicate.

4.1.2 does not build with the stable xorg-x11 (bug 145756) so 4.0-r1 is the stable candidate.

I have x11-base/xorg-server-1.0.2-r7
------------------------------------------------------------------------------

x86_64-pc-linux-gnu-gcc -c -O2 -march=opteron -mtune=opteron -ansi -pedantic -Wall -Wpointer-arith -Wundef    -fno-merge-constants -I../../../exports/include/X11 -I. -I../mfb -I../mi -I../cfb              -I../include -I../../../include -I../../../lib  -I../../../include/extensions -I../../../include/fonts -I../../../lib/X11  -I../../.. -I../../../exports/include   -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L                           -D_POSIX_SOURCE -D_XOPEN_SOURCE                                 -D_BSD_SOURCE -D_SVID_SOURCE                                 -D_GNU_SOURCE                           -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP  -DXCSECURITY -DTOGCUP    -DXF86BIGFONT -DDPMSExtension    -DPIXPRIV -DPANORAMIX   -DRENDER -DRANDR       -DXFIXES -DDAMAGE -DCOMPOSITE -DXEVIE -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH                                 -DXFreeXDGA -DXvExtension          -DXFree86LOADER  -DXFree86Server                                 -DXF86VIDMODE                           -DXvMCExtension            -DSMART_SCHEDULE                                 -DBUILDDEBUG -DXResExtension                            -DX_BYTE_ORDER=X_LITTLE_ENDIAN                              -DXORG_VERSION_CURRENT="(((6) * 10000000) + ((8) * 100000) + ((1) * 1000) + 0)" -D_XSERVER64 -DNDEBUG   -DFUNCPROTO=15 -DNARROWPROTO   -DXPRINTDIR=\"/usr/lib64/X11/xserver\" -DXPRASTERDDX -DXPPCLDDX -DXPMONOPCLDDX          -DXPPSDDX -DHAS_MKSTEMP -UXFree86LOADER -D_XP_PRINT_SERVER_   attributes.c
attributes.c: In function 
Comment 1 Péter Werner 2006-09-02 23:42:04 UTC
bug 136243 is the same, but it is set to fixed while 4.0-r1 is still broken and 4.1.2 does not resolve it at least for me.  I can't reopen it so I create this dulicate.

4.1.2 does not build with the stable xorg-x11 (bug 145756) so 4.0-r1 is the stable candidate.

I have x11-base/xorg-server-1.0.2-r7
------------------------------------------------------------------------------

x86_64-pc-linux-gnu-gcc -c -O2 -march=opteron -mtune=opteron -ansi -pedantic -Wall -Wpointer-arith -Wundef    -fno-merge-constants -I../../../exports/include/X11 -I. -I../mfb -I../mi -I../cfb              -I../include -I../../../include -I../../../lib  -I../../../include/extensions -I../../../include/fonts -I../../../lib/X11  -I../../.. -I../../../exports/include   -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L                           -D_POSIX_SOURCE -D_XOPEN_SOURCE                                 -D_BSD_SOURCE -D_SVID_SOURCE                                 -D_GNU_SOURCE                           -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP  -DXCSECURITY -DTOGCUP    -DXF86BIGFONT -DDPMSExtension    -DPIXPRIV -DPANORAMIX   -DRENDER -DRANDR       -DXFIXES -DDAMAGE -DCOMPOSITE -DXEVIE -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH                                 -DXFreeXDGA -DXvExtension          -DXFree86LOADER  -DXFree86Server                                 -DXF86VIDMODE                           -DXvMCExtension            -DSMART_SCHEDULE                                 -DBUILDDEBUG -DXResExtension                            -DX_BYTE_ORDER=X_LITTLE_ENDIAN                              -DXORG_VERSION_CURRENT="(((6) * 10000000) + ((8) * 100000) + ((1) * 1000) + 0)" -D_XSERVER64 -DNDEBUG   -DFUNCPROTO=15 -DNARROWPROTO   -DXPRINTDIR=\"/usr/lib64/X11/xserver\" -DXPRASTERDDX -DXPPCLDDX -DXPMONOPCLDDX          -DXPPSDDX -DHAS_MKSTEMP -UXFree86LOADER -D_XP_PRINT_SERVER_   attributes.c
attributes.c: In function XpGetConfigDirBase:
attributes.c:152: warning: assignment from incompatible pointer type
attributes.c:152: warning: comparison of distinct pointer types lacks a cast
attributes.c:153: warning: assignment from incompatible pointer type
attributes.c:155: warning: return from incompatible pointer type
attributes.c: In function BuildPrinterAttrs:
attributes.c:327: warning: unused variable dirName
attributes.c: In function XpGetOneAttribute:
attributes.c:627: warning: unused variable retVal
attributes.c: In function AppendEntry:
attributes.c:819: warning: return with no value, in function returning non-void
attributes.c: In function XpGetAttributes:
attributes.c:878: warning: unused variable retVal
attributes.c: At top level:
attributes.c:1094: error: static declaration of ExecCommand follows non-static declaration
attributes.h:113: error: previous declaration of ExecCommand was here
attributes.c: In function SendFileToCommand:
attributes.c:1187: warning: implicit declaration of function initgroups
attributes.c:1202: warning: unused variable res
attributes.c: In function VectorizeCommand:
attributes.c:1440: warning: unused variable i
attributes.c:1439: warning: unused variable curTok
attributes.c: In function XpSubmitJob:
attributes.c:1466: warning: unused variable cmdOpt
attributes.c: In function XpGetTrayMediumFromContext:
attributes.c:1590: warning: unused variable pLast
attributes.c:1590: warning: unused variable pE
attributes.c:1590: warning: unused variable pS
attributes.c: In function XpSubmitJob:
attributes.c:1518: warning: control reaches end of non-void function
make[5]: *** [attributes.o] Error 1
make[5]: Leaving directory `/var/tmp/portage/vnc-4.0-r1/work/vnc-4.0-unixsrc/xc/programs/Xserver/Xprint'
make[4]: *** [Xprint] Error 2
make[4]: Leaving directory `/var/tmp/portage/vnc-4.0-r1/work/vnc-4.0-unixsrc/xc/programs/Xserver'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/vnc-4.0-r1/work/vnc-4.0-unixsrc/xc/programs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/vnc-4.0-r1/work/vnc-4.0-unixsrc/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/var/tmp/portage/vnc-4.0-r1/work/vnc-4.0-unixsrc/xc'
make: *** [World] Error 2

!!! ERROR: net-misc/vnc-4.0-r1 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  vnc-4.0-r1.ebuild, line 88:   Called die

------------------------------------------------------------------------------

emerge info:

Portage 2.1-r2 (default-linux/amd64/2005.0, gcc-4.1.1, glibc-2.4-r3, 2.6.11-gentoo-r7-wp01 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r7-wp01 x86_64 AMD Opteron(tm) Processor 246
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 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="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=opteron -mtune=opteron"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/X11/xkb /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/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=opteron -mtune=opteron"
DISTDIR="/srv/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.nyx.hu/gentoo/ http://gentoo.inf.elte.hu/ http://trumpetti.atm.tut.fi/gentoo/ http://gentoo.inode.at/"
LANG="hu_HU.UTF8"
LC_ALL="hu_HU.UTF8"
LINGUAS="hu en de"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 7zip X acl alsa apache2 avi bash-completion berkdb bitmap-fonts bzip2 cli crypt cups dedicated dlloader doc dri eds emboss encode examples expat fam firefox foomaticdb fortran gcj gif gnome gnutls gpgme gpm graphviz gstreamer gtk gtk2 hardenedphp idn imagemagick imap imlib ipv6 isdnlog java javascript jbig jikes jpeg jpeg2k kde ldap libedit logrotate lzw lzw-tiff math memlimit mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin odbc offensive opengl openssl pager pam patch pcre pdflib perl php png postfix pppd python qt3 qt4 quicktime readline reflection sasl sdl server session smime source spell spl srvdir ssl svn-mirror tcpd tetex threads tiff truetype truetype-fonts type1-fonts unicode usb utf8 vhosts virus-scan xml xorg xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_hu linguas_en linguas_de userland_GNU video_cards_r128 video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Péter Werner 2006-09-02 23:46:52 UTC
bug 125164 has the same compile error as well (set to fixed, but has no solution, too)
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-09-03 00:33:43 UTC
We won't be fixing 4.0, and it woudn't work even if you managed to compile it. File a new bug about 4.1.2.

*** This bug has been marked as a duplicate of 136243 ***
Comment 4 Péter Werner 2006-09-03 01:56:17 UTC
(In reply to comment #2)
> File a new bug about 4.1.2.

It exists: bug 145756 RESOLVED CANTFIX

I continue with the workaround there.
Comment 5 Simon Matthews 2006-09-21 10:54:22 UTC
Please tell me how I can build ANY VERSION of VNC using the STABLE GCC 4.1.1 without resorting to unstable versions of other ebuilds?

Reading the various bugs, it seems that VNC 4.0 is unsupported. The only advice is to use VNC 4.1.x, which requires an unstable version of X.org.



Comment 6 Péter Werner 2006-09-21 11:16:46 UTC
(In reply to comment #4)
> Please tell me how I can build ANY VERSION of VNC using the STABLE GCC 4.1.1
> without resorting to unstable versions of other ebuilds?

As far as I see you can't.  I use tightvnc as a workaround.
I had a small problem with that too about font path, see bug 146099 for solution.