Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 499150 - app-emulation/libguestfs-1.22.7 - src_prepare(): 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.
Summary: app-emulation/libguestfs-1.22.7 - src_prepare(): autopoint: *** Missing versi...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Andreis Vinogradovs ( slepnoga )
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-01-24 18:37 UTC by Christian HOFFMANN
Modified: 2014-07-04 11:56 UTC (History)
3 users (show)

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


Attachments
patch (0006_add_AM_GNU_GETTEXT_VERSION.patch,406 bytes, patch)
2014-01-24 18:39 UTC, Christian HOFFMANN
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian HOFFMANN 2014-01-24 18:37:37 UTC
Failed to configure, the build says:
 * Failed Running autopoint !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /tmp/portage/app-emulation/libguestfs-1.22.7/temp/autopoint.out

 * ERROR: app-emulation/libguestfs-1.22.7::gentoo failed (prepare phase):
 *   Failed Running autopoint !

in /tmp/portage/app-emulation/libguestfs-1.22.7/temp/autopoint.out
***** autopoint *****
***** PWD: /tmp/portage/app-emulation/libguestfs-1.22.7/work/libguestfs-1.22.7
***** autopoint --force

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.


Reproducible: Always

Steps to Reproduce:
1. emerge -v app-emulation/libguestfs
2. Fail to emerge

Actual Results:  
>>> Failed to emerge app-emulation/libguestfs-1.22.7

Expected Results:  
>>> app-emulation/libguestfs-1.22.7 merged.
>>> Regenerating /etc/ld.so.cache...

>>> Recording app-emulation/libguestfs in "world" favorites file...
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.


To correct this problem, i added a patch to the ebuild files/1.22 dir

My patch is named /usr/portage/app-emulation/libguestfs/files/1.22/0006_add_AM_GNU_GETTEXT_VERSION.patch
and contains:
--- a/configure.ac	2014-01-24 19:04:05.633056872 +0100
+++ b/configure.ac	2014-01-24 19:04:34.685691757 +0100
@@ -24,6 +24,7 @@
 
 AC_INIT([libguestfs],libguestfs_major.libguestfs_minor.libguestfs_release)
 AC_CONFIG_AUX_DIR([build-aux])
+AM_GNU_GETTEXT_VERSION(0.18.3)
 
 dnl Initialize automake.  automake < 1.12 didn't have serial-tests and
 dnl gives an error if it sees this, but for automake >= 1.13
Comment 1 Christian HOFFMANN 2014-01-24 18:39:24 UTC
Created attachment 368640 [details, diff]
patch
Comment 2 Christian HOFFMANN 2014-01-24 18:41:10 UTC
Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.8.2, glibc-2.18-r1, 3.12.7-gentoo x86_64)
=================================================================
System uname: Linux-3.12.7-gentoo-x86_64-Intel-R-_Core-TM-_i7-4770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    32663680 total,  12017104 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of tree: Fri, 24 Jan 2014 11:15:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p45-r1
dev-java/java-config:     2.2.0::java
dev-lang/python:          2.7.6, 3.3.3
dev-util/cmake:           2.8.12.1-r4
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.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.18-r1
Repositories: gentoo x-portage eva java mrueg miramir science
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /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"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ovh.net/gentoo-distfiles/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://212.219.56.146/sites/www.ibiblio.org/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
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="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman/eva /var/lib/layman/java /var/lib/layman/mrueg /var/lib/layman/miramir /var/lib/layman/science"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avahi avx avx2 berkdb bluetooth branding bzip2 cairo caps cdda cdparanoia cdr cli colord cracklib crypt cryptsetup css cups cxx dbus dri dts dv dvd dvdr eds emboss encode evo exif fam ffmpeg firefox flac fortran gdbm gif gimp git gmp gnome gnome-keyring gnome-online-accounts gnutls gphoto2 graphviz gsm gstreamer gtk gudev hwdb iconv inotify introspection ipv6 jabber javascript jbig jpeg jpeg2k json keymap lame lcms ldap libass libcaca libnotify libsamplerate libsecret lzma mad matroska mms mmx mng modules mp3 mp4 mpeg mtp multilib musepack nautilus ncurses networkmanager nls nptl offensive ogg openexr opengl openmp pam pango pcre pdf png policykit posix postscript ppds pulseaudio python qt3support qt4 raw readline scanner sdl semantic-desktop session smp socialweb sound speex spell sqlite sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification svg systemd taglib tcmalloc theora threads tiff truetype udev udisks unicode upnp upnp-av upower usb v4l vala vcd videos vnc vorbis wavpack wayland webkit wmf wxwidgets x264 xattr xcb xcomposite xine xml xmp xmpp xpm xv xvid zeroconf 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="canon ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="crypt lvm systemd" 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev keyboard mouse synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US fr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7 python3_3" PYTHON_TARGETS="python2_7 python3_3" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby19 ruby20 ruby21" SANE_BACKENDS="abaton agfafocus apple artec artec_eplus48u as6e avision bh canon canon630u canon_dr cardscan coolscan coolscan2 coolscan3 dc210 dc240 dc25 dell1600n_net dmc epjitsu epson epson2 fujitsu genesys gt68xx hp hp3500 hp3900 hp4200 hp5400 hp5590 hpljm1005 hs2p ibm kodak kvs1025 leo lexmark ma1509 matsushita microtek microtek2 mustek mustek_usb nec net niash p5 pie pixma plustek qcam ricoh rts8891 s9036 sceptre sharp sm3600 sm3840 snapscan sp15c st400 stv680 tamarack teco1 teco2 teco3 test u12 umax umax1220u xerox_mfp" USERLAND="GNU" VIDEO_CARDS="intel 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 3 James Ashley 2014-03-15 22:06:11 UTC
I just ran into exactly this same problem and the same solution (except that hard-coding the gettext version seems like a bad idea).

I think it goes deeper, though.

After I got past this step, everything still failed because I have neither supermin nor febootstrap installed.

Should that be a separate bug, because a dependency declaration seems to be missing?
Comment 4 sienaf 2014-03-20 23:39:53 UTC
This is happening on 1.24.0 as well. Here is the output of /var/tmp/portage/app-emulation/libguestfs-1.24.0/temp/autopoint.out:

***** autopoint *****
***** PWD: /var/tmp/portage/app-emulation/libguestfs-1.24.0/work/libguestfs-1.24.0
***** autopoint --force

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.
Comment 5 Richard Jones 2014-03-29 12:48:16 UTC
Just like to put a comment here.  I installed a new Gentoo machine
and was able to compile libguestfs 1.26.0 (from git) with the
binary appliance
http://libguestfs.org/download/binaries/appliance/appliance-1.26.0.tar.xz

It needs:

=sys-devel/bison-2.7.1 ~amd64
=app-emulation/qemu-1.6.1 ~amd64

Configured with:

./autogen.sh \
  --prefix /usr \
  --libdir /usr/lib64 \
  --disable-static \
  --disable-appliance \
  --enable-gcc-warnings \
  -C \
  "$@"

Also set $LIBGUESTFS_PATH to point to the directory where you
unpacked the appliance.
Comment 6 Erik Mackdanz gentoo-dev 2014-04-01 20:14:52 UTC
I reproduced the issue exactly.

I dropped the patch above into /etc/portage/patches/app-emulation/libguestfs and portage was happy.  Thanks, everyone!
Comment 7 Thomas Beutin 2014-04-15 09:40:10 UTC
i can confirm:
- the bug
- the patch works

Tnx!
Comment 8 Andreis Vinogradovs ( slepnoga ) 2014-07-04 11:56:43 UTC
fixed in next version, in tree.