can't install package digitemp [Solved]

Anything that pertains to Portage

Moderator: Moderators

can't install package digitemp [Solved]

Postby coudy » Wed Jan 04, 2012 17:57

Hi, I want to install package digitemp with support for ds2490, when I install with equo I have support only for ds9097, I'm trying to install with emerge but I got this errors:

Code: Select all
sabayon digitemp # emerge digitemp
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) app-misc/digitemp-3.5.0-r1
>>> Failed to emerge app-misc/digitemp-3.5.0-r1, Log file:
>>>  '/var/tmp/portage/app-misc/digitemp-3.5.0-r1/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 0.20, 0.19, 0.36
 * Package:    app-misc/digitemp-3.5.0-r1
 * Repository: gentoo
 * Maintainer: wschlich@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   preserve-libs sandbox splitdebug
>>> Unpacking source...
>>> Unpacking digitemp-3.5.0.tar.gz to /var/tmp/portage/app-misc/digitemp-3.5.0-r1/work
>>> Source unpacked in /var/tmp/portage/app-misc/digitemp-3.5.0-r1/work
>>> Compiling source in /var/tmp/portage/app-misc/digitemp-3.5.0-r1/work/digitemp-3.5.0 ...
 * If you don't choose a component to install, we default to ds9097u
make -j16 -s clean
make -j16 -s CC=gcc LOCK=no ds9097u
make: gcc: Command not found
make: *** [src/digitemp.o] Error 127
emake failed
 * ERROR: app-misc/digitemp-3.5.0-r1 failed (compile phase):
 *   emake ds9097u failed
 *
 * Call stack:
 *     ebuild.sh, line  84:  Called src_compile
 *   environment, line 692:  Called die
 * The specific snippet of code:
 *           emake CC="$(tc-getCC)" LOCK="no" ${target} || die "emake ${target} failed";
 *
 * If you need support, post the output of 'emerge --info =app-misc/digitemp-3.5.0-r1',
 * the complete build log and the output of 'emerge -pqv =app-misc/digitemp-3.5.0-r1'.
 * The complete build log is located at '/var/tmp/portage/app-misc/digitemp-3.5.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-misc/digitemp-3.5.0-r1/temp/environment'.
 * S: '/var/tmp/portage/app-misc/digitemp-3.5.0-r1/work/digitemp-3.5.0'

 * Messages for package app-misc/digitemp-3.5.0-r1:

 * If you don't choose a component to install, we default to ds9097u
 * ERROR: app-misc/digitemp-3.5.0-r1 failed (compile phase):
 *   emake ds9097u failed
 *
 * Call stack:
 *     ebuild.sh, line  84:  Called src_compile
 *   environment, line 692:  Called die
 * The specific snippet of code:
 *           emake CC="$(tc-getCC)" LOCK="no" ${target} || die "emake ${target} failed";
 *
 * If you need support, post the output of 'emerge --info =app-misc/digitemp-3.5.0-r1',
 * the complete build log and the output of 'emerge -pqv =app-misc/digitemp-3.5.0-r1'.
 * The complete build log is located at '/var/tmp/portage/app-misc/digitemp-3.5.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-misc/digitemp-3.5.0-r1/temp/environment'.
 * S: '/var/tmp/portage/app-misc/digitemp-3.5.0-r1/work/digitemp-3.5.0'



