Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 277193 - x11-libs/pango-1.24.4: src_install(): rm /var/tmp/portage/x11-libs/pango-1.24.4/image//etc/pango/pango.modules: no such file or directory
Summary: x11-libs/pango-1.24.4: src_install(): rm /var/tmp/portage/x11-libs/pango-1.24...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 277203 277234 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-07-09 12:57 UTC by Alexey Skobkin
Modified: 2009-07-10 08:04 UTC (History)
12 users (show)

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


Attachments
build.log (build.log,217.46 KB, text/plain)
2009-07-09 12:58 UTC, Alexey Skobkin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Skobkin 2009-07-09 12:57:21 UTC
***
-- Installing ./html/home.png
-- Installing ./html/index-1.10.html
-- Installing ./html/index-1.12.html
-- Installing ./html/index-1.14.html
-- Installing ./html/index-1.16.html
-- Installing ./html/index-1.18.html
-- Installing ./html/index-1.20.html
-- Installing ./html/index-1.22.html
-- Installing ./html/index-1.2.html
-- Installing ./html/index-1.4.html
-- Installing ./html/index-1.6.html
-- Installing ./html/index-1.8.html
-- Installing ./html/index-all.html
-- Installing ./html/index-deprecated.html
-- Installing ./html/index.html
-- Installing ./html/index.sgml
-- Installing ./html/layout.gif
 /usr/bin/install -c -m 644 pango-querymodules.1 '/var/tmp/portage/x11-libs/pango-1.24.4/image//usr/share/man/man1'
-- Installing ./html/left.png
-- Installing ./html/lowlevel.html
-- Installing ./html/pango-ATSUI-Fonts.html
-- Installing ./html/pango-Bidirectional-Text.html
-- Installing ./html/pango-Cairo-Rendering.html
-- Installing ./html/pango-Coverage-Maps.html
-- Installing ./html/pango.devhelp
-- Installing ./html/pango.devhelp2
-- Installing ./html/PangoEngineLang.html
-- Installing ./html/PangoEngineShape.html
-- Installing ./html/pango-Engines.html
-- Installing ./html/PangoFcDecoder.html
-- Installing ./html/PangoFcFont.html
-- Installing ./html/PangoFcFontMap.html
-- Installing ./html/pango-Fonts.html
-- Installing ./html/pango-FreeType-Fonts-and-Rendering.html
-- Installing ./html/pango-Glyph-Storage.html
-- Installing ./html/pango-hierarchy.html
-- Installing ./html/pango.html
-- Installing ./html/pango-Layout-Objects.html
-- Installing ./html/PangoMarkupFormat.html
-- Installing ./html/pango-Miscellaneous-Utilities.html
-- Installing ./html/pango-Modules.html
-- Installing ./html/pango-OpenType-Font-Handling.html
-- Installing ./html/pango-querymodules.html
-- Installing ./html/PangoRenderer.html
-- Installing ./html/pango-Scripts-and-Languages.html
-- Installing ./html/pango-Tab-Stops.html
-- Installing ./html/pango-Text-Attributes.html
-- Installing ./html/pango-Text-Processing.html
-- Installing ./html/pango-Version-Checking.html
-- Installing ./html/pango-Vertical-Text.html
-- Installing ./html/pango-Win32-Fonts-and-Rendering.html
-- Installing ./html/pango-X-Fonts-and-Rendering.html
-- Installing ./html/pango-Xft-Fonts-and-Rendering.html
-- Installing ./html/rendering.html
-- Installing ./html/right.png
-- Installing ./html/rotated-text.png
-- Installing ./html/style.css
-- Installing ./html/tools.html
-- Installing ./html/up.png
make[3]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.24.4/work/pango-1.24.4/docs'
make[2]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.24.4/work/pango-1.24.4/docs'
make[1]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.24.4/work/pango-1.24.4/docs'
Making install in tools
make[1]: Entering directory `/var/tmp/portage/x11-libs/pango-1.24.4/work/pango-1.24.4/tools'
make[2]: Entering directory `/var/tmp/portage/x11-libs/pango-1.24.4/work/pango-1.24.4/tools'
make[2]: Цель `install-exec-am' не требует выполнения команд.
make[2]: Цель `install-data-am' не требует выполнения команд.
make[2]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.24.4/work/pango-1.24.4/tools'
make[1]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.24.4/work/pango-1.24.4/tools'
Making install in tests
make[1]: Entering directory `/var/tmp/portage/x11-libs/pango-1.24.4/work/pango-1.24.4/tests'
make[2]: Entering directory `/var/tmp/portage/x11-libs/pango-1.24.4/work/pango-1.24.4/tests'
make[2]: Цель `install-exec-am' не требует выполнения команд.
make[2]: Цель `install-data-am' не требует выполнения команд.
make[2]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.24.4/work/pango-1.24.4/tests'
make[1]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.24.4/work/pango-1.24.4/tests'
make[1]: Entering directory `/var/tmp/portage/x11-libs/pango-1.24.4/work/pango-1.24.4'
make[2]: Entering directory `/var/tmp/portage/x11-libs/pango-1.24.4/work/pango-1.24.4'
make[2]: Цель `install-exec-am' не требует выполнения команд.
test -z "/usr/lib/pkgconfig" || /bin/mkdir -p "/var/tmp/portage/x11-libs/pango-1.24.4/image//usr/lib/pkgconfig"
 /usr/bin/install -c -m 644 pango.pc pangocairo.pc pangox.pc pangoxft.pc pangoft2.pc '/var/tmp/portage/x11-libs/pango-1.24.4/image//usr/lib/pkgconfig'
make[2]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.24.4/work/pango-1.24.4'
make[1]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.24.4/work/pango-1.24.4'
rm: невозможно удалить `/var/tmp/portage/x11-libs/pango-1.24.4/image//etc/pango/pango.modules': Нет такого файла или каталога
 *
 * ERROR: x11-libs/pango-1.24.4 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 2756:  Called die
 * The specific snippet of code:
 *       rm "${D}/etc/pango/pango.modules" || die "rm pango.modules failed"
 *  The die message:
 *   rm pango.modules failed
 *
 * 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/x11-libs/pango-1.24.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/pango-1.24.4/temp/environment'.
 *

