First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 118015
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Printing Team <printing@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Alexander Skwar <askwar@digitalprojects.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
acroread-7.0.5.ebuild.patch Patch against 7.0.5.ebuild, which allows it to be installed when INSTALLDIR is a symlink patch Alexander Skwar 2006-01-09 00:36 0000 1.15 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 118015 depends on: Show dependency tree
Bug 118015 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: 2006-01-06 03:48 0000
Tried to install acroread 7.0.1.1 and it failed:

>>> /opt/Acrobat7/Reader/HowTo/DEU/images -> Images/
chmod: missing operand after 

------- Comment #1 From Alexander Skwar 2006-01-06 03:48:20 0000 -------
Tried to install acroread 7.0.1.1 and it failed:

>>> /opt/Acrobat7/Reader/HowTo/DEU/images -> Images/
chmod: missing operand after „755“
„chmod --help“ gibt weitere Informationen.

!!! ERROR: app-text/acroread-7.0.1.1 failed.


I'm using a locale of de_DE, thus AdobeReader_deu-7.0.1-1.i386.rpm is used. The
error happens with USE=-nls and thus AdobeReader_enu-7.0.1-1.i386.rpm as well.



There are also some more benign errors reg. chmod shown at the start of the
emerge:

>>> Install acroread-7.0.1.1 into /Gentoo/portage/tmp/portage/acroread-7.0.1.1/image/ category app-text
chown: -R --dereference requires either -H or -L
chown: -R --dereference requires either -H or -L
man:

QA Notice: the following files contain runtime text relocations


[12:35:12 vz6tml@dewup-ww02:/opt] $ emerge -vpt acroread ; emerge info

These are the packages that I would merge, in reverse order:

Calculating dependencies ...done!
[ebuild   R   ] app-text/acroread-7.0.1.1  USE="ldap nls nsplugin" 0 kB

