On 12/26/18 10:40 AM, Antonio Valentino wrote: > Unfortunately now I have a strange problem with python-hdf4: the build > mysteriously fails with python 3.7 (both with gbp buildpackage and > running setup.py manually) > > The error message is: > > x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions > -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat > -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 > build/temp.linux-x86_64-3.7/pyhdf/hdfext_wrap.o -lmfhdfalt -ldfalt > -ljpeg -lz -o > build/lib.linux-x86_64-3.7/pyhdf/_hdfext.cpython-37m-x86_64-linux-gnu.so > x86_64-linux-gnu-gcc: error: : No such file or directory > error: Command "x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 > -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.7/pyhdf/hdfext_wrap.o > -lmfhdfalt -ldfalt -ljpeg -lz -o > build/lib.linux-x86_64-3.7/pyhdf/_hdfext.cpython-37m-x86_64-linux-gnu.so > " failed with exit status 1 > > > Please note that the build process worked fine up to 2 days ago and it > also works with python 3.6 (on ubuntu). > > Do you have any idea of what could be the issue?
gcc/gcc-8 updates perhaps, /usr/bin/x86_64-linux-gnu-gcc is a symlink to /usr/bin/gcc-8 which may be broken. > Are you able to build python-hdf4 in your environment? I ran into that issue yesterday too, that's why I didn't upload it and moved on to the other packages. I haven't dug deeper for a cause yet. Kind Regards, Bas -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
