Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
libguestfs and autopoint (previously reported bug)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
spawnv
n00b
n00b


Joined: 14 Aug 2005
Posts: 5

PostPosted: Sat Mar 15, 2014 10:10 pm    Post subject: libguestfs and autopoint (previously reported bug) Reply with quote

Someone has already reported this in bugzilla. So I'm really just posting it at this point in the hopes that it will show up in search results for the next person who has this problem (FWIW).

The "official bug" seems to be at:
https://bugs.gentoo.org/show_bug.cgi?id=499150

I'm trying to emerge libguestfs on a system that I've been using for development daily for about 18 months now (so there are lots of weird customized pieces installed).

The emerge fails because of autopoint --force.

I realized it's an important error when I did an emerge --update @world afterward, and the following emerge --depclean wanted to uninstall all the dependencies that libguestfs had just installed.

Based on other posts I've found here, I tried to (re-) emerge gettext. (I've had 3rd-party configure scripts refuse to use gettext over the past month or so, in case that's relevant).

If I run `autopoint --force` (which is the command the emerge complains about) in /var/tmp/portage/app-emulation/libguestfs-1.24.0/temp, I get:
autopoint: *** Missing version: please specify in configure.ac through a line 'AM_GNU_GETTEXT_VERSION(x.yy.zz)' the gettext version the package is using
autopoint: *** Stop.

Which had me look back through the emerge logs.

The section leading up to the error looks relevant:
Code:
>>> Preparing source in ...
* Applying ... .patch ...
(etc)
* Running aclocal -I m4 ...
* Automake used for the package (1.13.4) differs from
* the installed version ().
* Running eautoreconf in '/var/tmp/...libguestfs-1.24.0' ...
* Running autopoint --force ...

* Failed Running autopoint !

