Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 264671 - sys-apps/hwinfo-14.19 failed to build.
Summary: sys-apps/hwinfo-14.19 failed to build.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard: Pending removal 2010-01-28
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2009-04-02 18:56 UTC by Albert Gall
Modified: 2010-02-01 07:29 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Albert Gall 2009-04-02 18:56:31 UTC
sys-apps/hwinfo-14.19 failed to build and versions  sys-apps/hwinfo-13.0 sys-apps/hwinfo-13.28 with a similar result, sys-apps/hwinfo-8.38 not tested (masked).

Reproducible: Always

Steps to Reproduce:
1.# emerge --sync 
2.# emerge '=hwinfo-14.19'
3.

Actual Results:  
|# emerge '=hwinfo-14.19'                                     
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sys-apps/hwinfo-14.19
 * hwinfo_14.19.orig.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                           [ ok ]
 * hwinfo_14.19-2.diff.gz RMD160 SHA1 SHA256 size ;-) ...                                                                             [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                [ ok ]
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = "en_EN",
	LANG = "en_EN"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
>>> cfg-update-1.8.2-r1: Checksum index is up-to-date ...
>>> Unpacking source...
>>> Unpacking hwinfo_14.19.orig.tar.gz to /var/tmp/portage/sys-apps/hwinfo-14.19/work
 * Applying hwinfo_14.19-2.diff.gz ...                                                                                                 [ ok ]
 * Applying various patches (bugfixes/updates) ...
 *   cpu.c-alpha_bogo ...                                                                                                              [ ok ]
 *   hwinfo.8-strip_suse ...                                                                                                           [ ok ]
 *   kbd.c-tiocgdev_undefined ...                                                                                                      [ ok ]
 *   new_archs ...                                                                                                                     [ ok ]
 *   serial_struct ...                                                                                                                 [ ok ]
 *   sparc_kioc ...                                                                                                                    [ ok ]
 * Done with patching
 * Applying hwinfo-13.11-makefile-fixes.patch ...                                                                                      [ ok ]
>>> Source unpacked in /var/tmp/portage/sys-apps/hwinfo-14.19/work
>>> Compiling source in /var/tmp/portage/sys-apps/hwinfo-14.19/work/hwinfo-14.19 ...
make -j2 -j1 'EXTRA_FLAGS=-march=native -O2 -pipe' 
make[1]: Entering directory `/var/tmp/portage/sys-apps/hwinfo-14.19/work/hwinfo-14.19/src'
make[2]: Entering directory `/var/tmp/portage/sys-apps/hwinfo-14.19/work/hwinfo-14.19/src/hd'
make[2]: Leaving directory `/var/tmp/portage/sys-apps/hwinfo-14.19/work/hwinfo-14.19/src/hd'
make[2]: Entering directory `/var/tmp/portage/sys-apps/hwinfo-14.19/work/hwinfo-14.19/src/hd'
gcc -c -O2 -Wall -pipe -g -fPIC -march=native -O2 -pipe -I../../src/hd -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/lib/dbus-1.0/include bios.c
bios.c: In function 'smbios_get_info':
bios.c:718: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
bios.c:718: warning: pointer targets in passing argument 1 of 'canon_str' differ in signedness
bios.c: In function 'parse_mpconfig':
bios.c:1036: warning: pointer targets in passing argument 1 of 'canon_str' differ in signedness
bios.c:1039: warning: pointer targets in passing argument 1 of 'canon_str' differ in signedness
gcc -c -O2 -Wall -pipe -g -fPIC -march=native -O2 -pipe -I../../src/hd -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/lib/dbus-1.0/include block.c
block.c: In function 'add_scsi_sysfs_info':
block.c:919: warning: pointer targets in passing argument 1 of 'canon_str' differ in signedness
block.c: In function 'hd_read_cdrom_info':
block.c:1117: warning: pointer targets in passing argument 1 of 'canon_str' differ in signedness
block.c:1166: warning: pointer targets in passing argument 1 of 'canon_str' differ in signedness
block.c:1171: warning: pointer targets in passing argument 1 of 'canon_str' differ in signedness
gcc -c -O2 -Wall -pipe -g -fPIC -march=native -O2 -pipe -I../../src/hd -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/lib/dbus-1.0/include braille.c
braille.c: In function 'do_alva':
braille.c:180: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
braille.c:180: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
braille.c:180: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
braille.c:180: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
braille.c:180: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
braille.c:180: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
braille.c:180: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
braille.c:180: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness
braille.c: In function 'do_fhp':
braille.c:256: warning: ignoring return value of 'write', declared with attribute warn_unused_result
braille.c:257: warning: ignoring return value of 'write', declared with attribute warn_unused_result
braille.c:258: warning: ignoring return value of 'write', declared with attribute warn_unused_result
braille.c:264: warning: ignoring return value of 'write', declared with attribute warn_unused_result
braille.c:265: warning: ignoring return value of 'write', declared with attribute warn_unused_result
braille.c:266: warning: ignoring return value of 'write', declared with attribute warn_unused_result
braille.c: In function 'do_ht':
braille.c:360: warning: ignoring return value of 'write', declared with attribute warn_unused_result
braille.c:365: warning: ignoring return value of 'read', declared with attribute warn_unused_result
braille.c:372: warning: ignoring return value of 'read', declared with attribute warn_unused_result
braille.c: In function 'do_baum':
braille.c:476: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
braille.c:476: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
braille.c:476: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
braille.c:476: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
braille.c:476: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
braille.c:476: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
braille.c:477: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
braille.c:477: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
braille.c:477: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
braille.c:477: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
braille.c:477: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
braille.c:477: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
braille.c:455: warning: ignoring return value of 'write', declared with attribute warn_unused_result
braille.c: In function 'do_fhp_new':
braille.c:539: warning: ignoring return value of 'write', declared with attribute warn_unused_result
gcc -c -O2 -Wall -pipe -g -fPIC -march=native -O2 -pipe -I../../src/hd -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/lib/dbus-1.0/include cpu.c
gcc -c -O2 -Wall -pipe -g -fPIC -march=native -O2 -pipe -I../../src/hd -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/lib/dbus-1.0/include edd.c
gcc -c -O2 -Wall -pipe -g -fPIC -march=native -O2 -pipe -I../../src/hd -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/lib/dbus-1.0/include fb.c
gcc -c -O2 -Wall -pipe -g -fPIC -march=native -O2 -pipe -I../../src/hd -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/lib/dbus-1.0/include floppy.c
gcc -c -O2 -Wall -pipe -g -fPIC -march=native -O2 -pipe -I../../src/hd -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/lib/dbus-1.0/include hal.c
gcc -c -O2 -Wall -pipe -g -fPIC -march=native -O2 -pipe -I../../src/hd -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/lib/dbus-1.0/include hd.c
hd.c: In function 'hd_scan':
hd.c:1762: error: 'HD_VERSION_STRING' undeclared (first use in this function)
hd.c:1762: error: (Each undeclared identifier is reported only once
hd.c:1762: error: for each function it appears in.)
hd.c: In function 'hd_version':
hd.c:5747: error: 'HD_VERSION_STRING' undeclared (first use in this function)
hd.c: In function 'get_sysfs_attr':
hd.c:6098: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
make[2]: *** [hd.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-apps/hwinfo-14.19/work/hwinfo-14.19/src/hd'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-apps/hwinfo-14.19/work/hwinfo-14.19/src'
make: *** [subdirs] Error 2
 * 
 * ERROR: sys-apps/hwinfo-14.19 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2176:  Called die
 * The specific snippet of code:
 *       emake -j1 EXTRA_FLAGS="${CFLAGS}" || die "emake failed"
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-apps/hwinfo-14.19/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/hwinfo-14.19/temp/environment'.
 * 

>>> Failed to emerge sys-apps/hwinfo-14.19, Log file:

>>>  '/var/tmp/portage/sys-apps/hwinfo-14.19/temp/build.log'
#

Expected Results:  
Unknown

# emerge --info
Portage 2.1.6.7 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r1, 2.6.29 x86_64)
=================================================================
System uname: Linux-2.6.29-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-glibc2.2.5
Timestamp of tree: Wed, 01 Apr 2009 22:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r8
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.28-r1
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://mirror.ovh.net/gentoo-distfiles/"
LANG="en_EN"
LC_ALL="en_EN"
LDFLAGS="-Wl,-O1"
LINGUAS="es es_ES"
MAKEOPTS="-j2"
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="acl amd64 berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 isdnlog midi mmx mudflap multilib ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl sysfs tcpd unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" DVB_CARDS="usb-wt220u" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES" LIRC_DEVICES="serial" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

#
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-02 23:12:00 UTC
Does the package install when you disable ccache?
Comment 2 Albert Gall 2009-04-02 23:56:38 UTC
(In reply to comment #1)
> Does the package install when you disable ccache?
> 

also fails without ccache ...

# emerge --info|grep ccache && emerge '=hwinfo-14.19'  
ccache version 2.4 [disabled]
dev-util/ccache:     2.4-r8
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sys-apps/hwinfo-14.19
 * hwinfo_14.19.orig.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                           [ ok ]
 * hwinfo_14.19-2.diff.gz RMD160 SHA1 SHA256 size ;-) ...                                                                             [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                [ ok ]
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = "en_EN",
	LANG = "en_EN"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
>>> cfg-update-1.8.2-r1: Checksum index is up-to-date ...
>>> Unpacking source...
>>> Unpacking hwinfo_14.19.orig.tar.gz to /var/tmp/portage/sys-apps/hwinfo-14.19/work
 * Applying hwinfo_14.19-2.diff.gz ...                                                                                                 [ ok ]
 * Applying various patches (bugfixes/updates) ...
 *   cpu.c-alpha_bogo ...                                                                                                              [ ok ]
 *   hwinfo.8-strip_suse ...                                                                                                           [ ok ]
 *   kbd.c-tiocgdev_undefined ...                                                                                                      [ ok ]
 *   new_archs ...                                                                                                                     [ ok ]
 *   serial_struct ...                                                                                                                 [ ok ]
 *   sparc_kioc ...                                                                                                                    [ ok ]
 * Done with patching
 * Applying hwinfo-13.11-makefile-fixes.patch ...                                                                                      [ ok ]
>>> Source unpacked in /var/tmp/portage/sys-apps/hwinfo-14.19/work
>>> Compiling source in /var/tmp/portage/sys-apps/hwinfo-14.19/work/hwinfo-14.19 ...
make -j2 -j1 'EXTRA_FLAGS=-march=native -O2 -pipe' 
make[1]: Entering directory `/var/tmp/portage/sys-apps/hwinfo-14.19/work/hwinfo-14.19/src'
make[2]: Entering directory `/var/tmp/portage/sys-apps/hwinfo-14.19/work/hwinfo-14.19/src/hd'
make[2]: Leaving directory `/var/tmp/portage/sys-apps/hwinfo-14.19/work/hwinfo-14.19/src/hd'
make[2]: Entering directory `/var/tmp/portage/sys-apps/hwinfo-14.19/work/hwinfo-14.19/src/hd'
gcc -c -O2 -Wall -pipe -g -fPIC -march=native -O2 -pipe -I../../src/hd -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/lib/dbus-1.0/include bios.c
bios.c: In function 'smbios_get_info':
bios.c:718: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
bios.c:718: warning: pointer targets in passing argument 1 of 'canon_str' differ in signedness
bios.c: In function 'parse_mpconfig':
bios.c:1036: warning: pointer targets in passing argument 1 of 'canon_str' differ in signedness
bios.c:1039: warning: pointer targets in passing argument 1 of 'canon_str' differ in signedness
gcc -c -O2 -Wall -pipe -g -fPIC -march=native -O2 -pipe -I../../src/hd -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/lib/dbus-1.0/include block.c
block.c: In function 'add_scsi_sysfs_info':
block.c:919: warning: pointer targets in passing argument 1 of 'canon_str' differ in signedness
block.c: In function 'hd_read_cdrom_info':
block.c:1117: warning: pointer targets in passing argument 1 of 'canon_str' differ in signedness
block.c:1166: warning: pointer targets in passing argument 1 of 'canon_str' differ in signedness
block.c:1171: warning: pointer targets in passing argument 1 of 'canon_str' differ in signedness
gcc -c -O2 -Wall -pipe -g -fPIC -march=native -O2 -pipe -I../../src/hd -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/lib/dbus-1.0/include braille.c
braille.c: In function 'do_alva':
braille.c:180: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
braille.c:180: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
braille.c:180: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
braille.c:180: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
braille.c:180: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
braille.c:180: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
braille.c:180: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
braille.c:180: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness
braille.c: In function 'do_fhp':
braille.c:256: warning: ignoring return value of 'write', declared with attribute warn_unused_result
braille.c:257: warning: ignoring return value of 'write', declared with attribute warn_unused_result
braille.c:258: warning: ignoring return value of 'write', declared with attribute warn_unused_result
braille.c:264: warning: ignoring return value of 'write', declared with attribute warn_unused_result
braille.c:265: warning: ignoring return value of 'write', declared with attribute warn_unused_result
braille.c:266: warning: ignoring return value of 'write', declared with attribute warn_unused_result
braille.c: In function 'do_ht':
braille.c:360: warning: ignoring return value of 'write', declared with attribute warn_unused_result
braille.c:365: warning: ignoring return value of 'read', declared with attribute warn_unused_result
braille.c:372: warning: ignoring return value of 'read', declared with attribute warn_unused_result
braille.c: In function 'do_baum':
braille.c:476: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
braille.c:476: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
braille.c:476: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
braille.c:476: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
braille.c:476: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
braille.c:476: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
braille.c:477: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
braille.c:477: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
braille.c:477: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
braille.c:477: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
braille.c:477: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
braille.c:477: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
braille.c:455: warning: ignoring return value of 'write', declared with attribute warn_unused_result
braille.c: In function 'do_fhp_new':
braille.c:539: warning: ignoring return value of 'write', declared with attribute warn_unused_result
gcc -c -O2 -Wall -pipe -g -fPIC -march=native -O2 -pipe -I../../src/hd -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/lib/dbus-1.0/include cpu.c
gcc -c -O2 -Wall -pipe -g -fPIC -march=native -O2 -pipe -I../../src/hd -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/lib/dbus-1.0/include edd.c
gcc -c -O2 -Wall -pipe -g -fPIC -march=native -O2 -pipe -I../../src/hd -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/lib/dbus-1.0/include fb.c
gcc -c -O2 -Wall -pipe -g -fPIC -march=native -O2 -pipe -I../../src/hd -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/lib/dbus-1.0/include floppy.c
gcc -c -O2 -Wall -pipe -g -fPIC -march=native -O2 -pipe -I../../src/hd -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/lib/dbus-1.0/include hal.c
gcc -c -O2 -Wall -pipe -g -fPIC -march=native -O2 -pipe -I../../src/hd -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/lib/dbus-1.0/include hd.c
hd.c: In function 'hd_scan':
hd.c:1762: error: 'HD_VERSION_STRING' undeclared (first use in this function)
hd.c:1762: error: (Each undeclared identifier is reported only once
hd.c:1762: error: for each function it appears in.)
hd.c: In function 'hd_version':
hd.c:5747: error: 'HD_VERSION_STRING' undeclared (first use in this function)
hd.c: In function 'get_sysfs_attr':
hd.c:6098: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
make[2]: *** [hd.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-apps/hwinfo-14.19/work/hwinfo-14.19/src/hd'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-apps/hwinfo-14.19/work/hwinfo-14.19/src'
make: *** [subdirs] Error 2
 * 
 * ERROR: sys-apps/hwinfo-14.19 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2176:  Called die
 * The specific snippet of code:
 *       emake -j1 EXTRA_FLAGS="${CFLAGS}" || die "emake failed"
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-apps/hwinfo-14.19/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/hwinfo-14.19/temp/environment'.
 * 

>>> Failed to emerge sys-apps/hwinfo-14.19, Log file:

>>>  '/var/tmp/portage/sys-apps/hwinfo-14.19/temp/build.log'
#

with versions hwinfo-13.0 hwinfo-13.28 fails without using ccache.



Comment 3 Ignitus 2009-06-04 23:45:32 UTC
Same issue hwinfo-13.28

It just bails out in the middle of compiling no obvious errors found except the call stack given when portage bails out 

ebuild.sh line 48: called src_compile
enviroment, line 2152 called die
emake -j1 EXTRA_FLAGS="${CFLAGS}" || die "emake failed"

Comment 4 Henrik 2010-01-03 10:43:51 UTC
I have the same problem with sys-apps/hwinfo-13.28.
And i got this error on sys-apps/hwinfo-14.19.

make[2]: Entering directory `/var/tmp/portage/sys-apps/hwinfo-14.19/work/hwinfo-14.19/src/int10'
gcc -c -O2 -Wall -pipe -g -fPIC -O1 -pipe -march=nocona -I../../src/hd emu_vm86.c
gcc -c -O2 -Wall -pipe -g -fPIC -O1 -pipe -march=nocona -I../../src/hd i10_int.c
gcc -c -O2 -Wall -pipe -g -fPIC -O1 -pipe -march=nocona -I../../src/hd i10_io.c
gcc -c -O2 -Wall -pipe -g -fPIC -O1 -pipe -march=nocona -I../../src/hd i10_pci.c
gcc -c -O2 -Wall -pipe -g -fPIC -O1 -pipe -march=nocona -I../../src/hd -fno-strict-aliasing i10_v86.c
i10_v86.c: In function 'setup_vm86':
i10_v86.c:104: error: 'VIF_MASK' undeclared (first use in this function)
i10_v86.c:104: error: (Each undeclared identifier is reported only once
i10_v86.c:104: error: for each function it appears in.)
i10_v86.c:104: error: 'VIP_MASK' undeclared (first use in this function)
i10_v86.c: In function 'run_bios_int':
i10_v86.c:474: error: 'VIF_MASK' undeclared (first use in this function)
i10_v86.c:475: error: 'IF_MASK' undeclared (first use in this function)
i10_v86.c:486: error: 'TF_MASK' undeclared (first use in this function)
i10_v86.c:486: error: 'NT_MASK' undeclared (first use in this function)
make[2]: *** [i10_v86.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-apps/hwinfo-14.19/work/hwinfo-14.19/src/int10'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-apps/hwinfo-14.19/work/hwinfo-14.19/src'
make: *** [subdirs] Error 2
 * ERROR: sys-apps/hwinfo-14.19 failed:
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line  61:  Called src_compile
 *   environment, line 2268:  Called die
 * The specific snippet of code:
 *       emake -j1 EXTRA_FLAGS="${CFLAGS}" || die "emake failed"
 *
 * If you need support, post the output of 'emerge --info =sys-apps/hwinfo-14.19',
 * the complete build log and the output of 'emerge -pqv =sys-apps/hwinfo-14.19'.
 * The complete build log is located at '/var/tmp/portage/sys-apps/hwinfo-14.19/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/hwinfo-14.19/temp/environment'.
 * S: '/var/tmp/portage/sys-apps/hwinfo-14.19/work/hwinfo-14.19'


emerge --info =sys-apps/hwinfo-14.19
Portage 2.1.7.14 (default/linux/x86/10.0/server, gcc-4.4.2, glibc-2.11-r1, 2.6.31-gentoo-r6 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.31-gentoo-r6-i686-Intel-R-_Celeron-R-_CPU_2.80GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 22 Dec 2009 08:30:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4, 3.1.1-r1
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.3
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.64
sys-devel/automake:  1.6.3-r1, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O1 -pipe -march=nocona"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O1 -pipe -march=nocona"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="en da"
MAKEOPTS="-j2"
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/layman/sipx"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl alsa apache2 berkdb bzip2 cli cracklib crypt ctype cups curl cxx dbus dri faac faad fbcon fortran gdbm gpm gsm iconv ipv6 java java6 midi mmx modules mp3 mudflap mysql ncurses nls nptl nptlonly ogg openmp oss pam pcre perl php posix pppd python readline reflection resperl session simplexml snmp soap sockets speex spl sse sse2 ssl sysfs tcpd theora tokenizer truetype unicode v4l v4l2 vmdbmysql vorbis wavpack x264 x86 xlm xml xmlreader xmlwriter xorg xsl xvid zlib" ALSA_CARDS="dummy" 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 proxy" APACHE2_MPMS="itk" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en da" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Henrik 2010-01-03 10:48:53 UTC
I suggest to close this bug as a duplicate of http://bugs.gentoo.org/281891.
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-02-01 07:29:24 UTC
16.0 in the tree.