Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 381835 - app-arch/dump: build fails with sys-fs/e2fsprogs-1.42-wip
Summary: app-arch/dump: build fails with sys-fs/e2fsprogs-1.42-wip
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: https://sourceforge.net/tracker/?func...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-04 23:12 UTC by Allan Gottlieb
Modified: 2011-12-07 16:48 UTC (History)
1 user (show)

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


Attachments
patch for ext2fs1.42 (dump-e2fs1.42.patch,1.68 KB, patch)
2011-09-19 09:11 UTC, Thomas Pfaff
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Allan Gottlieb 2011-09-04 23:12:36 UTC
I can no longer build dump either 0.4.44-r1 or 0.4.44.

Error msg is
x86_64-pc-linux-gnu-gcc -c -D_BSD_SOURCE -D_USE_BSD_SIGNAL  -march=native -O2 -pipe -ggdb  -pipe  -I.. -I../compat/include -I/usr/include/ext2fs -I/usr/include/et   -I../dump -DRDUMP -DRRESTORE -DLINUX_FORK_BUG -DHAVE_LZO -D_PATH_DUMPDATES=\"/etc/dumpdates\" -D_DUMP_VERSION=\"0.4b44\"     traverse.c -o traverse.o
x86_64-pc-linux-gnu-gcc -c -D_BSD_SOURCE -D_USE_BSD_SIGNAL  -march=native -O2 -pipe -ggdb  -pipe  -I.. -I../compat/include -I/usr/include/ext2fs -I/usr/include/et   -I../dump -DRDUMP -DRRESTORE -DLINUX_FORK_BUG -DHAVE_LZO -D_PATH_DUMPDATES=\"/etc/dumpdates\" -D_DUMP_VERSION=\"0.4b44\"     unctime.c -o unctime.o
sed -e "s|__DUMPDATES__|/etc/dumpdates|g" \
    -e "s|__DATE__|June 10, 2011|g" \
    -e "s|__VERSION__|0.4b44|g" dump.8.in > dump.8
traverse.c: In function ‘dumpino’:
traverse.c:1000:49: error: ‘struct struct_ext2_filsys’ has no member named ‘fragsize’
traverse.c:1001:58: error: ‘struct struct_ext2_filsys’ has no member named ‘fragsize’
traverse.c:1002:24: error: ‘struct struct_ext2_filsys’ has no member named ‘fragsize’
traverse.c:1002:24: error: ‘struct struct_ext2_filsys’ has no member named ‘fragsize’
traverse.c: In function ‘blksout’:
traverse.c:1277:9: error: ‘struct struct_ext2_filsys’ has no member named ‘fragsize’
make[1]: *** [traverse.o] Error 1

This started two days ago.
It has been suggested that the latest ext2fsprogs-libs (1.42_pre0702) might
be the cause


Reproducible: Always

Steps to Reproduce:
1. emerge -1a =app-arch/dump-0.4.44  (or 0.4.44-r1)
2.
3.
Actual Results:  
Above error

Expected Results:  
successful emerge

