Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 372719 - qt4-r2.eclass: eqmake4 is overly strict when parsing CONFIG variable
Summary: qt4-r2.eclass: eqmake4 is overly strict when parsing CONFIG variable
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
: 402247 (view as bug list)
Depends on:
Blocks: 372721
  Show dependency tree
 
Reported: 2011-06-23 21:39 UTC by Maksim 'max_posedon' Melnikau
Modified: 2012-02-13 00:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
qt4 qt4-r2 eclass patch (qt.eclass.patch,1.04 KB, patch)
2011-06-23 21:43 UTC, Maksim 'max_posedon' Melnikau
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Maksim 'max_posedon' Melnikau 2011-06-23 21:39:27 UTC
CONFIG -=release
CONFIG -=debug

=== (eqmake4) ==>

CONFIG debug
CONFIG -=debug

(e.g. it doesn't parses missing space between -= and value)

/var/tmp/portage/x11-libs/libmeegotouch-9999/work/libmeegotouch-9999/mkspecs/meegotouchconfig.pri:5: Parse Error ('CONFIG debug')
Project LOAD(): Feature /var/tmp/portage/x11-libs/libmeegotouch-9999/work/libmeegotouch-9999/mkspecs/meegotouchconfig.pri cannot be found.  

Reproducible: Always

Steps to Reproduce:
1. layman -a qting-edje
2. emerge -1 libmeegotouch
Actual Results:  
eqmake4 fails

Expected Results:  
eqmake4 shouldn't fail
Comment 1 Maksim 'max_posedon' Melnikau 2011-06-23 21:43:41 UTC
Created attachment 277925 [details, diff]
qt4 qt4-r2 eclass patch
Comment 2 Davide Pesavento (RETIRED) gentoo-dev 2011-06-30 13:41:41 UTC
The bug is confirmed, however the patch doesn't seem to properly fix the issue.
Comment 3 Davide Pesavento (RETIRED) gentoo-dev 2012-02-10 21:16:38 UTC
*** Bug 402247 has been marked as a duplicate of this bug. ***
Comment 4 Ben de Groot 2012-02-12 09:26:14 UTC
qt4.eclass is deprecated, so any proposed fix only applies to qt4-r2.eclass
Comment 5 Davide Pesavento (RETIRED) gentoo-dev 2012-02-13 00:34:56 UTC
Fixed in CVS.

  13 Feb 2012; Davide Pesavento <pesa@gentoo.org> qt4-r2.eclass:
  eqmake4: make CONFIG manipulation more robust by using gsub in the awk
  script. Fixes bug #372719.