Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 220455 - net-misc/vnc: `libdir exec_prefix prefix' is not a valid shell variable name
Summary: net-misc/vnc: `libdir exec_prefix prefix' is not a valid shell variable name
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal with 2 votes (vote)
Assignee: Raúl Porcel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-05 20:35 UTC by Richard
Modified: 2008-07-05 17:44 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,6.20 KB, text/plain)
2008-05-05 20:36 UTC, Richard
Details
aclocal-6966.out (aclocal-6966.out,271 bytes, text/plain)
2008-05-05 20:37 UTC, Richard
Details
My environment, I'm assuming. (environment,96.45 KB, text/plain)
2008-05-05 20:37 UTC, Richard
Details
Adds new line for each AC_SUBST argument. (vnc-4.1.2-AC_SUBST.patch,444 bytes, text/plain)
2008-06-10 14:46 UTC, Christopher Covington
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard 2008-05-05 20:35:24 UTC
I'm trying to enable the server flag to recompile VNC.  When I do, it give me the message that it failed for some reason and some places to find the logs of what went wrong.

Reproducible: Always

Steps to Reproduce:
1.USE=server emerge --reinstall changed-use vnc
2.
3.

Actual Results:  
Contents of build.log.

 [31;01m*[0m Failed Running aclocal !
 [31;01m*[0m 
 [31;01m*[0m Include in your bugreport the contents of:
 [31;01m*[0m 
 [31;01m*[0m   /var/tmp/portage/net-misc/vnc-4.1.2-r4/temp/aclocal-6966.out
 [31;01m*[0m 
 [31;01m*[0m ERROR: net-misc/vnc-4.1.2-r4 failed.
 [31;01m*[0m Call stack:
 [31;01m*[0m               ebuild.sh, line   49:  Called src_unpack
 [31;01m*[0m             environment, line 2586:  Called eautoreconf
 [31;01m*[0m             environment, line  841:  Called eaclocal
 [31;01m*[0m             environment, line  780:  Called autotools_run_tool 'aclocal'
 [31;01m*[0m             environment, line  335:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m           die "Failed Running $1 !";
 [31;01m*[0m  The die message:
 [31;01m*[0m   Failed Running aclocal !

Contents of aclocal-6966.out, which is what emerge told me to post.
***** 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



Expected Results:  
Installation of VNC, so I can access my other Xubuntu box over the internet.

I had Openoffice.org open, file-roller, xfce4, mousepad running, as well. AMD Athlon XP, 512 mb, ATI Radeon Mobility M1.
Comment 1 Richard 2008-05-05 20:36:27 UTC
Created attachment 151993 [details]
build.log 

This is one of the things that was generated when emerge failed.
Comment 2 Richard 2008-05-05 20:37:16 UTC
Created attachment 151995 [details]
aclocal-6966.out

Something else emerge spit out instead of installing VNC.
Comment 3 Richard 2008-05-05 20:37:52 UTC
Created attachment 151997 [details]
My environment, I'm assuming.
Comment 4 Raúl Porcel (RETIRED) gentoo-dev 2008-05-06 11:41:37 UTC
post your `emerge --info`
Comment 5 Christopher Covington 2008-05-30 14:52:04 UTC
I have the same error. Here is my emerge --info.

# emerge --info
Portage 2.1.5.2 (default-linux/x86/vserver, gcc-4.2.4, glibc-2.7-r2, 2.6.18-028stab053 i686)
=================================================================
System uname: 2.6.18-028stab053 i686 Intel(R) Core(TM)2 Duo CPU E4500 @ 2.20GHz
Timestamp of tree: Fri, 30 May 2008 11:30:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.4-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.5, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.25-r3
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner"
FEATURES="distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS=""
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X berkdb bzip2 cgi cli cracklib crypt curl dri exif fam fastcgi flatfile ftp iconv ipv6 isdnlog jpeg memlimit midi ming mmx mudflap ncurses nptl nptlonly openmp pam pcre php png pppd psyco python readline recode reflection rrdtool session smp socks5 spell spl sse sse2 ssl tcpd threads tidy truetype unicode vhosts x86 xml xorg xsl zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1      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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="none"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Christopher Covington 2008-06-10 14:46:59 UTC
Created attachment 156245 [details]
Adds new line for each AC_SUBST argument.

I believe the important thing about Richard's information is that he has the server USE flag set, which is documented in his environment. Applying the attached patch in the if use server flag conditional branch fixes this problem for me.
Comment 7 Rick Harris 2008-06-28 11:52:55 UTC
He also has the following in his 'emerge --info':
ACCEPT_KEYWORDS="x86 ~x86"

The problem is caused by the keyword masked version of sys-devel/autoconf-2.62.
Everything works as it should if using the stable autoconf-2.61 version.
Comment 8 Raúl Porcel (RETIRED) gentoo-dev 2008-07-05 17:44:51 UTC
Fixed in patchset 0.4, thanks for the patch!