public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] libusb build error
@ 2005-12-11 11:41 Christoph Eckert
  2005-12-11 13:16 ` Rafael Fernández López
  2005-12-11 13:26 ` Rafael Fernández López
  0 siblings, 2 replies; 9+ messages in thread
From: Christoph Eckert @ 2005-12-11 11:41 UTC (permalink / raw
  To: gentoo-user


Hi,


me again :) . I'm trying to update my machine. I have never done so 
since I installed Gentoo last year, so I'm a bit unexperienced and 
ignorant about portage and emerge usage.

I have updated most of the packages manually to avoid a broken system, 
and most are done ("only" 98 left :) .

Some packages don't install properly, this time it is libusb. I have 
installed libusb-0.1.8 and try to install libusb-0.1.10a, but I get the 
error message attached.

Anyone a clue where I can start searching for a solution? Wrong automake 
version? A missing variable?


Thx & best regards


    ce



emerge libusb
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-libs/libusb-0.1.10a to /
>>> md5 files   ;-) libusb-0.1.7-r1.ebuild
>>> md5 files   ;-) libusb-0.1.8.ebuild
>>> md5 files   ;-) libusb-0.1.10a.ebuild
>>> md5 files   ;-) files/digest-libusb-0.1.7-r1
>>> md5 files   ;-) files/0.1.10a-fbsd.patch
>>> md5 files   ;-) files/digest-libusb-0.1.8
>>> md5 files   ;-) files/libusb-0.1.8-amd64-fPIC.patch
>>> md5 files   ;-) files/digest-libusb-0.1.10a
>>> md5 src_uri ;-) libusb-0.1.10a.tar.gz
>>> Unpacking source...
>>> Unpacking libusb-0.1.10a.tar.gz 
to /var/tmp/portage/libusb-0.1.10a/work
 * Applying 0.1.10a-fbsd.patch ...                                                                         
[ ok ]
 * Running eautoreconf in 
'/var/tmp/portage/libusb-0.1.10a/work/libusb-0.1.10a' ...
 * Running aclocal...                                                                                      
[ ok ]
 * Running libtoolize --copy --force --automake...                                                         
[ ok ]
 * Running aclocal...                                                                                      
[ ok ]
 * Running autoconf...                                                                                     
[ ok ]
 * Running autoheader...                                                                                   
[ ok ]
 * Running automake --add-missing --copy --foreign...                                                      
[ !! ]


 * Failed Running automake !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/libusb-0.1.10a/temp/automake-5879.out


!!! ERROR: dev-libs/libusb-0.1.10a failed.
!!! Function autotools_run_tool, Line 179, Exitcode 0
!!! Failed Running automake !
!!! If you need support, post the topmost build error, NOT this status 
message.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] libusb build error
  2005-12-11 11:41 [gentoo-user] libusb build error Christoph Eckert
