View previous topic :: View next topic |
Author |
Message |
whitep n00b
Joined: 28 May 2009 Posts: 3
|
Posted: Sat May 30, 2009 4:29 pm Post subject: a2ps - emerge failure. |
|
|
Hi all.
I'm having problems trying to install a2ps. Now, as this is such a basic package, does the failure indicate a problem with my system, or is it a problem with the package itself? If it is likely to be my system, then how can I trace and fix it?
revdep-rebuild doesn't suggest anything. emerge --sync is up to date...
Log below:
Quote: |
make all-recursive
make[1]: Entering directory `/var/tmp/portage/portage/app-text/a2ps-4.14/work/a2ps-4.14'
Making all in auxdir
make[2]: Entering directory `/var/tmp/portage/portage/app-text/a2ps-4.14/work/a2ps-4.14/auxdir'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/portage/app-text/a2ps-4.14/work/a2ps-4.14/auxdir'
Making all in m4
make[2]: Entering directory `/var/tmp/portage/portage/app-text/a2ps-4.14/work/a2ps-4.14/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/portage/app-text/a2ps-4.14/work/a2ps-4.14/m4'
Making all in etc
make[2]: Entering directory `/var/tmp/portage/portage/app-text/a2ps-4.14/work/a2ps-4.14/etc'
sed "s!@date@!`date`!g;s!@version@!4.14!g" \
./README.in > README
sed "s!@libpath@!/usr/share/a2ps/sheets:/usr/share/a2ps/ps:/usr/share/a2ps/encoding:/usr/share/a2ps/afm:/usr/share/ogonkify/afm:/usr/share/a2ps/ppd:/usr/share/a2ps/fonts:/usr/share/ogonkify/fonts:/usr/share/a2ps!" a2ps_cfg > a2ps.cfg
make[2]: Leaving directory `/var/tmp/portage/portage/app-text/a2ps-4.14/work/a2ps-4.14/etc'
Making all in ps
make[2]: Entering directory `/var/tmp/portage/portage/app-text/a2ps-4.14/work/a2ps-4.14/ps'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/portage/app-text/a2ps-4.14/work/a2ps-4.14/ps'
Making all in ogonkify
make[2]: Entering directory `/var/tmp/portage/portage/app-text/a2ps-4.14/work/a2ps-4.14/ogonkify'
Making all in doc
make[3]: Entering directory `/var/tmp/portage/portage/app-text/a2ps-4.14/work/a2ps-4.14/ogonkify/doc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/tmp/portage/portage/app-text/a2ps-4.14/work/a2ps-4.14/ogonkify/doc'
Making all in m4
make[3]: Entering directory `/var/tmp/portage/portage/app-text/a2ps-4.14/work/a2ps-4.14/ogonkify/m4'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/tmp/portage/portage/app-text/a2ps-4.14/work/a2ps-4.14/ogonkify/m4'
make[3]: Entering directory `/var/tmp/portage/portage/app-text/a2ps-4.14/work/a2ps-4.14/ogonkify'
sed -e "s#@LIBDIR@#/usr/share/ogonkify#g" ogonkify.in > ogonkify-t
chmod +x ogonkify-t
mv ogonkify-t ogonkify
make[3]: Leaving directory `/var/tmp/portage/portage/app-text/a2ps-4.14/work/a2ps-4.14/ogonkify'
make[2]: Leaving directory `/var/tmp/portage/portage/app-text/a2ps-4.14/work/a2ps-4.14/ogonkify'
Making all in lib
make[2]: Entering directory `/var/tmp/portage/portage/app-text/a2ps-4.14/work/a2ps-4.14/lib'
make all-am
make[3]: Entering directory `/var/tmp/portage/portage/app-text/a2ps-4.14/work/a2ps-4.14/lib'
/bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -DSYSCONFFILE=\"/etc/a2ps/a2ps.cfg\" -I. -I.. -I.. -I../intl -I. -march=core2 -O2 -pipe -fomit-frame-pointer -msse3 -mssse3 -mfpmath=sse -MT encoding.lo -MD -MP -MF .deps/encoding.Tpo -c -o encoding.lo encoding.c
libtool: compile: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -DSYSCONFFILE=\"/etc/a2ps/a2ps.cfg\" -I. -I.. -I.. -I../intl -I. -march=core2 -O2 -pipe -fomit-frame-pointer -msse3 -mssse3 -mfpmath=sse -MT encoding.lo -MD -MP -MF .deps/encoding.Tpo -c encoding.c -o encoding.o
In file included from xobstack.h:22,
from encoding.c:34:
./obstack.h:176: error: expected specifier-qualifier-list before ‘ptrdiff_t’
encoding.c: In function ‘load_encoding_description_file’:
encoding.c:620: error: ‘struct obstack’ has no member named ‘maybe_empty_object’
encoding.c:620: error: ‘struct obstack’ has no member named ‘alignment_mask’
encoding.c:620: error: ‘struct obstack’ has no member named ‘alignment_mask’
make[3]: *** [encoding.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/portage/app-text/a2ps-4.14/work/a2ps-4.14/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/portage/app-text/a2ps-4.14/work/a2ps-4.14/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/portage/app-text/a2ps-4.14/work/a2ps-4.14'
make: *** [all] Error 2
*
* ERROR: app-text/a2ps-4.14 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2814: Called die
* The specific snippet of code:
* make || die "make failed"
* The die message:
* make failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/log/portage/app-text:a2ps-4.14:20090530-160524.log'.
* The ebuild environment file is located at '/var/tmp/portage/portage/app-text/a2ps-4.14/temp/environment'.
*
|
Thanks,
Phil |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21678
|
Posted: Sat May 30, 2009 7:04 pm Post subject: |
|
|
What is the output of emerge --info ; emerge --pretend --verbose app-text/a2ps? |
|
Back to top |
|
|
geburns n00b
Joined: 19 Apr 2002 Posts: 65 Location: st paul, mn
|
Posted: Sun May 31, 2009 5:02 am Post subject: |
|
|
i'm having the same issue (v4.13 and v4.14)
Code: | emerge -vp a2ps
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] app-text/a2ps-4.14 USE="nls -cjk -emacs -latex -vanilla" 0 kB
|
emerge --info
Code: | Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.10.1-r0, 2.6.29-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.29-gentoo-r5-i686-AMD_Turion-tm-_64_X2_Mobile_Technology_TL-56-with-gentoo-2.0.1
Timestamp of tree: Sun, 31 May 2009 02:15:02 +0000
app-shells/bash: 4.0_p24
dev-java/java-config: 2.1.8
dev-lang/python: 2.6.2-r1
dev-util/cmake: 2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc: 0.4.3-r2
sys-apps/sandbox: 1.9
sys-devel/autoconf: 2.13, 2.63-r1
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6a
virtual/os-headers: 2.6.29
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
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/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
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"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="HAL X a52 aac acl acpi alsa autoipd avahi bash-completion berkdb bluetooth branding bzip2 cairo cdaudio cdr cli consolekit cracklib crypt ctrlmenu cups dbus dri dvd dvdr dvdread eds emboss emerald encode esd evo fam fbcondecor firefox fontconfig fortran gdbm gif glib gnome gnutls gpm gstreamer gtk hal iconv isdnlog jack java jpeg laptop lcms libnotify lm_sensors mad mdnsresponder-compat midi mikmod mng mp3 mpeg mudflap mysql ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pcre pdf perl png ppds pppd ptp2 python qt3support qt4 quicktime readline reflection sdl session speex spell spl srt ssl startup-notification svg sysfs tcpd tiff truetype unicode usb utils vim-syntax vorbis win32codecs x86 xcb xlockrc xml xorg xulrunner xv xvmc zlib" ALSA_CARDS="hda-intel" 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" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev nvidia vesa"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY |
|
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21678
|
|
Back to top |
|
|
omegablue n00b
Joined: 02 Jun 2009 Posts: 1
|
Posted: Tue Jun 02, 2009 6:52 am Post subject: |
|
|
I have the same problem here. I tried to compile the original source code and the result was exactly the same. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21678
|
Posted: Wed Jun 03, 2009 1:36 am Post subject: |
|
|
omegablue wrote: | I have the same problem here. I tried to compile the original source code and the result was exactly the same. |
This is expected. Anyone using the new build environment will be affected, since this is a build bug in app-text/a2ps. In older build environments, the bug went unnoticed because the system headers happened to include the required file. Now they do not, and a2ps does not either, so the definition is simply missing. |
|
Back to top |
|
|
tel Tux's lil' helper
Joined: 15 Aug 2006 Posts: 112
|
Posted: Fri Jun 05, 2009 3:52 pm Post subject: |
|
|
What's the usual time to get the ebuilds fixed? Looks like I can't emerge xfce4, as it depends on a2ps. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21678
|
Posted: Sat Jun 06, 2009 2:23 am Post subject: |
|
|
Technically, this is a bug in the upstream package, not in the ebuild. Technicalities aside, the time to fix varies depending on the complexity of the problem and the available time of the developer who fixes it. This is a relatively simple problem, so the main requirement is that somebody proposes a correct fix and that a developer in the affected area commits it. As an ugly hack, you could work around it by modifying your CFLAGS to -include required-extra-header. This would drag it into every compiled file, but should work around the specific failure you are seeing. |
|
Back to top |
|
|
Raistlfiren Tux's lil' helper
Joined: 02 Oct 2005 Posts: 100
|
Posted: Sat Jun 06, 2009 3:01 am Post subject: |
|
|
tel - Just keep on emerging xfce4 until you get to the end and use the --nodeps flag whenever you get down to one or two mroe packages. It is a bad way to go about things, but it gave me xfce4! =) |
|
Back to top |
|
|
geburns n00b
Joined: 19 Apr 2002 Posts: 65 Location: st paul, mn
|
Posted: Sat Jun 06, 2009 4:10 am Post subject: |
|
|
Raistlfiren wrote: | tel - Just keep on emerging xfce4 until you get to the end and use the --nodeps flag whenever you get down to one or two mroe packages. It is a bad way to go about things, but it gave me xfce4! =) |
thanks for the suggestion... i will try this to check out xfce4.
Hu - thanks for the explanation. Does any one know where we can submit this bug upstream?
-=g=- |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21678
|
Posted: Sat Jun 06, 2009 2:55 pm Post subject: |
|
|
Portage lists the homepage for app-text/a2ps as http://www.inf.enst.fr/~demaille/a2ps/. Strangely, that homepage says the latest version is 4.13, but everyone reporting problems is reporting with version 4.14. After some searching around on the homepage, it appears that they only accept bug reports via e-mail. As such, it is not possible to tell whether anyone has reported this build failure to them. If you decide to contact the maintainer, please also post here so that the maintainer is not inundated with duplicate reports about the same issue.
[Edit: fixed bad use of board code.]
Last edited by Hu on Thu Jun 25, 2009 2:48 am; edited 1 time in total |
|
Back to top |
|
|
sling n00b
Joined: 28 Nov 2004 Posts: 18 Location: Singapore
|
Posted: Thu Jun 11, 2009 12:32 pm Post subject: |
|
|
A working solution (at least for me) is offered here |
|
Back to top |
|
|
Raistlfiren Tux's lil' helper
Joined: 02 Oct 2005 Posts: 100
|
Posted: Mon Jun 15, 2009 5:38 am Post subject: |
|
|
Finally a solution. For anyone running into this problem and is a moron like me who doesn't want to look up how to patch the ebuild or is clueless on going about doing it, follow this.
This is assuming /usr/local/portage is the directory you put 3rd party ebuilds in
cd /usr/local/portage
mkdir -p app-text/a2ps
cd app-text/a2ps
cp -rf /usr/portage/app-text/a2ps/files .
Download modified ebuild - https://bugs.gentoo.org/attachment.cgi?id=194620
Copy ebuild to /usr/local/portage/app-text/a2ps/ and rename to a2ps-4.14.ebuild
Download patch from https://bugs.gentoo.org/attachment.cgi?id=194099
Copy patch /usr/local/portage/app-text/a2ps/files and rename to a2ps-4.14-fix-obstack.h.patch
Bleh you can use the patch without the ebuild also, but whatever. |
|
Back to top |
|
|
The LT n00b
Joined: 23 Feb 2006 Posts: 20 Location: Moscow, Russia
|
Posted: Wed Jun 24, 2009 6:13 pm Post subject: |
|
|
Thanks for the quick heads-up Raistlfiren, the solution worked like a charm. |
|
Back to top |
|
|
Tolstoi l33t
Joined: 20 May 2004 Posts: 678
|
Posted: Thu Jun 25, 2009 6:14 pm Post subject: |
|
|
Thank you, thank you, thank you, that worked fine. |
|
Back to top |
|
|
tylerwylie Guru
Joined: 19 Sep 2004 Posts: 458 Location: /US/Georgia/Atlanta
|
Posted: Tue Jul 21, 2009 9:58 am Post subject: |
|
|
I just added a2ps to /etc/portage/profile/package.provided and went on with my life. |
|
Back to top |
|
|
micro_mx n00b
Joined: 11 Nov 2004 Posts: 29
|
Posted: Tue Aug 18, 2009 4:17 pm Post subject: |
|
|
thanx Raistlfiren, that worked |
|
Back to top |
|
|
jwlt n00b
Joined: 11 May 2010 Posts: 1
|
Posted: Tue May 11, 2010 6:23 pm Post subject: |
|
|
thanks Raistlfiren worked for me also, but first had to edit the emerge to point to app-text/ghostscript-gpl instead of virtual/ghostscript |
|
Back to top |
|
|
|