Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 454362

Summary: sys-fs/jfsutils[static]: missing sys-apps/util-linux[static-libs] dep
Product: Gentoo Linux Reporter: Elizabeth Myers <elizabeth>
Component: [OLD] Core systemAssignee: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Status: RESOLVED FIXED    
Severity: normal CC: tomwij
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Elizabeth Myers 2013-01-28 01:23:46 UTC
sys-fs/jfsutils requires sys-apps/util-linux be built with static-libs if +static is specified as a use flag to it, or a linker failure occurs with -luuid (can't find the lib, because there is no static lib).

Reproducible: Always

Steps to Reproduce:
build sys-fs/jfsutils with +static but sys-apps/util-linux with -static-libs
Actual Results:  
Build of sys-fs/jfsutils fails with a linker error (can't find -luuid).

Expected Results:  
sys-fs/jfsutils with +static should depend on sys-apps/util-linux with +static-libs, and thus error out require the flag be added to package.use or some such.

Portage 2.1.11.50 (default/linux/amd64/13.0/desktop/kde, gcc-4.6.3, glibc-2.16.0, 3.7.4-gentoo x86_64)
=================================================================
System uname: Linux-3.7.4-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5520_@_2.27GHz-with-gentoo-2.2
KiB Mem:     9215492 total,   5946472 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Sun, 27 Jan 2013 19:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p42
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
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 -pipe -march=native -mtune=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.mcs.anl.gov/pub/gentoo/ rsync://mirror.mcs.anl.gov/gentoo/ ftp://mirror.mcs.anl.gov/pub/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo rsync://rsync.gtlib.gatech.edu/gentoo ftp://ftp.gtlib.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ http://gentoo.netnitco.net http://gentoo.osuosl.org/ http://gentoo.cs.uni.edu/ ftp://ftp.wallawalla.edu/pub/mirrors/ftp.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
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://rsync11.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cscope cups cxx dbus declarative device-mapper dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gdbm gif gpm gstreamer gtk ico iconv ipv6 jpeg jpeg2k kde kipi lcms ldap libedit libnotify lm_sensors mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds python qt3support qt4 readline sdl semantic-desktop session spell sqlite sse sse2 sse3 sse4_1 sse4_2 sse4a ssl ssse3 startup-notification svg tcpd theora tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid 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="authn_core authz_core socache_shmcb unixd 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="alpha arm cris i386 lm32 m68k microblaze microblazeel mips mips64 mips64el mipsel or32 ppc ppc64 ppcemb s390x sh4 sh4eb sparc sparc64 unicore32" QEMU_USER_TARGETS="alpha arm armeb cris i386 m68k microblaze microblazeel mips mipsel or32 ppc ppc64 ppc64abi32 s390x sh4 sh4eb sparc sparc32plus sparc64 unicore32" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fglrx" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Elizabeth Myers 2013-01-28 01:42:43 UTC
Build log, so I don't get yelled at:

[32;01m * [39;49;00mPackage:    sys-fs/jfsutils-1.1.15
[32;01m * [39;49;00mRepository: gentoo
[32;01m * [39;49;00mMaintainer: kernel-misc@gentoo.org
[32;01m * [39;49;00mUSE:        amd64 consolekit elibc_glibc kernel_linux multilib policykit static userland_GNU
[32;01m * [39;49;00mFEATURES:   sandbox
>>> Unpacking source...
>>> Unpacking jfsutils-1.1.15.tar.gz to /var/tmp/portage/sys-fs/jfsutils-1.1.15/work
>>> Source unpacked in /var/tmp/portage/sys-fs/jfsutils-1.1.15/work
>>> Preparing source in /var/tmp/portage/sys-fs/jfsutils-1.1.15/work/jfsutils-1.1.15 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-fs/jfsutils-1.1.15/work/jfsutils-1.1.15 ...
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --sbindir=/sbin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gawk... (cached) gawk
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
checking for ln... /bin/ln
checking whether ln -s works... yes
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking for unistd.h... (cached) yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking for stdint.h... (cached) yes
checking machine/endian.h usability... no
checking machine/endian.h presence... no
checking for machine/endian.h... no
checking sys/byteorder.h usability... no
checking sys/byteorder.h presence... no
checking for sys/byteorder.h... no
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.h... yes
checking sys/disklabel.h usability... no
checking sys/disklabel.h presence... no
checking for sys/disklabel.h... no
checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking for struct stat.st_rdev... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working memcmp... yes
checking for getcwd... yes
checking for getmntinfo... no
checking for strtol... yes
checking for strtoul... yes
checking for posix_memalign... yes
checking for memalign... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libfs/Makefile
config.status: creating include/Makefile
config.status: creating fsck/Makefile
config.status: creating fscklog/Makefile
config.status: creating logdump/Makefile
config.status: creating mkfs/Makefile
config.status: creating tune/Makefile
config.status: creating xpeek/Makefile
config.status: creating jfsutils.spec
config.status: creating config.h
config.status: executing depfiles commands
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-fs/jfsutils-1.1.15/work/jfsutils-1.1.15 ...
make -j8 
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/sys-fs/jfsutils-1.1.15/work/jfsutils-1.1.15'
Making all in libfs
make[2]: Entering directory `/var/tmp/portage/sys-fs/jfsutils-1.1.15/work/jfsutils-1.1.15/libfs'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include    -O2 -pipe -march=native -mtune=native -MT fssubs.o -MD -MP -MF .deps/fssubs.Tpo -c -o fssubs.o fssubs.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include    -O2 -pipe -march=native -mtune=native -MT unicode_to_utf8.o -MD -MP -MF .deps/unicode_to_utf8.Tpo -c -o unicode_to_utf8.o unicode_to_utf8.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include    -O2 -pipe -march=native -mtune=native -MT devices.o -MD -MP -MF .deps/devices.Tpo -c -o devices.o devices.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include    -O2 -pipe -march=native -mtune=native -MT utilsubs.o -MD -MP -MF .deps/utilsubs.Tpo -c -o utilsubs.o utilsubs.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include    -O2 -pipe -march=native -mtune=native -MT super.o -MD -MP -MF .deps/super.Tpo -c -o super.o super.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include    -O2 -pipe -march=native -mtune=native -MT inode.o -MD -MP -MF .deps/inode.Tpo -c -o inode.o inode.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include    -O2 -pipe -march=native -mtune=native -MT diskmap.o -MD -MP -MF .deps/diskmap.Tpo -c -o diskmap.o diskmap.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include    -O2 -pipe -march=native -mtune=native -MT message.o -MD -MP -MF .deps/message.Tpo -c -o message.o message.c
utilsubs.c: In function 'more':
utilsubs.c:76:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
utilsubs.c: In function 'prompt':
utilsubs.c:60:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
devices.c: In function 'ujfs_rw_diskblocks':
devices.c:443:5: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'int64_t' [-Wformat]
mv -f .deps/utilsubs.Tpo .deps/utilsubs.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include    -O2 -pipe -march=native -mtune=native -MT uniupr.o -MD -MP -MF .deps/uniupr.Tpo -c -o uniupr.o uniupr.c
mv -f .deps/unicode_to_utf8.Tpo .deps/unicode_to_utf8.Po
mv -f .deps/diskmap.Tpo .deps/diskmap.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include    -O2 -pipe -march=native -mtune=native -MT jfs_endian.o -MD -MP -MF .deps/jfs_endian.Tpo -c -o jfs_endian.o jfs_endian.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include    -O2 -pipe -march=native -mtune=native -MT open_by_label.o -MD -MP -MF .deps/open_by_label.Tpo -c -o open_by_label.o open_by_label.c
mv -f .deps/uniupr.Tpo .deps/uniupr.Po
mv -f .deps/fssubs.Tpo .deps/fssubs.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include    -O2 -pipe -march=native -mtune=native -MT log_dump.o -MD -MP -MF .deps/log_dump.Tpo -c -o log_dump.o log_dump.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include    -O2 -pipe -march=native -mtune=native -MT logform.o -MD -MP -MF .deps/logform.Tpo -c -o logform.o logform.c
mv -f .deps/inode.Tpo .deps/inode.Po
mv -f .deps/super.Tpo .deps/super.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include    -O2 -pipe -march=native -mtune=native -MT logredo.o -MD -MP -MF .deps/logredo.Tpo -c -o logredo.o logredo.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include    -O2 -pipe -march=native -mtune=native -MT log_work.o -MD -MP -MF .deps/log_work.Tpo -c -o log_work.o log_work.c
mv -f .deps/devices.Tpo .deps/devices.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include    -O2 -pipe -march=native -mtune=native -MT log_read.o -MD -MP -MF .deps/log_read.Tpo -c -o log_read.o log_read.c
mv -f .deps/jfs_endian.Tpo .deps/jfs_endian.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include    -O2 -pipe -march=native -mtune=native -MT log_map.o -MD -MP -MF .deps/log_map.Tpo -c -o log_map.o log_map.c
mv -f .deps/message.Tpo .deps/message.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include    -O2 -pipe -march=native -mtune=native -MT fsckmsgdef.o -MD -MP -MF .deps/fsckmsgdef.Tpo -c -o fsckmsgdef.o fsckmsgdef.c
log_dump.c: In function 'ldmp_xdump':
log_dump.c:652:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
mv -f .deps/fsckmsgdef.Tpo .deps/fsckmsgdef.Po
mv -f .deps/logform.Tpo .deps/logform.Po
mv -f .deps/open_by_label.Tpo .deps/open_by_label.Po
mv -f .deps/log_read.Tpo .deps/log_read.Po
mv -f .deps/log_dump.Tpo .deps/log_dump.Po
mv -f .deps/logredo.Tpo .deps/logredo.Po
mv -f .deps/log_map.Tpo .deps/log_map.Po
mv -f .deps/log_work.Tpo .deps/log_work.Po
rm -f libfs.a
ar cru libfs.a fssubs.o unicode_to_utf8.o devices.o utilsubs.o super.o inode.o diskmap.o message.o uniupr.o jfs_endian.o open_by_label.o log_dump.o logform.o logredo.o log_work.o log_read.o log_map.o fsckmsgdef.o 
x86_64-pc-linux-gnu-ranlib libfs.a
make[2]: Leaving directory `/var/tmp/portage/sys-fs/jfsutils-1.1.15/work/jfsutils-1.1.15/libfs'
Making all in include
make[2]: Entering directory `/var/tmp/portage/sys-fs/jfsutils-1.1.15/work/jfsutils-1.1.15/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/sys-fs/jfsutils-1.1.15/work/jfsutils-1.1.15/include'
Making all in fsck
make[2]: Entering directory `/var/tmp/portage/sys-fs/jfsutils-1.1.15/work/jfsutils-1.1.15/fsck'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs    -O2 -pipe -march=native -mtune=native -MT fsckbmap.o -MD -MP -MF .deps/fsckbmap.Tpo -c -o fsckbmap.o fsckbmap.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs    -O2 -pipe -march=native -mtune=native -MT fsckconn.o -MD -MP -MF .deps/fsckconn.Tpo -c -o fsckconn.o fsckconn.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs    -O2 -pipe -march=native -mtune=native -MT fsckdire.o -MD -MP -MF .deps/fsckdire.Tpo -c -o fsckdire.o fsckdire.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs    -O2 -pipe -march=native -mtune=native -MT fsckdtre.o -MD -MP -MF .deps/fsckdtre.Tpo -c -o fsckdtre.o fsckdtre.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs    -O2 -pipe -march=native -mtune=native -MT fsckea.o -MD -MP -MF .deps/fsckea.Tpo -c -o fsckea.o fsckea.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs    -O2 -pipe -march=native -mtune=native -MT fsckimap.o -MD -MP -MF .deps/fsckimap.Tpo -c -o fsckimap.o fsckimap.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs    -O2 -pipe -march=native -mtune=native -MT fsckino.o -MD -MP -MF .deps/fsckino.Tpo -c -o fsckino.o fsckino.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs    -O2 -pipe -march=native -mtune=native -MT fsckmeta.o -MD -MP -MF .deps/fsckmeta.Tpo -c -o fsckmeta.o fsckmeta.c
mv -f .deps/fsckea.Tpo .deps/fsckea.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs    -O2 -pipe -march=native -mtune=native -MT fsckpfs.o -MD -MP -MF .deps/fsckpfs.Tpo -c -o fsckpfs.o fsckpfs.c
fsckdtre.c: In function 'dTree_key_extract_cautiously':
fsckdtre.c:1641:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
fsckdtre.c: In function 'dTree_key_extract_record':
fsckdtre.c:1777:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
fsckimap.c: In function 'AIS_redundancy_check':
fsckimap.c:1001:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
mv -f .deps/fsckconn.Tpo .deps/fsckconn.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs    -O2 -pipe -march=native -mtune=native -MT dirindex.o -MD -MP -MF .deps/dirindex.Tpo -c -o dirindex.o dirindex.c
mv -f .deps/dirindex.Tpo .deps/dirindex.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs    -O2 -pipe -march=native -mtune=native -MT fsckwsp.o -MD -MP -MF .deps/fsckwsp.Tpo -c -o fsckwsp.o fsckwsp.c
mv -f .deps/fsckbmap.Tpo .deps/fsckbmap.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs    -O2 -pipe -march=native -mtune=native -MT fsckxtre.o -MD -MP -MF .deps/fsckxtre.Tpo -c -o fsckxtre.o fsckxtre.c
mv -f .deps/fsckino.Tpo .deps/fsckino.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs    -O2 -pipe -march=native -mtune=native -MT xchkdsk.o -MD -MP -MF .deps/xchkdsk.Tpo -c -o xchkdsk.o xchkdsk.c
mv -f .deps/fsckdire.Tpo .deps/fsckdire.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs    -O2 -pipe -march=native -mtune=native -MT fsckruns.o -MD -MP -MF .deps/fsckruns.Tpo -c -o fsckruns.o fsckruns.c
mv -f .deps/fsckpfs.Tpo .deps/fsckpfs.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs    -O2 -pipe -march=native -mtune=native -MT fsck_message.o -MD -MP -MF .deps/fsck_message.Tpo -c -o fsck_message.o fsck_message.c
mv -f .deps/fsckruns.Tpo .deps/fsckruns.Po
mv -f .deps/fsck_message.Tpo .deps/fsck_message.Po
mv -f .deps/fsckxtre.Tpo .deps/fsckxtre.Po
mv -f .deps/fsckmeta.Tpo .deps/fsckmeta.Po
mv -f .deps/fsckimap.Tpo .deps/fsckimap.Po
mv -f .deps/fsckdtre.Tpo .deps/fsckdtre.Po
mv -f .deps/fsckwsp.Tpo .deps/fsckwsp.Po
mv -f .deps/xchkdsk.Tpo .deps/xchkdsk.Po
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -mtune=native  -Wl,-O1 -Wl,--as-needed -static -o jfs_fsck fsckbmap.o fsckconn.o fsckdire.o fsckdtre.o fsckea.o fsckimap.o fsckino.o fsckmeta.o fsckpfs.o dirindex.o fsckwsp.o fsckxtre.o xchkdsk.o fsckruns.o fsck_message.o ../libfs/libfs.a -luuid 
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -luuid
collect2: ld returned 1 exit status
make[2]: *** [jfs_fsck] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-fs/jfsutils-1.1.15/work/jfsutils-1.1.15/fsck'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-fs/jfsutils-1.1.15/work/jfsutils-1.1.15'
make: *** [all] Error 2
emake failed
 [31;01m*[0m ERROR: sys-fs/jfsutils-1.1.15 failed (compile phase):
 [31;01m*[0m   emake failed
 [31;01m*[0m 
 [31;01m*[0m Call stack:
 [31;01m*[0m          ebuild.sh, line   93:  Called src_compile
 [31;01m*[0m        environment, line 2326:  Called __eapi2_src_compile
 [31;01m*[0m   phase-helpers.sh, line  622:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m   		emake || die "emake failed"
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of `emerge --info '=sys-fs/jfsutils-1.1.15'`,
 [31;01m*[0m the complete build log and the output of `emerge -pqv '=sys-fs/jfsutils-1.1.15'`.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/sys-fs/jfsutils-1.1.15/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/sys-fs/jfsutils-1.1.15/temp/environment'.
 [31;01m*[0m Working directory: '/var/tmp/portage/sys-fs/jfsutils-1.1.15/work/jfsutils-1.1.15'
 [31;01m*[0m S: '/var/tmp/portage/sys-fs/jfsutils-1.1.15/work/jfsutils-1.1.15'
Comment 2 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-01-28 02:04:19 UTC
> Build log, so I don't get yelled at

Ah, don't worry, it's a learning experience for all of us. In the future, please attach build logs to keep the length of the commits down. Assigned bug to the maintainers... Thank you for reporting! :)
Comment 3 Carter Smithhart 2018-01-17 05:40:55 UTC
Just hit this:

x86_64-pc-linux-gnu-gcc  -march=athlon64 -msse3 -O2 -pipe  -Wl,-O1 -Wl,--as-needed -static -o jfs_fsck fsckbmap.o fsckconn.o fsckdire.o fsckdtre.o fsckea.o fsckimap.o fsckino.o fsckmeta.o fsckpfs.o dirindex.o fsckwsp.o fsckxtre.o xchkdsk.o fsckruns.o fsck_message.o ../libfs/libfs.a -luuid                   /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -luuid                                                         collect2: error: ld returned 1 exit status                                                                                                                make[2]: *** [Makefile:267: jfs_fsck] Error 1                                                                                                             make[2]: Leaving directory '/var/tmp/portage/sys-fs/jfsutils-1.1.15/work/jfsutils-1.1.15/fsck'                                                            make[1]: *** [Makefile:260: all-recursive] Error 1                                                                                                        make[1]: Leaving directory '/var/tmp/portage/sys-fs/jfsutils-1.1.15/work/jfsutils-1.1.15'                                                                 make: *** [Makefile:196: all] Error 2                                                                                                                      * ERROR: sys-fs/jfsutils-1.1.15::gentoo failed (compile phase):                                                                                           *   emake failed                                                                                                                                          *                                                                                                                                                         * If you need support, post the output of `emerge --info '=sys-fs/jfsutils-1.1.15::gentoo'`,                                                              * the complete build log and the output of `emerge -pqv '=sys-fs/jfsutils-1.1.15::gentoo'`.                                                               * The complete build log is located at '/var/log/portage/sys-fs:jfsutils-1.1.15:20180117-050718.log'.                                                     * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-fs/jfsutils-1.1.15/temp/build.log'.                                     * The ebuild environment file is located at '/var/tmp/portage/sys-fs/jfsutils-1.1.15/temp/environment'.                                                   * Working directory: '/var/tmp/portage/sys-fs/jfsutils-1.1.15/work/jfsutils-1.1.15'                                                                       * S: '/var/tmp/portage/sys-fs/jfsutils-1.1.15/work/jfsutils-1.1.15'
Comment 4 Larry the Git Cow gentoo-dev 2020-08-20 17:50:33 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff03def29006e7148fdf3efbe1ccd8f2ff2c646d

commit ff03def29006e7148fdf3efbe1ccd8f2ff2c646d
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-08-20 17:47:54 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-08-20 17:50:19 +0000

    sys-fs/jfsutils: add missing dep on sys-apps/util-linux
    
    Closes: https://bugs.gentoo.org/454362
    Package-Manager: Portage-3.0.3, Repoman-3.0.0
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 sys-fs/jfsutils/jfsutils-1.1.15-r1.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)