Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 226883 - Redefining working dir is not honored for myodbc
Summary: Redefining working dir is not honored for myodbc
Status: RESOLVED DUPLICATE of bug 159026
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-14 18:12 UTC by Igor Korot
Modified: 2008-06-14 23:59 UTC (History)
0 users

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 Igor Korot 2008-06-14 18:12:21 UTC
Re-defining PORTAGE_TMPDIR causes m4 in myodbc to fail.

Reproducible: Always

Steps to Reproduce:
Issue these commands:
1. PORTAGE_TMPDIR=<some_dir> emerge myodbc
2. emerge --config --verbose myodbc, or
3. PORTAGE_TMPDIR=<some_dir> emerge --config --verbose myodbc

Actual Results:  
m4 fails to run

Expected Results:  
configuration finishes without problems

IgorsGentoo buildGTK # emerge --config --verbose myodbc


Configuring pkg...

 * Building odbc.ini
/usr/bin/m4: /var/db/pkg/dev-db/myodbc-3.51.12/files/odbc.ini.m4: No such file or directory
 * Building odbcinst.ini
/usr/bin/m4: /var/db/pkg/dev-db/myodbc-3.51.12/files/odbcinst.ini.m4: No such file or directory
 * Installing MySQL ODBC driver ...                                                                                                                  [ ok ]
 * Installing sample MySQL ODBC DSN ...                                                                                                              [ ok ]


IgorsGentoo igor # PORTAGE_TMPDIR=/home/igor emerge --config --verbose myodbc


Configuring pkg...

 * Building odbc.ini
/usr/bin/m4: /var/db/pkg/dev-db/myodbc-3.51.12/files/odbc.ini.m4: No such file or directory
 * Building odbcinst.ini
/usr/bin/m4: /var/db/pkg/dev-db/myodbc-3.51.12/files/odbcinst.ini.m4: No such file or directory
 * Installing MySQL ODBC driver ...                                                                                                                  [ ok ]
 * Installing sample MySQL ODBC DSN ...                                                                                                              [ ok ]
Comment 1 Igor Korot 2008-06-14 18:13:45 UTC
It probably also true for some other packages.

IgorsGentoo igor # emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.1, glibc-2.5-r0, 2.6.20-gentoo-r8 i686)
=================================================================
System uname: 2.6.20-gentoo-r8 i686 Celeron (Coppermine)
Timestamp of tree: Sat, 24 May 2008 17:45:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LINGUAS="ru uk"
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"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X acl acpi alsa berkdb clamav cli cracklib crypt cups dri gdbm gpm hal iconv ipv6 isdnlog kde midi mudflap ncurses nls nptl nptlonly odbc opengl openmp pam pcre perl pppd python qt3 qt4 readline reflection samba session spl ssl tcpd unicode win32codecs wxwindows x86 xorg xpm 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" LINGUAS="ru uk" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-14 23:59:11 UTC

*** This bug has been marked as a duplicate of bug 159026 ***