Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148466 - webapp-config slowely mutilates phpmyadmin install
Summary: webapp-config slowely mutilates phpmyadmin install
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 148467 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-09-21 01:10 UTC by David ac
Modified: 2006-09-21 01:52 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 David ac 2006-09-21 01:10:59 UTC
Hi,

I have just tried installing phpmyadmin-2.8.2 on my machine.

Once the ebuild is installed, it automatically tries to run webapp-config to finish up. It produces the following error:

18:04 /etc/vhosts  #  /usr/sbin/webapp-config -I -h localhost -u root -d /phpmyadmin phpmyadmin 2.8.2
*   Creating required directories
*   Linking in required files
*     This can take several minutes for larger apps
Traceback (most recent call last):
  File "/usr/sbin/webapp-config", line 44, in ?
    main()
  File "/usr/sbin/webapp-config", line 41, in main
    config.run()
  File "/usr/lib/python2.4/site-packages/WebappConfig/config.py", line 1075, in run
    self.config.get('USER', 'pvr')).install()
  File "/usr/lib/python2.4/site-packages/WebappConfig/server.py", line 234, in install
    self.__add.mkdirs()
  File "/usr/lib/python2.4/site-packages/WebappConfig/worker.py", line 328, in mkdirs
    self.mkdirs(directory + '/' + i)
  File "/usr/lib/python2.4/site-packages/WebappConfig/worker.py", line 335, in mkdirs
    self.mkfile(directory + '/' + i)
  File "/usr/lib/python2.4/site-packages/WebappConfig/worker.py", line 539, in mkfile
    shutil.copy(src_name, dst_name)
  File "/usr/lib/python2.4/shutil.py", line 81, in copy
    copyfile(src, dst)
  File "/usr/lib/python2.4/shutil.py", line 47, in copyfile
    fsrc = open(src, 'rb')
IOError: [Errno 2] No such file or directory: '/usr/share/webapps/phpmyadmin/2.8.2/htdocs/js/keyhandler.js'

Now, this last line changes each time I re-run the command. Each time, the file listed as causing the error was present before running the command, but has disappeared subsequent to the execution of the command. My assumption is that webapp-config has a bug in it somewhere which is eating up the files.

Any ideas would be helpful!

Cheers,

David

18:10 /etc/vhosts  #  emerge --info
Portage 2.1.1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r3, 2.6.15.1DavidAcscustomsettings i686)
=================================================================
System uname: 2.6.15.1DavidAcscustomsettings i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz
Gentoo Base System version 1.12.4
Last Sync: Wed, 13 Sep 2006 23:30:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.2.3-r6, 2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
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-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.aarnet.edu.au/pub/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US"
LC_ALL="en_US"
LINGUAS="en_US"
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.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 arts berkdb bitmap-fonts cdr cli crypt cups daap dba dlloader dri dts dvd eds elibc_glibc emboss encode esd ethereal foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg kde kernel_linux ldap libg++ libwww linguas_en_US mad mailwrapper mikmod motif mozilla mp3 mpeg mpm-worker mysql ncurses nls nptl nptlonly ogg opengl oss pam pcmcia pcre perl plotutils png pnp pppd python qt qt3 qt4 quicktime readline real reflection samba sasl session spell spl sse sse2 ssl tcpd tetex threads truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_fglrx video_cards_radeon video_cards_vesa vorbis wifi xml xmms xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

18:10 /etc/vhosts  #
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-21 01:23:51 UTC
*** Bug 148467 has been marked as a duplicate of this bug. ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-09-21 01:38:21 UTC
Which app-admin/webapp-config version?
Comment 3 David ac 2006-09-21 01:52:56 UTC
18:52 /etc/vhosts  #  epm -qa | grep webapp-config
webapp-config-1.50.15
18:52 /etc/vhosts  #