Description
Markus Rathgeb
2008-05-06 21:08:12 UTC
I have prepared to add this to the "libtool-2.2 tracker" by a "Bug 220681 blocks: 212763" I hope this is right. This bug report is not really helpful, post the build.log and maybe config.log so we could see something without having to build audacity by ourselves. Created attachment 152203 [details]
/var/tmp/portage/media-sound/audacity-1.3.4-r3/temp/build.log
Created attachment 152205 [details]
/var/tmp/portage/media-sound/audacity-1.3.4-r3/temp/eclass-debug.log
Created attachment 152207 [details]
/var/tmp/portage/media-sound/audacity-1.3.4-r3/temp/elibtool.log
Created attachment 152209 [details]
/var/tmp/portage/media-sound/audacity-1.3.4-r3/work/audacity-src-1.3.4-beta/config.log
Created attachment 152211 [details]
/var/tmp/portage/media-sound/audacity-1.3.4-r3/work/audacity-src-1.3.4-beta/lib-src/portmixer/config.log
Created attachment 152213 [details]
/var/tmp/portage/media-sound/audacity-1.3.4-r3/work/audacity-src-1.3.4-beta/lib-src/portaudio-v19/config.log
Created attachment 152215 [details]
/var/tmp/portage/media-sound/audacity-1.3.4-r3/work/audacity-src-1.3.4-beta/lib-src/FileDialog/config.log
../lib-src/portaudio-v19/lib/libportaudio.a is just a symlink to a non existing file # ls -lah /var/tmp/portage/media-sound/audacity-1.3.4-r3/work/audacity-src-1.3.4-beta/lib-src/portaudio-v19/lib/ total 16K drwxr-xr-x 3 root root 4.0K 2008-05-07 10:02 . drwxr-xr-x 12 root root 4.0K 2008-05-07 10:02 .. lrwxrwxrwx 1 root root 20 2008-05-07 10:02 libportaudio.a -> .libs/libportaudio.a -rw-r--r-- 1 root root 979 2008-05-07 10:02 libportaudio.la drwxr-xr-x 2 root root 4.0K 2008-05-07 10:02 .libs # ls -lah /var/tmp/portage/media-sound/audacity-1.3.4-r3/work/audacity-src-1.3.4-beta/lib-src/portaudio-v19/lib/.libs/ total 176K drwxr-xr-x 2 root root 4.0K 2008-05-07 10:02 . drwxr-xr-x 3 root root 4.0K 2008-05-07 10:02 .. -rw-r--r-- 1 root root 676 2008-05-07 10:02 libportaudio.exp lrwxrwxrwx 1 root root 18 2008-05-07 10:02 libportaudio.la -> ../libportaudio.la -rw-r--r-- 1 root root 980 2008-05-07 10:02 libportaudio.lai lrwxrwxrwx 1 root root 21 2008-05-07 10:02 libportaudio.so -> libportaudio.so.2.0.0 lrwxrwxrwx 1 root root 21 2008-05-07 10:02 libportaudio.so.2 -> libportaudio.so.2.0.0 -rwxr-xr-x 1 root root 150K 2008-05-07 10:02 libportaudio.so.2.0.0 -rw-r--r-- 1 root root 734 2008-05-07 10:02 libportaudio.ver OK, so the answer should lie somewhere in lib-src/portaudio-v19, cause it builds only a shared lib, instead of the needed static. I'll try to investigate. This won't be pretty. portaudio-v19 build process is incompatible with libtool 2.* it uses SHARED_FLAGS variable, which does not create any conflit by itself, but it puts '-shared' in that variable (at least on linux) which 2.* series treat as 'don't build static lib'. Actually, I think it was an upstream bug in the first place, cause if I read configure.in (of portaudio) correctly, the stuff they put in SHARED_FLAGS was added by libtool anyway. I think that the correct fix would be making sure that SHARED_FLAGS is set to either empty or '-static' (as that would disable building shared lib, which we don't need). And portaudio upstream should be notified about it. At least -fPIC was. So, should I report this to the upstream (or have you done it yet)? patched it with 1.3.5 bump |