http://bugzilla.novell.com/show_bug.cgi?id=544140 User richard.bos@xs4all.nl added comment http://bugzilla.novell.com/show_bug.cgi?id=544140#c496189 Summary: Build service: spec file parser line NN: can't expand %(...) warning Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: Other OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: richard.bos@xs4all.nl QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (compatible; Konqueror/4.2; Linux) KHTML/4.2.3 (like Gecko) SUSE I started to package php5-pear-log, that was removed from the openSUSE base distribution, in the build service in the repository server:php:applications. (https://build.opensuse.org/project/show?project=server:php:applications) When building the package, the following warning is issued (local build, using osc 0.120): running changelog2spec --target rpm --file /home/richard/packages/osc/server:php:applications/php5-pear-log/php5-pear- log.spec Warning: spec file parser line 37: can't expand %(...) Warning: spec file parser line 40: can't expand %(...) Warning: spec file parser line 41: can't expand %(...) Warning: spec file parser line 48: can't expand %(...) Warning: spec file parser line 88: can't expand %(...) Warning: spec file parser line 89: can't expand %(...) Warning: spec file parser line 90: can't expand %(...) Warning: spec file parser line 91: can't expand %(...) Warning: spec file parser line 92: can't expand %(...) Warning: spec file parser line 93: can't expand %(...) and some more of those lines. The variable that those lines have in common is %{peardir}. This variable is defined at the top of the spec file. The definition is as follows: %define peardir %(pear config-get php_dir 2> /dev/null) The variable gets defined nicely, as in the end the build of spec file results in an src.rpm and binary rpm. I asked first on the opensuse-buildservice ML: http://lists4.opensuse.org/opensuse-buildservice/2009-10/msg00002.html According to Ludwig Nussel was that warning introduced due to fix bnc#496189 The related build service url is: https://build.opensuse.org/package/show?package=php5-pear-log&project=server:php:applications Many of the php5-pear applications use the construct: %define peardir %(pear config-get php_dir 2> /dev/null) Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.