First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 150533
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Alastair Tse (RETIRED) <liquidx@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Stefan Tittel <bugreports@tittel.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
libusb-0.1.11.ebuild libusb-0.1.11.ebuild text/plain Chris White (RETIRED) 2006-10-08 22:37 0000 1.05 KB Details
libusb-0.1.11.diff libusb-0.1.11.diff patch Chris White (RETIRED) 2006-10-08 22:38 0000 367 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 150533 depends on: Show dependency tree
Bug 150533 blocks: 148821
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-10-08 20:16 0000
On my system dev-libs/libusb-0.1.11 fails to build with:

[...]
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default commands
 cd . && /bin/sh /var/tmp/portage/libusb-0.1.11/work/libusb-0.1.11/missing
--run automake-1.8 --foreign  Makefile
/var/tmp/portage/libusb-0.1.11/work/libusb-0.1.11/missing: line 52:
automake-1.8: command not found
WARNING: `automake-1.8' is missing on your system.  You should only need it if
         you modified `Makefile.am', `acinclude.m4' or `configure.in'.
         You might want to install the `Automake' and `Perl' packages.
         Grab them from any GNU archive site.
 cd . && /bin/sh ./config.status Makefile depfiles
config.status: creating Makefile
config.status: executing depfiles commands
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/libusb-0.1.11/work/libusb-0.1.11'
Making all in .
make[2]: Entering directory `/var/tmp/portage/libusb-0.1.11/work/libusb-0.1.11'
if /bin/sh ./libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  
-I.  -Werror  -O2 -pipe -march=athlon64 -frename-registers -ftracer -fweb -Wall
-MT usb.lo -MD -MP -MF ".deps/usb.Tpo" -c -o usb.lo usb.c; \
        then mv -f ".deps/usb.Tpo" ".deps/usb.Plo"; else rm -f ".deps/usb.Tpo";
exit 1; fi
if /bin/sh ./libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  
-I.  -Werror  -O2 -pipe -march=athlon64 -frename-registers -ftracer -fweb -Wall
-MT error.lo -MD -MP -MF ".deps/error.Tpo" -c -o error.lo error.c; \
        then mv -f ".deps/error.Tpo" ".deps/error.Plo"; else rm -f
".deps/error.Tpo"; exit 1; fi
mkdir .libs
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Werror -O2 -pipe -march=athlon64
-frename-registers -ftracer -fweb -Wall -MT usb.lo -MD -MP -MF .deps/usb.Tpo -c
usb.c  -fPIC -DPIC -o .libs/usb.o
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Werror -O2 -pipe -march=athlon64
-frename-registers -ftracer -fweb -Wall -MT error.lo -MD -MP -MF
.deps/error.Tpo -c error.c  -fPIC -DPIC -o .libs/error.o
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Werror -O2 -pipe -march=athlon64
-frename-registers -ftracer -fweb -Wall -MT usb.lo -MD -MP -MF .deps/usb.Tpo -c
usb.c -o usb.o >/dev/null 2>&1
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Werror -O2 -pipe -march=athlon64
-frename-registers -ftracer -fweb -Wall -MT error.lo -MD -MP -MF
.deps/error.Tpo -c error.c -o error.o >/dev/null 2>&1
if /bin/sh ./libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  
-I.  -Werror  -O2 -pipe -march=athlon64 -frename-registers -ftracer -fweb -Wall
-MT descriptors.lo -MD -MP -MF ".deps/descriptors.Tpo" -c -o descriptors.lo
descriptors.c; \
        then mv -f ".deps/descriptors.Tpo" ".deps/descriptors.Plo"; else rm -f
".deps/descriptors.Tpo"; exit 1; fi
if /bin/sh ./libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  
-I.  -Werror  -O2 -pipe -march=athlon64 -frename-registers -ftracer -fweb -Wall
-MT linux.lo -MD -MP -MF ".deps/linux.Tpo" -c -o linux.lo linux.c; \
        then mv -f ".deps/linux.Tpo" ".deps/linux.Plo"; else rm -f
".deps/linux.Tpo"; exit 1; fi
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Werror -O2 -pipe -march=athlon64
-frename-registers -ftracer -fweb -Wall -MT linux.lo -MD -MP -MF
.deps/linux.Tpo -c linux.c  -fPIC -DPIC -o .libs/linux.o
cc1: warnings being treated as errors
linux.c: In function 'usb_os_determine_children':
linux.c:568: warning: format '%d' expects type 'int', but argument 3 has type
'long unsigned int'
make[2]: *** [linux.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Werror -O2 -pipe -march=athlon64
-frename-registers -ftracer -fweb -Wall -MT descriptors.lo -MD -MP -MF
.deps/descriptors.Tpo -c descriptors.c  -fPIC -DPIC -o .libs/descriptors.o
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Werror -O2 -pipe -march=athlon64
-frename-registers -ftracer -fweb -Wall -MT descriptors.lo -MD -MP -MF
.deps/descriptors.Tpo -c descriptors.c -o descriptors.o >/dev/null 2>&1
make[2]: Leaving directory `/var/tmp/portage/libusb-0.1.11/work/libusb-0.1.11'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libusb-0.1.11/work/libusb-0.1.11'
make: *** [all] Error 2

!!! ERROR: dev-libs/libusb-0.1.11 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  libusb-0.1.11.ebuild, line 35:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.

------------------------------------------------------------

Output of emerge --info:

Portage 2.1.1-r1 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3,
2.6.17-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.5
Last Sync: Mon, 09 Oct 2006 02:30:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon64 -frename-registers -ftracer -fweb"
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/gconf /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=athlon64 -frename-registers -ftracer -fweb"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages metadata-transfer sandbox sfperms
strict"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
MAKEOPTS="-j2"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi alsa amd64 apache2 apm avi berkdb bitmap-fonts bzip2
cairo cdr cli codecs crypt cups dbus divx4linux dlloader dri dvd dvdr dvdread
eds elibc_glibc emboss encode fam fbcon ffmpeg firefox foomaticdb fortran gdbm
gif gpgme gstreamer gtk gtk2 hal icq idn imagemagick imap input_devices_evdev
input_devices_joystick input_devices_keyboard input_devices_mouse isdnlog java
joystick jpeg kde kernel_linux libg++ logitech-mouse mad maildir matroska mbox
mikmod mjpeg moznomail mp3 mpeg mysql ncurses nls nntp nptl nptlonly nsplugin
nvidia offensive ogg opengl openntpd pam pcre pdflib perl png ppds pppd python
qt3 qt4 quicktime readline reflection sasl sdl session spell spl ssl svg tcpd
tetex theora tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU
userlocales uudeview vcd video_cards_fbdev video_cards_nv video_cards_nvidia
video_cards_vesa video_cards_vga vim-with-x vorbis xcomposite xface xine xml
xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Chris White (RETIRED) 2006-10-08 22:36:13 0000 -------
Try the attached ebuild, diff attached to show the changes.  If you're not sure
how to test new ebuilds:

http://www.gentoo.org/doc/en/draft/bugzilla-howto.xml#doc_chap4

------- Comment #2 From Chris White (RETIRED) 2006-10-08 22:37:36 0000 -------
Created an attachment (id=99173) [details]
libusb-0.1.11.ebuild

use eautoreconf after modifying Makefile.am

------- Comment #3 From Chris White (RETIRED) 2006-10-08 22:38:22 0000 -------
Created an attachment (id=99174) [details]
libusb-0.1.11.diff

------- Comment #4 From Stefan Tittel 2006-10-09 01:46:01 0000 -------
Nope, that didn't do it. Please note that libusb does not depend on version 1.8
of automake and therefore automake 1.8 is not installed on my system.

-----------------------------------------------

These are the packages that would be merged, in order:

Calculating world dependencies... done!
[ebuild     UD] dev-libs/libusb-0.1.11 [0.1.12] USE="-debug -doc" 0 kB [1]

