Re: Non-normalised field Provides in UDD table
Hi Andreas,
Andreas Tille <andreas@an3as.eu> writes:
> On Fri, Apr 13, 2018 at 09:35:39AM +0200, Ole Streicher wrote:
>> Andreas Tille <andreas@an3as.eu> writes:
>> > On Thu, Apr 12, 2018 at 09:22:35PM +0200, Ole Streicher wrote:
>> > Hmmmm,
>> > but no --udd option for the /usr/share/blends-dev/blend-gen-control
>> > call. How are you triggering the UDD option at your side?
>>
>> Inside of blend-gen-control, see
>> https://salsa.debian.org/blends-team/blends/commit/dc6f7bc9.patch :
>>
>> if 'GENCONTROL_OPTS' in os.environ:
>> opts = parser.parse_args(os.environ['GENCONTROL_OPTS'].split())
>> parser.set_defaults(**opts.__dict__)
>
> I've read this - but how did you actually *used* this setting.
> What are you doing on your side to trigger the UDD option?
I just added it to my Makefile and it works. Complete astro/Makefile:
```
#!/usr/bin/make -f
BLENDMAKEFILE=/usr/share/blends-dev/Makefile
CheckBLENDMakefile := $(shell if [ -e $(BLENDMAKEFILE) ] ; then echo 1 ; else echo 0 ; fi)
ifeq ($(CheckBLENDMakefile),1)
include $(BLENDMAKEFILE)
else
err := $(shell echo "$(BLENDMAKEFILE) is missing. Please install blends-dev package!")
endif
export GENCONTROL_OPTS := --udd
dummy:
@echo $(err)
```
Note that in the moment, the GENCONTROL_OPTS need to be defined *after*
the blends-dev/Makefile inclusion, since the latter set it to be empty
(I'll change that in a moment, however).
> Well, also apt cache is a moving target. So if we do not talk about
> reproducible test conditions and just want to debug the libodil0-dev
> issue in a defined time frame, the debug task can be helpful.
Yes; I finally did a minimal blend with one task containing just that
one dependency.
> In summary: I'm fine with a 0.7.0 release to unstable if there is a
> documented way to turn on the UDD option. (I'm obviously to stupid and
> always need to trigger it manually. :-((((( )
Check if the thing above works.
Cheers
Ole
Reply to: