Bug#743969: fl-cow: new upstream release 0.10
[Tobias Frost]
> Its homepage has a link at the bottom, (it blends/hides there quite
> good :)) http://www.xmailserver.org/fl-cow-0.10.tar.gz
Ah, thanks.
I tried importing it into the git repo, but it do not build. Had to
disable both patches, as they did not apply, and got this build error.
I leave further work on this orphaned package to someone else.
This is the build error I get:
make[3]: Entering directory '/home/pere/src/debian/fl-cow-salsa/fl-cow'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wstrict-prototypes -pipe -g -O2 -ffile-prefix-map=/home/pere/src/debian/fl-cow-salsa=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libflcow_la-fl-cow.lo `test -f 'fl-cow.c' || echo './'`fl-cow.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wstrict-prototypes -pipe -g -O2 -ffile-prefix-map=/home/pere/src/debian/fl-cow-salsa=. -fstack-protector-strong -Wformat -Werror=format-security -c fl-cow.c -fPIC -DPIC -o .libs/libflcow_la-fl-cow.o
fl-cow.c: In function 'do_cow_name':
fl-cow.c:210:9: warning: ignoring return value of 'fchown' declared with attribute 'warn_unused_result' [-Wunused-result]
210 | fchown(nfd, stb.st_uid, stb.st_gid);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/fcntl.h:314,
from fl-cow.c:33:
/usr/include/x86_64-linux-gnu/bits/fcntl2.h:117:1: error: inlining failed in call to 'always_inline' 'openat': function body can be overwritten at link time
117 | openat (int __fd, const char *__path, int __oflag, ...)
| ^~~~~~
fl-cow.c:183:20: note: called from here
183 | if ((sfd = openat(dirfd, name, O_RDONLY, 0)) == -1)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/fcntl2.h:41:1: error: inlining failed in call to 'always_inline' 'open': function body can be overwritten at link time
41 | open (const char *__path, int __oflag, ...)
| ^~~~
fl-cow.c:190:20: note: called from here
190 | if ((nfd = open(fpath, O_CREAT | O_EXCL | O_WRONLY, stb.st_mode)) == -1) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:438: libflcow_la-fl-cow.lo] Error 1
make[3]: Leaving directory '/home/pere/src/debian/fl-cow-salsa/fl-cow'
make[2]: *** [Makefile:393: all-recursive] Error 1
make[2]: Leaving directory '/home/pere/src/debian/fl-cow-salsa'
make[1]: *** [Makefile:325: all] Error 2
make[1]: Leaving directory '/home/pere/src/debian/fl-cow-salsa'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:7: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui -ICVS -I.#* -I.cvsignore -I.bzr -I.svn -I.git failed
--
Happy hacking
Petter Reinholdtsen
Reply to: