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

Bug#644019: reglookup: Please package latest upstream (1.0.1)



Hi,

On Mon, 14 Sep 2015, Tim wrote:
> Could you actually just try using subversion?  I may be mirroring it
> on GitHub, but that doesn't mean I use git.  I'm not convinced I even
> like git.  Far too complex for simple projects.
> 
> Anyway, I'm just pushing a mirror of my SVN repo to GitHub right now.
> Can you try using a subversion client to access the repo?  e.g.:
> 
> $ svn co https://github.com/ecbftw/reglookup

Honestly, I don't care about SVN or GIT. What I do care about is that you
provide me a usable tarball and you don't do that currently. At least
GitHub can build tarball on the fly for me... but only when I want
everything in the repository.

I was not aware that you could use SVN with GitHub... but in any case
it doesn't seem to let me export a sub-tree:

$ svn export https://github.com/ecbftw/reglookup/trunk reglookup
A    reglookup
A    reglookup/README.md
A    reglookup/SConstruct
A    reglookup/releases
A    reglookup/releases/0.10.0

It doesn't export the content of the "trunk" sub-directory. I can work
it out manually, but those extra steps are annoying...

> As for building with scons 3.6... I'm on Debian sid right now and the
> latest version is 2.3.6, so I suspect that is what you mean.  I'll
> take a look at my build and make sure it behaves as I expect.

Yes, I meant 2.3.6.

On Mon, 14 Sep 2015, Tim wrote:
> Ok, so I'm not sure what you're running into here.  I cleaned out all
> build artifacts my build tree and those installed on my system ("scons -c" 
> and "sudo scons -c install", respectively) and then did a fresh install
> into a temporary directory using PREFIX.  It seems to work fine as
> shown in the transcript below.  Let me know if I can provide more
> info or run things differently.

Actually the error I have is during build and not during install.
The build step runs "scons bin doc doc-devel" and should not install
anything yet. Yet it tries to install something and since I have not
set DESTDIR/PREFIX at this step, it fails to install the file due to lack of
permissions.

Here's how it fails on my side (not the latest svn version but the regression
in scons affects former packages too):

   debian/rules override_dh_auto_build
make[1]: Entering directory '/?BUILDDIR?/reglookup-1.0.1+svn282'
scons bin doc doc-devel
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
gcc -o src/reglookup-recover.o -c -std=gnu99 -pedantic -Wall -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -DREGFI_VERSION='"99.99.99.277"' -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Iinclude -I/usr/local/include src/reglookup-recover.c
[...]
gcc -o lib/libregfi.so.0.0.0 -shared -fPIC -Wl,-z,relro -shared -Wl,-Bsymbolic -Wl,-soname=libregfi.so.0 lib/regfi.os lib/winsec.os lib/range_list.os lib/lru_cache.os lib/void_stack.os -Llib -L/usr/local/lib -lm -lpthread -ltalloc
Install file: "lib/libregfi.so.0.0.0" as "/usr/local/lib/libregfi.so.0.0.0"
scons: *** [/usr/local/lib/libregfi.so.0.0.0] /usr/local/lib/libregfi.so.0.0.0: Permission denied
scons: building terminated because of errors.


Do you agree that "scons bin doc doc-devel" should not fail when without
root rights?

Cheers,
-- 
Rapha?l Hertzog ? Debian Developer

Support Debian LTS: http://www.freexian.com/services/debian-lts.html
Learn to master Debian: http://debian-handbook.info/get/



Reply to: