Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 415013 - app-emulation/crossover-office-pro-bin - unpack install-crossover-pro-9.2.0.sh: file format not recognized. Ignoring.
Summary: app-emulation/crossover-office-pro-bin - unpack install-crossover-pro-9.2.0.s...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-07 13:05 UTC by Alan Smithee
Modified: 2012-05-11 07:46 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 Alan Smithee 2012-05-07 13:05:34 UTC
emerge --info:
Portage 2.1.10.49 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.14.1-r3, 3.2.12-gentoo x86_64)
=================================================================
System uname: Linux-3.2.12-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9450_@_2.66GHz-with-gentoo-2.0.3
Timestamp of tree: Sat, 05 May 2012 15:30:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.6-r1, 4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo science gamerlay-stable zugaina sunrise jxh sabayon local
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
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"
CXXFLAGS="-march=core2 -mtune=generic -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/science /usr/portage/local/layman/gamerlay /usr/portage/local/layman/zugaina /usr/portage/local/layman/sunrise /usr/portage/local/layman/jxh /usr/portage/local/layman/sabayon /usr/portage/local/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="32bit R X a52 aac ace acl acpi aida alsa amd64 amr aspell bash-completion bazaar berkdb bluetooth bluray boost branding bzip2 cairo cdda cddb cdemud cdr cg cli cmake consolekit coprocessing cracklib crypt cuda cups cxx dawn dbus declarative dia dirac djvu dri dts dv dvd dvdr dvipdfm eigen emboss encode exif fam fat ffmpeg fftw firefox flac flash fortran ftp gdbm gdml gdu geant4 gif git gpm gtk hdf hdf5 hdri iconv idb imagemagick ipod ipp ipv6 jabber java jpeg jpeg2k kde kipi kismet kpathsea lame lastfm latex lcms ldap libnotify lm_sensors lzma lzo mad matroska mercurial mjpeg mmx mmxext mng modules mp3 mp4 mpeg mpi mplayer msn mudflap multilib multiuser musicbrainz ncurses nls nptl nptlonly nsplugin ntfs ntfsprogs nvcontrol ogg ois opencascade opencl openexr opengl openinventor openmp oscar otr pam pango pcre pdf perl phonon plasma png policykit ppds pppd prediction private-headers ps pythia8 python qt3support qt4 qwt rar raw raytracerx rdesktop rdesktop-vrdp readline reflex regex reiser4 reiserfs romio root ruby samba schroedinger sdl semantic-desktop session skype smp spell sse sse2 sse3 sse4 sse4_1 ssl ssse3 startup-notification stream subversion svg sysfs tbb tcpd theora threads tiff truetype udev udisks unicode unzip usb valgrind vcd vdpau vim-syntax vlc vorbis vpx vrml wmf wxwidgets x264 xcb xcomposite xetex xine xinerama xml xorg xscreensaver xulrunner xv xvid xvmc youtube 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

try to emerge crossover office:
>>> Emerging (1 of 1) app-emulation/crossover-office-pro-bin-9.2.0
 * install-crossover-pro-9.2.0.sh RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                           [ ok ]
>>> Unpacking source...
>>> Unpacking install-crossover-pro-9.2.0.sh to /var/tmp/portage/app-emulation/crossover-office-pro-bin-9.2.0/work
unpack install-crossover-pro-9.2.0.sh: file format not recognized. Ignoring.
>>> Source unpacked in /var/tmp/portage/app-emulation/crossover-office-pro-bin-9.2.0/work
>>> Preparing source in /var/tmp/portage/app-emulation/crossover-office-pro-bin-9.2.0/work ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-emulation/crossover-office-pro-bin-9.2.0/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-emulation/crossover-office-pro-bin-9.2.0/work ...
>>> Source compiled.
>>> Test phase [not enabled]: app-emulation/crossover-office-pro-bin-9.2.0

>>> Install crossover-office-pro-bin-9.2.0 into /var/tmp/portage/app-emulation/crossover-office-pro-bin-9.2.0/image/ category app-emulation
cp: cannot stat `*': No such file or directory
 * ERROR: app-emulation/crossover-office-pro-bin-9.2.0 failed (install phase):
 *   cp failed
 * 
 * Call stack:
 *     ebuild.sh, line  85:  Called src_install
 *   environment, line 284:  Called die
 * The specific snippet of code:
 *       cp -r * "${D}"/opt/cxoffice || die "cp failed";
 * 
 * If you need support, post the output of 'emerge --info =app-emulation/crossover-office-pro-bin-9.2.0',
 * the complete build log and the output of 'emerge -pqv =app-emulation/crossover-office-pro-bin-9.2.0'.
 * The complete build log is located at '/var/tmp/portage/app-emulation/crossover-office-pro-bin-9.2.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/crossover-office-pro-bin-9.2.0/temp/environment'.
 * S: '/var/tmp/portage/app-emulation/crossover-office-pro-bin-9.2.0/work'

the unpacker does not work that way for some reason. there must be some relation to the patch i found here:
http://web.archiveorange.com/archive/v/a7O9XJDKOKj3AI0BnIoG

after readding the following lines to the ebuild it works:
src_unpack() {
        unpack_makeself
}

I don't know if my portage version is responsible for that, but i am using current stable portage (version 2.1.10.49) and tried to install a stable marked package.
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-05-10 02:14:20 UTC
The problem is that unpacker.eclass does not automatically recognize .sh files as makeself archives. Perhaps it should do so (some testing will be needed to make sure it doesn't try to unpack non-makeself shell scripts); until then, we have to call unpack_makeself explicitly.

Thanks for reporting; fixed in cvs both for crossover-office-bin and crossover-office-pro-bin.

>  10 May 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
>  crossover-office-pro-bin-4.2.ebuild, crossover-office-pro-bin-5.0.0.ebuild,
>  crossover-office-pro-bin-5.0.1.ebuild, crossover-office-pro-bin-5.0.3.ebuild,
>  crossover-office-pro-bin-6.0.0.ebuild, crossover-office-pro-bin-6.1.0.ebuild,
>  crossover-office-pro-bin-6.2.0.ebuild, crossover-office-pro-bin-7.0.2.ebuild,
>  crossover-office-pro-bin-7.1.0.ebuild, crossover-office-pro-bin-8.0.0.ebuild,
>  crossover-office-pro-bin-9.0.0.ebuild, crossover-office-pro-bin-9.0.1.ebuild,
>  crossover-office-pro-bin-9.1.0.ebuild, crossover-office-pro-bin-9.2.0.ebuild:
>  Restore src_unpack(); unpacker.eclass does not automatically detect .sh
>  extension as a makeself archive (bug #415013, thanks to Alan Smithee).

>  10 May 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
>  crossover-office-bin-6.0.0.ebuild, crossover-office-bin-6.0.1.ebuild,
>  crossover-office-bin-6.1.0.ebuild, crossover-office-bin-6.2.0.ebuild:
>  Restore src_unpack(); unpacker.eclass does not automatically detect .sh
>  extension as a makeself archive (bug #415013, thanks to Alan Smithee).
Comment 2 SpanKY gentoo-dev 2012-05-11 07:46:46 UTC
alternatively, add *.sh support to unpacker.eclass

http://sources.gentoo.org/eclass/unpacker.eclass?r1=1.8&r2=1.9