-
Notifications
You must be signed in to change notification settings - Fork 100
Unset macros to prevent 'redefined' errors during build #540
Conversation
1 similar comment
This might be related to #431. Unsetting macros is more of a workaround than a fix. Anyway, I'd like to know what causes this before deciding how to deal with it. What parameters are passed to Debian package is maintained by @tsipinakis. Maybe he's got some information on this? |
Ah you are right.. I thought the problem was the macros being set during All build steps look like (manually inserted line breaks for readability)
So yes, the macros get defined twice every step, but fails at
|
I was in the middle of dumping a wall of text with all the variables that are set during the build process but I figured it out in the meantime. It's the same issue as #431. If So if |
@x4121, notice how the first command has two @tsipinakis, thanks a lot for figuring this out! Let's move to #431 though. |
Totally missed the "local" in the second definition... |
Hi, I'm going to close this because I'm not going to merge this changes, but if you find anything while looking for that second "LOCALEDIR" definition, please open an issue. |
In preparation to a (hopefully soon :) ) new release of newsbeuter, I tried to build Debian/Ubuntu binaries. Currently the build fails with
Unsetting the build macros before (re)setting them prevents this.
Tested on my private Launchpad PPA: https://launchpad.net/~x4121/+archive/ubuntu/ppa/+build/12464800 (which should behave similar/identical to the Debian build server that the release would be built on)