>>> Failed to emerge x11-libs/pango-1.24.4, Log file:

>>>  '/var/tmp/portage/x11-libs/pango-1.24.4/temp/build.log'

 * Messages for package x11-libs/pango-1.24.4:

 *
 * ERROR: x11-libs/pango-1.24.4 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 2756:  Called die
 * The specific snippet of code:
 *       rm "${D}/etc/pango/pango.modules" || die "rm pango.modules failed"
 *  The die message:
 *   rm pango.modules failed
 *
 * 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/x11-libs/pango-1.24.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/pango-1.24.4/temp/environment'.

Reproducible: Always

Steps to Reproduce:
1. emerge --sync && emerge --regen
2. emerge -uDNva @world
3. error
Comment 1 Alexey Skobkin 2009-07-09 12:58:02 UTC
Created attachment 197341 [details]
build.log

This is log of build with error
Comment 2 Alexey Skobkin 2009-07-09 12:58:42 UTC
pc xak # emerge --info
Portage 2.2_rc33 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.28-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.28-gentoo-r5-i686-Intel-R-_Core-TM-2_CPU_6300_@_1.86GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 09 Jul 2009 11:45:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p24
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -msse -msse2 -mmmx -m3dnow -msse3 -mfpmath=sse -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/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=core2 -msse -msse2 -mmmx -m3dnow -msse3 -mfpmath=sse -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.linux.ee/pub/gentoo/distfiles/ http://mirror.yandex.ru/gentoo-distfiles/ ftp://mirror.yandex.ru/gentoo-distfiles/ "
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="en ru"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/games /usr/local/portage/layman/java-overlay /usr/local/portage/layman/sunrise /usr/local/portage/layman/pda"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl alsa aspell bzip2 cdr cli cracklib crypt cups dbus dri dvd esd fortran gdbm gpm hal iconv isdnlog java jpeg jpeg2k jre kde lm_sensors midi mmx mp3 mudflap ncurses nls nptl nptlonly opengl openmp pam pcre perl php png pppd python qt qt3 qt4 readline reflection samba session spell spl sse sse2 sse3 ssl ssse3 sysfs tcpd unicode x86 xine xorg zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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="en ru" SANE_BACKENDS="nothing coolscan3 hp hp3500 hp3900 snapscan" USERLAND="GNU" VIDEO_CARDS="fglrx radeon radeonhd vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Alex Pogodin 2009-07-09 13:19:59 UTC
Same here. The problem is that ebuild tries to remove .modules in /etc/pango,
but creates the file in /etc/pango/${CHOST}
Comment 4 Timothy Miller 2009-07-09 15:29:55 UTC
Oops.  I duped this at bug 277203.  Sorry about that.  I don't know why I couldn't find this report in a search.
Comment 5 Timothy Miller 2009-07-09 15:31:20 UTC
*** Bug 277203 has been marked as a duplicate of this bug. ***
Comment 6 Kim 2009-07-09 16:05:21 UTC
(In reply to comment #3)
> Same here. The problem is that ebuild tries to remove .modules in /etc/pango,
> but creates the file in /etc/pango/${CHOST}
> 

Shouldn't there be a pango.modules left somewhere if it's that simple?

localhost ~ # ls -lAR /var/tmp/portage/x11-libs/pango-1.24.4/image/ | grep -i module
-rwxr-xr-x 1 root root 18017 2009-07-09 17:32 pango-querymodules
-rw-r--r-- 1 root root  1934 2009-07-09 17:32 pango-modules.h
drwxr-xr-x 2 root root 4096 2009-07-09 17:32 modules
/var/tmp/portage/x11-libs/pango-1.24.4/image/usr/lib64/pango/1.6.0/modules:
-rw-r--r-- 1 root root  15446 2009-07-09 17:32 pango-Modules.html
-rw-r--r-- 1 root root   4431 2009-07-09 17:32 pango-querymodules.html
-rw-r--r-- 1 root root 1580 2009-07-09 17:32 pango-querymodules.1
Comment 7 Kim 2009-07-09 16:16:20 UTC
Sorry about bugspam.

There's this too if you check the build.log (I get the same message):

***
*** Warning: /etc/pango/pango.modules
*** not created
*** Generate this file on the target system
*** using pango-querymodules
***
Comment 8 Jean-Pierre de la Croix (jdelacroix) 2009-07-09 16:28:58 UTC
The problem also exists on ~amd64. See emerge --info below.

Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-gentoo-r1 x86_64)     
=================================================================                                      
System uname: Linux-2.6.30-gentoo-r1-x86_64-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-gentoo-2.0.1   
Timestamp of tree: Thu, 09 Jul 2009 15:30:01 +0000                                                     
app-shells/bash:     4.0_p24                                                                           
dev-java/java-config: 2.1.8-r1                                                                         
dev-lang/python:     2.6.2-r1                                                                          
dev-util/cmake:      2.6.4                                                                             
sys-apps/baselayout: 2.0.1                                                                             
sys-apps/openrc:     0.4.3-r3                                                                          
sys-apps/sandbox:    2.0                                                                               
sys-devel/autoconf:  2.13, 2.63-r1                                                                     
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11                                        
sys-devel/binutils:  2.19.1-r1                                                                         
sys-devel/gcc-config: 1.4.1                                                                            
sys-devel/libtool:   2.2.6a                                                                            
virtual/os-headers:  2.6.30                                                                            
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                         
CBUILD="x86_64-pc-linux-gnu"                                                                           
CFLAGS="-march=native -O2 -pipe"                                                                       
CHOST="x86_64-pc-linux-gnu"                                                                            
CONFIG_PROTECT="/etc /usr/share/config"                                                                
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"                                                                            
CXXFLAGS="-march=native -O2 -pipe"                                                                                      
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/kde-testing"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 berkdb bzip2 cairo cli cracklib crypt cups dbus dga dri flac fortran gdbm git gpm gstreamer gtk hal iconv inotify ipv6 isdnlog java jpeg kde laptop midi mmx mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre perl png pppd python qt3support qt4 readline reflection semantic-desktop session spl sse sse2 ssl subversion svg sysfs tcpd truetype unicode usb vorbis xcomposite xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 mmap_emul 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="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 9 Ferris McCormick (RETIRED) gentoo-dev 2009-07-09 16:39:06 UTC
Also on sparc.
Comment 10 Romain Perier (RETIRED) gentoo-dev 2009-07-09 17:36:12 UTC
Mhhh, I'm so sorry, stupid error.

This file is no longer generated (see your build.log about that, there is a Warning)

Fixed into the tree without a revision bump (please wait and don't resync
immediatly)

Thanks for reporting ;)
Comment 11 Mart Raudsepp gentoo-dev 2009-07-09 17:45:49 UTC
To be more clear for those interested - it hasn't been generated under package managers for a while now, we were unsure about removing it and the warning it spit out was trivial and not important. Now "|| die" was added as is generally good for such commands in common situations and revealed how it really really isn't necessary to call the file removal anymore :)

Thanks Romain for quick fix-up and the bump :)
Comment 12 Rainer 'Siju' Sigl 2009-07-09 18:15:02 UTC
stable on x86_64

thanks to Romain to bump and Mart for explanation :-)
Comment 13 Romain Perier (RETIRED) gentoo-dev 2009-07-09 18:35:16 UTC
(In reply to comment #12)
> stable on x86_64
> 
> thanks to Romain to bump and Mart for explanation :-)
> 

hehe, you're welcome ;)
Comment 14 Harald van Dijk (RETIRED) gentoo-dev 2009-07-09 19:31:23 UTC
*** Bug 277234 has been marked as a duplicate of this bug. ***