Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150606 - libmng-1.0.9-r1 fails on eautoreconf
Summary: libmng-1.0.9-r1 fails on eautoreconf
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-09 12:22 UTC by Natanael Copa
Modified: 2006-10-11 01:48 UTC (History)
0 users

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


Attachments
libmng-1.0.9-r1.ebuild.diff (libmng-1.0.9-r1.ebuild.diff,1.15 KB, patch)
2006-10-10 02:22 UTC, Natanael Copa
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Natanael Copa 2006-10-09 12:22:22 UTC
* Running eautoreconf in '/var/tmp/portage/libmng-1.0.9-r1/work/libmng-1.0.9' ...
 * Requested autoconf 2.5
 * Using autoconf (GNU Autoconf) 2.60
 * Using autoheader (GNU Autoconf) 2.60
 * Requested automake 1.9
 * Using automake (GNU automake) 1.9.6
 * Using aclocal (GNU automake) 1.9.6
 * Running aclocal ...                                                    [ !! ]
 * Failed Running aclocal !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/libmng-1.0.9-r1/temp/aclocal-18661.out

...
ncopa@nc ~ $ cat /var/tmp/portage/libmng-1.0.9-r1/temp/aclocal-18661.out
***** aclocal *****

/usr/share/aclocal/pstoedit.m4:7: warning: underquoted definition of AM_PATH_PSTOEDIT
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/compiler.m4:28: file `m4/misc.m4' does not exist


ncopa@nc ~ $ cd /var/tmp/portage/libmng-1.0.9-r1/work/libmng-1.0.9/
ncopa@nc /var/tmp/portage/libmng-1.0.9-r1/work/libmng-1.0.9 $ grep AUTOMAKE Makefile.am
AUTOMAKE_OPTIONS = 1.3 foreign no-dependencies

I find it interesting that AUTOMAKE_OTIONS = 1.3 and https://bugs.gentoo.org/show_bug.cgi?id=75824

If I run aclocal-1.9 I end up with "/usr/share/aclocal/compiler.m4:28: file `m4/misc.m4' does not exist" but aclocal-1.4 works.

Portage 2.1.2_pre2-r7 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo x86_64)
=================================================================
System uname: 2.6.18-gentoo x86_64 Intel(R) Pentium(R) D CPU 3.00GHz
Gentoo Base System version 1.12.5
Last Sync: Mon, 09 Oct 2006 18:30:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=nocona -O2 -fomit-frame-pointer -pipe"
DISTDIR="/var/cache/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallell-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.gentoo.se/ http://mirror.gentoo.no/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/gentoo-webapps-overlay/experimental /usr/local/gentoo-webapps-overlay/production-ready /usr/local/alpine-portage"SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 64bit 7zip X X509 Xaw3d a52 aac acpi aim alsa ao aotuv apache2 asf async athena audiofile avahi bash-completion berkdb bitmap-fonts bittorrent bluetooth bonobo bzlib cairo cddb cdio cdparanoia cdr cgi chm cle266 cli codecs corba cracklib crypt cscope css ctype cups curl daap dbus dbx dga dio divx4linux djbfft dlloader dnd dri droproot dts dv dvb dvd dvdr dvdread dvi dynagraph edl eds effects elibc_glibc emacs emboss emul-linux-x86 encode epiphany esd evo evolution exif expat fam fame festival ffmpeg fftw firefox flac flash fluidsynth fmod font-server foomaticdb fortran fpx freetds freetts gcj gdb gdbm ggi gif gimp gimpprint glibc-omitfp glitz glx gmail gnome gnome-print gpgme gphoto2 gpm graphviz gs gstreamer gstreamer010 gtk gtk2 gtkhtml gzip h323 hal hfs howl howl-compat hpn httpd ical iconv icq id3 idn ieee1394 imagemagick imap imlib imlib2 infopipe inkjar input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_mutouch intl ipod iproute2 ipv6 irmc isdnlog jabber jack java javascript jbig jfs jp2 jpeg jpeg2k kde kernel_linux ladcca ladspa lame lcms ldap leim libcaca libsamplerate libsexy libvisual libwww lighttpd live lzo lzw lzw-tiff mad maildir mdb memlimit mime mimencode mjpeg mmap mng mod modplug monkey mono mozcalendar mozdevelop mozilla moznocompose moznoirc moznomail mozsvg mozxmlterm mp3 mp4 mp4live mpd-mad mpeg mpeg2 mpeg4 mplayer msn msnextras mssql musepack musicbrainz mysql mysqli mythtv nas nautilus ncurses net network neural new-login nfs nls nptl nptlonly nsplugin ntfs ntlm objc objc++ objc-gc odbc offensive ogg oggvorbis ogre on-the-fly-crypt openal opengl openssl operanom2 osc oscar pam pccts pcre pdf pdfkit perl pic player png portaudio postgres ppds pppd private python qt3 qt4 quicktime rar rdesktop readline reflection reiser4 reiserfs rhythmbox rrdcgi rrdtool rss rtc ruby samba sametime sasl sblive screen sdl server session shared shorten shout silc skins slp smime smp sms sndfile socks5 soundtouch sox speech speex spell spl sql sqlite3 ssl stlport stream subp subtitles subversion svg svgz swig sysfs szip tabs tagwriting tcltk tcpd tetex tga theora thesaurus threads thumbnail tidy tiff timidity tos transcode truetype truetype-fonts type1 type1-fonts udev unicode urandom usb userland_GNU uudeview v4l v4l2 vcd vcdimager vdr vfat video_cards_ati video_cards_fbdev video_cards_i810 video_cards_radeon video_cards_v4l video_cards_vesa vim vim-pager vim-with-x visualization vlm vnc vorbis wma wma123 wmf wordperfect wv wxwindows x264 xanim xcomposite xface xfs xft xine xinerama xml xml2 xorg xosd xpm xprint xrandr xv xvid xvmc yaepg yahoo yaz yv12 zip zlib zvbi"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Natanael Copa 2006-10-10 02:22:34 UTC
Created attachment 99268 [details, diff]
libmng-1.0.9-r1.ebuild.diff

There are a few problems with the current ebuild:

* The src_compile has a $(use_with jpeg) even if jpeg is removed from IUSE.

* The README.autoconf clearly states that autotools is not supported anymore. (they are looking for maintatiners to do so though).

Autotools is not really needed so I suggest to try to build without it.

The attatched patch uses the provided, supported  makefile.linux, without trying to fix autotools. (so it builds a lot faster)
Comment 2 Natanael Copa 2006-10-10 02:24:17 UTC
The patch is tested on x86_64 and uclibc-x86.

Comment 3 Natanael Copa 2006-10-11 01:48:47 UTC
the problem was caused by an unsupported pacakge installing aclocal files it shouldnt. (https://bugs.gentoo.org/show_bug.cgi?id=150190)

This is still true though:
* The src_compile has a $(use_with jpeg) even if jpeg is removed from IUSE.

but that is not in this topic.

sorry for the noise.