Followed by the "Please include all these in your bug report" message. (I'll include that, just for the sake of completeness).

automake --version returns 1.13.4, so that seems odd.

gettext --version shows 0.18.3.

I added the requested line
Code:
AM_GNU_GETTEXT_VERSION(0.18.3)
to configure.ac, and the autopoint command ran without any trouble.

From there, I tried running ./configure, just to see what could be seen. It failed because I have neither supermin nor febootstrap installed.

I'm going to try a reboot (new kernel options...dealing with virtualization is killing my uptime) and reinstall, but I'll have to just install by hand if that doesn't fix things.

Does this seem like a bug in the ebuild that I should report to bugzilla? At this point, I'm reluctant: I'm allowing a *ton* of flagged packages, which makes it seem like a waste of their time. At the same time, it seems like these sorts of interactions are important to making those packages stable.

(The "please include details" follow):

Code:
○ emerge --info '=app-emulation/libguestfs-1.24.0::gentoo'
Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop, gcc-4.7.3, glibc-2.17, 3.10.25-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.10.25-gentoo-x86_64-Intel-R-_Core-TM-_i7-3820_CPU_@_3.60GHz-with-gentoo-2.2
KiB Mem:    16380260 total,    327264 free
KiB Swap:   25165820 total,  24492424 free
Timestamp of tree: Sat, 15 Mar 2014 05:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r3, 3.3.3
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo enlightenment docker
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /var/lib/hsqldb /var/lib/redmine/config"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /var/lib/redmine/config/locales /var/lib/redmine/config/settings.yml"
CXXFLAGS="-O2 -pipe"
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 preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-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="/var/lib/layman/enlightenment /var/lib/layman/docker"
USE="X a52 aac acl acpi alsa amd64 aspell berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cxx dbus dri dts dvd dvdr emacs emboss encode exif fam firefox flac fortran g3dvl gdbm gif gnome-keyring gpm gtk iconv imagemagick ipv6 jpeg lcms ldap libnotify lm_sensors lock mad mmx mng modules mp3 mp4 mpeg multilib ncurses nls nptl nvidia offensive ogg opengl openmp pam pango pcre pdf png policykit ppds python qt3support readline sdl session spell sse sse2 ssl startup-notification svg tcpd thunar tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xinerama xml xv xvid xvmc zlib" ABI_X86="64" 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" 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 author" 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 ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON


Code:
○ emerge -pqv '=app-emulation/libguestfs-1.24.0::gentoo'   
[ebuild  N    ] app-emulation/libguestfs-1.24.0  USE="fuse ocaml ruby systemtap -debug -doc -erlang -inspect-icons -introspection -lua -perl (-selinux) -static-libs {-test}"


Complete build log:

Code:
○ cat build.log
 * Package:    app-emulation/libguestfs-1.24.0
 * Repository: gentoo
 * Maintainer: andreis.vinogradovs@gmail.com maksbotan@gentoo.org,rich@annexia.org,proxy-maint@gentoo.org
 * USE:        amd64 elibc_glibc fuse kernel_linux ocaml ruby systemtap userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/3.10.25-gentoo/build
 * Found sources for kernel version:
 *     3.10.25-gentoo
 * Checking for suitable kernel configuration options...                        [ ok ]
>>> Unpacking source...
>>> Unpacking libguestfs-1.24.0.tar.gz to /var/tmp/portage/app-emulation/libguestfs-1.24.0/work
>>> Source unpacked in /var/tmp/portage/app-emulation/libguestfs-1.24.0/work
>>> Preparing source in /var/tmp/portage/app-emulation/libguestfs-1.24.0/work/libguestfs-1.24.0 ...
 * Applying 0001_add_gentoo_names_to_configure.patch ...                        [ ok ]
 * Applying 0002_add_gentooway_to_remove_la_files.patch ...                     [ ok ]
 * Applying 0004_add_icoutils_configure_drop_automagic.patch ...                [ ok ]
 * Applying 0005_enable_gtk_docs_in_broken_autotools-utils-eclass.patch ...     [ ok ]
 * Applying 0103_disable_php_bindings_makefile.patch ...                        [ ok ]
 * Running aclocal -I m4 ...                                                    [ ok ]
 * Automake used for the package (1.13.4) differs from
 * the installed version ().
 * Running eautoreconf in '/var/tmp/portage/app-emulation/libguestfs-1.24.0/work/libguestfs-1.24.0' ...
 * Running autopoint --force ...                                                [ !! ]

 * Failed Running autopoint !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/app-emulation/libguestfs-1.24.0/temp/autopoint.out

 * ERROR: app-emulation/libguestfs-1.24.0::gentoo failed (prepare phase):
 *   Failed Running autopoint !
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 4123:  Called eautomake
 *   environment, line 1377:  Called eautoreconf
 *   environment, line 1427:  Called autotools_run_tool '--at-missing' 'autopoint' '--force'
 *   environment, line  880:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
 *
 * If you need support, post the output of `emerge --info '=app-emulation/libguestfs-1.24.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/libguestfs-1.24.0::gentoo'`.
/usr/lib64/portage/bin/isolated-functions.sh: line 195: wait: `Failed Running autopoint !': not a pid or valid job spec
 * The complete build log is located at '/var/log/portage/app-emulation:libguestfs-1.24.0:20140315-205747.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-emulation/libguestfs-1.24.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/libguestfs-1.24.0/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/libguestfs-1.24.0/work/libguestfs-1.24.0'
 * S: '/var/tmp/portage/app-emulation/libguestfs-1.24.0/work/libguestfs-1.24.0'


Hmm. I vaguely remember having had a horrible time getting systemtap installed/working fairly recently. I had the same problem with that particular USE flag turned off, though.

http://packages.gentoo.org/package/dev-util/febootstrap?arches=prefix mentions that febootstrap was dropped about a year ago, at the maintainer's request (since it was renamed to supermin), and that package is definitely masked in portage. There doesn't seem to be anything that matches supermin. (Either way, one or the other is most definitely a dependency).

I feel like I'm hitting a corner case package that no one seems to be using. Which would explain why it's masked in the first place. (You know, aside from the fairly experimental cutting-edge stuff it's doing at all). Is there a more appropriate forum for this sort of thing?

Thanks,
James
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum