Bug 1066424 - oyranos-config returns invalid LDFLAGS and consequently the cinepaint build fails
Summary: oyranos-config returns invalid LDFLAGS and consequently the cinepaint build f...
Keywords:
Status: CLOSED DUPLICATE of bug 1057030
Alias: None
Product: Fedora
Classification: Fedora
Component: oyranos
Version: rawhide
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
Assignee: Christopher Meng
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-18 11:37 UTC by Jaromír Cápík
Modified: 2016-02-01 01:59 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-02-18 12:08:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jaromír Cápík 2014-02-18 11:37:39 UTC
Description of problem:
I get the following when calling 'oyranos-config --ldflags' in Rawhide/f21

--------------
-L/usr/lib64 -loyranos -loyranos_config -loyranos_modules -loyranos_object -loyranos_core -lelektra  -L/usr/lib64     -L -lelektra
--------------

and the following when calling it in f20

--------------
-L/usr/lib64 -loyranos -loyranos_object -loyranos_core -lelektra  -L/usr/lib64  -lxml2   -lyajl
--------------

You can notice a single '-L' not accompanied with any directory in case of Rawhide. This leads to the following cinepaint build error:

--------------
/bin/sh ../../libtool --tag=CXX   --mode=link g++ -DLOCALEDIR=\""/usr/share/locale"\"  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables  -lstdc++ -lm -lX11 -o pdf pdf.o pdf_dialog.o ../../lib/libcinepaint.la -lstdc++ -lm -lX11  -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype  -lstdc++ -lm -lX11 ../../lib/fl_i18n/libcinepaint_fl_i18n.la -Wl,-z,relro -lfltk_images -lfltk -DHAVE_OY -L/usr/lib -loyranos -loyranos_config -loyranos_modules -loyranos_object -loyranos_core -lelektra  -L/usr/lib     -L -lelektra -lc 
libtool: link: require no space between `-L' and `-lelektra'
make[2]: *** [pdf] Error 1
make[2]: Leaving directory `/builddir/build/BUILD/cinepaint-1.0-4/plug-ins/pdf'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/builddir/build/BUILD/cinepaint-1.0-4/plug-ins'
make: *** [install-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.V4MA5w (%install)
--------------

Version-Release number of selected component (if applicable):
oyranos-0.9.5-0.0.20140123git.fc21

How reproducible:
always

Steps to Reproduce:
oyranos-config --ldflags

Actual results:
-L/usr/lib64 -loyranos -loyranos_config -loyranos_modules -loyranos_object -loyranos_core -lelektra  -L/usr/lib64     -L -lelektra

Expected results:
The single '-L' should not be there for sure. The list of LDFLAGS needs to be re-checked.

Comment 1 Michael Schwendt 2014-02-18 12:08:32 UTC
Yeah, Christopher apparently prefers working on more review requests.

*** This bug has been marked as a duplicate of bug 1057030 ***


Note You need to log in before you can comment on or make changes to this bug.