@ 2005-12-11 13:16 ` Rafael Fernández López
  2005-12-11 13:42   ` Christoph Eckert
  2005-12-11 13:26 ` Rafael Fernández López
  1 sibling, 1 reply; 9+ messages in thread
From: Rafael Fernández López @ 2005-12-11 13:16 UTC (permalink / raw
  To: gentoo-user

OH God !!!

Haven't updated Gentoo in a year ?????????? Wow... I think first thing you
should do is to update portage.

Bye,
Rafael Fernández López.
>
> Hi,
>
>
> me again :) . I'm trying to update my machine. I have never done so
> since I installed Gentoo last year, so I'm a bit unexperienced and
> ignorant about portage and emerge usage.
>
> I have updated most of the packages manually to avoid a broken system,
> and most are done ("only" 98 left :) .
>
> Some packages don't install properly, this time it is libusb. I have
> installed libusb-0.1.8 and try to install libusb-0.1.10a, but I get the
> error message attached.
>
> Anyone a clue where I can start searching for a solution? Wrong automake
> version? A missing variable?
>
>
> Thx & best regards
>
>
>     ce
>
>
>
> emerge libusb
> Calculating dependencies ...done!
>>>> emerge (1 of 1) dev-libs/libusb-0.1.10a to /
>>>> md5 files   ;-) libusb-0.1.7-r1.ebuild
>>>> md5 files   ;-) libusb-0.1.8.ebuild
>>>> md5 files   ;-) libusb-0.1.10a.ebuild
>>>> md5 files   ;-) files/digest-libusb-0.1.7-r1
>>>> md5 files   ;-) files/0.1.10a-fbsd.patch
>>>> md5 files   ;-) files/digest-libusb-0.1.8
>>>> md5 files   ;-) files/libusb-0.1.8-amd64-fPIC.patch
>>>> md5 files   ;-) files/digest-libusb-0.1.10a
>>>> md5 src_uri ;-) libusb-0.1.10a.tar.gz
>>>> Unpacking source...
>>>> Unpacking libusb-0.1.10a.tar.gz
> to /var/tmp/portage/libusb-0.1.10a/work
>  * Applying 0.1.10a-fbsd.patch ...
> [ ok ]
>  * Running eautoreconf in
> '/var/tmp/portage/libusb-0.1.10a/work/libusb-0.1.10a' ...
>  * Running aclocal...
> [ ok ]
>  * Running libtoolize --copy --force --automake...
> [ ok ]
>  * Running aclocal...
> [ ok ]
>  * Running autoconf...
> [ ok ]
>  * Running autoheader...
> [ ok ]
>  * Running automake --add-missing --copy --foreign...
> [ !! ]
>
>
>  * Failed Running automake !
>  *
>  * Include in your bugreport the contents of:
>  *
>  *   /var/tmp/portage/libusb-0.1.10a/temp/automake-5879.out
>
>
> !!! ERROR: dev-libs/libusb-0.1.10a failed.
> !!! Function autotools_run_tool, Line 179, Exitcode 0
> !!! Failed Running automake !
> !!! If you need support, post the topmost build error, NOT this status
> message.
> --
> gentoo-user@gentoo.org mailing list
>
>


-- 
"A la vista de suficientes ojos todos los errores resultan evidentes" -
Linus Torvalds
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] libusb build error
  2005-12-11 11:41 [gentoo-user] libusb build error Christoph Eckert
  2005-12-11 13:16 ` Rafael Fernández López
@ 2005-12-11 13:26 ` Rafael Fernández López
  2005-12-11 13:49   ` Christoph Eckert
                     ` (2 more replies)
  1 sibling, 3 replies; 9+ messages in thread
From: Rafael Fernández López @ 2005-12-11 13:26 UTC (permalink / raw
  To: gentoo-user

Oh !! Another thing... I suggest you to use an "automatic" update, like
"emerge -vuDp world", see what will happen, and if everything is okay, try
"emerge -vuD world".

If you do one by one, then you'll may have packages broken, because you
don't know dependency tree by heart, so you should portage work for you.

I'd do:
   [*] emerge -vu portage
   [*] emerge -vuDp world
          [*] if everything went OK: emerge -vuD world
   [*] revdep-rebuild --pretend
   [*] revdep-rebuild

Bye,
Rafael Fernández López.

>
> Hi,
>
>
> me again :) . I'm trying to update my machine. I have never done so
> since I installed Gentoo last year, so I'm a bit unexperienced and
> ignorant about portage and emerge usage.
>
> I have updated most of the packages manually to avoid a broken system,
> and most are done ("only" 98 left :) .
>
> Some packages don't install properly, this time it is libusb. I have
> installed libusb-0.1.8 and try to install libusb-0.1.10a, but I get the
> error message attached.
>
> Anyone a clue where I can start searching for a solution? Wrong automake
> version? A missing variable?
>
>
> Thx & best regards
>
>
>     ce
>
>
>
> emerge libusb
> Calculating dependencies ...done!
>>>> emerge (1 of 1) dev-libs/libusb-0.1.10a to /
>>>> md5 files   ;-) libusb-0.1.7-r1.ebuild
>>>> md5 files   ;-) libusb-0.1.8.ebuild
>>>> md5 files   ;-) libusb-0.1.10a.ebuild
>>>> md5 files   ;-) files/digest-libusb-0.1.7-r1
>>>> md5 files   ;-) files/0.1.10a-fbsd.patch
>>>> md5 files   ;-) files/digest-libusb-0.1.8
>>>> md5 files   ;-) files/libusb-0.1.8-amd64-fPIC.patch
>>>> md5 files   ;-) files/digest-libusb-0.1.10a
>>>> md5 src_uri ;-) libusb-0.1.10a.tar.gz
>>>> Unpacking source...
>>>> Unpacking libusb-0.1.10a.tar.gz
> to /var/tmp/portage/libusb-0.1.10a/work
>  * Applying 0.1.10a-fbsd.patch ...
> [ ok ]
>  * Running eautoreconf in
> '/var/tmp/portage/libusb-0.1.10a/work/libusb-0.1.10a' ...
>  * Running aclocal...
> [ ok ]
>  * Running libtoolize --copy --force --automake...
> [ ok ]
>  * Running aclocal...
> [ ok ]
>  * Running autoconf...
> [ ok ]
>  * Running autoheader...
> [ ok ]
>  * Running automake --add-missing --copy --foreign...
> [ !! ]
>
>
>  * Failed Running automake !
>  *
>  * Include in your bugreport the contents of:
>  *
>  *   /var/tmp/portage/libusb-0.1.10a/temp/automake-5879.out
>
>
> !!! ERROR: dev-libs/libusb-0.1.10a failed.
> !!! Function autotools_run_tool, Line 179, Exitcode 0
> !!! Failed Running automake !
> !!! If you need support, post the topmost build error, NOT this status
> message.
> --
> gentoo-user@gentoo.org mailing list
>
>


-- 
"A la vista de suficientes ojos todos los errores resultan evidentes" -
Linus Torvalds
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] libusb build error
  2005-12-11 13:16 ` Rafael Fernández López
@ 2005-12-11 13:42   ` Christoph Eckert
  0 siblings, 0 replies; 9+ messages in thread
From: Christoph Eckert @ 2005-12-11 13:42 UTC (permalink / raw
  To: gentoo-user


> OH God !!!

 :) ?

> Haven't updated Gentoo in a year ?????????? Wow... I think first
> thing you should do is to update portage.

Portage is updated, I even synced the local tree.

I didn't say I didn't update anything during this year, but I only 
updated the packages I was interested in (mainly packages for audio 
work). It was a year without struggling with updated config files or 
any other unconvenient issues :-) .

Anyway, most packages are up to date now. I still have installed kde 
3.3, and I plan to update it to 3.5 as soon as it is marked as stable.

Unfortunately, kdebase depends on libusb, and even CUPS has been updated 
and I cannot use my USB printer because CUPS complains about
"Unable to open USB device "usb://hp/deskjet%205550": No such device" 
though I don't know if this is a problem of updating CUPS or with 
libusb.


Best regards


    ce

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] libusb build error
  2005-12-11 13:26 ` Rafael Fernández López
@ 2005-12-11 13:49   ` Christoph Eckert
  2005-12-11 21:41   ` Neil Bothwick
  2005-12-11 23:29   ` Christoph Eckert
  2 siblings, 0 replies; 9+ messages in thread
From: Christoph Eckert @ 2005-12-11 13:49 UTC (permalink / raw
  To: gentoo-user

Hi,


> Oh !! Another thing... I suggest you to use an "automatic" update,
> like "emerge -vuDp world", see what will happen, and if everything is
> okay, try "emerge -vuD world".
>
> If you do one by one, then you'll may have packages broken, because
> you don't know dependency tree by heart, so you should portage work
> for you.
>
> I'd do:
>    [*] emerge -vu portage
>    [*] emerge -vuDp world

WOrks fine.

>           [*] if everything went OK: emerge -vuD world

I wonder if I really should be that brave :) .

>    [*] revdep-rebuild --pretend
>    [*] revdep-rebuild

Thanks a lot for all the hints. Each one of them is being 
considered :-) . 



Best regards


    ce

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] libusb build error
  2005-12-11 13:26 ` Rafael Fernández López
  2005-12-11 13:49   ` Christoph Eckert
@ 2005-12-11 21:41   ` Neil Bothwick
  2005-12-11 23:29   ` Christoph Eckert
  2 siblings, 0 replies; 9+ messages in thread
From: Neil Bothwick @ 2005-12-11 21:41 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 411 bytes --]

On Sun, 11 Dec 2005 14:26:26 +0100 (CET), Rafael Fernández López wrote:

> If you do one by one, then you'll may have packages broken, because you
> don't know dependency tree by heart, so you should portage work for you.

You'll also bork your world file if you don't use --oneshot when emerging
individual packages.


-- 
Neil Bothwick

Orcs aren't all that bad... if you have plenty of ketchup.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] libusb build error
  2005-12-11 13:26 ` Rafael Fernández López
  2005-12-11 13:49   ` Christoph Eckert
  2005-12-11 21:41   ` Neil Bothwick
@ 2005-12-11 23:29   ` Christoph Eckert
  2005-12-11 23:54     ` [gentoo-user] libusb build error: SOLVED Christoph Eckert
  2 siblings, 1 reply; 9+ messages in thread
From: Christoph Eckert @ 2005-12-11 23:29 UTC (permalink / raw
  To: gentoo-user

Hi all,


> I'd do:
>    [*] emerge -vu portage
>    [*] emerge -vuDp world
>           [*] if everything went OK: emerge -vuD world
>    [*] revdep-rebuild --pretend
>    [*] revdep-rebuild

so I did. Everything went fine, until it was libusb's turn. I still get:


>>> Unpacking source...
>>> Unpacking libusb-0.1.10a.tar.gz 
to /var/tmp/portage/libusb-0.1.10a/work
 * Applying 0.1.10a-fbsd.patch ...                                                         
[ ok ]
 * Running eautoreconf in 
'/var/tmp/portage/libusb-0.1.10a/work/libusb-0.1.10a' ...
 * Running aclocal ...                                                                     
[ ok ]
 * Running libtoolize --copy --force --automake ...                                        
[ ok ]
 * Running aclocal ...                                                                     
[ ok ]
 * Running autoconf ...                                                                    
[ ok ]
 * Running autoheader ...                                                                  
[ ok ]
 * Running automake --add-missing --copy --foreign ...                                     
[ !! ]

 * Failed Running automake !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/libusb-0.1.10a/temp/automake-12138.out


!!! ERROR: dev-libs/libusb-0.1.10a failed.
!!! Function autotools_run_tool, Line 179, Exitcode 0

=============

When I look into
/var/tmp/portage/libusb-0.1.10a/temp/automake-12138.out
it contains:

***** automake *****

configure.in: installing `./mkinstalldirs'
libusbpp_la_LDFLAGS: variable `QT_LDFLAGS' is used but `QT_LDFLAGS' is 
undefined

=============


A further issue I had before was that kdelibs didn't compile properly. 
It complained:

grep: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such 
file or directory
/bin/sed: can't 
read /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such 
file or directory
libtool: link: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la' 
is not a valid libtool archive
make[3]: *** [libkio.la] Fehler 1
make[3]: Leaving directory 
`/var/tmp/portage/kdelibs-3.4.3/work/kdelibs-3.4.3/kio'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory 
`/var/tmp/portage/kdelibs-3.4.3/work/kdelibs-3.4.3/kio'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory 
`/var/tmp/portage/kdelibs-3.4.3/work/kdelibs-3.4.3'
make: *** [all] Fehler 2

!!! ERROR: kde-base/kdelibs-3.4.3 failed.
!!! Function kde_src_compile, Line 173, Exitcode 2
!!! died running emake, kde_src_compile:make


=================

I did notice that there was
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/
which pointed to
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/
but 3.3.4 didn't exist. Instead there was
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/
so I created a symlink to 3.3.6 called 3.3.4

I don't know if this also is related to the libusb error, but at least I 
wanted to annotate that.


Any hint about the libusb error?


Best regards


    ce

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] libusb build error: SOLVED
  2005-12-11 23:29   ` Christoph Eckert
@ 2005-12-11 23:54     ` Christoph Eckert
  2005-12-12  0:08       ` [gentoo-user] libusb build error: FINALLY SOLVED Christoph Eckert
  0 siblings, 1 reply; 9+ messages in thread
From: Christoph Eckert @ 2005-12-11 23:54 UTC (permalink / raw
  To: gentoo-user

Hi,

replying to myself.

I remembered two variables called WANT_AUTOMAKE and WANT_AUTOCONF.

I unset them and got another error:


================


Making all in doc
make[2]: Entering directory 
`/var/tmp/portage/libusb-0.1.10a/work/libusb-0.1.10a/doc'
rm -rf html
mkdir html
jade -t sgml -d ./website.dsl\#html ./manual.sgml
jade: error while loading shared libraries: libosp.so.3: cannot open 
shared object file: No suchfile or directory
make[2]: *** [html/index.html] Fehler 127
make[2]: Leaving directory 
`/var/tmp/portage/libusb-0.1.10a/work/libusb-0.1.10a/doc'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory 
`/var/tmp/portage/libusb-0.1.10a/work/libusb-0.1.10a'
make: *** [all] Fehler 2

!!! ERROR: dev-libs/libusb-0.1.10a failed.
!!! Function src_compile, Line 36, Exitcode 2
!!! emake failed

=============

/usr/lib/libosp.so.3 didn't exist:

=============

ls -l /usr/lib/libosp*
-rw-r--r--  1 root root 4300782 11. Dez 19:30 /usr/lib/libosp.a
-rw-r--r--  1 root root  601376 29. Jun 2004  /usr/lib/libospgrove.a
-rwxr-xr-x  1 root root     724 29. Jun 2004  /usr/lib/libospgrove.la
lrwxrwxrwx  1 root root      20  5. Dez 2004  /usr/lib/libospgrove.so -> 
libospgrove.so.0.0.1
lrwxrwxrwx  1 root root      20  5. Dez 2004  /usr/lib/libospgrove.so.0 
-> libospgrove.so.0.0.1
-rwxr-xr-x  1 root root  403784 29. Jun 
2004  /usr/lib/libospgrove.so.0.0.1
-rwxr-xr-x  1 root root     709 11. Dez 19:30 /usr/lib/libosp.la
lrwxrwxrwx  1 root root      15 11. Dez 19:30 /usr/lib/libosp.so -> 
libosp.so.4.0.0
lrwxrwxrwx  1 root root      15 11. Dez 19:30 /usr/lib/libosp.so.4 -> 
libosp.so.4.0.0
-rwxr-xr-x  1 root root 1954008 11. Dez 19:30 /usr/lib/libosp.so.4.0.0


=================

so I set a symlink:

ln -s libosp.so.4.0.0 libosp.so.3

but now the build process seems to be in an endless loop:

Making all in doc
make[2]: Entering directory 
`/var/tmp/portage/libusb-0.1.10a/work/libusb-0.1.10a/doc'
rm -rf html
mkdir html
jade -t sgml -d ./website.dsl\#html ./manual.sgml


Should I install another version of libosp? If so, how can I do so 
(sorry for my ignorance)?

But I get

equery belongs libosp.so.4.0.0
[ Searching for file(s) libosp.so.4.0.0 in *... ]
app-text/opensp-1.5.1 (/usr/lib/libosp.so.4.0.0)

and 1.5.1 is the current and only version available (at least according 
to packages.gentoo.org).


Thanks and best regards,


ce

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] libusb build error: FINALLY SOLVED
  2005-12-11 23:54     ` [gentoo-user] libusb build error: SOLVED Christoph Eckert
@ 2005-12-12  0:08       ` Christoph Eckert
  0 siblings, 0 replies; 9+ messages in thread
From: Christoph Eckert @ 2005-12-12  0:08 UTC (permalink / raw
  To: gentoo-user

Hi,


sorry for the traffic, but I finally solved it by unsetting »doc« from 
the USE variable :) .

The first time I wrote »SOLVED« I thought it would be solved - until 
jade got wild ;-) .

Time to go to bed - thanks and good night.


    ce


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-12-12  2:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-11 11:41 [gentoo-user] libusb build error Christoph Eckert
2005-12-11 13:16 ` Rafael Fernández López
2005-12-11 13:42   ` Christoph Eckert
2005-12-11 13:26 ` Rafael Fernández López
2005-12-11 13:49   ` Christoph Eckert
2005-12-11 21:41   ` Neil Bothwick
2005-12-11 23:29   ` Christoph Eckert
2005-12-11 23:54     ` [gentoo-user] libusb build error: SOLVED Christoph Eckert
2005-12-12  0:08       ` [gentoo-user] libusb build error: FINALLY SOLVED Christoph Eckert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox