control: reassign 765579 cowdancer
thanks

As I looked into cowbuilder source, I found cowshell.c has the following:

| /*BINFMTC: -DLIBDIR='"/usr/lib"' ilistcreate.c
|   Copy-on-write filesystem invocation.
| 
|   GPL v2 or later
|   Copyright 2005-2009 Junichi Uekawa.
|  */
  .....
| /**
|  * Set environment variables.
|  */
| static void set_env_vars() {
|   char* buf;
| 
|   // For sending down as environment variable, use a canonicalized version.
|   char* canonicalized_ilistpath=canonicalize_file_name(ilistpath);
|   setenv("COWDANCER_ILISTFILE",
|          canonicalized_ilistpath,1);
|   unsetenv("COWDANCER_IGNORE");
|   free(canonicalized_ilistpath);
| 
|   asprintf(&buf, "%s%s%s",
|            getenv("LD_PRELOAD")?:"",
|            getenv("LD_PRELOAD")?" ":"",
|            getenv("COWDANCER_SO") ?: LIBDIR "/cowdancer/libcowdancer.so");
|   setenv("LD_PRELOAD", buf, 1);
|   free(buf);
| }

This is non-M-A path.  No wonder why M-A library migration of
libeatmydata1 fails.

The root cause fix seems to be making cowbuilder to M-A.

The work around is to export real library path as COWDANCER_SO

For example:

 $ COWDANCER_SO=/usr/lib/x86_64-linux-gnu/libeatmydata.so
 $ export COWDANCER_SO
 $ gbp buildpackage ...

Not tested ... good night.

Osamu


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to