OpenCSW Bug Tracker


Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003666 [gdk_pixbuf] packaging minor always 2009-05-12 15:32 2013-10-27 08:59
Reporter user2188 View Status public  
Assigned To
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Product Build
Summary 0003666: libgdk_pixbuf.la references non-existent .la files, breaks graphviz builds
Description Building graphviz fails with:

/bin/bash ../../libtool --tag=CC --mode=link cc -g -version-info 6:0:0 -L/opt/csw/lib -o libgvplugin_gdk_pixbuf.la -rpath /opt/csw/lib/graphviz gvplugin_gdk_pixbuf.lo gvdevice_gdk_pixbuf.lo ../../lib/gvc/libgvc.la -L/opt/csw/lib -lgdk_pixbuf-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl
grep: /opt/csw/lib/libgmodule-2.0.la: No such file or directory



I believe this error is originating from: /opt/csw/lib/libgmodule-2.0.la
which contains a reference to this non-existent file. (Also to ls: /opt/csw/lib/libgobject-2.0.la and /opt/csw/lib/libglib-2.0.la)


A more general question is: why are .la files being installed at all by opencsw?
I don't understand all the rationale, but I note that Fedora does not install any .la files.

Steps To Reproduce
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0006105)
user2188
2009-05-12 16:13

Correction:

I believe the problem originates in the installed: /opt/csw/lib/libgdk_pixbuf-2.0.la which references the non-existent files.
(0006106)
dam (administrator)
2009-05-12 16:34

.la files were included in the past, but the current policy is to exclude them:
  <http://www.opencsw.org/standards/build> [^]

New packages should take care to EXCLUDE libtool .la files. They are not helpful, and often create more problems than they solve. Unfortunately, existing packages may need to preserve them, until all dependant packages have their own configs adjusted to not use .la files.

There is also a script which fixes Makefile to use linker directives instead of .la files. The usage in GAR is documented at <http://apps.sourceforge.net/trac/gar/wiki/LibTool> [^] Please ask on maintainers@ for further advice if needed.
(0006107)
phil (reporter)
2009-05-12 18:58

this is actually a bug in gmodule.
Please file a bug with THAT package, to repackage without .la files.
(0006108)
user2188
2009-05-12 19:21

This may *also* be a bug with gmodule, but *this* package is installing /opt/csw/lib/libgdk_pixbuf-2.0.la with broken references, so minimally it needs to be repackaged without it.

I'll file a bug against glib for /opt/csw/lib/libgmodule.la

(I'm finding the .la files on the build8s host)
(0006109)
phil (reporter)
2009-05-12 19:41

since the offending package is mine, please feel free to repackage and take over glib.
(0010607)
raos (manager)
2013-10-27 08:59

Closing old bug.

- Issue History
Date Modified Username Field Change
2009-05-12 15:32 user2188 New Issue
2009-05-12 16:13 user2188 Note Added: 0006105
2009-05-12 16:34 dam Note Added: 0006106
2009-05-12 18:58 phil Note Added: 0006107
2009-05-12 18:59 phil Status new => closed
2009-05-12 18:59 phil Resolution open => no change required
2009-05-12 19:21 user2188 Note Added: 0006108
2009-05-12 19:21 user2188 Status closed => feedback
2009-05-12 19:21 user2188 Resolution no change required => reopened
2009-05-12 19:41 phil Note Added: 0006109
2013-10-27 08:59 raos Note Added: 0010607
2013-10-27 08:59 raos Status feedback => closed
2013-10-27 08:59 raos Resolution reopened => fixed


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker