Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 412197 - sys-boot/silo-1.4.14_p20100228 with >sys-fs/e2fsprogs-4.2 - /usr/lib/libext2fs.a(inline.o): In function `ext2fs_get_arrayzero': (.text+0x78c): undefined reference to `calloc'
Summary: sys-boot/silo-1.4.14_p20100228 with >sys-fs/e2fsprogs-4.2 - /usr/lib/libext2f...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: Sparc Linux
: Normal normal (vote)
Assignee: Sparc Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-16 10:31 UTC by Sascha Biedermann
Modified: 2012-07-29 16:25 UTC (History)
2 users (show)

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


Attachments
new silo ebuild (silo-1.4.14_p20120226.ebuild,1.76 KB, text/plain)
2012-05-20 22:07 UTC, Attila Bogar
Details
umul patch (umul.patch,532 bytes, patch)
2012-05-20 22:08 UTC, Attila Bogar
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sascha Biedermann 2012-04-16 10:31:24 UTC
sys-boot/silo-1.4.14_p20100228 doesn't build with >sys-fs/e2fsprogs-4.2 installed
I think it might has something to do with the introduction of the static-libs USE-Flag in the sys-fs/e2fsprogs-4.2 ebuild.

Also there is another error about libext2fs not found, which occurs only when i don't set USE="static-libs" for sys-fs/e2fsprogs.

When I add >=sys-fs/e2fsprogs-42 to packages.mask everything builds fine.

Let me know if you need more information.

Reproducible: Always

Steps to Reproduce:
1. emerge silo



uname -a
Linux directory 3.0.6-gentoo #1 SMP Sun Dec 11 15:44:46 CET 2011 sparc64 sun4v UltraSparc T1 (Niagara) GNU/Linux

emerge --info =sys-boot/silo-1.4.14_p20100228
Portage 2.1.10.49 (default/linux/sparc/10.0/server, gcc-4.5.3, glibc-2.13-r4, 3.0.6-gentoo sparc64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.0.6-gentoo-sparc64-sun4v-with-gentoo-2.0.3
Timestamp of tree: Fri, 13 Apr 2012 08:15:01 +0000
app-shells/bash:          4.2_p20
dev-lang/python:          2.7.2-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo
ACCEPT_KEYWORDS="sparc"
ACCEPT_LICENSE="* -@EULA"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=ultrasparc -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -mcpu=ultrasparc -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ ftp://de-mirror.org/distro/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync1.de.gentoo.org/gentoo-portage"
USE="acl berkdb bzip2 cli cracklib crypt cups cxx dri fortran gcc64 gdbm iconv ipv6 modules mudflap ncurses nls nptl nptlonly openmp pam pcre pppd readline session snmp sparc ssl sysfs tcpd truetype unicode xml xorg 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga r128 radeon sunbw2 suncg14 suncg3 suncg6 sunffb sunleo tdfx dummy v4l" 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, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

/var/tmp/portage/sys-boot/silo-1.4.14_p20100228/temp/build.log
ld -m elf32_sparc -N -Ttext 0x280000 -Bstatic -o second crt0.o decomp.o ../common/console.o ../common/printf.o malloc.o ../common/jmp.o ../common/prom.o ../common/tree.o ../common/urem.o ../common/udiv.o ../common/stringops1.o ../common/ffs.o ../common/divdi3.o ../common/udivdi3.o bmark.o main.o cmdline.o disk.o file.o misc.o cfg.o strtol.o ranges.o timer.o memory.o fs/libfs.a mul.o ../common/rem.o ../common/sdiv.o umul.o ../common/stringops2.o ls.o muldi3.o -lext2fs mark.o `sparc-unknown-linux-gnu-gcc -print-libgcc-file-name`
/usr/lib/libext2fs.a(inline.o): In function `ext2fs_get_arrayzero':
(.text+0x78c): undefined reference to `calloc'
/usr/lib/libext2fs.a(inline.o): In function `ext2fs_open_file':
(.text+0xb30): undefined reference to `open64'
/usr/lib/libext2fs.a(inline.o): In function `ext2fs_open_file':
(.text+0xb3c): undefined reference to `open64'
/usr/lib/libext2fs.a(inline.o): In function `ext2fs_stat':
(.text+0xb64): undefined reference to `stat64'
/usr/lib/libext2fs.a(inline.o): In function `ext2fs_fstat':
(.text+0xb84): undefined reference to `fstat64'
/usr/lib/libext2fs.a(mmp.o): In function `ext2fs_mmp_read':
(.text+0xcc): undefined reference to `open'
/usr/lib/libext2fs.a(mmp.o): In function `ext2fs_mmp_read':
(.text+0x124): undefined reference to `read'
/usr/lib/libext2fs.a(mmp.o): In function `ext2fs_mmp_write':
(.text+0x1a8): undefined reference to `gettimeofday'
/usr/lib/libext2fs.a(mmp.o): In function `ext2fs_mmp_reset':
(.text+0x2c4): undefined reference to `gethostname'
/usr/lib/libext2fs.a(mmp.o): In function `ext2fs_mmp_new_seq':
(.text+0x34c): undefined reference to `gettimeofday'
/usr/lib/libext2fs.a(mmp.o): In function `ext2fs_mmp_new_seq':
(.text+0x354): undefined reference to `getpid'
/usr/lib/libext2fs.a(mmp.o): In function `ext2fs_mmp_new_seq':
(.text+0x35c): undefined reference to `getuid'
/usr/lib/libext2fs.a(mmp.o): In function `ext2fs_mmp_new_seq':
(.text+0x378): undefined reference to `srand'
/usr/lib/libext2fs.a(mmp.o): In function `ext2fs_mmp_new_seq':
(.text+0x384): undefined reference to `gettimeofday'
/usr/lib/libext2fs.a(mmp.o): In function `ext2fs_mmp_new_seq':
(.text+0x3a4): undefined reference to `rand'
/usr/lib/libext2fs.a(mmp.o): In function `ext2fs_mmp_new_seq':
(.text+0x3c0): undefined reference to `rand'
/usr/lib/libext2fs.a(mmp.o): In function `ext2fs_mmp_start':
(.text+0x56c): undefined reference to `sleep'
/usr/lib/libext2fs.a(mmp.o): In function `ext2fs_mmp_start':
(.text+0x5ec): undefined reference to `gethostname'
/usr/lib/libext2fs.a(mmp.o): In function `ext2fs_mmp_start':
(.text+0x62c): undefined reference to `sleep'
/usr/lib/libext2fs.a(mmp.o): In function `ext2fs_mmp_stop':
(.text+0x728): undefined reference to `close'
/usr/lib/libext2fs.a(mmp.o): In function `ext2fs_mmp_update':
(.text+0x800): undefined reference to `gettimeofday'
/usr/lib/libext2fs.a(progress.o): In function `ext2fs_numeric_progress_init':
(.text+0x5c): undefined reference to `getenv'
/usr/lib/libext2fs.a(progress.o): In function `ext2fs_numeric_progress_init':
(.text+0xc4): undefined reference to `stdout'
/usr/lib/libext2fs.a(progress.o): In function `ext2fs_numeric_progress_init':
(.text+0xcc): undefined reference to `fputs'
/usr/lib/libext2fs.a(progress.o): In function `ext2fs_numeric_progress_init':
(.text+0xd0): undefined reference to `stdout'
/usr/lib/libext2fs.a(progress.o): In function `ext2fs_numeric_progress_init':
(.text+0xd4): undefined reference to `stdout'
/usr/lib/libext2fs.a(progress.o): In function `ext2fs_numeric_progress_init':
(.text+0xd8): undefined reference to `fflush'
/usr/lib/libext2fs.a(progress.o): In function `ext2fs_numeric_progress_update':
(.text+0x164): undefined reference to `__printf_chk'
/usr/lib/libext2fs.a(progress.o): In function `ext2fs_numeric_progress_update':
(.text+0x170): undefined reference to `stdout'
/usr/lib/libext2fs.a(progress.o): In function `ext2fs_numeric_progress_update':
(.text+0x17c): undefined reference to `stdout'
/usr/lib/libext2fs.a(progress.o): In function `ext2fs_numeric_progress_update':
(.text+0x180): undefined reference to `__fprintf_chk'
/usr/lib/libext2fs.a(progress.o): In function `ext2fs_numeric_progress_close':
(.text+0x1c0): undefined reference to `stdout'
/usr/lib/libext2fs.a(progress.o): In function `ext2fs_numeric_progress_close':
(.text+0x1c8): undefined reference to `stdout'
/usr/lib/libext2fs.a(progress.o): In function `ext2fs_numeric_progress_close':
(.text+0x1e0): undefined reference to `__fprintf_chk'
/usr/lib/libext2fs.a(progress.o): In function `ext2fs_numeric_progress_close':
(.text+0x1f4): undefined reference to `stdout'
/usr/lib/libext2fs.a(progress.o): In function `ext2fs_numeric_progress_close':
(.text+0x204): undefined reference to `__fprintf_chk'
/usr/lib/libext2fs.a(progress.o): In function `ext2fs_numeric_progress_close':
(.text+0x214): undefined reference to `stdout'
/usr/lib/libext2fs.a(progress.o): In function `ext2fs_numeric_progress_close':
(.text+0x218): undefined reference to `fputs'
/usr/lib/libext2fs.a(csum.o): In function `ext2fs_group_desc_csum':
(.text+0x38): undefined reference to `__printf_chk'
/usr/lib/libext2fs.a(csum.o): In function `ext2fs_group_desc_csum':
(.text+0xac): undefined reference to `__memcpy_chk'
/usr/lib/libext2fs.a(llseek.o): In function `ext2fs_llseek':
(.text+0x28): undefined reference to `lseek64'
/usr/lib/libext2fs.a(llseek.o): In function `ext2fs_llseek':
(.text+0x58): undefined reference to `__errno_location'
/usr/lib/libext2fs.a(llseek.o): In function `ext2fs_llseek':
(.text+0xa4): undefined reference to `lseek'
/usr/lib/libext2fs.a(llseek.o): In function `ext2fs_llseek':
(.text+0xc0): undefined reference to `__errno_location'
Comment 1 Attila Bogar 2012-05-20 22:07:29 UTC
Created attachment 312421 [details]
new silo ebuild
Comment 2 Attila Bogar 2012-05-20 22:08:17 UTC
Created attachment 312423 [details, diff]
umul patch
Comment 3 Attila Bogar 2012-05-20 22:09:37 UTC
Hi,

I can confirm this issue using install-sparc64-minimal-20120423.iso and stage3-sparc64-multilib-20120507.tar.bz2 and emerge --sync on a Sun Blade 1500 box.

Gentoo is hitting http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655897

I've attached new ebuild and a patch.  When deployed into /usr/local/portage using overlay it installs correctly and I can confirm that it is working.

emerge didn't automatically installed sys-fs/e2fsprogs for me.

sys-fs/e2fsprogs static-libs needs to be set in /etc/portage/package.use.

Attila
Comment 4 Raúl Porcel (RETIRED) gentoo-dev 2012-07-29 16:25:54 UTC
In portage