Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 240568 - [QA] sys-libs/db-4.6.21_p3-r1 - /bin/bash: line 4: none: command not found
Summary: [QA] sys-libs/db-4.6.21_p3-r1 - /bin/bash: line 4: none: command not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 271556 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-08 19:22 UTC by Sandro Bonazzola
Modified: 2010-05-03 23:21 UTC (History)
9 users (show)

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


Attachments
diff of the ebuild with STRIP switched from none to true (db-4.6.21_p3-r1.ebuild.diff,621 bytes, patch)
2009-02-27 18:10 UTC, Jacob Floyd
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sandro Bonazzola 2008-10-08 19:22:22 UTC
QA: install
QA Notice: command not found:

        /bin/bash: line 4: none: command not found
        /bin/bash: line 4: none: command not found
        /bin/bash: line 4: none: command not found
        /bin/bash: line 4: none: command not found
        /bin/bash: line 4: none: command not found
        /bin/bash: line 4: none: command not found
        /bin/bash: line 4: none: command not found
        /bin/bash: line 4: none: command not found
        /bin/bash: line 4: none: command not found
        /bin/bash: line 4: none: command not found
        /bin/bash: line 4: none: command not found
        /bin/bash: line 4: none: command not found
        /bin/bash: line 4: none: command not found

From the log file:

>>> Install db-4.6.21_p3-r1 into /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image/ category sys-libs
Installing DB include files: /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image/usr/include ...
Installing DB library: /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image//usr/lib64 ...
libtool: install: cp -p .libs/libdb-4.6.so /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image//usr/lib64/libdb-4.6.so
libtool: install: cp -p .libs/libdb-4.6.lai /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image//usr/lib64/libdb-4.6.la
libtool: install: cp -p .libs/libdb_cxx-4.6.so /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image//usr/lib64/libdb_cxx-4.6.so
libtool: install: cp -p .libs/libdb_cxx-4.6.lai /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image//usr/lib64/libdb_cxx-4.6.la
libtool: install: cp -p .libs/libdb_java-4.6.so /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image//usr/lib64/libdb_java-4.6.so
libtool: install: cp -p .libs/libdb_java-4.6.lai /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image//usr/lib64/libdb_java-4.6.la
libtool: install: cp -p .libs/libdb-4.6.a /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image//usr/lib64/libdb-4.6.a
libtool: install: chmod 644 /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image//usr/lib64/libdb-4.6.a
libtool: install: x86_64-pc-linux-gnu-ranlib /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image//usr/lib64/libdb-4.6.a
libtool: install: cp -p libdb.a /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image//usr/lib64/libdb.a
libtool: install: chmod 644 /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image//usr/lib64/libdb.a
libtool: install: x86_64-pc-linux-gnu-ranlib /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image//usr/lib64/libdb.a
libtool: install: cp -p .libs/libdb_cxx-4.6.a /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image//usr/lib64/libdb_cxx-4.6.a
libtool: install: chmod 644 /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image//usr/lib64/libdb_cxx-4.6.a
libtool: install: x86_64-pc-linux-gnu-ranlib /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image//usr/lib64/libdb_cxx-4.6.a
libtool: install: cp -p libdb_cxx.a /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image//usr/lib64/libdb_cxx.a
libtool: install: chmod 644 /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image//usr/lib64/libdb_cxx.a
libtool: install: x86_64-pc-linux-gnu-ranlib /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image//usr/lib64/libdb_cxx.a
libtool: install: cp -p .libs/libdb_java-4.6.a /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image//usr/lib64/libdb_java-4.6.a
libtool: install: chmod 644 /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image//usr/lib64/libdb_java-4.6.a
libtool: install: x86_64-pc-linux-gnu-ranlib /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image//usr/lib64/libdb_java-4.6.a
libtool: install: warning: remember to run `libtool --finish /usr/lib64'
Installing DB utilities: /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image/usr/bin ...
libtool: install: cp -p .libs/berkeley_db_svc /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image/usr/bin/berkeley_db_svc
/bin/bash: line 4: none: command not found
libtool: install: cp -p .libs/db_archive /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image/usr/bin/db_archive
/bin/bash: line 4: none: command not found
libtool: install: cp -p .libs/db_checkpoint /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image/usr/bin/db_checkpoint
/bin/bash: line 4: none: command not found
libtool: install: cp -p .libs/db_codegen /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image/usr/bin/db_codegen
/bin/bash: line 4: none: command not found
libtool: install: cp -p .libs/db_deadlock /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image/usr/bin/db_deadlock
/bin/bash: line 4: none: command not found
libtool: install: cp -p .libs/db_dump /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image/usr/bin/db_dump
/bin/bash: line 4: none: command not found
libtool: install: cp -p .libs/db_hotbackup /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image/usr/bin/db_hotbackup
/bin/bash: line 4: none: command not found
libtool: install: cp -p .libs/db_load /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image/usr/bin/db_load
/bin/bash: line 4: none: command not found
libtool: install: cp -p .libs/db_printlog /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image/usr/bin/db_printlog
/bin/bash: line 4: none: command not found
libtool: install: cp -p .libs/db_recover /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image/usr/bin/db_recover
/bin/bash: line 4: none: command not found
libtool: install: cp -p .libs/db_stat /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image/usr/bin/db_stat
/bin/bash: line 4: none: command not found
libtool: install: cp -p .libs/db_upgrade /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image/usr/bin/db_upgrade
/bin/bash: line 4: none: command not found
libtool: install: cp -p .libs/db_verify /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image/usr/bin/db_verify
/bin/bash: line 4: none: command not found
Installing documentation: /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image/usr/docs ...
 * removing unversioned static archives
>>> Completed installing db-4.6.21_p3-r1 into /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/image/
Comment 1 Sandro Bonazzola 2008-10-08 19:23:21 UTC
looking at the log I've seen also:
>>> Unpacking db-4.6.21.tar.gz to /var/tmp/portage/sys-libs/db-4.6.21_p3-r1/work
 * Applying patch.4.6.21.1 ...
  [ ok ]
 * Applying patch.4.6.21.2 ...
  [ ok ]
 * Applying patch.4.6.21.3 ...
  [ ok ]
 * Applying db-4.6-libtool.patch ...
  [ ok ]
 * Applying db-4.6-jni-check-prefix-first.patch ...
  [ ok ]
 * Applying db-4.3-listen-to-java-options.patch ...
  [ ok ]
 * Running eautoreconf in '/var/tmp/portage/sys-libs/db-4.6.21_p3-r1/work/db-4.6.21/dist' ...
 * Running aclocal -I aclocal -I aclocal_java ...
  [ ok ]
 * Running libtoolize --copy --force --install ...
  [ ok ]
 * Running aclocal -I aclocal -I aclocal_java ...
  [ ok ]
 * Running autoconf ...
  [ ok ]
 * Running autoheader ...
  [ !! ]
>>> Source unpacked.


It seems there is also something wrong with autoheader.
Comment 2 Sandro Bonazzola 2008-10-08 19:23:49 UTC
$ emerge --info
Portage 2.2_rc11 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.26-gentoo-r1-x86_64-AMD_Athlon-tm-_64_Processor_3500+-with-glibc2.2.5
Timestamp of tree: Wed, 08 Oct 2008 16:00:02 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r8
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fno-strict-aliasing"
CHOST="x86_64-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 /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/initng/daemon /etc/initng/net /etc/initng/system /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fno-strict-aliasing"
DISTDIR="/home/media/dist"
FEATURES="collision-protect cvs distlocks elog java-strict metadata-transfer multilib-strict parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="it"
PKGDIR="/home/ftp/packages"
PORTAGE_COMPRESS="bzip2"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_RSYNC_EXTRA_OPTS=" --timeout=800 --progress "
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/overlays/portage /home/sandro/cvstree/tinyos-2-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 3ds 7zip X a52 aac acl acpi alsa amd64 amr apache2 arts audiofile avahi bash-completion berkdb bl branding bzip2 cairo cal3d caps ccache cdb cddb cdparanoia cdr cg chroot cli cpudetection cracklib crypt css cups curl custom-cflags dbus devhelp dga directfb disk-partition djvu dmi dovecot-sasl dri dts dv dvd dvdr dvdread emboss emerald encode epydoc erandom esd evo exif expat extrafilters fam fame ffmpeg firefox flac fltk foomaticdb fortran gd gdbm ggi gif gimp glib glibc-omitfp glitz glut gmp gnokii gnome gnutls gphoto2 gpm graphviz gsm gstreamer gtk gtkhtml guile hal hbci howl-compat iconv idn ieee1394 imagemagick imlib ipv6 isc isdnlog ithreads java javacomm javascript jbig jce jikes jpeg jpeg2k justify kde kdeenablefinal kdehiddenvisibility kqemu lcms ldap libcaca libnotify linuxthreads-tls lm_sensors logitech-mouse logrotate lzo mad mailwrapper matroska mbox mdb mhash midi mikmod mjpeg mmap mmx mmxext mng motif mozdevelop mp3 mpeg mppe-mppc msn mudflap multilib musepack musicbrainz mysql ncurses nfs nls nptl nptlonly nsplugin numeric nvidia odbc ode offensive ofx ogg ogre openexr opengl openmp oss pam parport pch pcre pdf perl php png povray ppds pppd print pulseaudio python qa qt3 qt3support qt4 quicktime quotes rdesktop readline reflection resolvconf restrict-javascript rtc samba scanner sdl session slang slp smime sndfile snmp speex spell spl sse sse2 ssl startup-notification subversion svg sysfs syslog tcpd test tetex tga theora threads tidy tiff timidity tk truetype unicode usb userlocales utempter v4l v4l2 vcd vda vorbis vorbis-psy wma wmf wmp www-client/mozilla-firefox xattr xcomposite xforms xine xinerama xml xorg xpm xprint xscreensaver xulrunner xv xvid xvmc yv12 zeroconf zlib" ALSA_CARDS="intel8x0" 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_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" APACHE2_MPMS="worker" CAMERAS="canon directory panasonic pccam300 " ELIBC="glibc" FOO2ZJS_DEVICES="hp1005 hpp1005" INPUT_DEVICES="mouse evdev keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS
Comment 3 Jacob Floyd 2009-02-27 18:10:23 UTC
Created attachment 183391 [details, diff]
diff of the ebuild with STRIP switched from none to true

I don't know about the autoheader thing, but a the none command problem is at line 780 of the generated Makefile (the 4th line in a for loop), where it tries to run $(STRIP) which is set in the ebuild as STRIP=none. That doesn't work, as none doesn't exist. I propose changing that to something like STRIP=true, so that it'll always return success but won't do anything with the args passed to it. Is disabling STRIP necessary?
Comment 4 SpanKY gentoo-dev 2009-02-27 21:15:33 UTC
yes, disabling strip is always required for correct ebuilds

does STRIP really need to be set in src_install() too ?  seems like the sed in src_unpack should be sufficient.
Comment 5 Carlo Marcelo Arenas Belon 2009-05-25 07:10:42 UTC
this problem is now also in stable as per BUG248905 which stabilized sys-libs/db-4.6.21_p4
Comment 6 SpanKY gentoo-dev 2009-05-29 23:33:14 UTC
*** Bug 271556 has been marked as a duplicate of this bug. ***
Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-05-03 23:21:45 UTC
InCVS.