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

Bug#815267: hplip: FTBFS on hurd-i386: Permission denied: '/var/lib/hp/'



Source: hplip
Version: 3.16.2+repack0-1
Severity: important

Hi,

hplip FTBFS on hurd-i386:

https://buildd.debian.org/status/fetch.php?pkg=hplip&arch=hurd-i386&ver=3.16.2%2Brepack0-1&stamp=1455471536

[...]
# Link all executables to /usr/bin and generate the corresponding
# man pages
chmod 755 ./debian/tmp/usr/share/hplip/check-plugin.py
export HPLIP_BUILD=1; \
( cd ./debian/tmp/usr/share/hplip/; \
    for file in *.py; do \
	if [ -x $file ] && [ $file != install.py ] && \
	   [ $file != hpssd.py ] && [ $file != dat2drv.py ] && \
	   [ $file != __init__.py ]; then \
	    dest=hp-${file%.py}; \
	    ln -s ../../usr/share/hplip/$file \
		../../bin/$dest 2>/dev/null || :; \
	    if true; then \
	    PYTHONPATH=../../lib/python3.5/site-packages/ \
		LD_LIBRARY_PATH=../../lib/ python3 ../../bin/$dest --help-man > /«BUILDDIR»/hplip-3.16.2+repack0/$dest.1 ; \
	    else \
	    touch /«BUILDDIR»/hplip-3.16.2+repack0/$dest.1; \
	    fi; \
	fi; \
    done \
)
Traceback (most recent call last):
  File "../../bin/hp-align", line 36, in <module>
    from base.g import *
  File "/«BUILDDIR»/hplip-3.16.2+repack0/debian/tmp/usr/share/hplip/base/g.py", line 243, in <module>
    sys_state = State()
  File "/«BUILDDIR»/hplip-3.16.2+repack0/debian/tmp/usr/share/hplip/base/g.py", line 191, in __init__
    os.makedirs('/var/lib/hp/')
  File "/usr/lib/python3.5/os.py", line 241, in makedirs
    mkdir(name, mode)
PermissionError: [Errno 1073741837] Permission denied: '/var/lib/hp/'
[...]


Andreas


Reply to: