I'm trying to follow the work around in comment #33 but vnc is still refusing to build.
>>> Emerging (1 of 1) net-misc/vnc-4.1.2-r4 to /
* vnc-4_1_2-unixsrc.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* xorg-server-1.3.0.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* vnc-4.1.2-r4-patches-0.3.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking vnc-4_1_2-unixsrc.tar.gz ;-) ... [ ok ]
* checking vnc-4.1.2-r4-patches-0.3.tar.bz2 ;-) ... [ ok ]
* checking xorg-server-1.3.0.0.tar.bz2 ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking vnc-4_1_2-unixsrc.tar.gz to /var/tmp/portage/net-misc/vnc-4.1.2-r4/work
>>> Unpacking vnc-4.1.2-r4-patches-0.3.tar.bz2 to /var/tmp/portage/net-misc/vnc-4.1.2-r4/work
>>> Unpacking xorg-server-1.3.0.0.tar.bz2 to /var/tmp/portage/net-misc/vnc-4.1.2-r4/work
* Applying various patches (bugfixes/updates) ...
* 001_all_vnc-server-alpha-build-fix.patch ... [ ok ]
* 003_all_vnc-gcc4.3.patch ... [ ok ]
* 01_all_vnc-cookie.patch ... [ ok ]
* 03_all_vnc-gcc4.patch ... [ ok ]
* 05_all_vnc-use-fb.patch ... [ ok ]
* 07_all_vnc-xclients.patch ... [ ok ]
* 09_all_vnc-idle.patch ... [ ok ]
* 11_all_vnc-via.patch ... [ ok ]
* 13_all_vnc-restart.patch ... [ ok ]
* 15_all_vnc-vncpasswd.patch ... [ ok ]
* 17_all_vnc-server-modular-xorg.patch ... [ ok ]
* 19_all_vnc-nohttpd.patch ... [ ok ]
* 21_all_vnc-server-s390.patch ... [ ok ]
* 23_all_vnc-viewer-reparent.patch ... [ ok ]
* 25_all_vnc-64bit.patch ... [ ok ]
* 27_all_vnc-select.patch ... [ ok ]
* 29_all_vnc-server-ppc64.patch ... [ ok ]
* 31_all_vnc-newfbsize.patch ... [ ok ]
* 35_all_vnc-ipv6.patch ... [ ok ]
* 37_all_vnc-password-stdin.patch ... [ ok ]
* 39_all_vnc-config.patch ... [ ok ]
* 41_all_vnc-render.patch ... [ ok ]
* 43_all_vnc-autotools.patch ... [ ok ]
* 44_all_vnc-server-autotools.patch ... [ ok ]
* 45_all_vnc-autotools-compile.patch ... [ ok ]
* 47_all_vnc-server-always-use-fb.patch ... [ ok ]
* 49_all_vnc-vsnprintf.patch ... [ ok ]
* 51_all_vnc-server-24bit.patch ... [ ok ]
* Done with patching
* Running eautoreconf in '/var/tmp/portage/net-misc/vnc-4.1.2-r4/work/vnc-4_1_2-unixsrc/common' ...
* Running aclocal ... [ ok ]
* Running libtoolize --copy --force --install --automake ... [ ok ]
* Running aclocal ... [ ok ]
* Running autoconf ... [ ok ]
* Running autoheader ... [ ok ]
* Running automake --add-missing --copy --foreign ... [ ok ]
* Running elibtoolize in: vnc-4_1_2-unixsrc/unix/xorg-x11-server-source
* Applying install-sh-1.5.4.patch ...
* Applying portage-1.5.10.patch ...
* Applying max_cmd_len-1.5.20.patch ...
* Applying sed-1.5.6.patch ...
* Running elibtoolize in: vnc-4_1_2-unixsrc/common
* Applying sed-1.5.6.patch ...
* Running eautoreconf in '/var/tmp/portage/net-misc/vnc-4.1.2-r4/work/vnc-4_1_2-unixsrc/unix' ...
* Running aclocal ... [ ok ]
* Running libtoolize --copy --force --install --automake ... [ ok ]
* Running aclocal ... [ ok ]
* Running autoconf ... [ ok ]
* Running autoheader ... [ ok ]
* Running automake --add-missing --copy --foreign ... [ ok ]
* Running elibtoolize in: vnc-4_1_2-unixsrc/unix
* Applying sed-1.5.6.patch ...
* Running eautoreconf in '/var/tmp/portage/net-misc/vnc-4.1.2-r4/work/vnc-4_1_2-unixsrc/unix/xorg-x11-server-source' ...
* Running aclocal ... [ !! ]
* Failed Running aclocal !
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/net-misc/vnc-4.1.2-r4/temp/aclocal-6281.out
*
* ERROR: net-misc/vnc-4.1.2-r4 failed.
* Call stack:
* ebuild.sh, line 49: Called src_unpack
* environment, line 2591: Called eautoreconf
* environment, line 846: Called eaclocal
* environment, line 785: Called autotools_run_tool 'aclocal'
* environment, line 340: Called die
* The specific snippet of code:
* die "Failed Running $1 !";
* The die message:
* Failed Running aclocal !
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/net-misc/vnc-4.1.2-r4/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-misc/vnc-4.1.2-r4/temp/environment'.
*
and
***** aclocal *****
***** aclocal
configure.ac:1677: error: AC_SUBST: `libdir exec_prefix prefix' is not a valid shell variable name
configure.ac:1677: the top level
autom4te-2.62: /usr/bin/m4 failed with exit status: 1
aclocal-1.10: autom4te failed with exit status: 1
I can not switch to tightvnc because of Bug: #230612
I'm trying to follow the work around in comment #33 but vnc is still refusing to build.
>>> Emerging (1 of 1) net-misc/ vnc-4.1. 2-r4 to / 2-unixsrc. tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] 1.3.0.0. tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] 2-r4-patches- 0.3.tar. bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] 2-unixsrc. tar.gz ;-) ... [ ok ] 2-r4-patches- 0.3.tar. bz2 ;-) ... [ ok ] 1.3.0.0. tar.bz2 ;-) ... [ ok ] 2-unixsrc. tar.gz to /var/tmp/ portage/ net-misc/ vnc-4.1. 2-r4/work 2-r4-patches- 0.3.tar. bz2 to /var/tmp/ portage/ net-misc/ vnc-4.1. 2-r4/work 1.3.0.0. tar.bz2 to /var/tmp/ portage/ net-misc/ vnc-4.1. 2-r4/work vnc-server- alpha-build- fix.patch ... [ ok ] vnc-gcc4. 3.patch ... [ ok ] vnc-cookie. patch ... [ ok ] vnc-gcc4. patch ... [ ok ] vnc-use- fb.patch ... [ ok ] vnc-xclients. patch ... [ ok ] vnc-idle. patch ... [ ok ] vnc-via. patch ... [ ok ] vnc-restart. patch ... [ ok ] vnc-vncpasswd. patch ... [ ok ] vnc-server- modular- xorg.patch ... [ ok ] vnc-nohttpd. patch ... [ ok ] vnc-server- s390.patch ... [ ok ] vnc-viewer- reparent. patch ... [ ok ] vnc-64bit. patch ... [ ok ] vnc-select. patch ... [ ok ] vnc-server- ppc64.patch ... [ ok ] vnc-newfbsize. patch ... [ ok ] vnc-ipv6. patch ... [ ok ] vnc-password- stdin.patch ... [ ok ] vnc-config. patch ... [ ok ] vnc-render. patch ... [ ok ] vnc-autotools. patch ... [ ok ] vnc-server- autotools. patch ... [ ok ] vnc-autotools- compile. patch ... [ ok ] vnc-server- always- use-fb. patch ... [ ok ] vnc-vsnprintf. patch ... [ ok ] vnc-server- 24bit.patch ... [ ok ] portage/ net-misc/ vnc-4.1. 2-r4/work/ vnc-4_1_ 2-unixsrc/ common' ... 2-unixsrc/ unix/xorg- x11-server- source sh-1.5. 4.patch ... 1.5.10. patch ... len-1.5. 20.patch ... 2-unixsrc/ common portage/ net-misc/ vnc-4.1. 2-r4/work/ vnc-4_1_ 2-unixsrc/ unix' ... 2-unixsrc/ unix portage/ net-misc/ vnc-4.1. 2-r4/work/ vnc-4_1_ 2-unixsrc/ unix/xorg- x11-server- source' ...
* vnc-4_1_
* xorg-server-
* vnc-4.1.
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking vnc-4_1_
* checking vnc-4.1.
* checking xorg-server-
>>> Unpacking source...
>>> Unpacking vnc-4_1_
>>> Unpacking vnc-4.1.
>>> Unpacking xorg-server-
* Applying various patches (bugfixes/updates) ...
* 001_all_
* 003_all_
* 01_all_
* 03_all_
* 05_all_
* 07_all_
* 09_all_
* 11_all_
* 13_all_
* 15_all_
* 17_all_
* 19_all_
* 21_all_
* 23_all_
* 25_all_
* 27_all_
* 29_all_
* 31_all_
* 35_all_
* 37_all_
* 39_all_
* 41_all_
* 43_all_
* 44_all_
* 45_all_
* 47_all_
* 49_all_
* 51_all_
* Done with patching
* Running eautoreconf in '/var/tmp/
* Running aclocal ... [ ok ]
* Running libtoolize --copy --force --install --automake ... [ ok ]
* Running aclocal ... [ ok ]
* Running autoconf ... [ ok ]
* Running autoheader ... [ ok ]
* Running automake --add-missing --copy --foreign ... [ ok ]
* Running elibtoolize in: vnc-4_1_
* Applying install-
* Applying portage-
* Applying max_cmd_
* Applying sed-1.5.6.patch ...
* Running elibtoolize in: vnc-4_1_
* Applying sed-1.5.6.patch ...
* Running eautoreconf in '/var/tmp/
* Running aclocal ... [ ok ]
* Running libtoolize --copy --force --install --automake ... [ ok ]
* Running aclocal ... [ ok ]
* Running autoconf ... [ ok ]
* Running autoheader ... [ ok ]
* Running automake --add-missing --copy --foreign ... [ ok ]
* Running elibtoolize in: vnc-4_1_
* Applying sed-1.5.6.patch ...
* Running eautoreconf in '/var/tmp/
* Running aclocal ... [ !! ]
* Failed Running aclocal ! portage/ net-misc/ vnc-4.1. 2-r4/temp/ aclocal- 6281.out
*
* Include in your bugreport the contents of:
*
* /var/tmp/
* vnc-4.1. 2-r4 failed. portage/ net-misc/ vnc-4.1. 2-r4/temp/ build.log' . portage/ net-misc/ vnc-4.1. 2-r4/temp/ environment' .
* ERROR: net-misc/
* Call stack:
* ebuild.sh, line 49: Called src_unpack
* environment, line 2591: Called eautoreconf
* environment, line 846: Called eaclocal
* environment, line 785: Called autotools_run_tool 'aclocal'
* environment, line 340: Called die
* The specific snippet of code:
* die "Failed Running $1 !";
* The die message:
* Failed Running aclocal !
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/
* The ebuild environment file is located at '/var/tmp/
*
and
***** aclocal *****
***** aclocal
configure.ac:1677: error: AC_SUBST: `libdir exec_prefix prefix' is not a valid shell variable name
configure.ac:1677: the top level
autom4te-2.62: /usr/bin/m4 failed with exit status: 1
aclocal-1.10: autom4te failed with exit status: 1
I can not switch to tightvnc because of Bug: #230612