Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 188587
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Default Assignee for Orphaned Packages <maintainer-needed@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: lordcris <lordcris@yahoo.it>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
libidn-1.0.ebuild Fixed ebuild text/plain Aard Keimpema 2007-08-13 09:23 0000 1.48 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 188587 depends on: Show dependency tree
Bug 188587 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-08-12 14:02 0000
test -z "/usr/lib/pkgconfig" || /bin/mkdir -p
"/var/tmp/portage/net-dns/libidn-1.0/image//usr/lib/pkgconfig"
 /usr/bin/install -c -m 644 'libidn.pc'
'/var/tmp/portage/net-dns/libidn-1.0/image//usr/lib/pkgconfig/libidn.pc'
make[2]: Leaving directory
`/var/tmp/portage/net-dns/libidn-1.0/work/libidn-1.0'
make[1]: Leaving directory
`/var/tmp/portage/net-dns/libidn-1.0/work/libidn-1.0'
rm: cannot remove `/var/tmp/portage/net-dns/libidn-1.0/image//usr/share/emacs':
No such file or directory
 *
 * ERROR: net-dns/libidn-1.0 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_install
 *   ebuild.sh, line 1089:   Called qa_call 'src_install'
 *   ebuild.sh, line 44:   Called src_install
 *   libidn-1.0.ebuild, line 42:   Called die
 *
 * (no error message)
 * 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-dns/libidn-1.0/temp/build.log'.
 *
!!! When you file a bug report, please include the following information:
GENTOO_VM=ibm-jdk-bin-1.5  CLASSPATH="." JAVA_HOME="/opt/ibm-jdk-bin-1.5.0.5"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info


Reproducible: Always




# emerge --info
Portage 2.1.3.4 (default-linux/ppc/2005.1/ppc/G4, gcc-4.2.0, glibc-2.6-r0,
2.6.22-gentoo-r2 ppc)
=================================================================
System uname: 2.6.22-gentoo-r2 ppc 7447A, altivec supported
Gentoo Base System release 1.12.10
Timestamp of tree: Sun, 12 Aug 2007 11:00:10 +0000
distcc 2.18.3 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec"
CHOST="powerpc-unknown-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/env.d/java/ /etc/gconf /etc/revdep-rebuild
/etc/terminfo"
CXXFLAGS="-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox
sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.club-internet.fr/pub/mirrors/gentoo
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
ftp://ftp.free.fr/mirrors/ftp.gentoo.org/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
http://213.186.33.37/gentoo-distfiles/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j2"
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
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/layman/r300-driver /usr/local/layman/xeffects
/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aiglx alsa altivec asf audiofile bash-completion berkdb beryl
bitmap-fonts bluetooth browserplugin bzip2 cairo cdda cddb cdparanoia cdr cli
cpudetection cracklib crypt css cups dbus dga dhcp divx divx4linux dri dts dvb
dvd dvdr dvdread eds emboss encode faac fbcon fbdev ffmpeg firefox flac fortran
gdbm gif glitz gphoto2 gpm gstreamer gtk gtk2 iconv icq imlib ipv6 isdnlog
ithreads java javacomm jpeg kde kdexdeltas kickoff libwww live mad matroska
midi motif mozbranding mozdevelop mp3 mpeg mudflap musepack musicbrainz nas
ncurses network nls nptl nptlonly nsplugin nsplugins nxclient offensive ogg
oggvorbis opengl openmp openntpd oss pam parse-clocks pci pcre perl png ppc
pppd python qt3 qt3support qt4 quicktime readline reflection rtc samba session
sheep softmmu spell spl ssl stream symlink tcpd truetype truetype-fonts
type1-fonts udev unicode usb userlocales v4l v4l2 vcd vorbis wma wxwindows x264
xanim xml2 xorg xv xvid zlib" ALSA_CARDS="powermac" 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"
ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" USERLAND="GNU" VIDEO_CARDS="radeon ati"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Aard Keimpema 2007-08-13 09:23:36 0000 -------
Created an attachment (id=127932) [details]
Fixed ebuild

I experienced the same bug on x86. It happens under the following conditions :  
1. xemacs is installed
2. regular emacs is not installed
3. The emacs use flag is not set

The build process then fails because the ebuild tries to delete a directory
"/var/tmp/portage/net-dns/libidn-1.0/image/usr/share/emacs" which doesn't
exists.

It doesn't exists because when xemacs is installed instead of emacs a directory
"usr/lib/xemacs" is created instead of "usr/share/emacs". Curiously enough when
neither xemacs or emacs is installed "usr/share/emacs" is still created.

Attached is an updated ebuild. I have added checks so that it only tries to
delete "usr/share/emacs" or "usr/lib/xemacs" when they actually exists.

------- Comment #2 From Jakub Moc (RETIRED) 2007-08-13 09:36:09 0000 -------
@betelgeuse - you added the || die stuff there.

------- Comment #3 From Petteri Räty 2007-08-13 13:42:48 0000 -------
(In reply to comment #1)
> Created an attachment (id=127932) [edit] [details]
> Fixed ebuild
> 

QA checks for package directory /usr/portage/net-dns/libidn:
/usr/portage/net-dns/libidn/libidn-1.0.ebuild: whitespace:
  minor:        Spaces for indenting on line 46
  minor:        Spaces for indenting on line 47

------- Comment #4 From Petteri Räty 2007-08-13 13:44:31 0000 -------
White space issues fixed and patch committed.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug