Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 391889

Summary: mail-client/thunderbird www-client/seamonkey : QA Notice: : command not foundles.sh: line 38: * QA Notice: command not found: (???)
Product: Gentoo Linux Reporter: Petteri Räty (RETIRED) <betelgeuse>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED FIXED    
Severity: normal CC: floppym, k01, realnc
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Petteri Räty (RETIRED) gentoo-dev 2011-11-25 19:29:18 UTC
* Messages for package mail-client/thunderbird-8.0-r1:

 * You are enabling official branding. You may not redistribute this build
 * to any users on your network or the internet. Doing so puts yourself into
 * a legal problem with Mozilla Foundation
 * You can disable it by emerging thunderbird _with_ the bindist USE-flag
 * 
 * QA Notice: command not found:
 * 
: command not foundles.sh: line 38: 
 * QA Notice: command not found:
 * 
: command not foundles.sh: line 38: 
 * Fallback PaX marking -m
 *      /var/tmp/portage/mail-client/thunderbird-8.0-r1/work/comm-release/mozilla/dist/bin/xpcshell
 * Fallback PaX marking -m
 *      /var/tmp/portage/mail-client/thunderbird-8.0-r1/image///usr/lib/thunderbird/thunderbird-bin
 * 
 * If you are experience problems with plugins please issue the
 * following command : rm ${HOME}/.thunderbird/*/extensions.sqlite ,
 * then restart thunderbird

Portage 2.2.0_alpha51 (default/linux/x86/10.0/desktop, gcc-4.5.2, glibc-2.14.1-r0, 3.1.1-gentoo i686)
=================================================================
System uname: Linux-3.1.1-gentoo-i686-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.1
Timestamp of tree: Unknown
ccache version 3.1.6 [disabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.6-r1, 2.7.2-r3, 3.1.3-r1, 3.2.2
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1::betelgeuse
sys-devel/binutils:       2.22
sys-devel/gcc:            4.5.2, 4.6.0
sys-devel/gcc-config:     1.5-r2                                                                                                                                                                                              
sys-devel/libtool:        2.4.2                                                                                                                                                                                               
sys-devel/make:           3.82-r3                                                                                                                                                                                             
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)                                                                                                                                                                         
sys-libs/glibc:           2.14.1                                                                                                                                                                                              
Repositories: gentoo openrc wschlich-testing finnish dev-jokey sunrise ruby qiaomuf betelgeuse                                                                                                                                
Installed sets: @system                                                                                                                                                                                                       
ACCEPT_KEYWORDS="x86 ~x86"                                                                                                                                                                                                    
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 AdobeFlash-10.1 googleearth"                                                                                                                                                            
CBUILD="i686-pc-linux-gnu"                                                                                                                                                                                                    
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"                                                                                                                                                                         
CHOST="i686-pc-linux-gnu"                                                                                                                                                                                                     
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-2.0/conf /usr/share/maven-bin-2.2/conf /usr/share/maven-bin-3.0/conf /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="-O2 -march=native -pipe -fomit-frame-pointer"                                                                                                                                                                       
DISTDIR="/var/distfiles"                                                                                                                                                                                                      
EMERGE_DEFAULT_OPTS="--keep-going"                                                                                                                                                                                            
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"                                                                                                                                                                                                           
FFLAGS=""                                                                                                                                                                                                                     
GENTOO_MIRRORS=" http://trumpetti.atm.tut.fi/gentoo"                                                                                                                                                                          
LANG="fi_FI.utf8"                                                                                                                                                                                                             
LDFLAGS="-Wl,--as-needed -Wl,-O1"                                                                                                                                                                                             
LINGUAS="fi en"                                                                                                                                                                                                               
MAKEOPTS="-j8 -s"                                                                                                                                                                                                             
PKGDIR="/home/pkg/"                                                                                                                                                                                                           
PORTAGE_CONFIGROOT="/"                                                                                                                                                                                                        
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="/mnt/checkouts/overlays/openrc /mnt/checkouts/overlays/wschlich-testing /mnt/checkouts/overlays/finnish /mnt/checkouts/overlays/jokey /mnt/checkouts/overlays/sunrise /mnt/checkouts/overlays/ruby /mnt/checkouts/overlays/qiaomuf /mnt/checkouts/overlays/betelgeuse"                                                                                                                                                                     
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"                                                                                                                                                                         
USE="a52 aac acl acpi alsa audiofile bash-completion bluetooth branding bzip2 cairo caps cdb cdda cddb cdparanoia cdr cli consolekit cracklib crypt cups custom-cxxflags cxx dbus dri dts dvd dvdr dvdread emboss exif fam ffmpeg firefox gdu gif glib hal iconv idn ipv6 java jpeg kde kdehiddenvisibility lcms libnotify lm_sensors logitech-mouse mad mjpeg mmx mng modules mp3 mp4 mpeg mudflap ncurses network nptl nptlonly nsplugin nvidia offensive ogg opengl openmp pam pango pcre pdf png policykit ppds pppd pulseaudio qt3support readline rtc samba semantic-desktop session spell sse sse2 sse3 ssl ssse3 startup-notification subversion svg sysfs system-sqlite theora threads tiff truetype udev unicode usb userlocales vim-syntax vorbis win32codecs x264 x86 xcb xcomposite xinerama xml xorg xulrunner xv xvid xvmc zeroconf 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 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 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fi en" NETBEANS_MODULES="ruby ide webcommon nb harness java websvccommon gsf" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="none radeon" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Agostino Sarubbo gentoo-dev 2012-01-10 13:16:20 UTC
confirmed in 9.0
Comment 2 Jory A. Pratt gentoo-dev 2012-02-07 00:46:25 UTC
*** Bug 402423 has been marked as a duplicate of this bug. ***
Comment 3 Jory A. Pratt gentoo-dev 2012-02-08 23:30:17 UTC
*** Bug 402781 has been marked as a duplicate of this bug. ***
Comment 4 Maurizio Camisaschi (amd64 AT) 2012-02-15 20:27:03 UTC
in version 10.0.1 is still present the QA notice, but for different command:

 * QA Notice: command not found:
 * 
: command not foundrtage/mail-client/thunderbird-10.0.1/work/comm-release/db/makefiles.sh: line 38:
Comment 5 Mike Gilbert gentoo-dev 2012-05-24 15:09:15 UTC
*** Bug 417329 has been marked as a duplicate of this bug. ***
Comment 6 Mike Gilbert gentoo-dev 2012-05-24 15:22:16 UTC
Here's a generic fix for the problem of DOS line-endings in the shell scripts. Just drop it in src_prepare.

        grep -RlZ --include="*.sh" -e $'\r$' . |
        while read -r -d $'\0' file ; do
                einfo edos2unix "${file}"
                edos2unix "${file}"
        done
Comment 7 Jory A. Pratt gentoo-dev 2012-05-24 17:12:26 UTC
(In reply to comment #6)
> Here's a generic fix for the problem of DOS line-endings in the shell
> scripts. Just drop it in src_prepare.
> 
>         grep -RlZ --include="*.sh" -e $'\r$' . |
>         while read -r -d $'\0' file ; do
>                 einfo edos2unix "${file}"
>                 edos2unix "${file}"
>         done

If you have tested Mike please feel free to land it for stable and testing, then close bug.
Comment 8 Mike Gilbert gentoo-dev 2012-05-24 22:07:54 UTC
+  24 May 2012; Mike Gilbert <floppym@gentoo.org> thunderbird-10.0.4.ebuild,
+  thunderbird-12.0.1-r1.ebuild:
+  Convert DOS line-endings in shell scripts. Bug 391889.

I'll take a look at seamonkey next.
Comment 9 Mike Gilbert gentoo-dev 2012-05-24 22:48:56 UTC
+  24 May 2012; Mike Gilbert <floppym@gentoo.org> seamonkey-2.9.1-r1.ebuild,
+  seamonkey-2.9.ebuild:
+  Convert DOS line-endings in shell scripts. Bug 391889.