Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 366747 - sys-devel/gnuconfig: test failed on FreeBSD
Summary: sys-devel/gnuconfig: test failed on FreeBSD
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All FreeBSD
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-10 12:27 UTC by Naohiro Aota
Modified: 2014-01-02 12:19 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 Naohiro Aota gentoo-dev 2011-05-10 12:27:30 UTC
sys-devel/gnuconfig/files/99999999/0001-add-uClibc-guess-support.patch break the test on FreeBSD with gcc-4.5 as following.

>>> Test phase [check]: sys-devel/gnuconfig-20110202
cd testsuite && (sh config-sub.sh; sh config-guess.sh) && rm uname
PASS: config.sub checks
FAIL: crisv32-axis-linux- (expected crisv32-axis-linux-gnu)
FAIL: frv-unknown-linux- (expected frv-unknown-linux-gnu)
FAIL: or32-unknown-linux- (expected or32-unknown-linux-gnu)
FAIL: powerpc64-unknown-linux- (expected powerpc64-unknown-linux-gnu)
FAIL: vax-dec-linux- (expected vax-dec-linux-gnu)
FAIL: i686-unknown-kfreebsd5.4- (expected i686-unknown-kfreebsd5.4-gnu)
FAIL: avr32-unknown-linux- (expected avr32-unknown-linux-gnu)
FAIL: xtensa-unknown-linux- (expected xtensa-unknown-linux-gnu)
FAIL: sparc-unknown-linux- (expected sparc-unknown-linux-gnu)
FAIL: powerpc-unknown-linux- (expected powerpc-unknown-linux-gnu)
FAIL: i686-unknown-kopensolaris5.11- (expected i686-unknown-kopensolaris5.11-gnu)
Unexpected failures.

From gcc-4.5, "If a header named in a #include directive is not found, the compiler exits immediately" (see http://gcc.gnu.org/gcc-4.5/changes.html)

There is no features.h on FreeBSD and the patch try to include the header file and cause test failure.

I don't think this is serious bug. If you don't mind, I'll add workaround for the test (like bug #180637)
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-05-12 22:19:08 UTC
Please post your `emerge --info sys-devel/gnuconfig' output in a comment.
Comment 2 Naohiro Aota gentoo-dev 2011-05-14 23:39:50 UTC
Portage 2.2.0_alpha31 (default/bsd/fbsd/x86/8.0, gcc-4.5.2, freebsd-lib-8.0-r0, 8.0-RELEASE i386)
=================================================================
                        System Settings
=================================================================
System uname: FreeBSD-8.0-RELEASE-i386-32bit-ELF
Timestamp of tree: Unknown
distcc 3.1 i686-gentoo-freebsd7.2 [disabled]
app-shells/bash:         4.2_p8-r1
dev-lang/python:         2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/cmake:          2.8.4
sys-apps/baselayout:     2.0.2
sys-apps/openrc:         0.8.0
sys-apps/sandbox:        1.6-r2
sys-devel/autoconf:      2.68
sys-devel/automake:      1.9.6-r3, 1.10.2, 1.11.1
sys-devel/binutils:      2.20.1-r1
sys-devel/gcc:           4.5.2
sys-devel/gcc-config:    1.4.1-r1
sys-devel/libtool:       2.4-r1
sys-devel/make:          3.82
sys-freebsd/freebsd-lib: 8.0 (virtual/os-headers)
Repositories: gentoo naota
Installed sets: 
ACCEPT_KEYWORDS="x86-fbsd ~x86-fbsd"
ACCEPT_LICENSE="* -@EULA IBM-J1.6"
CBUILD="i686-gentoo-freebsd8.0"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="i686-gentoo-freebsd8.0"
CONFIG_PROTECT="/etc /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs chflags distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ja_JP.UTF-8"

LDFLAGS=""
LINGUAS="ja"
MAKEOPTS="-j2 --load-average 2"
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="/home/naota/src/portage-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl bash-completion berkdb bzip2 cjk cli cracklib crypt cvs cxx dbus dri emacs fontconfig gdbm gif gtk iconv ipv6 java5 java6 jpeg modules ncurses nls nptlonly opengl oss pam pcre perl png python readline session ssl subversion svg tcpd truetype unicode x86-fbsd xcb xft xorg zfs zlib" 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="FreeBSD" 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="keyboard mouse" KERNEL="FreeBSD" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ja" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="BSD" VIDEO_CARDS="vesa" 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

=================================================================
                        Package Settings
=================================================================

sys-devel/gnuconfig-20110202 was built with the following:
USE="(java5)"
Comment 3 Mike Gilbert gentoo-dev 2011-05-15 04:41:06 UTC
I think devs are supposed to assign bugs themselves... :)
Comment 4 Geoff Madden 2011-08-15 06:26:09 UTC
It seems that at 30hrs the update for gnuconfig-20110814 has not been transferred out to the mirrors.
I cloned the git config but my bz2 does not match the manifest in the ebuild.Consequently my system keeps trying to download the file which isn't there.
If I change the manifest will this still be applicable.
Also while cloning I noticed that the diff file wasn't transferred,is this going to create more hassles.
Comment 5 Geoff Madden 2011-08-15 06:27:59 UTC
I might add this is on an AMD64
Comment 6 SpanKY gentoo-dev 2011-08-15 22:18:32 UTC
tests probably fail on all non-glibc/uclibc hosts
Comment 7 Naohiro Aota gentoo-dev 2014-01-02 12:19:30 UTC
It's somehow working now.