Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 272507 - dev-libs/libowfat fails to build
Summary: dev-libs/libowfat fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on: 280941
Blocks: 270144
  Show dependency tree
 
Reported: 2009-06-03 22:21 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-08-15 22:34 UTC (History)
4 users (show)

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


Attachments
Build log (libowfat-0.28:20090603-153503.log,37.51 KB, text/plain)
2009-06-03 22:21 UTC, Diego Elio Pettenò (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-06-03 22:21:06 UTC
Portage 2.1.6.13 (!../var/cache/portage/tree/profiles/default/linux/x86/2008.0, gcc-4.4.0-asneeded, glibc-2.10.1-r0, 2.6.29-gentoo-r4 i686)
=================================================================
System uname: Linux-2.6.29-gentoo-r4-i686-Quad-Core_AMD_Opteron-tm-_Processor_2350-with-gentoo-2.0.0
Timestamp of tree: Tue, 02 Jun 2009 16:30:02 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p24
dev-java/java-config: 1.3.7-r1, 2.1.8
dev-lang/python:     2.5.4-r2, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.3
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/glftpd/etc /opt/glftpd/ftp-data /opt/openfire/resources/security/ /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/bufrtables /usr/share/config /var/bind /var/lib/hsqldb /var/phxd /var/qmail/alias /var/qmail/control /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/var/cache/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict test test-fail-continue unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
INSTALL_MASK=" 	/usr/share/doc 	/usr/share/man 	/usr/share/info"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j14"
PKGDIR="/var/spool/portage/packages"
PORTAGE_COMPRESS=""
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="/var/cache/portage/tree-tinderbox"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 isdnlog java5 java6 midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd unicode x86 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" 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, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-06-03 22:21:38 UTC
Created attachment 193459 [details]
Build log
Comment 2 solar (RETIRED) gentoo-dev 2009-06-03 23:09:03 UTC
I have no idea why this package is assigned to embedded@. Looking at the ChangeLog none of the people who ever touched it were ever involved in embedded. Looks like patrick did the last bump.

TreeCleaners.. / maintainer-needed 
Comment 3 Allen Parker 2009-08-09 22:35:06 UTC
Try again with MAKEOPTS=-j1. If libowfat is failing to compile for you, perhaps you should file a bug upstream, otherwise, attempt to compile with gcc-4.3 and complain again if it still fails to build.
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-08-09 22:37:20 UTC
It compiles fine here, please unmask again:
Portage 2.2_rc33 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.31-rc4-00350-g658874f x86_64)
CFLAGS="-march=nocona -O2 -pipe -g"
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-08-09 22:43:49 UTC
Somebody got to pick this up before I unmask it. There's a build failure, maybe it's gcc 4.4, somebody COULD try it out. But _it need a maintainer first_, given that embedded refuses to do it an Patrick does not.

Robin, want to pick it up? unmask it, assign it to yourself, and change this into a gcc-4.4 bug because that's what it is. You should know the drill.
Comment 6 Allen Parker 2009-08-09 23:25:54 UTC
(In reply to comment #5)
> Somebody got to pick this up before I unmask it. There's a build failure, maybe
> it's gcc 4.4, somebody COULD try it out. But _it need a maintainer first_,
> given that embedded refuses to do it an Patrick does not.
> 
> Robin, want to pick it up? unmask it, assign it to yourself, and change this
> into a gcc-4.4 bug because that's what it is. You should know the drill.
> 

Could you attempt to reproduce the build failure with -asneeded turned off, since as per the qa '--as-needed' documentation hosted on gentoo.org, the --as-needed LDFLAG is unsupported?
Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-08-09 23:26:20 UTC
flameeyes: Btw, if you persist in filing bugs against as-needed stuff, and want more of a response, persuade enough people to change it from officially unsupported to something more supported: "this flag is not considered safe for production use and not supported in any way by Gentoo."
http://www.gentoo.org/proj/en/qa/asneeded.xml
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-08-09 23:29:23 UTC
I'll change the wording of the guide. This is not an --as-needed issue though as far as I can see; it is reasonable that it might be a gcc4.4 problem but not --as-needed.
Comment 9 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-08-09 23:34:32 UTC
flameeyes: Ok, if it's NOT an as-needed problem, can you please attach a log with a non-as-needed compiler?
Comment 10 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-08-09 23:41:26 UTC
I'm currently fighting with getting lxc to behave, but I can tell you quickly why I don't think it's an --as-needed problem before I start considering this so much of a timedrain that I won't care.

The error reports a missing symbol:

fmt_strm_internal.c:(.text+0x11): undefined reference to `__builtin_stdarg_start'

_that_ symbol is provided by gcc itself. In addition to that, the package builds statically, so --as-needed-like behaviour is _always_ present.

My theory? GCC 4.4 added some further optimisation or some further standard implementation, and now the code is partly emitted depending on builtins that libowfat, being a standalone C library, cannot afford to use.
Comment 11 Allen Parker 2009-08-10 01:36:42 UTC
https://bugs.launchpad.net/ubuntu/+source/dietlibc/+bug/381215
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530861

This problem is NOT a problem with libowfat, but a problem with dietlibc and gcc-4.4. Above launchpad link is result 2 in google search for __builtin_stdarg_start. Debian bug references ubuntu/launchpad bug and offers a patch solution for dietlibc.
Comment 12 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-08-10 09:00:50 UTC
So whoever wants to pick up maintainership of this can unmask it. Please let me repeat: QA team won't unmask this without a maintainer picking it up.

Why? Because the next bloody time something breaks it'll be broken again and we have to go through this. The reason why we use a 60-days grace period is to find a new maintainer for the thing to be saved.
Comment 13 Samuli Suominen (RETIRED) gentoo-dev 2009-08-10 14:43:04 UTC
+*libowfat-0.28-r1 (10 Aug 2009)
+
+  10 Aug 2009; Samuli Suominen <ssuominen@gentoo.org>
+  +libowfat-0.28-r1.ebuild:
+  Raise dietlibc depend to >= 0.33_pre20090721 wrt #272507.
Comment 14 Víctor Ostorga (RETIRED) gentoo-dev 2009-08-15 22:34:16 UTC
Unmasking, Patrick and me are in metadata.xml in both dev-libs/libowfat and www-servers/gatling .