Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 320269 - app-admin/system-config-printer-common-1.2.2 has automake issues
Summary: app-admin/system-config-printer-common-1.2.2 has automake issues
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 320317 320321 320387 320397 320405 320431 320509 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-17 20:27 UTC by Emmanuel Andry
Modified: 2010-05-19 07:49 UTC (History)
16 users (show)

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


Attachments
A patch file for configure.in that disables the ebuild's dependence on dist-xz (system-config-printer-common-1.2.2-configure.in.patch,381 bytes, patch)
2010-05-18 01:11 UTC, Richard
Details | Diff
A modified ebuild that applies system-config-printer-common-1.2.2-configure.in.patch (system-config-printer-common-1.2.2.ebuild,1.83 KB, text/plain)
2010-05-18 01:12 UTC, Richard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Emmanuel Andry 2010-05-17 20:27:20 UTC
# cat /var/tmp/portage/app-admin/system-config-printer-common-1.2.2/temp/automake.out
***** automake *****
***** PWD: /var/tmp/portage/app-admin/system-config-printer-common-1.2.2/work/system-config-printer-1.2.2
***** automake --add-missing --copy

configure.in:3: option `dist-xz' not recognized

Reproducible: Always
Comment 1 Emmanuel Andry 2010-05-17 20:28:10 UTC
# emerge --info app-admin/system-config-printer-common
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.3, glibc-2.11.1-r0, 2.6.33-gentoo-r2 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.33-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T5450_@_1.66GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 17 May 2010 20:00:21 +0000
app-shells/bash:     4.1_p5
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.8.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -mtune=core2 -fomit-frame-pointer -pipe -floop-interchange -floop-strip-mine -floop-block"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
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"
CXXFLAGS="-O2 -march=core2 -mtune=core2 -fomit-frame-pointer -pipe -floop-interchange -floop-strip-mine -floop-block"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://mirrors.ipv6.linuxant.fr/distfiles.gentoo.org/ ftp://mirror.ovh.net/gentoo-distfiles/ rsync://de-mirror.org/gentoo/"
LANG="fr_FR@euro"
LC_ALL="fr_FR@euro"
LDFLAGS="-Wl,--as-needed"
LINGUAS="fr"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi agg akonadi alsa amd64 autoipd avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cdda cddb cdr cg chm cleartype cli colordiff consolekit cracklib crypt cuda cups curl cxx dbus desktopglobe device-mapper dga dhcp dirac dri dts dvb dvd dvdr ebook embedded-fuseiso emboss encode exif expat extras faac faad facebook fam ffmpeg fftw firefox flac fluidsynth fontconfig fortran freetype fts3 fuse gdbm gif glitz gmp gpm graphite gsm gstreamer gtk hal hdri iconv icoutils icu idn ieee1394 inotify ipv6 java jbig jpeg jpeg2k kde kdrive kipi ladspa laptop lash lcdfilter lcms ldap libnotify libsamplerate libv4l2 lm_sensors lto lua lzma mad matroska midi mikmod mktemp mmap mmx mng modules mp3 mp4 mpeg msn mudflap multilib musicbrainz mysql ncurses network-cron nls nptl nptlonly nsplugin nss ogg openexr opengl openmp openssl optimized-qmake pae pam pango pcre pdf perl phonon plasma png policykit polkit portaudio ppds pppd pulseaudio python qt3support qt4 quicktime readline reflection resolvconf rss schroedinger sdl secure-delete semantic-desktop session sip skype sndfile spell spl sql sqlite sse sse2 sse3 ssl ssse3 startup-notification strong-optimization suid svg symlink synaptics sysfs system-sqlite taglib tcpd theora threads thumbnail tiff truetype udev unicode upnp usb utempter v4l2 vaapi vdpau vorbis wav webkit wicd wifi winetriks x264 xattr xcb xcomposite xml xorg xosd xulrunner xv xvid zip 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 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" ELIBC="glibc" INPUT_DEVICES="evdev joystick synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" RUBY_TARGETS="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, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

app-admin/system-config-printer-common-1.1.18-r2 was built with the following:
USE="(multilib) policykit -doc" 
LDFLAGS="-Wl,-O1"
Comment 2 Richard 2010-05-17 21:14:55 UTC
I can confirm that this bug is affecting x86 too. Here is my emerge info:

# emerge --info
Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.4.3, glibc-2.11.1-r0, 2.6.33.4 i686)
=================================================================
System uname: Linux-2.6.33.4-i686-Genuine_Intel-R-_CPU_T2400_@_1.83GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 17 May 2010 20:30:22 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p5
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=2048 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /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="-O2 -march=prescott --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=2048 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildpkg ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=prescott --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=2048 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.netnitco.net http://distro.ibiblio.org/pub/linux/distributions/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/vmware /var/lib/layman/java-overlay /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa apm berkdb bzip2 cdr cli consolekit cracklib crypt cups cxx dbus dri dvd dvdr fftw fortran gd gdbm gif gnutls gpm hal iconv ipv6 java java6 jpeg kde lzma midi mmap mmx mng modules mp3 mudflap ncurses networkmanager nptl nptlonly nsplugin opengl openmp pam pcre perl png pppd python qt3 qt3support qt4 readline reflection samba session spl sqlite sse sse2 sse3 ssl svg sysfs tcpd threads tiff unicode vorbis x264 x86 xml xorg xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" NETBEANS_MODULES="*" RUBY_TARGETS="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, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Jerry McBride 2010-05-17 23:28:10 UTC
Got it to compile ok here by a nasty hack...

Using "ebuild unpack" the system-config-printer-1.2.2.tar.bz2 sources. 

Go to /var/tmp/portage/app-admin/system-config-printer-common-1.2.2/work/system-config-printer-1.2.2.

Hand edit config.in and remove "dist-xz " from the third line and save it.

Then "ebuild compile" followed by "ebuild merge"...


I'm not a programmer by any measure, but it would appear that automake does not understand the xz compression utility...


Comment 4 Robert Cabrera 2010-05-18 00:45:35 UTC
Same issue here on my ~x86 laptop. I haven't tried the "hack" below yet.

My emerge --info:
Portage 2.2_rc67 (default/linux/x86/10.0/desktop/kde, gcc-4.4.3, glibc-2.11.1-r0, 2.6.33-zen2 i686)
=================================================================
System uname: Linux-2.6.33-zen2-i686-Intel-R-_Pentium-R-_M_processor_2.26GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 17 May 2010 23:45:01 +0000
app-shells/bash:     4.1_p5
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.8.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -mtune=native -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /usr/share/config/kdm /var/lib/hsqldb"
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/skel /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -mtune=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.netnitco.net http://gentoo.osuosl.org/ http://gentoo.mirrors.tds.net/gentoo http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.wetzlmayr.com/ http://osmirrors.cerias.purdue.edu/pub/gentoo/ http://www.cyberuse.com/gentoo/ http://gentoo.mirrors.hoobly.com/ ftp://gentoo.imj.fr/pub/gentoo/ http://130.59.10.35/ftp/mirror/gentoo/"
LANG="en_US.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j2 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"                                                                                                                                                                     
PORTDIR="/usr/portage"                                                                                                                                                                        
PORTDIR_OVERLAY="/usr/local/portage"                                                                                                                                                          
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"                                                                                                                                         
USE="X a52 aac aalib acl acpi akonadi alsa apm ass audiofile autoipd avahi bash-completion berkdb binfilter bluetooth bonjour branding bzip2 cairo cdda cddax cddb cdio cdparanoia cdr chm cleartype cli clucene connection-sharing consolekit contrast corefonts cracklib crypt css cups custom-cflags custom-cpuopts custom-optimization cxx dbus dell designer-plugin desktopglobe dga dhclient dhcpcd dirac djvu dri dts dv dvb dvd dvdr ebook editor emboss emovix enca encode eselect exif extensions faac faad fam fame fat fbcon fbcondecor fbsplash ffmpeg firefox firefox3 flac fortran ftp fts3 gadu gcj gd gdbm ggi gif gimp git glibc-omitfp gmm gmp gnokii gnutls google-gadgets gphoto2 gpm graphite graphviz groupwise grub gtk hal handbook hotpixels httpd hyperestraier iconv icq id3tag ieee1394 imagemagick imlib indi inotify ioctl iodbc ipod ipv6 jabber jack java java6 javascript jce jingle joystick jpeg jpeg2k kate kde kerberos kig-scripting kipi konqueror kontact ladspa lame laptop lastfm latex lcdfilter lcms ldap lensfun libass libcaca libnotify libproxy libsamplerate libsysfs libtiger libv4l libv4l2 live lm_sensors logrotate lua lzma lzo mad matroska mdnsresponder-compat meanwhile mikmod mime mjpeg mmx mng modplug modules mozilla mp3 mp3tunes mp4 mpeg mplayer msn mtp mudflap musepack musicbrainz mysql mysqli ncurses networkmanager nls nntp npp nptl nptlonly nsplugin ntfs nvidia objc objc++ objc-gc odbc offensive ogg openal openexr opengl openmp optimization optimized-qmake oscar otr pam pango pch pcmcia pcre pdf perl plasma pm-utils pmu png pnm policykit posix ppds ppp pppd python python3 qalculate qt-dbus qt-webkit qt3support qt4 qtmultimedia qtscript quicktime qwt radio raw rdesktop rdp readline reflection resolvconf rss rtc rtsp samba sasl scanner schroedinger sdl sdl-image secure-delete semantic-desktop session shout skins skype sms sndfile solver sox speex spell spl sql sqlite sse sse2 ssl startup-notification stream strong-optimization svg svga symlink sysfs system-sqlite taglib tcl tcpd templates theora threads thumbnail tidy tiff tk truetype twolame udev unicode usb v4l v4l2 vcd vcdinfo vcdx vhook vidix vlm vnc vorbis watchdog wavpack webpresence wicd wifi win32codecs windeco winpopup wma wma-fixed wmf wpd wpg wps wv2 wxwidgets wxwindows x264 x86 xanim xattr xcb xcomposite xinerama xml xmlpatterns xorg xscreensaver xulrunner xv xvid xvmc yahoo yv12 zeroconf zip zlib" ALSA_CARDS="intel8x0 intel8x0m" 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 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" RUBY_TARGETS="ruby18" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="nv 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, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Timothy Miller 2010-05-18 01:02:17 UTC
I'm having the same problem on ~amd64.
Comment 6 Richard 2010-05-18 01:11:01 UTC
Created attachment 231873 [details, diff]
A patch file for configure.in that disables the ebuild's dependence on dist-xz

I do not understand what the benefits or downsides are of resolving this bug in this manner, so it would probably be a good idea for someone who does to determine whether or not this goes into portage and also whether or not to file a bug report on this with upstream.

Until someone qualified to determine that makes a decision on it, it would be a good idea to roll-back portage to revert kde-base/system-config-printer-kde/system-config-printer-kde-4.4.3.ebuild to revision 1.1 in the portage tree and also to restore the ebuild for app-admin/system-config-printer-common-1.1.18-r2. Any other ebuilds that were modified to be made dependent on this new version should be rolled back as well. After that is done, I recommend masking app-admin/system-config-printer-common-1.1.22 until this issue is resolved.
Comment 7 Richard 2010-05-18 01:12:58 UTC
Created attachment 231875 [details]
A modified ebuild that applies system-config-printer-common-1.2.2-configure.in.patch
Comment 8 Richard 2010-05-18 01:14:40 UTC
(In reply to comment #3)
> Got it to compile ok here by a nasty hack...
> 
> Using "ebuild unpack" the system-config-printer-1.2.2.tar.bz2 sources. 
> 
> Go to
> /var/tmp/portage/app-admin/system-config-printer-common-1.2.2/work/system-config-printer-1.2.2.
> 
> Hand edit config.in and remove "dist-xz " from the third line and save it.
> 
> Then "ebuild compile" followed by "ebuild merge"...
> 
> 
> I'm not a programmer by any measure, but it would appear that automake does not
> understand the xz compression utility...
> 

Just for future reference, there is no config.in file. I think you meant configure.in.

Anyway, that sounds like a hack that I did in Bug #320083. I have uploaded a patch that does exactly what you did as an attachment. I also uploaded a modified ebuild that applies it. While I am not one of Gentoo's developers, please try using the new ebuild and patch file in a local overlay and see if they work for you. They work on my system.
Comment 9 Robert Cabrera 2010-05-18 02:22:58 UTC
Thanks Richard! The patch and replacement ebuild fixed it for me. I installed in my local portage directory as per your comments below and it worked flawlessly!
Comment 10 Andreas K. Hüttel archtester gentoo-dev 2010-05-18 06:00:25 UTC
problem confirmed here
Comment 11 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-05-18 06:37:23 UTC
*** Bug 320317 has been marked as a duplicate of this bug. ***
Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2010-05-18 08:41:01 UTC
*** Bug 320321 has been marked as a duplicate of this bug. ***
Comment 13 Cedric Godin 2010-05-18 08:58:41 UTC
Maybe I'll write something stupid but it seems to me that the problem is that the aclocal.m4 was generated with a 1.10 ver but the Makefile.in and configure.in ask some 1.11 options (dist-xz). Is there a way to force the use of automake-1.11 ?
Comment 14 Cedric Godin 2010-05-18 09:02:48 UTC
(In reply to comment #13)
>  Is there a way to force the use of automake-1.11 ?

Or better, is it possible to generate the aclocal.m4 with aclocal-1.11 ?

Comment 15 Peter Volkov (RETIRED) gentoo-dev 2010-05-18 12:03:28 UTC
Correct fix is to force automake-1.11. By default eautoreconf uses 1.10 if both 1.10 and 1.11 are installed.

diff -u -B -r1.1 system-config-printer-common-1.2.2.ebuild
--- system-config-printer-common-1.2.2.ebuild	17 May 2010 19:11:39 -0000	1.1
+++ system-config-printer-common-1.2.2.ebuild	18 May 2010 12:01:44 -0000
@@ -5,6 +5,7 @@
 EAPI="3"
 
 PYTHON_DEPEND="2"
+WANT_AUTOMAKE="1.11"
 inherit python autotools
 
 MY_P="${PN%-common}-${PV}"
Comment 16 Evgen Boppi 2010-05-18 12:39:13 UTC
(In reply to comment #15)
> Correct fix is to force automake-1.11. By default eautoreconf uses 1.10 if both
...
> +WANT_AUTOMAKE="1.11"
confirmed, compiles good

I assumed that too, but have tried it with WANT_AUTOMAKE="latest", and it has failed...


system-config-printer-gnome need this WANT_AUTOMAKE="1.11 line as well!!
Comment 17 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-05-18 12:48:11 UTC
*** Bug 320387 has been marked as a duplicate of this bug. ***
Comment 18 Peter Volkov (RETIRED) gentoo-dev 2010-05-18 12:48:27 UTC
Fixed in the tree. bonsaikitten approved.
Comment 19 Peter Volkov (RETIRED) gentoo-dev 2010-05-18 13:21:31 UTC
(In reply to comment #16)
> system-config-printer-gnome need this WANT_AUTOMAKE="1.11 line as well!!

Evgen, please, open new bug report for this.
Comment 20 Peter Volkov (RETIRED) gentoo-dev 2010-05-18 13:36:09 UTC
(In reply to comment #16)
> system-config-printer-gnome need this WANT_AUTOMAKE="1.11 line as well!!

Evgen, oh, no need :) I found system to test and fixed this issue too. Thank you for report.
Comment 21 Samuli Suominen (RETIRED) gentoo-dev 2010-05-18 13:54:06 UTC
*** Bug 320397 has been marked as a duplicate of this bug. ***
Comment 22 Samuli Suominen (RETIRED) gentoo-dev 2010-05-18 14:05:17 UTC
*** Bug 320405 has been marked as a duplicate of this bug. ***
Comment 23 Maciej Mrozowski gentoo-dev 2010-05-18 18:07:11 UTC
*** Bug 320431 has been marked as a duplicate of this bug. ***
Comment 24 Samuli Suominen (RETIRED) gentoo-dev 2010-05-19 07:49:02 UTC
*** Bug 320509 has been marked as a duplicate of this bug. ***