Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 79704
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Security <security@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Carsten Lohrke <carlo@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:
Flags: Requestee:
 
 
  ()

Filename Description Type Creator Created Size Actions
libextractor-disable-ole2.patch Workaround for ole2 linking problem patch Glenn L. McGrath 2005-03-01 17:05 0000 330 bytes Details | Diff
3317-libextractor-0.5.0.log libextractor-0.5.0 emerge log text/plain Martin von Gagern 2005-05-30 01:44 0000 118.00 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 79704 depends on: 79543 Show dependency tree
Bug 79704 blocks:

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: 2005-01-27 05:25 0000
http://gnunet.org/libextractor/ 

Seems like it's time to have a "xpf issue" list.

------- Comment #1 From Thierry Carrez (RETIRED) 2005-01-27 05:48:08 0000 -------
net-p2p, please bump.

------- Comment #2 From Thierry Carrez (RETIRED) 2005-02-04 08:39:13 0000 -------
net-p2p: We may need to mask this (and gnunet) if it isn't patched soon.

------- Comment #3 From Sune Kloppenborg Jeppesen 2005-02-13 05:46:18 0000 -------
No reaction from net-p2p.

Please mask this package.

------- Comment #4 From solar 2005-02-13 06:25:04 0000 -------
package.masked media-libs/libextractor by request of the security team.

------- Comment #5 From solar 2005-02-13 07:27:44 0000 -------
Does gnunet need to be masked also?

------- Comment #6 From Sune Kloppenborg Jeppesen 2005-02-13 07:35:15 0000 -------
FYI tried bumping to 0.4.1 with the following changes:

HOMEPAGE="http://gnunet.org/libextractor/"
SRC_URI="http://gnunet.org/libextractor/download/${P}.tar.bz2"

But it does not compile.

------- Comment #7 From Maurice van der Pot 2005-02-13 08:39:05 0000 -------
Here is some extra info for whoever wants to solve this.

It fails because it tries to link against a static gobject-2.0, which we don't 
have on our systems.

libextractor-0.4.1/src/plugins/ole2/Makefile.am specifies:

# Ok, linking this one is complicated, see Mantis #787.
libextractor_ole2_la_LDFLAGS = \
  -Wl,-Bstatic -Wl,-lgobject-2.0 -Wl,-lglib-2.0 -Wl,-Bdynamic \
  -Wl,-Bsymbolic -avoid-version -module

The issue the author refers to can be found here:
http://gnunet.org/mantis/view.php?id=787

As a test I changed the makefile to build without -Bstatic and it succeeded.

------- Comment #8 From Thierry Carrez (RETIRED) 2005-02-13 09:51:23 0000 -------
gnunet requires libextractor (and is the only package that does) so it's broken
for the time being, I would say mask it too.

------- Comment #9 From Thierry Carrez (RETIRED) 2005-02-16 11:38:28 0000 -------
Temporary solution found --> enhancement status

------- Comment #10 From Aaron Walker (RETIRED) 2005-02-24 07:34:20 0000 -------
libextractor 0.4.2 is out.

------- Comment #11 From Jon Hood (RETIRED) 2005-02-27 21:01:08 0000 -------
I'm sorry, some things came up and I was out-of-service. I appologize, I should
have coordinated better.
Anyways, 0.4.2 is now in portage. Test away :)

------- Comment #12 From Thierry Carrez (RETIRED) 2005-02-28 00:40:47 0000 -------
x86, sparc: please test and mark libextractor-0.4.2 stable. I suppose you can
test it using gnunet...

------- Comment #13 From Olivier Crete 2005-02-28 12:44:14 0000 -------
for some reason, libextractor tries to build with "-Wl,-Bstatic
-Wl,-lgobject-2.0 -Wl,-lglib-2.0" .. but on x86 at least we dont have a static
libgobject.. so it fails. 

------- Comment #14 From Olivier Crete 2005-02-28 13:29:01 0000 -------
alright its the same problem as comment 7... but its not fixed for x86... Can't
mark stable.. should probably go back to ebuild status... 

------- Comment #15 From Thierry Carrez (RETIRED) 2005-02-28 13:33:17 0000 -------
squinky86: could you please look into that ?

------- Comment #16 From Glenn L. McGrath 2005-03-01 17:05:52 0000 -------
Created an attachment (id=52426) [details]
Workaround for ole2 linking problem

Disabling glib support disbables the ole2 plugin which avoids the linking
problem.

tested on amd64

------- Comment #17 From Sune Kloppenborg Jeppesen 2005-03-03 10:43:10 0000 -------
The Changelog also mentions:

Sun Feb 20 16:36:17 EST 2005
	Fixed similar problem in REAL extractor.  Added support
	for new Helix/Real format to REAL extractor.

Sun Feb 20 12:48:15 EST 2005
	Fixed (rare) integer overflow bug in PNG extractor.

------- Comment #18 From Sune Kloppenborg Jeppesen 2005-03-03 13:44:57 0000 -------
Sorry for the confusion, back to ebuild status. Squinky please provide a fixed
ebuild.

------- Comment #19 From Thierry Carrez (RETIRED) 2005-03-15 07:43:02 0000 -------
Package remains masked until maintainer comes back to fix it.

------- Comment #20 From Olivier Crete 2005-04-12 16:33:58 0000 -------
removed x86.. get us back if this is ever fixed.... 

------- Comment #21 From Karol Wojtaszek (RETIRED) 2005-05-29 12:54:58 0000 -------
Bumped libextractor to 0.5.0. I added patch which fixes above problems.

------- Comment #22 From Thierry Carrez (RETIRED) 2005-05-29 13:03:44 0000 -------
x86, sparc: please test and mark libextractor-0.5.0 stable before we unmask it.

------- Comment #23 From Olivier Crete 2005-05-29 19:00:29 0000 -------
0.5.0 fails on x86 with FEATURES=test :
make[4]: Entering directory
`/var/tmp/portage/libextractor-0.5.0/work/libextractor-0.5.0/src/test'Loading
'libextractor_ole2' plugin failed: libextractor_ole2.so: cannot open shared
object file: No such file or directory
Loading 'libextractor_ogg' plugin failed: libextractor_ogg.so: cannot open
shared object file: No such file or directory
Loading 'libextractor_qt' plugin failed: libextractor_qt.so: cannot open shared
object file: No such file or directory
Loading 'libextractor_html' plugin failed: libextractor_html.so: cannot open
shared object file: No such file or directory
Loading 'libextractor_man' plugin failed: libextractor_man.so: cannot open
shared object file: No such file or directory
[....]
Loading 'libextractor_oo' plugin failed: libextractor_oo.so: cannot open shared
object file: No such file or directory
Loading 'libextractor_asf' plugin failed: libextractor_asf.so: cannot open
shared object file: No such file or directory
Failed to load default plugins!
FAIL: multiload
=========================================
3 of 4 tests failed


and without the tests if fails in src_install with the following error.. for
some reason it puts the name of the install script instead of a lib path..

creating build/lib.linux-i686-2.3
i686-pc-linux-gnu-gcc -pthread -shared -fno-strict-aliasing -march=pentium4 -O2
-pipe build/temp.linux-i686-2.3/libextractor_python.o
-Llibextractor_python_setup.py -lextractor -o build/lib.linux-i686-2.3/extractor.so
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lextractor
collect2: ld returned 1 exit status
error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1
make[4]: *** [install-exec-local] Error 1
make[4]: Leaving directory
`/var/tmp/portage/libextractor-0.5.0/work/libextractor-0.5.0/src/main'

So it should stay un p.mask at least until this is fixed.. 

------- Comment #24 From Martin von Gagern 2005-05-30 01:44:56 0000 -------
Created an attachment (id=60172) [details]
libextractor-0.5.0 emerge log

Install phase failed.
It tried to do a lot of work for a simple install, in my opinion.

------- Comment #25 From Karol Wojtaszek (RETIRED) 2005-05-30 13:56:10 0000 -------
Just commited new patch which fixes linking problems.

------- Comment #26 From Olivier Crete 2005-05-30 14:37:18 0000 -------
the tests are still broken, but it seems to install ok...

------- Comment #27 From Martin von Gagern 2005-05-31 00:39:54 0000 -------
Install OK for me, too.

------- Comment #28 From Karol Wojtaszek (RETIRED) 2005-05-31 12:23:45 0000 -------
Do we really need to fix problems with test? i don't know why it crashes.

------- Comment #29 From Olivier Crete 2005-05-31 12:59:00 0000 -------
just add an empty src_test() {}  and I'll x86 it tonight

------- Comment #30 From Olivier Crete 2005-05-31 16:45:17 0000 -------
I disabled the tests and marked it stable on x86.. 

------- Comment #31 From Thierry Carrez (RETIRED) 2005-06-03 08:19:22 0000 -------
gustavoz said sparc doesn't need it stable, as it's not needed by any stable
package anyway.

so we just need to unmask libextractor and gnunet, and maybe remove the affected
versions of libextractor. sekretarz: can you do it ?

------- Comment #32 From Gustavo Zacarias (RETIRED) 2005-06-03 08:21:37 0000 -------
Yup, fine with sparc since only gnunet depends on it and there's no single
version stable for us.

------- Comment #33 From Thierry Carrez (RETIRED) 2005-06-08 01:32:35 0000 -------
gnunet and libextractor have been unmasked. libextractor is ready for GLSA.

------- Comment #34 From Thierry Carrez (RETIRED) 2005-06-09 10:51:10 0000 -------
GLSA 200506-06

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug