[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH v2][RESUBMIT] apt-pkg:contrib Avoid compiler warning about mktemp using mkostemp



On Wed, Aug 28, 2013 at 10:57 PM, Angel Guzman Maeso <shakaran@gmail.com> wrote:
> checking for shared library run path origin... /bin/bash:
> /home/shakaran/apt/buildlib/config.rpath: No such file or directory
> done

Now that you mention it, I see it, too.
The only mentioning of rpath in APT I can find is from Nov 1998 …
Not a problem though, we shouldn't set an rpath anyway;
seems to be part of the autoconf magic.


> Also, I would ask, if there are a "make install" in the roadmap? I see that
> other users copy the files manually for this, but a proper make install
> should help a lot.

Mhhh. What should this "make install" do?
Feels a bit wrong to install files "behind the back" of dpkg…

I am not copying files around/build+install a deb usually, but
do the following config+alias dance for dogfooding instead:
~$ cat .shell/aliases-apt
APT_PATH="/path/to/apt/build/bin"
export APT_CONFIG="${HOME}/.apt-dogfooding.conf"
if [ -d "$APT_PATH" ]; then
        alias apt-get='LD_LIBRARY_PATH=$APT_PATH ${APT_PATH}/apt-get'
        alias apt-cache='LD_LIBRARY_PATH=$APT_PATH ${APT_PATH}/apt-cache'
        alias apt-cdrom='LD_LIBRARY_PATH=$APT_PATH ${APT_PATH}/apt-cdrom'
        alias apt-config='LD_LIBRARY_PATH=$APT_PATH ${APT_PATH}/apt-config'
        alias apt-key='LD_LIBRARY_PATH=$APT_PATH ${APT_PATH}/apt-key'
        alias apt-mark='LD_LIBRARY_PATH=$APT_PATH ${APT_PATH}/apt-mark'
        alias apt-sortpkgs='LD_LIBRARY_PATH=$APT_PATH ${APT_PATH}/apt-sortpkgs'
        alias apt-ftparchive='LD_LIBRARY_PATH=$APT_PATH
${APT_PATH}/apt-ftparchive'
fi
~$ cat ~/.apt-dogfooding.conf
Dir::Locale "/path/to/apt/build/locale";
Dir::Bin::methods "/path/to/apt/build/bin/methods";

The benefit is that I can not only use whatever I have currently
compiled from git,
but can always call the properly installed APT with \apt-get and co.

Its a bit of a hack, but quiet handy and you would need to do similar
stuff for any non-root install.


Best regards

David Kalnischkies


Reply to: