Open mohierf opened 6 years ago
This seems to be a general problem with FreeBSD packages:
root@brokkr:~ # mkdir -p usr/bin/
root@brokkr:~ # touch usr/bin/bla
root@brokkr:~ # fpm --debug --debug-workspace -n foo -t freebsd -s dir usr/ > fpm.log
root@brokkr:~ # file foo-1.0.txz
foo-1.0.txz: empty
root@brokkr:~ # fpm --version
1.10.0
root@brokkr:~ # uname -a
FreeBSD brokkr.unwiredcouch.com 11.1-RELEASE-p10 FreeBSD 11.1-RELEASE-p10 #0: Tue May 8 05:21:56 UTC 2018 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
Debug log is here
Let me know if anything would be helpful for debugging
Just confirmed this is fixed for me in 1.10.2
/cad736e
I am packaging a Python virtualenv for my application for Debian, RPM and FreeBSD. The deb and rpm output are correct but the freebsd output-type gives an empty txz file.
My command line is:
The output of fpm (I removed the virtualenv installation...):
But the package size is 0:
Is the problem that fpm is not able to go from virtualenv to FreeBSD package ?