Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265964 - sys-power/nut-2.4.1 fails to build with stable sys-devel/libtool
Summary: sys-power/nut-2.4.1 fails to build with stable sys-devel/libtool
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-13 10:01 UTC by Sergey Belyashov
Modified: 2009-05-11 03:46 UTC (History)
6 users (show)

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


Attachments
nut-2.4.1.ebuild.diff (nut-2.4.1.ebuild.diff,332 bytes, patch)
2009-04-13 10:28 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff
added some fixes (nut-2.4.1-ebuild.patch,804 bytes, patch)
2009-04-13 12:53 UTC, Sergey Belyashov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Belyashov 2009-04-13 10:01:49 UTC
../libtool: line 845: X--tag=CC: command not found
../libtool: line 878: libtool: ignoring unknown tag : command not found
../libtool: line 845: X--mode=compile: command not found
../libtool: line 1012: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 1013: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 1156: Xx86_64-pc-linux-gnu-gcc: command not found
../libtool: line 1156: X-DHAVE_CONFIG_H: command not found
../libtool: line 1156: X-I.: command not found
../libtool: line 1156: X-I../include: No such file or directory
../libtool: line 1156: X-I../include: No such file or directory
../libtool: line 1156: X-march=k8: command not found
../libtool: line 1156: X-O2: command not found
../libtool: line 1156: X-pipe: command not found
../libtool: line 1156: X-fomit-frame-pointer: command not found
../libtool: line 1156: X-Wall: command not found
../libtool: line 1156: X-Wsign-compare: command not found
../libtool: line 1156: X-MT: command not found
../libtool: line 1156: Xparseconf.lo: command not found
../libtool: line 1156: X-MD: command not found
../libtool: line 1156: X-MP: command not found
../libtool: line 1156: X-MF: command not found
../libtool: line 1156: X.deps/parseconf.Tpo: No such file or directory
../libtool: line 1156: X-c: command not found
../libtool: line 1209: Xparseconf.lo: command not found
../libtool: line 1214: libtool: compile: cannot determine name of library object from `': command not found


Reproducible: Always

Steps to Reproduce:
ebuild /usr/portage/sys-power/nut/nut-2.4.1.ebuild install




emerge --info:

Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-i686-Intel-R-_Pentium-R-_4_CPU_2.40GHz-with-glibc2.0
Timestamp of tree: Sun, 12 Apr 2009 22:30:01 +0000
distcc 3.0 i686-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
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.5, 1.7.9-r1, 1.8.5-r3, 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=pentium4 -fomit-frame-pointer -pipe -mtune=pentium4"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/init.d /etc/pam.d /etc/revdep-rebuild /etc/ssh /etc/ssl /etc/terminfo /etc/udev /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -mtune=pentium4"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en ru"
MAKEOPTS="-j3 -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/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="aac acpi alsa apache2 async bash-completion berkdb bzip2 caps cli codeconv cracklib crypt cups dbus diet dri expat fam foomaticdb fortran gdbm glibc-omitfp gnutls gpm hal iconv isdnlog javascript libclamav libssh2 logrotate matroska mbox midi mmx mmxext mp3 mpm-prefork mudflap ncurses network-cron nls nptl nptlonly openmp pam pcre perl ppds pppd python qos quote readline reflection rtc ru-dv ru-i samba session slang slp spl sse sse2 ssl swat sysfs syslog tcpd threads unicode urandom usb userlocales utf8 vim-syntax win32codecs winbind x86 xinetd xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-13 10:28:10 UTC
Typical libtool problem.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-13 10:28:35 UTC
Created attachment 188205 [details, diff]
nut-2.4.1.ebuild.diff

How about this possible fix?
Comment 3 Sergey Belyashov 2009-04-13 12:53:51 UTC
Created attachment 188221 [details, diff]
added some fixes

your patch solves my problem.

I add fixes to some variables, which cause not fatal errors
Comment 4 Christian Weiske 2009-04-14 09:08:37 UTC
(In reply to comment #3)
> Created an attachment (id=188221) [edit]
> added some fixes
> 
> your patch solves my problem.
> 
> I add fixes to some variables, which cause not fatal errors

That fixes the problem for me.
Comment 5 Brian McKee 2009-04-27 04:23:44 UTC
I'd appreciate if someone would check this change to the ebuild in.

It totally worked for me.

Thanks.
Comment 6 Stephane Prunier 2009-05-05 16:14:49 UTC
It fixed the problem for me too.
Thanks
Comment 7 Rajiv Aaron Manglani (RETIRED) gentoo-dev 2009-05-11 03:46:31 UTC
sys-power/nut-2.4.1-r1 in cvs.