First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 70328
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: CJK Team <cjk@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Per Cederqvist <ceder@lysator.liu.se>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
slang-1.4.9-r1.ebuild My proposed change patch Michal Kurgan (RETIRED) 2004-11-07 14:47 0000 1.77 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 70328 depends on: Show dependency tree
Bug 70328 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: 2004-11-07 00:33 0000
When I try to merge slang, i get an error message.  The actual compilation
of the library succeeds, but the ebuild seems to be broken.  I get this error
message:

chmod: cannot access `/var/tmp/portage/slang-1.4.9-r1/image//usr/lib/libslang.so.*': No such file or directory

At this point, the following files exists in /var/tmp/portage/slang-1.4.9-r1/image/usr/lib:

libslang-utf8.a
libslang-utf8.so -> libslang-utf8.so.1.4.9
libslang-utf8.so.1 -> libslang-utf8.so.1.4.9
libslang-utf8.so.1.4.9

/usr/portage/sys-libs/slang/ChangeLog contains this new entry:

  06 Nov 2004; Mamoru KOMACHI <usata@gentoo.org>
  files/slang-1.4.9-fsuid.patch, files/slang-1.4.9.patch,
  slang-1.4.9-r1.ebuild:
  Added a patch to remove glibc specific calls. Thanks to Peter S. Mazinger
  <ps.m@gmx.net>; bug #67666. Fixed compilation on ppc-macos and LICENSE
  syntax.

I guess this patch broke slang.  (By the way, why was this added to slang-1.4.9-r1 instead of creating slang-1.4.9-r2?  Now there is *no* version of slang that compiles in the unicode environment, since slang-1.4.9-r1 seems to be the only version of slang in the portage tree.)

If I run

   USE="-unicode" emerge slang

everything works fine, but I want unicode support...

Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. add "unicode" to the USE flags
3. emerge slang

Actual Results:  
slang compiled just fine, but then I got these messages from emerge:

/bin/install -c -m 644
/var/tmp/portage/slang-1.4.9-r1/work/slang-1.4.9/src/elfx86objs/libslang-utf8.so.1.4.9
/var/tmp/portage/slang-1.4.9-r1/image//usr/lib
creating symbolic links to libslang-utf8.so.1.4.9
cd /var/tmp/portage/slang-1.4.9-r1/image//usr/lib; /bin/ln -sf
libslang-utf8.so.1.4.9 libslang-utf8.so.1
cd /var/tmp/portage/slang-1.4.9-r1/image//usr/lib; /bin/ln -sf
libslang-utf8.so.1.4.9 libslang-utf8.so

libslang-utf8.so.1.4.9 created in /var/tmp/portage/slang-1.4.9-r1/image//usr/lib.
The links libslang-utf8.so and libslang-utf8.so.1 to libslang-utf8.so.1.4.9 were
also created.

make[1]: Leaving directory `/var/tmp/portage/slang-1.4.9-r1/work/slang-1.4.9/src'

On some systems, e.g., linux, you may also have to run ldconfig.

chmod: cannot access
`/var/tmp/portage/slang-1.4.9-r1/image//usr/lib/libslang.so.*': No such file or
directory

!!! ERROR: sys-libs/slang-1.4.9-r1 failed.
!!! Function src_install, Line 50, Exitcode 1
!!! chmod failed
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
I would have expected slang to be installed without any error messages.

Gentoo Base System version 1.4.16
Portage 2.0.51-r2 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.4.27 i686)
=================================================================
System uname: 2.4.27 i686 Intel(R) Pentium(R) M processor 1400MHz
ccache version 2.3 [disabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="no"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /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/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs distlocks nostrip sandbox sfperms"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/
http://www.gigaload.org/gentoo.org/ http://gentoo.zie.pg.gda.pl
http://ftp.rhnet.is/pub/gentoo/ http://mirror.gentoo.no/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d acpi adns alsa apache2 arts avi berkdb bitmap-fonts bonobo cdr
crypt cups directfb doc dvd emacs emacs-w3 encode esd ethereal f77 fam fastcgi
flac foomaticdb frxp gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 imagemagick
imap imlib irmc jack java jpeg junit kde ldap leim libg++ libwww lzw-tiff mad
maildir mcal mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss
pcmcia pdflib perl png postgres python qt quicktime readline samba sasl scanner
sdl slang snmp spell ssl svga tcltk tcpd tetex tiff truetype unicode usb x86 xml
xml2 xmms xv zlib"

------- Comment #1 From Aaron Walker (RETIRED) 2004-11-07 00:43:32 0000 -------
*** Bug 70327 has been marked as a duplicate of this bug. ***

------- Comment #2 From Per Cederqvist 2004-11-07 01:11:09 0000 -------
Please note: bug 70327 contains a suggested fix for this problem.  (I have not
tested it.)

------- Comment #3 From Mamoru KOMACHI (RETIRED) 2004-11-07 02:36:58 0000 -------
The patch broke nothing, but added "|| die" to chmod
causes the src_install() fail. Sorry for the inconvinience.
It was broken wrt chmod if you turned on unicode,
so it was necessary to fix it. (nobody noticed that before
so we couldn't have fixed it)

As for revision bump, we don't bump ebuild's revision
only to fix compile time problem (ulibc compile fix and
ppc-macos compile fix). See Gentoo Developers
Handbook for detail.

------- Comment #4 From Michal Kurgan (RETIRED) 2004-11-07 14:47:14 0000 -------
Created an attachment (id=43496) [edit]
My proposed change

I've changed slang ebuild so it build successfully in both Unicode and
non-Unicode version. ( Tested by me in both situations. )
Changed only if statement positions.
May i know when correct ebuild file will be updated in portage ?

------- Comment #5 From Mamoru KOMACHI (RETIRED) 2004-11-07 23:18:05 0000 -------
Corrected ebuilds usually hit rsync server 
several hours after correction date (CVS
commit). It's in rsync server right now.

First Last Prev Next    No search results available      Search page      Enter new bug