Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 255166 - sci-physics/bullet-2.73-r1 - bullet-2.73/install-sh: line 3: ^M: command not found
Summary: sci-physics/bullet-2.73-r1 - bullet-2.73/install-sh: line 3: ^M: command not ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Science Physics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-16 13:26 UTC by Valeriy Bykov
Modified: 2009-01-16 14:54 UTC (History)
0 users

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


Attachments
Patch for install-sh. (install-sh.patch,19.05 KB, patch)
2009-01-16 13:29 UTC, Valeriy Bykov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Valeriy Bykov 2009-01-16 13:26:14 UTC
When I'm trying install sci-physics/bullet by running `emerge bullet`, I'm getting install error after bullet was completely built.
Errors:
/var/tmp/portage/sci-physics/bullet-2.73-r1/work/bullet-2.73/install-sh: line 3: ^M: command not found
/var/tmp/portage/sci-physics/bullet-2.73-r1/work/bullet-2.73/install-sh: line 5: ^M: command not found
/var/tmp/portage/sci-physics/bullet-2.73-r1/work/bullet-2.73/install-sh: line 44: ^M: command not found
and so on long strings


Reproducible: Always

Steps to Reproduce:
1. echo "sci-physics/bullet" >> /etc/portage/package.keywords
2. emerge bullet
3. 



Expected Results:  
Bullet must be installed.

It happens because script install-sh in the bullet has CRLF line-ending.

 emerge --info
Portage 2.1.6.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.25-gentoo-r7-i686-Intel-R-_Core-TM-2_Duo_CPU_E7200_@_2.53GHz-with-glibc2.0
Timestamp of tree: Sun, 11 Jan 2009 06:00:01 +0000
distcc 3.0 i686-pc-linux-gnu [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
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/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://mirror.gentoo.no/"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="ru en"
MAKEOPTS="-j10"
PKGDIR="/usr/portage/packages"
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/my"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa bash-completion bluetooth bzip2 cairo cli cracklib crypt cups djvu dri dv dvd dvdr encode evo exif ffmpeg ftp fuse gdbm gif glitz gpm graphviz gtk hal iconv icu ieee1394 imlib ipv6 isdnlog jpeg jpeg2k logrotate midi mmx mng mp3 mudflap musicbrainz ncurses nls nptl nptlonly nsplugin obex ogg opengl openmp pam pcre pdf png pppd qt4 readline reflection session slang smp spell spl sse sse2 sse3 ssl ssse3 subversion svg symlink sysfs syslog tcpd threads tiff truetype unicode usb v4l2 vim-syntax vorbis x264 x86 xanim xine xorg xpm xv 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="ru en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Valeriy Bykov 2009-01-16 13:29:29 UTC
Created attachment 178689 [details, diff]
Patch for install-sh.

This patch fixes line-ending, and then installing can be done.
Comment 2 Sébastien Fabbro (RETIRED) gentoo-dev 2009-01-16 14:54:14 UTC
fixed in cvs. thanks.