Total size of downloads: 0 kB
Portage overlays:
 [1] /usr/local/portage

Would you like to merge these packages? [Yes/No]

>>> Emerging (1 of 1) dev-libs/libusb-0.1.11 to /
 * libusb-0.1.11.tar.gz MD5 ;-) ...                                            
                                                                      [ ok ]
 * libusb-0.1.11.tar.gz RMD160 ;-) ...                                         
                                                                      [ ok ]
 * libusb-0.1.11.tar.gz SHA1 ;-) ...                                           
                                                                      [ ok ]
 * libusb-0.1.11.tar.gz SHA256 ;-) ...                                         
                                                                      [ ok ]
 * libusb-0.1.11.tar.gz size ;-) ...                                           
                                                                      [ ok ]
 * checking ebuild checksums ;-) ...                                           
                                                                      [ ok ]
 * checking auxfile checksums ;-) ...                                          
                                                                      [ ok ]
 * checking miscfile checksums ;-) ...                                         
                                                                      [ ok ]
 * checking libusb-0.1.11.tar.gz ;-) ...                                       
                                                                      [ ok ]
>>> Unpacking source...
>>> Unpacking libusb-0.1.11.tar.gz to /var/tmp/portage/libusb-0.1.11/work
 * Running eautoreconf in '/var/tmp/portage/libusb-0.1.11/work/libusb-0.1.11'
...
 * Running aclocal ...                                                         
                                                                      [ !! ]

 * Failed Running aclocal !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/libusb-0.1.11/temp/aclocal-2389.out


!!! ERROR: dev-libs/libusb-0.1.11 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_unpack
  ebuild.sh, line 708:   Called src_unpack
  libusb-0.1.11.ebuild, line 27:   Called eautoreconf
  autotools.eclass, line 79:   Called eaclocal
  autotools.eclass, line 117:   Called autotools_run_tool 'aclocal'
  autotools.eclass, line 229:   Called die

!!! Failed Running aclocal !
!!! If you need support, post the topmost build error, and the call stack if
relevant.

!!! This ebuild is from an overlay: '/usr/local/portage'

-----------------------------------------------

root@uranus:~# cat /var/tmp/portage/libusb-0.1.11/temp/aclocal-2389.out
***** aclocal *****

am-wrapper: /usr/bin/aclocal-1.8 is missing or not executable.
            Please try emerging the correct version of automake.
root@uranus:~#

------- Comment #5 From Stefan Tittel 2006-10-13 21:04:18 0000 -------
It is indeed the missing automake 1.8 that caused this problem (just emerged
automake 1.8 manually and everything built fine). So please add automake 1.8 to
DEPEND. Thanks.

------- Comment #6 From Andrew Ross (RETIRED) 2006-10-20 18:26:44 0000 -------
I'm also seeing this problem on a box I'm building - my first amd64 machine,
too :-)

Merging automake-1.8.5-r3 (ebuild v1.14 2006/10/15 12:10:23 dertobi123) was
enough to solve the compile error - no patching required.

Portage 2.1.1-r1 (hardened/amd64, gcc-3.4.6, glibc-2.3.6-r4,
2.6.18-emission1-amd64 x86_64)
=================================================================
System uname: 2.6.18-emission1-amd64 x86_64 Intel(R) Core(TM)2 CPU         
6600  @ 2.40GHz
Gentoo Base System version 1.12.5
Last Sync: Fri, 20 Oct 2006 12:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.6.3, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms
strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.internode.on.net/pub/gentoo
http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
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"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="acl amd64 bash-completion berkdb bzip2 crypt dlloader elibc_glibc hardened
input_devices_keyboard input_devices_mouse justify kernel_linux ncurses nls
nptl nptlonly pam pic python readline ssl tcpd unicode userland_GNU userlocales
xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

------- Comment #7 From Jakub Moc (RETIRED) 2006-12-13 08:34:43 0000 -------
Zzzzz... 0.1.12 builds just fine.

First Last Prev Next    No search results available      Search page      Enter new bug