Total size of downloads: 0 kB
Portage 2.1_pre3-r1 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.5-r3,
2.6.14-gentoo-r6.05 i686)
=================================================================
System uname: 2.6.14-gentoo-r6.05 i686 Intel(R) Xeon(TM) CPU 2.40GHz
Gentoo Base System version 1.12.0_pre13
distcc[18265] (dcc_set_trace_from_env) ERROR: failed to open logfile
/var/log/distcc.log: Permission denied [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2
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-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/Gentoo/portage/distfiles"
FEATURES="autoconfig buildpkg ccache collision-protect distlocks sandbox
sfperms strict"
GENTOO_MIRRORS="        http://localhost/~vz6tml/gentoo-files
http://dewup-ww02.dewup.europe.delphiauto.net/~vz6tml/gentoo-files    
http://localhost/gentoo-files/
http://dewup-ww02.dewup.europe.delphiauto.net/gentoo-files/  
http://localhost/~vz6tml/gentoo-files/
http://cifs-srvr1.europe.delphiauto.net/~vz6tml/Misc._Software/Gentoo/       
ftp://pandemonium.tiscali.de/pub/gentoo/       
http://localhost:60081/pub/Mirrors/gentoo/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/     
http://localhost:60080/pub/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/   
     http://localhost:60082/mirror/rsync.gentoo.org/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ 
ftp://pandemonium.tiscali.de/pub/gentoo/    
http://localhost:60083/pub/linux/distributions/gentoo/
http://distro.ibiblio.org/pub/linux/distributions/gentoo/    
http://localhost:60084/ http://distfiles.gentoo.org/ "
LANG="de_DE.UTF-8"
LINGUAS="de"
MAKEOPTS="-j4"
PKGDIR="/Gentoo/portage/packages"
PORTAGE_TMPDIR="/Gentoo/portage/tmp"
PORTDIR="/Gentoo/portage/tree"
PORTDIR_OVERLAY="/Gentoo/portage/local-tree/misc"
SYNC="rsync://localhost:10873/gentoo-portage"
USE="x86 7zip GAPING_SECURITY_HOLE X acl apache apache2 artworkextra async
audiofile avi bash-completion berkdb bitmap-fonts bzip2 ccache ck-server crypt
css cups curl dbus dvd encode exif expat fam fat ffmpeg firefox font-server
foomaticdb gd gdbm gif gmail gmailtimestamps gmp gnome gpm gs gtk gtk2 hal hfs
hpn i8x0 iconv id3 idn imagemagick imlib imlib2 java javascript jfs jikes jpeg
junit kde kdeenablefinal lame lcms ldap libedit libg++ libwww linuxthreads-tls
lm_sensors lynxkeymap lzo lzw lzw-tiff mad mailbox maildir matroska mhash mmx
mng motif mozilla mozsvg mp3 mpeg mpm-worker msdav mysql mysqli ncurses network
nfs nis nls no-old-linux no-suexec nodrm nomusic nptl ntlm offensive ogg
oggvorbis pam pcre pdflib perl php png posix postfix python qt quicktime rar
rdesktop readline real recode reiserfs ruby samba sapdb screen sdl sendfile
sftp slang smp sockets spell sse sse2 ssl stream subtitles symlink sysvipc tcpd
tiff transcode truetype truetype-fonts udev unicode usb userlocales utf8 vim
vim-pager vim-with-x vorbis webdav win32codecs xattr xfs xine xinetd xml2 xmms
xv xvid yp zlib elibc_glibc kernel_linux linguas_de userland_GNU"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS

------- Comment #2 From Luis Medinas (RETIRED) 2006-01-07 11:36:46 0000 -------
please try the 7.0.5 that i commited in CVS.

------- Comment #3 From Alexander Skwar 2006-01-07 16:41:00 0000 -------
Confirmed. 7.0.5 works.

------- Comment #4 From Alexander Skwar 2006-01-08 23:39:47 0000 -------
Reopening.

The following warning still shows:

>>> Install acroread-7.0.5 into /Gentoo/portage/tmp/portage/acroread-7.0.5/image/ category app-text
chown: -R --dereference requires either -H or -L
chown: -R --dereference requires either -H or -L

Further, there's now the following new warning:

dodoc: Browser/Browser_Plugin_HowTo.txt does not exist
man:

------- Comment #5 From Alexander Skwar 2006-01-09 00:36:15 0000 -------
Created an attachment (id=76597) [edit]
Patch against 7.0.5.ebuild, which allows it to be installed when INSTALLDIR is
a symlink

Reopening for sure.

On a different machine, installation still is not possible:

>>> /usr/lib/nsbrowser/plugins/nppdf.so -> /opt/netscape/plugins/nppdf.so
chmod: missing operand after 755
chmod --help gibt weitere Informationen.

!!! ERROR: app-text/acroread-7.0.5 failed.

I suppose the error is because of the following lines in the ebuild:

pkg_postinst () {
    # fix wrong directory permissions (bug #25931)
    find ${INSTALLDIR} -type d | xargs chmod 755 || die

Seems that the find doesn't return anything.

Reason for this error:

[08:44:09 vz6tml@dewup-ww02:~] $ ls -la /opt/Acrobat7
lrwxrwxrwx  1 root root 16  6. Jan 12:25 /opt/Acrobat7 -> /0d/opt/Acrobat7


To fix the issue, the following should be run:

    find ${INSTALLDIR}/. -type d | xargs chmod 755 || die

Or maybe:

    find ${INSTALLDIR} -type d -follow | xargs chmod 755 || die

Attaching a patch which fixes it in the first way (/.). It also fixes the other
small error with chown.

There's still some other minor issue, though - the Browser_Plugin_HowTo.txt
doesn't get installed anymore. Reason: it's now in a subdirectory which is
named according to the nls version the user has set. Ie.: If the user is using
AdobeReader_deu-7.0.5-1.i386.rpm, it will be in a DEU directory; if the user is
using AdobeReader_fra-7.0.5-1.i386.rpm, it will be in a FRA directory etc.pp.. 

------- Comment #6 From Alexander Skwar 2006-01-12 10:19:36 0000 -------
Why is that not bug not fixed in -r1 (according to the changelog, at least)?

------- Comment #7 From Stefan Schweizer 2006-01-17 11:45:40 0000 -------
sorry, I guess we have just forgotten this. I have now changed the ebuild.
Thank you

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