Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114813 - emerging poppler fails due to autoconf error
Summary: emerging poppler fails due to autoconf error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-07 16:07 UTC by Ashley Caire
Modified: 2006-01-04 01:09 UTC (History)
0 users

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


Attachments
config.log for poppler (config.log,55.59 KB, text/plain)
2005-12-11 14:22 UTC, Ashley Caire
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ashley Caire 2005-12-07 16:07:48 UTC
I recently did an emerge -avudn world and everything seemed to work fine apart 
from a package appearing named poppler.  When I try an emerge -av poppler it 
fails every time.

Reproducible: Always
Steps to Reproduce:
1. emerge poppler -va
2.
3.

Actual Results:  
The emerge fails with a possibly undefined macro error.

Expected Results:  
Emerged correctly, no errors.

mortar ~ # emerge --info
Portage 2.0.51.22-r3 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r3, 
2.6.14-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.16
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share
/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kd
e/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/fax /usr/lib64/
mozilla/defaults/pref /usr/share/config /var/qmail/alias /var/qmail/control /var
/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aalib alsa arts audiofile avi berkdb bitmap-fonts bzip2 cdr 
crypt cups curl dbus divx4linux dts dv dvd dvdlibs dvdr dvdread eds emboss 
encode esd ethereal exif expat fam fame ffmpeg flac foomaticdb fortran gdbm gif 
glut gmp gpm gstreamer gtk2 hal howl idn imagemagick imlib ipv6 java jpeg junit 
kde lcms libwww lzw lzw-tiff mad matroska mhash mng motif mozilla mp3 mpeg 
mysql ncurses nls ogg opengl pam pcre pdflib perl png python qt quicktime 
readline recode samba scanner sdl spell sqlite ssl subtitles tcltk tcpd tiff 
truetype truetype-fonts type1-fonts udev usb userlocales vorbis wav xinerama 
xml xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 SpanKY gentoo-dev 2005-12-07 16:25:29 UTC
has nothing to do with baselayout

also, you should post some actual errors rather than talk about them
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-12-07 16:46:40 UTC
Reopen with some error messages.
Comment 3 Ashley Caire 2005-12-07 16:59:39 UTC
Sorry we lost power before and I had to rush the report.

First posted the errors here: http://forums.gentoo.org/viewtopic.php?p=2938638

To sum it up:
* Failed Running autoconf ! 
 * 
 * Include in your bugreport the contents of: 
 * 
 *   /var/tmp/portage/poppler-0.4.2-r1/temp/autoconf-9752.out 


!!! ERROR: app-text/poppler-0.4.2-r1 failed. 
!!! Function autotools_run_tool, Line 178, Exitcode 0 
!!! Failed Running autoconf ! 
!!! If you need support, post the topmost build error, NOT this status message.

And the contents of autoconf-9752.out are:

***** autoconf ***** 

configure.ac:10: error: possibly undefined macro: AC_PROG_LIBTOOL 
      If this token and others are legitimate, please use m4_pattern_allow. 
      See the Autoconf documentation.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-12-08 00:35:58 UTC
You forgot to reopen the bug...
Comment 5 Ashley Caire 2005-12-08 01:24:34 UTC
didn't forget, just didn't know to; never submitted a bug before ;)
Comment 6 Ashley Caire 2005-12-11 14:22:09 UTC
Created attachment 74533 [details]
config.log for poppler
Comment 7 Ashley Caire 2005-12-11 14:23:47 UTC
I re-emerged libtool as suggested on the same gentoo forum above. It emerged the
same version =sys-devel/libtool-1.5.20 fine.  I then re-emerged poppler and now
it gets past the part it stopped at before and comes up with this error:

./configure: line 25240: syntax error near unexpected token `FREETYPE,'
./configure: line 25240: `PKG_CHECK_MODULES(FREETYPE, freetype2 >=
$FREETYPE_MIN_VERSION,'

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/poppler-0.4.2-r1/work/poppler-0.4.2/config.log

And I attached the config.log.
!!! ERROR: app-text/poppler-0.4.2-r1 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed

config.log attached above.
Comment 8 Stefan Schweizer (RETIRED) gentoo-dev 2006-01-03 14:36:11 UTC
Can you please try remerging freetype?
Also what is your freetype version?
Comment 9 Ashley Caire 2006-01-03 22:34:55 UTC
(In reply to comment #8)
> Can you please try remerging freetype?
> Also what is your freetype version?
> 

Sorry i've since emerge sync && emerge world and the problem seems to have been fixed in 0.4.2-r2 and r3 as they install perfectly fine..  Should I mark it as resolved or is there anything else I can give you to help point out as to why it happened?

Freetype version is 2.1.9-r1
Comment 10 Stefan Schweizer (RETIRED) gentoo-dev 2006-01-04 01:09:18 UTC
thank you. seems to be fixed so we no longer care :)