emerge --info =app-misc/digitemp-3.5.0-r1
Code: Select all
Portage 2.2.0_alpha78 (default/linux/amd64/10.0/desktop, gcc-4.6.2, unavailable, 3.1.0-sabayon x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.1.0-sabayon-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q8300_@_2.50GHz-with-gentoo-2.0.3
Timestamp of tree: Wed, 04 Jan 2012 15:45:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3-r1::sabayon
sys-apps/openrc:          0.8.3-r1::sabayon
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.68
sys-devel/automake:       1.10.2, 1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.5.3-r1::sabayon
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38
sys-libs/glibc:           2.13-r4::sabayon
Repositories: gentoo user_defined
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=x86-64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/conf.d /etc/entropy /etc/init.d /usr/share/config /usr/share/config/kdm /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/grub.d /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/skel /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=x86-64 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/ http://mirror.netcologne.de/gentoo/ http://ftp.cc.uoc.gr/mirrors/linux/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.klid.dk/gentoo/ ftp://mirror.qubenet.net/mirror/gentoo/ ftp://mirror.cambrium.nl/pub/os/linux/gentoo/"
LANG="sk_SK.utf8"
LDFLAGS="-Wl,-O1,--as-needed"
LINGUAS="en en_US af ar az bg bn br bs ca cs cy da de el en_GB eo es et eu fa fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms nb nds nl nn pa pl pt pt_BR ro ru rw se sk sl sr sr@Latn ss sv ta tg tr uk uz vi zh_CN zh_TW es_AR es_ES fy_NL ga_IE gu gu_IN nb_NO nn_NO pt_PT sv_SE zh"
MAKEOPTS="-j16 -s"
PKGDIR="/usr/portage/packages"
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="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi aiglx aim alsa amd64 artswrappersuid audiofile avahi bash-completion berkdb bidi bluetooth bzip2 cairo cdda cddb cdr cjk cli consolekit cpudetection cracklib crypt cups cxx dbus dga dri dts dv dvb dvd dvdr dvdread dvi emboss encode exif fam fame fat ffmpeg firefox flac foomatic-db fortran freetype gcj gdbm gdu gif gimpprint gmp gnutls gphoto2 gpm gsm gtk hfs iconv icq ieee1394 imap inotify ipod ipv6 irc irda jabber jack jfs joystick jpeg kdehiddenvisibility kerberos lame lcd lcms ldap libnotify live lm_sensors lzo mad mail matroska mjpeg mmx mng modules mozdevelop mp3 mp3rtp mp4 mpeg msn mudflap multilib musepack musicbrainz ncurses network nls nptl nptlonly nsplugin ntfs ogg openal openexr opengl openmp pam pango pcmcia pcre pda pdf png policykit ppds pppd pulseaudio qt3support qt4 rar rdesktop readline reiserfs rss scanner sdl session slp speex spell sse sse2 ssl startup-notification stream svg sysfs tcpd theora tiff truetype udev unicode usb v4l v4l2 visualization vorbis wifi wmf x264 xcb xfs xine xinerama xml xorg xpm xprint xulrunner xv xvid xvmc yahoo zeroconf zlib" ALSA_CARDS="emu10k1x darla20 darla24 emu10k1 gina20 gina24 hdsp hdspm ice1712 indigo indigoio layla20 layla24 mia mixart mona pcxhr rme32 rme96 sb16 sbawe sscape usbusx2y vx222 usb-usx2y" 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" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="agfa_cl20 casio_qv dimagev dimera3500 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica_qm150 panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ricoh_g3 sipix_blink sipix_blink2 sipix_web2 sony_dscf1 sony_dscf55 toshiba_pdrm11 adc65 aox barbie canon clicksmart310 digigr8 digita directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 konica largan lg_gsm mars mustek pccam300 pccam600 ptp2 ricoh samsung sierra smal sonix soundvision spca50x sq905 stv0674 stv0680 sx330z template" 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 void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US af ar az bg bn br bs ca cs cy da de el en_GB eo es et eu fa fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms nb nds nl nn pa pl pt pt_BR ro ru rw se sk sl sr sr@Latn ss sv ta tg tr uk uz vi zh_CN zh_TW es_AR es_ES fy_NL ga_IE gu gu_IN nb_NO nn_NO pt_PT sv_SE zh" LIRC_DEVICES="audio audio_alsa serial pctv" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev vesa radeonhd" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


emerge -pqv =app-misc/digitemp-3.5.0-r1
Code: Select all
[ebuild  N    ] app-misc/digitemp-3.5.0-r1  USE="-ds2490 -ds9097 -ds9097u"

!!! The following installed packages are masked:
- net-wireless/broadcom-sta-5.100.82.112-r2::gentoo (masked by: Broadcom license(s))
A copy of the 'Broadcom' license is located at '/usr/portage/licenses/Broadcom'.

- www-plugins/google-talkplugin-2.5.6.0::gentoo (masked by: google-talkplugin license(s))
A copy of the 'google-talkplugin' license is located at '/usr/portage/licenses/google-talkplugin'.

- app-emulation/virtualbox-bin-4.1.8::gentoo (masked by: PUEL license(s))
A copy of the 'PUEL' license is located at '/usr/portage/licenses/PUEL'.

- net-im/skype-2.2.0.35-r1::gentoo (masked by: skype-eula license(s))
A copy of the 'skype-eula' license is located at '/usr/portage/licenses/skype-eula'.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


/var/tmp/portage/app-misc/digitemp-3.5.0-r1/temp/build.log

Code: Select all
 * Package:    app-misc/digitemp-3.5.0-r1
 * Repository: gentoo
 * Maintainer: wschlich@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   preserve-libs sandbox splitdebug
>>> Unpacking source...
>>> Unpacking digitemp-3.5.0.tar.gz to /var/tmp/portage/app-misc/digitemp-3.5.0-r1/work
>>> Source unpacked in /var/tmp/portage/app-misc/digitemp-3.5.0-r1/work
>>> Compiling source in /var/tmp/portage/app-misc/digitemp-3.5.0-r1/work/digitemp-3.5.0 ...
 * If you don't choose a component to install, we default to ds9097u
make -j16 -s clean
make -j16 -s CC=gcc LOCK=no ds9097u
make: gcc: Command not found
make: *** [src/digitemp.o] Error 127
emake failed
 * ERROR: app-misc/digitemp-3.5.0-r1 failed (compile phase):
 *   emake ds9097u failed
 *
 * Call stack:
 *     ebuild.sh, line  84:  Called src_compile
 *   environment, line 692:  Called die
 * The specific snippet of code:
 *           emake CC="$(tc-getCC)" LOCK="no" ${target} || die "emake ${target} failed";
 *
 * If you need support, post the output of 'emerge --info =app-misc/digitemp-3.5.0-r1',
 * the complete build log and the output of 'emerge -pqv =app-misc/digitemp-3.5.0-r1'.
 * The complete build log is located at '/var/tmp/portage/app-misc/digitemp-3.5.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-misc/digitemp-3.5.0-r1/temp/environment'.
 * S: '/var/tmp/portage/app-misc/digitemp-3.5.0-r1/work/digitemp-3.5.0'


/var/tmp/portage/app-misc/digitemp-3.5.0-r1/temp/environment

Code: Select all
declare -x ABI="amd64"
declare -x ALSA_CARDS=""
declare -x 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"
declare -x ANT_HOME="/usr/share/ant"
declare -x 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"
declare -x APACHE2_MPMS="prefork"
declare -x ARCH="amd64"
declare -x BOOTSTRAP_USE="cxx unicode multilib"
declare -x CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump"
declare -x CAMERAS="agfa_cl20 casio_qv dimagev dimera3500 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica_qm150 panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ricoh_g3 sipix_blink sipix_blink2 sipix_web2 sony_dscf1 sony_dscf55 toshiba_pdrm11 adc65 aox barbie canon clicksmart310 digigr8 digita directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 konica largan lg_gsm mars mustek pccam300 pccam600 ptp2 ricoh samsung sierra smal sonix soundvision spca50x sq905 stv0674 stv0680 sx330z template"
declare -x CBUILD="x86_64-pc-linux-gnu"
declare -x CFLAGS="-O2 -march=x86-64 -pipe"
declare -x CFLAGS_amd64="-m64"
declare -x CFLAGS_default
declare -x CFLAGS_x32="-mx32"
declare -x CFLAGS_x86="-m32"
declare -x CG_COMPILER_EXE="/opt/bin/cgc"
declare -x CHOST="x86_64-pc-linux-gnu"
declare -x CHOST_amd64="x86_64-pc-linux-gnu"
declare -x CHOST_default="x86_64-pc-linux-gnu"
declare -x CHOST_x32="x86_64-pc-linux-gnu"
declare -x CHOST_x86="i686-pc-linux-gnu"
declare -x COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
declare -x COLUMNS="126"
declare -x CROSSCOMPILE_OPTS=""
declare -x CTARGET_default="x86_64-pc-linux-gnu"
declare -x CXXFLAGS="-O2 -march=x86-64 -pipe"
declare -x DEFAULT_ABI="amd64"
declare -x DEFINED_PHASES=" compile install postinst"
declare DEPEND="ds2490? ( >=dev-libs/libusb-0.1.10a ) "
declare DESCRIPTION="Temperature logging and reporting using Dallas Semiconductor's iButtons and 1-Wire protocol"
declare -x DESTTREE="/usr"
declare -x DIROPTIONS="-m0755"
declare -x EAPI="0"
declare -x ELIBC="glibc"
declare -x EXEOPTIONS="-m0755"
declare -x FCFLAGS=""
declare -x FETCHCOMMAND_SSH="bash -c \"x=\\\${2#ssh://} ; host=\\\${x%%/*} ; port=\\\${host##*:} ; host=\\\${host%:*} ; [[ \\\${host} = \\\${port} ]] && port=22 ; exec rsync --rsh=\\\"ssh -p\\\${port}\\\" -avP \\\"\\\${host}:/\\\${x#*/}\\\" \\\"\\\$1\\\"\" rsync \"\${DISTDIR}/\${FILE}\" \"\${URI}\""
declare -x FFLAGS=""
declare -x GDK_USE_XFT="1"
declare -x 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"
declare -x GRUB_PLATFORMS=""
declare -x GSETTINGS_BACKEND="dconf"
declare -x GUILE_LOAD_PATH="/usr/share/guile/1.8"
declare -x HISTCONTROL="ignorespace"
declare HOMEPAGE="http://www.digitemp.com/ http://www.ibutton.com/"
declare -x INHERITED=" toolchain-funcs multilib"
declare -x INPUT_DEVICES="evdev void"
declare -x INSDESTTREE=""
declare -x INSOPTIONS="-m0644"
declare IUSE="ds9097 ds9097u ds2490 "
declare -x KERNEL="linux"
declare -x KERNEL_ABI="amd64"
declare -x KEYWORDS="~amd64 ~x86"
declare -x KV="3.1.0-sabayon"
declare -x LADSPA_PATH="/usr/lib64/ladspa"
declare -x LANG="sk_SK.utf8"
declare -x LCD_DEVICES=""
declare -x LDFLAGS="-Wl,-O1,--as-needed"
declare -x LDFLAGS_amd64="-m elf_x86_64"
declare -x LDFLAGS_default
declare -x LDFLAGS_x32="-m elf32_x86_64"
declare -x LDFLAGS_x86="-m elf_i386"
declare -x LIBDIR_amd64="lib64"
declare -x LIBDIR_amd64_fbsd="lib64"
declare -x LIBDIR_default="lib"
declare -x LIBDIR_n32="lib32"
declare -x LIBDIR_n64="lib64"
declare -x LIBDIR_o32="lib"
declare -x LIBDIR_ppc="lib32"
declare -x LIBDIR_ppc64="lib64"
declare -x LIBDIR_s390="lib32"
declare -x LIBDIR_s390x="lib64"
declare -x LIBDIR_sparc32="lib32"
declare -x LIBDIR_sparc64="lib64"
declare -x LIBDIR_x32="libx32"
declare -x LIBDIR_x86="lib32"
declare -x LIBDIR_x86_fbsd="lib32"
declare -x LIBGL_DRIVERS_PATH="/usr/lib64/dri:/usr/lib32/dri"
declare -x LIBOPTIONS="-m0644"
declare -x LICENSE="GPL-2"
declare -x LINGUAS="en en_US af ar az bg bn br bs ca cs cy da de el en_GB eo es et eu fa fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms nb nds nl nn pa pl pt pt_BR ro ru rw se sk sl sr sr@Latn ss sv ta tg tr uk uz vi zh_CN zh_TW es_AR es_ES fy_NL ga_IE gu gu_IN nb_NO nn_NO pt_PT sv_SE zh"
declare -x LIRC_DEVICES="audio audio_alsa serial pctv"
declare -x MAIL="/var/mail/root"
declare -x MAKEOPTS="-j16 -s"
declare -x MC_SID="8759"
declare -x MC_TMPDIR="/tmp/mc-root"
declare -x MULTILIB_ABIS="amd64 x86"
declare -x MULTILIB_STRICT_DENY="64-bit.*shared object"
declare -x MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
declare -x MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage|udev)"
declare -x NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
declare -x OPENGL_PROFILE="ati"
declare -x PATH="/usr/lib64/portage/bin/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.2"
declare PDEPEND=""
declare -x PHP_TARGETS=""
declare -a PORTAGE_DOCOMPRESS='([0]="/usr/share/doc" [1]="/usr/share/info" [2]="/usr/share/man")'
declare -a PORTAGE_DOCOMPRESS_SKIP='([0]="/usr/share/doc/digitemp-3.5.0-r1/html")'
declare -x PRELINK_PATH_MASK="/usr/lib64/libfreebl3.so:/usr/lib64/libnssdbm3.so:/usr/lib64/libsoftokn3.so"
declare -x PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"
declare -x PROPERTIES=""
declare -x PROVIDE=""
declare -x PYTHONDONTWRITEBYTECODE="1"
declare -x PYTHONPATH="/usr/lib/entropy/lib"
declare -x QT_PLUGIN_PATH="/usr/lib64/kde4/plugins"
declare -x RDEPEND="ds2490? ( >=dev-libs/libusb-0.1.10a ) "
declare REQUIRED_USE=""
declare -x RESTRICT=""
declare -x RESUMECOMMAND_SSH="bash -c \"x=\\\${2#ssh://} ; host=\\\${x%%/*} ; port=\\\${host##*:} ; host=\\\${host%:*} ; [[ \\\${host} = \\\${port} ]] && port=22 ; exec rsync --rsh=\\\"ssh -p\\\${port}\\\" -avP \\\"\\\${host}:/\\\${x#*/}\\\" \\\"\\\$1\\\"\" rsync \"\${DISTDIR}/\${FILE}\" \"\${URI}\""
declare -x RUBY_TARGETS="ruby18"
declare -x S="/var/tmp/portage/app-misc/digitemp-3.5.0-r1/work/digitemp-3.5.0"
declare -x SAB_BAD="-kdeprefix -arts -qt3 -beagle -gnome -evo -mono -eds -apm -oss -branding -esd"
declare -x SAB_BROWSER="nsplugin firefox mozdevelop xulrunner"
declare -x SAB_CODECS="x264 gsm lame dv mp3 stream live openal theora ogg a52 win32codecs matroska xvid flac ffmpeg aac speex real dts musepack"
declare -x SAB_COMMS="jabber msn yahoo icq irc aim rss slp mail imap"
declare -x SAB_DESKTOP="kdehiddenvisibility gmp libnotify rdesktop pda zeroconf kdeenablefinal visualization avahi startup-notification accessibility"
declare -x SAB_FILESYS="fat hfs jfs xfs ntfs reiserfs sysfs inotify"
declare -x SAB_MEDIA="musicbrainz sdl pulseaudio wmf fame cdr dvi mp3rtp xine cddb alsa dvb dvd network dvdread ipod audiofile artswrappersuid dvdr jack dri cdda mjpeg mmx joystick xvmc cpudetection v4l v4l2"
declare -x SAB_PRINT="cups ppds foomatic-db gimpprint freetype xprint scanner"
declare -x SAB_SYSTEM="cjk unicode gnutls nptl gcj udev kerberos acl dbus bash-completion lzo rar policykit xcb bzip2 bidi wifi lm_sensors acpi usb pcmcia bluetooth irda ieee1394"
declare -x SAB_XSYS="cairo X opengl png gif gtk qt4 qt3support xpm tiff xinerama aiglx svg gphoto2 dga lcd openexr"
declare -x SANDBOX_DEBUG="0"
declare -x SANDBOX_DENY=""
declare -x SANDBOX_PID="10285"
declare -x SANDBOX_PREDICT="/var/tmp/portage/app-misc/digitemp-3.5.0-r1/homedir:/dev/crypto:/var/cache/fontconfig"
declare -x SANDBOX_READ="/:/var/tmp"
declare -x SANDBOX_VERBOSE="1"
declare -x SANDBOX_WRITE=":/dev/console:/dev/fd:/dev/full:/dev/null:/dev/pts/:/dev/pty:/dev/shm:/dev/tts:/dev/tty:/dev/vc/:/dev/zero:/proc/self/fd:/tmp/:/usr/lib/cf:/usr/lib/conftest:/usr/lib32/cf:/usr/lib32/conftest:/usr/lib64/cf:/usr/lib64/conftest:/usr/tmp/cf:/usr/tmp/conftest:/var/tmp:/var/tmp/:/var/tmp/portage/app-misc/digitemp-3.5.0-r1/homedir/.bash_history"
declare -x SANE_CONFIG_DIR="/etc/sane.d"
declare -x SLOT="0"
declare SRC_URI="http://www.digitemp.com/software/linux/digitemp-3.5.0.tar.gz"
declare -x SUDO_COMMAND="/usr/bin/mc"
declare -x SUDO_GID="1001"
declare -x SUDO_UID="1000"
declare -x SUDO_USER="coudy"
declare -x SYMLINK_LIB="yes"
declare -x SYSFONT="latarcyrheb-sun16"
declare -x USB_DEVFS_PATH="/dev/bus/usb"
declare -x USE="amd64 elibc_glibc kernel_linux multilib userland_GNU"
declare -x USERLAND="GNU"
declare -x USERNAME="root"
declare -x VBOX_APP_HOME="/opt/VirtualBox"
declare -x VIDEO_CARDS=""
declare -x XDG_CONFIG_DIRS="/etc/xdg"
declare -x XDG_DATA_DIRS="/usr/local/share:/usr/share:/usr/share/gdm"
declare -x 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"
declare -x _E_DOCDESTTREE_=""
declare -x _E_EXEDESTTREE_=""
declare -- ___ECLASS_ONCE_MULTILIB="recur -_+^+_- spank"
declare -- ___ECLASS_ONCE_TOOLCHAIN_FUNCS="recur -_+^+_- spank"
declare -- phase_func
_gcc-install-dir ()
{
    echo "$(LC_ALL=C $(tc-getCC) -print-search-dirs 2> /dev/null |      awk '$1=="install:" {print $2}')"
}
_gcc-specs-directive_raw ()
{
    local cc=$(tc-getCC);
    local specfiles=$(LC_ALL=C ${cc} -v 2>&1 | awk '$1=="Reading" {print $NF}');
    ${cc} -dumpspecs 2> /dev/null | cat - ${specfiles} | awk -v directive=$1 'BEGIN   { pspec=""; spec=""; outside=1 }
$1=="*"directive":"  { pspec=spec; spec=""; outside=0; next }
   outside || NF==0 || ( substr($1,1,1)=="*" && substr($1,length($1),1)==":" ) { outside=1; next }
   spec=="" && substr($0,1,1)=="+" { spec=pspec " " substr($0,2); next }
   { spec=spec $0 }
END   { print spec }';
    return 0
}
_gcc-specs-exists ()
{
    [[ -f $(_gcc-install-dir)/$1 ]]
}
_gcc_fullversion ()
{
    local ver="$1";
    shift;
    set -- `$(tc-getCPP "$@") -E -P - <<<"__GNUC__ __GNUC_MINOR__ __GNUC_PATCHLEVEL__"`;
    eval echo "$ver"
}
_tc-getPROG ()
{
    local tuple=$1;
    local v var vars=$2;
    local prog=$3;
    var=${vars%% *};
    for v in ${vars};
    do
        if [[ -n ${!v} ]]; then
            export ${var}="${!v}";
            echo "${!v}";
            return 0;
        fi;
    done;
    local search=;
    [[ -n $4 ]] && search=$(type -p "$4-${prog}");
    [[ -z ${search} && -n ${!tuple} ]] && search=$(type -p "${!tuple}-${prog}");
    [[ -n ${search} ]] && prog=${search##*/};
    export ${var}=${prog};
    echo "${!var}"
}
econf_build ()
{
    tc-env_build econf --build=${CBUILD:-${CHOST}} "$@"
}
gcc-fullversion ()
{
    _gcc_fullversion '$1.$2.$3' "$@"
}
gcc-major-version ()
{
    _gcc_fullversion '$1' "$@"
}
gcc-micro-version ()
{
    _gcc_fullversion '$3' "$@"
}
gcc-minor-version ()
{
    _gcc_fullversion '$2' "$@"
}
gcc-specs-directive ()
{
    local directive subdname subdirective;
    directive="$(_gcc-specs-directive_raw $1)";
    while [[ ${directive} == *%\(*\)* ]]; do
        subdname=${directive/*%\(};
        subdname=${subdname/\)*};
        subdirective="$(_gcc-specs-directive_raw ${subdname})";
        directive="${directive//\%(${subdname})/${subdirective}}";
    done;
    echo "${directive}";
    return 0
}
gcc-specs-nostrict ()
{
    local directive;
    directive=$(gcc-specs-directive cc1);
    return $([[ "${directive/\{!fstrict-overflow:}" != "${directive}" ]])
}
gcc-specs-now ()
{
    local directive;
    directive=$(gcc-specs-directive link_command);
    return $([[ "${directive/\{!nonow:}" != "${directive}" ]])
}
gcc-specs-pie ()
{
    local directive;
    directive=$(gcc-specs-directive cc1);
    return $([[ "${directive/\{!nopie:}" != "${directive}" ]])
}
gcc-specs-relro ()
{
    local directive;
    directive=$(gcc-specs-directive link_command);
    return $([[ "${directive/\{!norelro:}" != "${directive}" ]])
}
gcc-specs-ssp ()
{
    local directive;
    directive=$(gcc-specs-directive cc1);
    return $([[ "${directive/\{!fno-stack-protector:}" != "${directive}" ]])
}
gcc-specs-ssp-to-all ()
{
    local directive;
    directive=$(gcc-specs-directive cc1);
    return $([[ "${directive/\{!fno-stack-protector-all:}" != "${directive}" ]])
}
gcc-version ()
{
    _gcc_fullversion '$1.$2' "$@"
}
gen_usr_ldscript ()
{
    local lib libdir=$(get_libdir) output_format="" auto=false suffix=$(get_libname);
    [[ -z ${ED+set} ]] && local ED=${D%/}${EPREFIX}/;
    tc-is-static-only && return;
    dodir /usr/${libdir};
    if [[ $1 == "-a" ]]; then
        auto=true;
        shift;
        dodir /${libdir};
    fi;
    output_format=$($(tc-getCC) ${CFLAGS} ${LDFLAGS} -Wl,--verbose 2>&1 | sed -n 's/^OUTPUT_FORMAT("\([^"]*\)",.*/\1/p');
    [[ -n ${output_format} ]] && output_format="OUTPUT_FORMAT ( ${output_format} )";
    for lib in "$@";
    do
        local tlib;
        if ${auto}; then
            lib="lib${lib}${suffix}";
        else
            [[ -r ${ED}/${libdir}/${lib} ]] || continue;
        fi;
        case ${CTARGET:-${CHOST}} in
            *-darwin*)
                if ${auto}; then
                    tlib=$(scanmacho -qF'%S#F' "${ED}"/usr/${libdir}/${lib});
                else
                    tlib=$(scanmacho -qF'%S#F' "${ED}"/${libdir}/${lib});
                fi;
                [[ -z ${tlib} ]] && die "unable to read install_name from ${lib}";
                tlib=${tlib##*/};
                if ${auto}; then
                    mv "${ED}"/usr/${libdir}/${lib%${suffix}}.*${suffix#.} "${ED}"/${libdir}/ || die;
                    if [[ ${tlib} != ${lib%${suffix}}.*${suffix#.} ]]; then
                        mv "${ED}"/usr/${libdir}/${tlib%${suffix}}.*${suffix#.} "${ED}"/${libdir}/ || die;
                    fi;
                    rm -f "${ED}"/${libdir}/${lib};
                fi;
                if [[ ! -w "${ED}/${libdir}/${tlib}" ]]; then
                    chmod u+w "${ED}${libdir}/${tlib}";
                    local nowrite=yes;
                fi;
                install_name_tool -id "${EPREFIX}"/${libdir}/${tlib} "${ED}"/${libdir}/${tlib} || die "install_name_tool failed";
                [[ -n ${nowrite} ]] && chmod u-w "${ED}${libdir}/${tlib}";
                pushd "${ED}/usr/${libdir}" > /dev/null;
                ln -snf "../../${libdir}/${tlib}" "${lib}";
                popd > /dev/null
            ;;
            *-aix* | *-irix* | *64*-hpux* | *-interix* | *-winnt*)
                if ${auto}; then
                    mv "${ED}"/usr/${libdir}/${lib}* "${ED}"/${libdir}/ || die;
                    tlib=$(readlink "${ED}"/${libdir}/${lib});
                    tlib=${tlib##*/};
                    if [[ -z ${tlib} ]]; then
                        tlib=${lib};
                    else
                        rm -f "${ED}"/${libdir}/${lib};
                    fi;
                else
                    tlib=${lib};
                fi;
                pushd "${ED}/usr/${libdir}" > /dev/null;
                ln -snf "../../${libdir}/${tlib}" "${lib}";
                popd > /dev/null
            ;;
            hppa*-hpux*)
                if ${auto}; then
                    tlib=$(chatr "${ED}"/usr/${libdir}/${lib} | sed -n '/internal name:/{n;s/^ *//;p;q}');
                    [[ -z ${tlib} ]] && tlib=${lib};
                    tlib=${tlib##*/};
                    mv "${ED}"/usr/${libdir}/${lib}* "${ED}"/${libdir}/ || die;
                    if [[ ${tlib} != ${lib}* ]]; then
                        mv "${ED}"/usr/${libdir}/${tlib}* "${ED}"/${libdir}/ || die;
                    fi;
                    [[ ${tlib} != ${lib} ]] && rm -f "${ED}"/${libdir}/${lib};
                else
                    tlib=$(chatr "${ED}"/${libdir}/${lib} | sed -n '/internal name:/{n;s/^ *//;p;q}');
                    [[ -z ${tlib} ]] && tlib=${lib};
                    tlib=${tlib##*/};
                fi;
                pushd "${ED}"/usr/${libdir} > /dev/null;
                ln -snf "../../${libdir}/${tlib}" "${lib}";
                [[ ${tlib} != ${lib} ]] && ln -snf "../../${libdir}/${tlib}" "${tlib}";
                popd > /dev/null
            ;;
            *)
                if ${auto}; then
                    tlib=$(scanelf -qF'%S#F' "${ED}"/usr/${libdir}/${lib});
                    [[ -z ${tlib} ]] && die "unable to read SONAME from ${lib}";
                    mv "${ED}"/usr/${libdir}/${lib}* "${ED}"/${libdir}/ || die;
                    if [[ ${tlib} != ${lib}* ]]; then
                        mv "${ED}"/usr/${libdir}/${tlib}* "${ED}"/${libdir}/ || die;
                    fi;
                    rm -f "${ED}"/${libdir}/${lib};
                else
                    tlib=${lib};
                fi;
                cat > "${ED}/usr/${libdir}/${lib}"  <<-END_LDSCRIPT
/* GNU ld script
   Since Gentoo has critical dynamic libraries in /lib, and the static versions
   in /usr/lib, we need to have a "fake" dynamic lib in /usr/lib, otherwise we
   run into linking problems.  This "fake" dynamic lib is a linker script that
   redirects the linker to the real lib.  And yes, this works in the cross-
   compiling scenario as the sysroot-ed linker will prepend the real path.

   See bug http://bugs.gentoo.org/4411 for more info.
 */
${output_format}
GROUP ( ${EPREFIX}/${libdir}/${tlib} )
END_LDSCRIPT

            ;;
        esac
        fperms a+x "/usr/${libdir}/${lib}" || die "could not change perms on ${lib}";
    done
}
get_abi_CFLAGS ()
{
    get_abi_var CFLAGS "$@"
}
get_abi_CHOST ()
{
    get_abi_var CHOST "$@"
}
get_abi_CTARGET ()
{
    get_abi_var CTARGET "$@"
}
get_abi_FAKE_TARGETS ()
{
    get_abi_var FAKE_TARGETS "$@"
}
get_abi_LDFLAGS ()
{
    get_abi_var LDFLAGS "$@"
}
get_abi_LIBDIR ()
{
    get_abi_var LIBDIR "$@"
}
get_abi_var ()
{
    local flag=$1;
    local abi=${2:-${ABI:-${DEFAULT_ABI:-default}}};
    local var="${flag}_${abi}";
    echo ${!var}
}
get_all_abis ()
{
    local order="";
    if [[ -z ${MULTILIB_ABIS} ]]; then
        echo "default";
        return 0;
    fi;
    for x in ${MULTILIB_ABIS};
    do
        if [[ ${x} != ${DEFAULT_ABI} ]]; then
            order="${order:+${order} }${x}";
        fi;
    done;
    order="${order:+${order} }${DEFAULT_ABI}";
    echo ${order};
    return 0
}
get_all_libdirs ()
{
    local libdirs;
    local abi;
    local dir;
    for abi in ${MULTILIB_ABIS};
    do
        libdirs+=" $(get_abi_LIBDIR ${abi})";
    done;
    [[ " ${libdirs} " != *" lib "* ]] && libdirs+=" lib";
    echo "${libdirs}"
}
get_install_abis ()
{
    local order="";
    if [[ -z ${MULTILIB_ABIS} ]]; then
        echo "default";
        return 0;
    fi;
    if [[ ${EMULTILIB_PKG} == "true" ]]; then
        for x in ${MULTILIB_ABIS};
        do
            if [[ ${x} != "${DEFAULT_ABI}" ]]; then
                has ${x} ${ABI_DENY} || order="${order} ${x}";
            fi;
        done;
        has ${DEFAULT_ABI} ${ABI_DENY} || order="${order} ${DEFAULT_ABI}";
        if [[ -n ${ABI_ALLOW} ]]; then
            local ordera="";
            for x in ${order};
            do
                if has ${x} ${ABI_ALLOW}; then
                    ordera="${ordera} ${x}";
                fi;
            done;
            order=${ordera};
        fi;
    else
        order=${DEFAULT_ABI};
    fi;
    if [[ -z ${order} ]]; then
        die "The ABI list is empty.  Are you using a proper multilib profile?  Perhaps your USE flags or MULTILIB_ABIS are too restrictive for this package.";
    fi;
    echo ${order};
    return 0
}
get_libdir ()
{
    local CONF_LIBDIR;
    if [ -n "${CONF_LIBDIR_OVERRIDE}" ]; then
        echo ${CONF_LIBDIR_OVERRIDE};
    else
        get_abi_LIBDIR;
    fi
}
get_libname ()
{
    local libname;
    local ver=$1;
    case ${CHOST} in
        *-cygwin | mingw* | *-mingw*)
            libname="dll"
        ;;
        *-darwin*)
            libname="dylib"
        ;;
        *-mint*)
            libname="irrelevant"
        ;;
        hppa*-hpux*)
            libname="sl"
        ;;
        *)
            libname="so"
        ;;
    esac;
    if [[ -z $* ]]; then
        echo ".${libname}";
    else
        for ver in "$@";
        do
            case ${CHOST} in
                *-darwin*)
                    echo ".${ver}.${libname}"
                ;;
                *-mint*)
                    echo ".${libname}"
                ;;
                *)
                    echo ".${libname}.${ver}"
                ;;
            esac;
        done;
    fi
}
get_modname ()
{
    local modname;
    local ver=$1;
    case ${CHOST} in
        *-darwin*)
            modname="bundle"
        ;;
        *)
            modname="so"
        ;;
    esac;
    echo ".${modname}"
}
has_multilib_profile ()
{
    [ -n "${MULTILIB_ABIS}" -a "${MULTILIB_ABIS}" != "${MULTILIB_ABIS/ /}" ]
}
is_final_abi ()
{
    has_multilib_profile || return 0;
    set -- $(get_install_abis);
    local LAST_ABI=$#;
    [[ ${!LAST_ABI} == ${ABI} ]]
}
multilib_env ()
{
    local CTARGET=${1:-${CTARGET}};
    case ${CTARGET} in
        x86_64*)
            export CFLAGS_x86=${CFLAGS_x86--m32};
            export CHOST_x86=${CTARGET/x86_64/i686};
            export CTARGET_x86=${CHOST_x86};
            if [[ ${SYMLINK_LIB} == "yes" ]]; then
                export LIBDIR_x86="lib32";
            else
                export LIBDIR_x86="lib";
            fi;
            export CFLAGS_amd64=${CFLAGS_amd64--m64};
            export CHOST_amd64=${CTARGET};
            export CTARGET_amd64=${CHOST_amd64};
            export LIBDIR_amd64="lib64";
            export CFLAGS_x32=${CFLAGS_x32--mx32};
            export CHOST_x32=${CTARGET};
            export CTARGET_x32=${CHOST_x32};
            export LIBDIR_x32="libx32";
            : ${MULTILIB_ABIS=amd64 x86};
            : ${DEFAULT_ABI=amd64}
        ;;
        mips64*)
            export CFLAGS_o32=${CFLAGS_o32--mabi=32};
            export CHOST_o32=${CTARGET/mips64/mips};
            export CTARGET_o32=${CHOST_o32};
            export LIBDIR_o32="lib";
            export CFLAGS_n32=${CFLAGS_n32--mabi=n32};
            export CHOST_n32=${CTARGET};
            export CTARGET_n32=${CHOST_n32};
            export LIBDIR_n32="lib32";
            export CFLAGS_n64=${CFLAGS_n64--mabi=64};
            export CHOST_n64=${CTARGET};
            export CTARGET_n64=${CHOST_n64};
            export LIBDIR_n64="lib64";
            : ${MULTILIB_ABIS=n64 n32 o32};
            : ${DEFAULT_ABI=n32}
        ;;
        powerpc64*)
            export CFLAGS_ppc=${CFLAGS_ppc--m32};
            export CHOST_ppc=${CTARGET/powerpc64/powerpc};
            export CTARGET_ppc=${CHOST_ppc};
            export LIBDIR_ppc="lib";
            export CFLAGS_ppc64=${CFLAGS_ppc64--m64};
            export CHOST_ppc64=${CTARGET};
            export CTARGET_ppc64=${CHOST_ppc64};
            export LIBDIR_ppc64="lib64";
            : ${MULTILIB_ABIS=ppc64 ppc};
            : ${DEFAULT_ABI=ppc64}
        ;;
        s390x*)
            export CFLAGS_s390=${CFLAGS_s390--m31};
            export CHOST_s390=${CTARGET/s390x/s390};
            export CTARGET_s390=${CHOST_s390};
            export LIBDIR_s390="lib";
            export CFLAGS_s390x=${CFLAGS_s390x--m64};
            export CHOST_s390x=${CTARGET};
            export CTARGET_s390x=${CHOST_s390x};
            export LIBDIR_s390x="lib64";
            : ${MULTILIB_ABIS=s390x s390};
            : ${DEFAULT_ABI=s390x}
        ;;
        sparc*)
            export CFLAGS_sparc32=${CFLAGS_sparc32--m32};
            export CHOST_sparc32=${CTARGET/sparc64/sparc};
            export CTARGET_sparc32=${CHOST_sparc32};
            export LIBDIR_sparc32="lib";
            export CFLAGS_sparc64=${CFLAGS_sparc64--m64};
            export CHOST_sparc64=${CTARGET};
            export CTARGET_sparc64=${CHOST_sparc64};
            export LIBDIR_sparc64="lib64";
            : ${MULTILIB_ABIS=sparc64 sparc32};
            : ${DEFAULT_ABI=sparc64}
        ;;
        *)
            : ${MULTILIB_ABIS=default};
            : ${DEFAULT_ABI=default}
        ;;
    esac;
    export MULTILIB_ABIS DEFAULT_ABI
}
multilib_toolchain_setup ()
{
    local v vv;
    export ABI=$1;
    if [[ ${__DEFAULT_ABI_SAVED} == "true" ]]; then
        for v in CHOST CBUILD AS CC CXX LD;
        do
            vv="__abi_saved_${v}";
            export ${v}="${!vv}";
            unset ${vv};
        done;
        unset __DEFAULT_ABI_SAVED;
    fi;
    if [[ ${ABI} != ${DEFAULT_ABI} ]]; then
        for v in CHOST CBUILD AS CC CXX LD;
        do
            export __abi_saved_${v}="${!v}";
        done;
        export __DEFAULT_ABI_SAVED="true";
        export CHOST=$(get_abi_CHOST ${DEFAULT_ABI});
        export CC="$(tc-getCC) $(get_abi_CFLAGS)";
        export CXX="$(tc-getCXX) $(get_abi_CFLAGS)";
        export LD="$(tc-getLD) $(get_abi_LDFLAGS)";
        export CHOST=$(get_abi_CHOST $1);
        export CBUILD=$(get_abi_CHOST $1);
    fi
}
number_abis ()
{
    set -- `get_install_abis`;
    echo $#
}
pkg_nofetch ()
{
    _eapi0_pkg_nofetch "$@"
}
pkg_postinst ()
{
    echo;
    elog "Examples of using digitemp with python, perl, and rrdtool are";
    elog "located in /usr/share/doc/${PF}/";
    echo
}
src_compile ()
{
    sed -i -e "/^CFLAGS/s:-O2:${CFLAGS}:" -e "/^LIBS/s:=:= ${LDFLAGS}:" Makefile;
    if ! ( use ds9097 || use ds9097u || use ds2490 ); then
        ewarn "If you don't choose a component to install, we default to ds9097u";
    fi;
    local targets=$(targets);
    for target in $targets;
    do
        emake clean;
        emake CC="$(tc-getCC)" LOCK="no" ${target} || die "emake ${target} failed";
    done
}
src_install ()
{
    for target in $(echo $(targets) | tr '[:lower:]' '[:upper:]');
    do
        dobin digitemp_${target} && dosym digitemp_${target} /usr/bin/digitemp;
    done;
    if [[ $(targets|wc -l) -ge 1 ]]; then
        echo;
        ewarn "/usr/bin/digitemp has been symlinked to /usr/bin/digitemp_${target}";
        ewarn "If you want to access the others, they are available at /usr/bin/digitemp_*";
        echo;
    fi;
    dodoc README FAQ TODO;
    for example in perl python rrdb;
    do
        insinto "/usr/share/doc/${PF}/${example}_examples";
        doins ${example}/*;
    done
}
src_test ()
{
    _eapi0_src_test "$@"
}
src_unpack ()
{
    _eapi0_src_unpack "$@"
}
targets ()
{
    if ! ( use ds9097 || use ds9097u || use ds2490 ); then
        echo ds9097u;
    fi;
    for target in ds9097 ds9097u ds2490;
    do
        if use ${target}; then
            echo ${target};
        fi;
    done
}
tc-arch ()
{
    tc-ninja_magic_to_arch portage "$@"
}
tc-arch-kernel ()
{
    tc-ninja_magic_to_arch kern "$@"
}
tc-endian ()
{
    local host=$1;
    [[ -z ${host} ]] && host=${CTARGET:-${CHOST}};
    host=${host%%-*};
    case ${host} in
        alpha*)
            echo big
        ;;
        arm*b*)
            echo big
        ;;
        arm*)
            echo little
        ;;
        cris*)
            echo little
        ;;
        hppa*)
            echo big
        ;;
        i?86*)
            echo little
        ;;
        ia64*)
            echo little
        ;;
        m68*)
            echo big
        ;;
        mips*l*)
            echo little
        ;;
        mips*)
            echo big
        ;;
        powerpc*)
            echo big
        ;;
        s390*)
            echo big
        ;;
        sh*b*)
            echo big
        ;;
        sh*)
            echo little
        ;;
        sparc*)
            echo big
        ;;
        x86_64*)
            echo little
        ;;
        *)
            echo wtf
        ;;
    esac
}
tc-env_build ()
{
    CFLAGS=${BUILD_CFLAGS:--O1 -pipe} CXXFLAGS=${BUILD_CXXFLAGS:--O1 -pipe} CPPFLAGS=${BUILD_CPPFLAGS} LDFLAGS=${BUILD_LDFLAGS} AR=$(tc-getBUILD_AR) AS=$(tc-getBUILD_AS) CC=$(tc-getBUILD_CC) CPP=$(tc-getBUILD_CPP) CXX=$(tc-getBUILD_CXX) LD=$(tc-getBUILD_LD) NM=$(tc-getBUILD_NM) PKG_CONFIG=$(tc-getBUILD_PKG_CONFIG) RANLIB=$(tc-getBUILD_RANLIB) "$@"
}
tc-export ()
{
    local var;
    for var in "$@";
    do
        [[ $(type -t tc-get${var}) != "function" ]] && die "tc-export: invalid export variable '${var}'";
        eval tc-get${var} > /dev/null;
    done
}
tc-getAR ()
{
    tc-getPROG AR ar "$@"
}
tc-getAS ()
{
    tc-getPROG AS as "$@"
}
tc-getBUILD_AR ()
{
    tc-getBUILD_PROG AR ar "$@"
}
tc-getBUILD_AS ()
{
    tc-getBUILD_PROG AS as "$@"
}
tc-getBUILD_CC ()
{
    tc-getBUILD_PROG CC gcc "$@"
}
tc-getBUILD_CPP ()
{
    tc-getBUILD_PROG CPP cpp "$@"
}
tc-getBUILD_CXX ()
{
    tc-getBUILD_PROG CXX g++ "$@"
}
tc-getBUILD_LD ()
{
    tc-getBUILD_PROG LD ld "$@"
}
tc-getBUILD_NM ()
{
    tc-getBUILD_PROG NM nm "$@"
}
tc-getBUILD_OBJCOPY ()
{
    tc-getBUILD_PROG OBJCOPY objcopy "$@"
}
tc-getBUILD_PKG_CONFIG ()
{
    tc-getBUILD_PROG PKG_CONFIG pkg-config "$@"
}
tc-getBUILD_PROG ()
{
    _tc-getPROG CBUILD "BUILD_$1 $1_FOR_BUILD HOST$1" "${@:2}"
}
tc-getBUILD_RANLIB ()
{
    tc-getBUILD_PROG RANLIB ranlib "$@"
}
tc-getBUILD_STRIP ()
{
    tc-getBUILD_PROG STRIP strip "$@"
}
tc-getCC ()
{
    tc-getPROG CC gcc "$@"
}
tc-getCPP ()
{
    tc-getPROG CPP cpp "$@"
}
tc-getCXX ()
{
    tc-getPROG CXX g++ "$@"
}
tc-getDLLWRAP ()
{
    tc-getPROG DLLWRAP dllwrap "$@"
}
tc-getF77 ()
{
    tc-getPROG F77 gfortran "$@"
}
tc-getFC ()
{
    tc-getPROG FC gfortran "$@"
}
tc-getGCJ ()
{
    tc-getPROG GCJ gcj "$@"
}
tc-getLD ()
{
    tc-getPROG LD ld "$@"
}
tc-getNM ()
{
    tc-getPROG NM nm "$@"
}
tc-getOBJCOPY ()
{
    tc-getPROG OBJCOPY objcopy "$@"
}
tc-getPKG_CONFIG ()
{
    tc-getPROG PKG_CONFIG pkg-config "$@"
}
tc-getPROG ()
{
    _tc-getPROG CHOST "$@"
}
tc-getRANLIB ()
{
    tc-getPROG RANLIB ranlib "$@"
}
tc-getRC ()
{
    tc-getPROG RC windres "$@"
}
tc-getSTRIP ()
{
    tc-getPROG STRIP strip "$@"
}
tc-has-openmp ()
{
    local base="${T}/test-tc-openmp";
    cat > "${base}.c"  <<-EOF
#include <omp.h>
int main() {
int nthreads, tid, ret = 0;
#pragma omp parallel private(nthreads, tid)
{
tid = omp_get_thread_num();
nthreads = omp_get_num_threads(); ret += tid + nthreads;
}
return ret;
}
EOF

    $(tc-getCC "$@") -fopenmp "${base}.c" -o "${base}" &>/dev/null;
    local ret=$?;
    rm -f "${base}"*;
    return ${ret}
}
tc-has-tls ()
{
    local base="${T}/test-tc-tls";
    cat > "${base}.c"  <<-EOF
int foo(int *i) {
static __thread int j = 0;
return *i ? j : *i;
}
EOF

    local flags;
    case $1 in
        -s)
            flags="-S"
        ;;
        -c)
            flags="-c"
        ;;
        -l)

        ;;
        -*)
            die "Usage: tc-has-tls [-c|-l] [toolchain prefix]"
        ;;
    esac;
    : ${flags:=-fPIC -shared -Wl,-z,defs};
    [[ $1 == -* ]] && shift;
    $(tc-getCC "$@") ${flags} "${base}.c" -o "${base}" &>/dev/null;
    local ret=$?;
    rm -f "${base}"*;
    return ${ret}
}
tc-is-cross-compiler ()
{
    return $([[ ${CBUILD:-${CHOST}} != ${CHOST} ]])
}
tc-is-hardfloat ()
{
    [[ ${CTARGET//_/-} == *-hardfloat-* ]] && echo "yes" || echo "no"
}
tc-is-softfloat ()
{
    case ${CTARGET} in
        bfin* | h8300*)
            echo "only"
        ;;
        *)
            [[ ${CTARGET//_/-} == *-softfloat-* ]] && echo "yes" || echo "no"
        ;;
    esac
}
tc-is-static-only ()
{
    local host=${CTARGET:-${CHOST}};
    return $([[ ${host} == *-mint* ]])
}
tc-ninja_magic_to_arch ()
{
    function ninj ()
    {
        [[ ${type} == "kern" ]] && echo $1 || echo $2
    };
    local type=$1;
    local host=$2;
    [[ -z ${host} ]] && host=${CTARGET:-${CHOST}};
    case ${host} in
        alpha*)
            echo alpha
        ;;
        arm*)
            echo arm
        ;;
        avr*)
            ninj avr32 avr
        ;;
        bfin*)
            ninj blackfin bfin
        ;;
        cris*)
            echo cris
        ;;
        hppa*)
            ninj parisc hppa
        ;;
        i?86*)
            if [[ ${type} == "kern" ]] && [[ $(KV_to_int ${KV}) -lt $(KV_to_int 2.6.24) || ${host} == *freebsd* ]]; then
                echo i386;
            else
                echo x86;
            fi
        ;;
        ia64*)
            echo ia64
        ;;
        m68*)
            echo m68k
        ;;
        mips*)
            echo mips
        ;;
        nios2*)
            echo nios2
        ;;
        nios*)
            echo nios
        ;;
        powerpc*)
            if [[ ${type} == "kern" ]] && [[ $(KV_to_int ${KV}) -ge $(KV_to_int 2.6.16) ]]; then
                echo powerpc;
            else
                if [[ ${type} == "kern" ]] && [[ $(KV_to_int ${KV}) -eq $(KV_to_int 2.6.15) ]]; then
                    if [[ ${host} == powerpc64* ]] || [[ ${PROFILE_ARCH} == "ppc64" ]]; then
                        echo powerpc;
                    else
                        echo ppc;
                    fi;
                else
                    if [[ ${host} == powerpc64* ]]; then
                        echo ppc64;
                    else
                        if [[ ${PROFILE_ARCH} == "ppc64" ]]; then
                            ninj ppc64 ppc;
                        else
                            echo ppc;
                        fi;
                    fi;
                fi;
            fi
        ;;
        s390*)
            echo s390
        ;;
        sh64*)
            ninj sh64 sh
        ;;
        sh*)
            echo sh
        ;;
        sparc64*)
            ninj sparc64 sparc
        ;;
        sparc*)
            [[ ${PROFILE_ARCH} == "sparc64" ]] && ninj sparc64 sparc || echo sparc
        ;;
        vax*)
            echo vax
        ;;
        x86_64*freebsd*)
            echo amd64
        ;;
        x86_64*)
            if [[ ${type} == "kern" ]] && [[ $(KV_to_int ${KV}) -ge $(KV_to_int 2.6.24) ]]; then
                echo x86;
            else
                ninj x86_64 amd64;
            fi
        ;;
        *)
            echo unknown
        ;;
    esac
}


Can somebody help me ? Thanks
Last edited by coudy on Wed Jan 04, 2012 19:46, edited 1 time in total.
I'm running Sabayon 7 on Intel Quad Core Q8300, 4GB Ram, ATI HD4670
--------
Linux sabayon 3.1.0-sabayon #1 SMP Wed Nov 30 10:37:12 UTC 2011 x86_64 Intel(R) Core(TM)2 Quad CPU Q8300 @ 2.50GHz GenuineIntel GNU/Linux
coudy
Baby Hen
 
Posts: 13
Joined: Sat Dec 31, 2011 15:44

Re: can't install package digitemp

Postby sabayonino » Wed Jan 04, 2012 18:57

full gcc in not install in your system

Code: Select all
# equo install sys-devel/gcc


then make sure digitemp will be installed with ds2490 support

Code: Select all
# echo "app-misc/digitemp ds2490" >> /etc/portage/package.use

# emerge digitemp
User avatar
sabayonino
Sagely Hen
 
Posts: 1574
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: can't install package digitemp

Postby coudy » Wed Jan 04, 2012 19:45

thank you,
it is working.

is there a chance to compile default digitemp package in sabayonlinux.org repository with DS2490 and DS9097 options ?
I'm running Sabayon 7 on Intel Quad Core Q8300, 4GB Ram, ATI HD4670
--------
Linux sabayon 3.1.0-sabayon #1 SMP Wed Nov 30 10:37:12 UTC 2011 x86_64 Intel(R) Core(TM)2 Quad CPU Q8300 @ 2.50GHz GenuineIntel GNU/Linux
coudy
Baby Hen
 
Posts: 13
Joined: Sat Dec 31, 2011 15:44

Re: can't install package digitemp

Postby sabayonino » Wed Jan 04, 2012 20:11

coudy wrote:
is there a chance to compile default digitemp package in sabayonlinux.org repository with DS2490 and DS9097 options ?
"Make an Entropy Package Request"


[edit] after merged digitemp , run

Code: Select all
# equo rescue spmsync


to inform entropy that this package was installed via portage.
User avatar
sabayonino
Sagely Hen
 
Posts: 1574
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: can't install package digitemp [Solved]

Postby coudy » Wed Jan 04, 2012 20:39

I have other problem, I'm trying to install package owfs (equo, emerge) , package is installed, but binary file "owfs" isn't in system. Do I need use some special flags ?

[Edit]

maybe I found solution
1. look into .ebuild file for param IUSE=
2. add what I need to /etc/portage/package.use in format <category>/<packagename> flag
3. emerge <packagename>

it is right ? or correct ?
I'm running Sabayon 7 on Intel Quad Core Q8300, 4GB Ram, ATI HD4670
--------
Linux sabayon 3.1.0-sabayon #1 SMP Wed Nov 30 10:37:12 UTC 2011 x86_64 Intel(R) Core(TM)2 Quad CPU Q8300 @ 2.50GHz GenuineIntel GNU/Linux
coudy
Baby Hen
 
Posts: 13
Joined: Sat Dec 31, 2011 15:44


Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 0 guests