Portage 2.1.10.11 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.3, glibc-2.13-r4, 3.0.4-gentoo-ajg-1 x86_64)
=================================================================
System uname: Linux-3.0.4-gentoo-ajg-1-x86_64-Intel-R-_Core-TM-_i7_CPU_M_620_@_2.67GHz-with-gentoo-2.0.3
Timestamp of tree: Fri, 02 Sep 2011 10:30:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r2, 3.2-r2
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1-r1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
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
    location: /usr/portage
    sync: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ABI="amd64"
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA skype-eula AdobeFlash-10.1 Broadcom googleearth"
ACCEPT_PROPERTIES="*"
ADA_INCLUDE_PATH="/usr/lib64/gnat-gpl/x86_64-pc-linux-gnu/4.1/adainclude"
ADA_OBJECTS_PATH="/usr/lib64/gnat-gpl/x86_64-pc-linux-gnu/4.1/adalib"
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"
ANT_HOME="/usr/share/ant"
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"
ARCH="amd64"
ASFLAGS_x86="--32"
AUTOCLEAN="yes"
CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump"
CAMERAS="ptp2"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ggdb"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/lib/modules"
COLORTERM="gnome-terminal"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -ggdb"
DEFAULT_ABI="amd64"
DISPLAY=":0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/usr/bin/emacsclient"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--ask --deep --tree --verbose --jobs --load-average=5"
EMERGE_WARNING_DELAY="10"
EPREFIX=""
EROOT="/"
FCFLAGS=""
FEATURES="assume-digests binpkg-logs buildsyspkg collision-protect distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FETCHCOMMAND="/usr/bin/wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec sftp -P \${port} \"\${host}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}""
FFLAGS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
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"
GRUB_PLATFORMS=""
GSETTINGS_BACKEND="gconf"
GUILE_LOAD_PATH="/usr/share/guile/1.8"
HOME="/root"
INFOPATH="/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.21.1/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/info:/usr/share/info/emacs-23:/usr/share/gnat-gpl-data/x86_64-pc-linux-gnu/4.1/info"
INPUT_DEVICES="keyboard mouse evdev"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KERNEL="linux"
LANG="en_US.utf8"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LDFLAGS_x86="-m elf_i386"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe %s"
LIBDIR_amd64="lib64"
LIBDIR_amd64_fbsd="lib64"
LIBDIR_ppc="lib32"
LIBDIR_ppc64="lib64"
LIBDIR_s390="lib32"
LIBDIR_s390x="lib64"
LIBDIR_sparc32="lib32"
LIBDIR_sparc64="lib64"
LIBDIR_x86="lib32"
LIBDIR_x86_fbsd="lib32"
LINGUAS="en"
LOGNAME="root"
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:"
MAIL="/var/mail/root"
MAKEOPTS="--jobs --load-average=5"
MANPATH="/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.21.1/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/man:/etc/java-config/system-vm/man/:/usr/share/gnat-gpl-data/x86_64-pc-linux-gnu/4.1/man"
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage|udev)"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
NOCOLOR="true"
OPENGL_PROFILE="nvidia"
PAGER="/usr/bin/less"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3:/usr/x86_64-pc-linux-gnu/gnat-gpl-bin/4.1:/usr/libexec/gnat-gpl/x86_64-pc-linux-gnu/4.1"
PHP_TARGETS="php5-3"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc sparc64-freebsd ppc-openbsd x86-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 arm-linux x86-macos x64-openbsd ia64-hpux hppa x86-netbsd x86-cygwin amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64-solaris mips-irix m68k sh x86-solaris sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib64/portage/bin"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="info log warn error"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save echo"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_GPG_SIGNING_COMMAND="gpg --sign --clearsign --yes --default-key "${PORTAGE_GPG_KEY}" --homedir "${PORTAGE_GPG_DIR}" "${FILE}""
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_PYM_PATH="/usr/lib64/portage/pym"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="-1"
PORTAGE_SANDBOX_COMPAT_LEVEL="16"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
PRELINK_PATH_MASK="/usr/lib64/libfreebl3.so:/usr/lib64/libnssdbm3.so:/usr/lib64/libsoftokn3.so"
PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"
PWD="/local/allan/gottlieb"
PYTHONDONTWRITEBYTECODE="1"
RESUMECOMMAND="/usr/bin/wget -c -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
RESUMECOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}""
ROOT="/"
ROOTPATH="/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3:/usr/x86_64-pc-linux-gnu/gnat-gpl-bin/4.1:/usr/libexec/gnat-gpl/x86_64-pc-linux-gnu/4.1"
RPMDIR="/usr/portage/rpm"
RUBY_TARGETS="ruby18"
SANE_CONFIG_DIR="/etc/sane.d"
SCHEME_LIBRARY_PATH="/usr/share/slib/"
SHELL="/bin/bash"
SHLVL="1"
STAGE1_USE="multilib nptl nptlonly unicode"
SUDO_COMMAND="/bin/su"
SUDO_GID="1502"
SUDO_UID="1502"
SUDO_USER="gottlieb"
SYMLINK_LIB="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
TERM="xterm"
USB_DEVFS_PATH="/dev/bus/usb"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gdu gif gnome gnome-keyring gpm gstreamer gtk iconv ipv6 jpeg laptop lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 readline scanner sdl session spell sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb vorbis x264 xcb xml xorg xulrunner 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="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 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" LINGUAS="en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv 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"
USER="root"
USERLAND="GNU"
USERNAME="root"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CROSSCOMPILE_OPTS DRACUT_MODULES DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL OFED_DRIVERS PHP_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS XFCE_PLUGINS XTABLES_ADDONS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:repo:env.d"
VIDEO_CARDS="nvidia nv vesa"
XAUTHORITY="/root/.xauthhQ3Foz"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share:/usr/share/gdm"
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"
_="/usr/bin/emerge"
Comment 1 Mike Gilbert gentoo-dev 2011-09-06 16:54:39 UTC
Please attach the full build log.
Comment 2 Allan Gottlieb 2011-09-07 00:39:36 UTC
(In reply to comment #1)
> Please attach the full build log.

Here it is.

 * Package:    app-arch/dump-0.4.44-r1
 * Repository: gentoo
 * Maintainer: base-system@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib readline userland_GNU
 * FEATURES:   sandbox
>>> [1m[37mcfg-update-1.8.2-r1[0m[0m: Checksum index is up-to-date ...
>>> Unpacking source...
>>> Unpacking dump-0.4b44.tar.gz to /var/tmp/portage/app-arch/dump-0.4.44-r1/work
>>> Source unpacked in /var/tmp/portage/app-arch/dump-0.4.44-r1/work
>>> Preparing source in /var/tmp/portage/app-arch/dump-0.4.44-r1/work/dump-0.4b44 ...
 * Applying dump-0.4.44-underlinking.patch ...
 [ ok ]
 * Applying dump-0.4.44-rl_completion_matches-detection.patch ...
 [ ok ]
 * Applying dump-0.4.44-fix-pointers-aliasing.patch ...
 [ ok ]
 * Running eautoreconf in '/var/tmp/portage/app-arch/dump-0.4.44-r1/work/dump-0.4b44' ...
 * Running aclocal ...
 [ ok ]
 * Running autoconf ...
 [ ok ]
 * Running autoheader ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-arch/dump-0.4.44-r1/work/dump-0.4b44 ...
 * econf: updating dump-0.4b44/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating dump-0.4b44/config.sub with /usr/share/gnuconfig/config.sub
./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 --with-dumpdatespath=/etc/dumpdates --with-binowner=root --with-manowner=root --with-bingrp=root --with-mangrp=root --enable-largefile --disable-transselinux --disable-ermt --disable-static --enable-readline --disable-debug
checking whether make sets $(MAKE)... yes
checking whether ln -s works... yes
checking for cp... /bin/cp
checking for mv... /bin/mv
checking for rm... /bin/rm
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking for x86_64-pc-linux-gnu-patch... no
checking for patch... patch
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 a BSD-compatible install... /usr/bin/install -c
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 for sys/types.h... (cached) yes
Not including debugging code
Linking dump and restore dynamically
Linking libz and libbz2 dynamically by default
Compiling rmt by default
Not compiling ermt
Not compiling kerberos extensions by default
Including readline support
Using new style F script by default
Enabling Large File System support
Enabling Quick File Access support by default
Not including Quick File Access debugging code by default
Not including Mac OSX restore compatibility code by default
restore can not translate SELinux EAs
CC defaults to x86_64-pc-linux-gnu-gcc
LD defaults to x86_64-pc-linux-gnu-gcc
BINOWNER is root
BINGRP is root
BINMODE defaults to 0755
MANOWNER is root
MANGRP is root
MANMODE defaults to 0644
DUMPDATESPATH is /etc/dumpdates
checking for ext2fs/ext2fs.h... yes
checking for x86_64-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for EXT2FS... yes
checking for COM_ERR... yes
checking for ext2fs_read_inode_full in -lext2fs... yes
checking for ext2fs/ext2_fs.h... yes
checking for ext2_ino_t type in libext2fs headers... yes
checking for s_journal_inum field in ext2_super_block struct... yes
checking for blkid/blkid.h... yes
checking for tgetent in -lncurses... yes
checking for tgetent in -ltermcap... no
checking for tgetent in -ltinfo... no
checking for readline/readline.h... yes
checking for readline in -lreadline... yes
checking for rl_completion_matches in -lreadline... yes
checking for rl_completion_append_character in -lreadline... yes
checking for zlib.h... yes
checking for zlibVersion in -lz... yes
checking for bzlib.h... yes
checking for BZ2_bzBuffToBuffCompress in -lbz2... yes
checking for err... yes
checking for errx... yes
checking for verr... yes
checking for verrx... yes
checking for vwarn... yes
checking for vwarnx... yes
checking for warn... yes
checking for warnx... yes
checking for realpath... yes
checking for lchown... yes
checking for glob... yes
checking for extended glob routines... yes
checking for quad_t... yes
checking for u_quad_t... yes
configure: creating ./config.status
config.status: creating MCONFIG
config.status: WARNING:  'MCONFIG.in' seems to ignore the --datarootdir setting
config.status: creating Makefile
config.status: creating common/Makefile
config.status: creating compat/include/Makefile
config.status: creating compat/lib/Makefile
config.status: creating dump/Makefile
config.status: creating restore/Makefile
config.status: creating rmt/Makefile
config.status: creating config.h
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-arch/dump-0.4.44-r1/work/dump-0.4b44 ...
make --jobs --load-average=5 
for i in compat/lib compat/include common dump restore rmt; do \
	(cd $i && make all) || exit 1; \
done
make[1]: Entering directory `/var/tmp/portage/app-arch/dump-0.4.44-r1/work/dump-0.4b44/compat/lib'
x86_64-pc-linux-gnu-gcc -c -D_BSD_SOURCE -D_USE_BSD_SIGNAL  -march=native -O2 -pipe -ggdb  -pipe  -I../.. -I../../compat/include -I/usr/include/ext2fs -I/usr/include/et   -I../../compat/include -DRDUMP -DRRESTORE -DLINUX_FORK_BUG -DHAVE_LZO -D_PATH_DUMPDATES=\"/etc/dumpdates\" -D_DUMP_VERSION=\"0.4b44\"    compaterr.c -o compaterr.o
x86_64-pc-linux-gnu-gcc -c -D_BSD_SOURCE -D_USE_BSD_SIGNAL  -march=native -O2 -pipe -ggdb  -pipe  -I../.. -I../../compat/include -I/usr/include/ext2fs -I/usr/include/et   -I../../compat/include -DRDUMP -DRRESTORE -DLINUX_FORK_BUG -DHAVE_LZO -D_PATH_DUMPDATES=\"/etc/dumpdates\" -D_DUMP_VERSION=\"0.4b44\"    compatglob.c -o compatglob.o
x86_64-pc-linux-gnu-gcc -c -D_BSD_SOURCE -D_USE_BSD_SIGNAL  -march=native -O2 -pipe -ggdb  -pipe  -I../.. -I../../compat/include -I/usr/include/ext2fs -I/usr/include/et   -I../../compat/include -DRDUMP -DRRESTORE -DLINUX_FORK_BUG -DHAVE_LZO -D_PATH_DUMPDATES=\"/etc/dumpdates\" -D_DUMP_VERSION=\"0.4b44\"    bylabel.c -o bylabel.o
x86_64-pc-linux-gnu-gcc -c -D_BSD_SOURCE -D_USE_BSD_SIGNAL  -march=native -O2 -pipe -ggdb  -pipe  -I../.. -I../../compat/include -I/usr/include/ext2fs -I/usr/include/et   -I../../compat/include -DRDUMP -DRRESTORE -DLINUX_FORK_BUG -DHAVE_LZO -D_PATH_DUMPDATES=\"/etc/dumpdates\" -D_DUMP_VERSION=\"0.4b44\"    system.c -o system.o
x86_64-pc-linux-gnu-gcc -c -D_BSD_SOURCE -D_USE_BSD_SIGNAL  -march=native -O2 -pipe -ggdb  -pipe  -I../.. -I../../compat/include -I/usr/include/ext2fs -I/usr/include/et   -I../../compat/include -DRDUMP -DRRESTORE -DLINUX_FORK_BUG -DHAVE_LZO -D_PATH_DUMPDATES=\"/etc/dumpdates\" -D_DUMP_VERSION=\"0.4b44\"    rmtflags.c -o rmtflags.o
x86_64-pc-linux-gnu-gcc -c -D_BSD_SOURCE -D_USE_BSD_SIGNAL  -march=native -O2 -pipe -ggdb  -pipe  -I../.. -I../../compat/include -I/usr/include/ext2fs -I/usr/include/et   -I../../compat/include -DRDUMP -DRRESTORE -DLINUX_FORK_BUG -DHAVE_LZO -D_PATH_DUMPDATES=\"/etc/dumpdates\" -D_DUMP_VERSION=\"0.4b44\"    minilzo.c -o minilzo.o
x86_64-pc-linux-gnu-ar r libcompat.a compaterr.o compatglob.o bylabel.o system.o rmtflags.o minilzo.o
x86_64-pc-linux-gnu-ar: creating libcompat.a
x86_64-pc-linux-gnu-ranlib libcompat.a
make[1]: Leaving directory `/var/tmp/portage/app-arch/dump-0.4.44-r1/work/dump-0.4b44/compat/lib'
make[1]: Entering directory `/var/tmp/portage/app-arch/dump-0.4.44-r1/work/dump-0.4b44/compat/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/app-arch/dump-0.4.44-r1/work/dump-0.4b44/compat/include'
make[1]: Entering directory `/var/tmp/portage/app-arch/dump-0.4.44-r1/work/dump-0.4b44/common'
x86_64-pc-linux-gnu-gcc -c -D_BSD_SOURCE -D_USE_BSD_SIGNAL  -march=native -O2 -pipe -ggdb  -pipe  -I.. -I../compat/include -I/usr/include/ext2fs -I/usr/include/et   -I../dump -DRDUMP -DRRESTORE -DLINUX_FORK_BUG -DHAVE_LZO -D_PATH_DUMPDATES=\"/etc/dumpdates\" -D_DUMP_VERSION=\"0.4b44\"     dumprmt.c -o dumprmt.o
make[1]: Leaving directory `/var/tmp/portage/app-arch/dump-0.4.44-r1/work/dump-0.4b44/common'
make[1]: Entering directory `/var/tmp/portage/app-arch/dump-0.4.44-r1/work/dump-0.4b44/dump'
x86_64-pc-linux-gnu-gcc -c -D_BSD_SOURCE -D_USE_BSD_SIGNAL  -march=native -O2 -pipe -ggdb  -pipe  -I.. -I../compat/include -I/usr/include/ext2fs -I/usr/include/et   -I../dump -DRDUMP -DRRESTORE -DLINUX_FORK_BUG -DHAVE_LZO -D_PATH_DUMPDATES=\"/etc/dumpdates\" -D_DUMP_VERSION=\"0.4b44\"     itime.c -o itime.o
x86_64-pc-linux-gnu-gcc -c -D_BSD_SOURCE -D_USE_BSD_SIGNAL  -march=native -O2 -pipe -ggdb  -pipe  -I.. -I../compat/include -I/usr/include/ext2fs -I/usr/include/et   -I../dump -DRDUMP -DRRESTORE -DLINUX_FORK_BUG -DHAVE_LZO -D_PATH_DUMPDATES=\"/etc/dumpdates\" -D_DUMP_VERSION=\"0.4b44\"     main.c -o main.o
x86_64-pc-linux-gnu-gcc -c -D_BSD_SOURCE -D_USE_BSD_SIGNAL  -march=native -O2 -pipe -ggdb  -pipe  -I.. -I../compat/include -I/usr/include/ext2fs -I/usr/include/et   -I../dump -DRDUMP -DRRESTORE -DLINUX_FORK_BUG -DHAVE_LZO -D_PATH_DUMPDATES=\"/etc/dumpdates\" -D_DUMP_VERSION=\"0.4b44\"     optr.c -o optr.o
x86_64-pc-linux-gnu-gcc -c -D_BSD_SOURCE -D_USE_BSD_SIGNAL  -march=native -O2 -pipe -ggdb  -pipe  -I.. -I../compat/include -I/usr/include/ext2fs -I/usr/include/et   -I../dump -DRDUMP -DRRESTORE -DLINUX_FORK_BUG -DHAVE_LZO -D_PATH_DUMPDATES=\"/etc/dumpdates\" -D_DUMP_VERSION=\"0.4b44\"     tape.c -o tape.o
x86_64-pc-linux-gnu-gcc -c -D_BSD_SOURCE -D_USE_BSD_SIGNAL  -march=native -O2 -pipe -ggdb  -pipe  -I.. -I../compat/include -I/usr/include/ext2fs -I/usr/include/et   -I../dump -DRDUMP -DRRESTORE -DLINUX_FORK_BUG -DHAVE_LZO -D_PATH_DUMPDATES=\"/etc/dumpdates\" -D_DUMP_VERSION=\"0.4b44\"     traverse.c -o traverse.o
x86_64-pc-linux-gnu-gcc -c -D_BSD_SOURCE -D_USE_BSD_SIGNAL  -march=native -O2 -pipe -ggdb  -pipe  -I.. -I../compat/include -I/usr/include/ext2fs -I/usr/include/et   -I../dump -DRDUMP -DRRESTORE -DLINUX_FORK_BUG -DHAVE_LZO -D_PATH_DUMPDATES=\"/etc/dumpdates\" -D_DUMP_VERSION=\"0.4b44\"     unctime.c -o unctime.o
sed -e "s|__DUMPDATES__|/etc/dumpdates|g" \
    -e "s|__DATE__|June 10, 2011|g" \
    -e "s|__VERSION__|0.4b44|g" dump.8.in > dump.8
traverse.c: In function ‘dumpino’:
traverse.c:1000:49: error: ‘struct struct_ext2_filsys’ has no member named ‘fragsize’
traverse.c:1001:58: error: ‘struct struct_ext2_filsys’ has no member named ‘fragsize’
traverse.c:1002:24: error: ‘struct struct_ext2_filsys’ has no member named ‘fragsize’
traverse.c:1002:24: error: ‘struct struct_ext2_filsys’ has no member named ‘fragsize’
traverse.c: In function ‘blksout’:
traverse.c:1277:9: error: ‘struct struct_ext2_filsys’ has no member named ‘fragsize’
make[1]: *** [traverse.o] Error 1
make[1]: *** Waiting for unfinished jobs....
optr.c: In function ‘timeest’:
optr.c:333:10: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
make[1]: Leaving directory `/var/tmp/portage/app-arch/dump-0.4.44-r1/work/dump-0.4b44/dump'
make: *** [all] Error 1
 * ERROR: app-arch/dump-0.4.44-r1 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of 'emerge --info =app-arch/dump-0.4.44-r1',
 * the complete build log and the output of 'emerge -pqv =app-arch/dump-0.4.44-r1'.
 * The complete build log is located at '/var/tmp/portage/app-arch/dump-0.4.44-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-arch/dump-0.4.44-r1/temp/environment'.
 * S: '/var/tmp/portage/app-arch/dump-0.4.44-r1/work/dump-0.4b44'
Comment 3 SpanKY gentoo-dev 2011-09-07 04:16:23 UTC
always post build logs as attachments and never as comments
Comment 4 Allan Gottlieb 2011-09-07 12:15:47 UTC
(In reply to comment #3)
> always post build logs as attachments and never as comments

Sorry, will do in the future.
Comment 5 SpanKY gentoo-dev 2011-09-15 04:06:04 UTC
the 1.42 series changed from "fragments" to "clusters" in ext2_fs.h
Comment 6 Thomas Pfaff 2011-09-19 09:11:00 UTC
Created attachment 286991 [details, diff]
patch for ext2fs1.42

Compiles on my box with this patch applied.
Comment 7 SpanKY gentoo-dev 2011-09-20 02:58:44 UTC
i wasnt sure the new defines had the same meaning

have you verified on an ext fs ?
Comment 8 Thomas Pfaff 2011-09-20 08:13:57 UTC
While i think that the patch itself is correct, dump has has some more problems with e2fsprogs-1.42.

restore seems to work, but dump stops on a SIGFPE signal that is probably generated from the ext2 lib. dump build against e2fsprogs-1.41 also fails with this signal after an e2fsprogs update.
Comment 9 SpanKY gentoo-dev 2011-09-20 22:39:21 UTC
ok, so let's hold off on merging your patch ... build failure is better than runtime ? :)
Comment 10 Allan Gottlieb 2011-09-21 03:40:24 UTC
(In reply to comment #9)
> ok, so let's hold off on merging your patch ... build failure is better than
> runtime ? :)

(I am the OP) The reason I tried to merge dump and encountered the build failure is that my current executable produces bad dumps.  They are too short and restore can't handle them.
I have been using tar as a "substitute" essentially this entire month, which is when the problem started.  Are there any versions of dump that can be merged with the current e2fsprogs and produce dumps the corresponding restore can handle?
Comment 11 SpanKY gentoo-dev 2011-09-21 04:41:58 UTC
does dump built & run with e2fsprogs-1.41 work correctly ?
Comment 12 Allan Gottlieb 2011-09-21 17:15:39 UTC
(In reply to comment #11)
> does dump built & run with e2fsprogs-1.41 work correctly ?

I just downgraded e2fsprogs (and -libs) to 1.41.14 and then remerged
dump.  The result wrote a full size dump and restore could process it,
which is good.

Is my system ok to shutdown tonight and start tomorrow?
Specifically, there may be packages that were emerged with when
e2fsprogs-libs was at 1-42 and now my system has e2fsprogs-libs
at 1.41.

I believe I am OK since I added
  =sys-fs/e2fsprogs-1.42_pre0702
to package.mask
and confirmed that update world found nothing to merge
Comment 13 Thomas Pfaff 2011-09-21 18:27:58 UTC
dump with e2fsprogs 1.41 works on my box too.

You might run "equery depends sys-libs/e2fsprogs-libs sys-fs/e2fsprogs" and rebuild the packages when they are build after your e2fsprogs update.

Regarding the floating point exception with e2fsprogs 1.42 i will have a look but not before next week.
Comment 14 Allan Gottlieb 2011-09-21 18:57:57 UTC
(In reply to comment #13)
> dump with e2fsprogs 1.41 works on my box too.
> 
> You might run "equery depends sys-libs/e2fsprogs-libs sys-fs/e2fsprogs" and
> rebuild the packages when they are build after your e2fsprogs update.
> 
> Regarding the floating point exception with e2fsprogs 1.42 i will have a look
> but not before next week.

Thanks.  I just now did that and rebuilt the very few dependencies.  But if you look for indirect dependencies via "equery depends -D e2fsprogs-libs", you get a huge list.
Comment 15 Peter Volkov (RETIRED) gentoo-dev 2011-09-29 07:37:46 UTC
Reported issue and findings upstream.
Comment 16 SpanKY gentoo-dev 2011-12-07 16:48:32 UTC
seems like dump builds with the 1.42 final release ...