--
Ticket URL: <http://www.midnight-commander.org/ticket/4493>
Midnight Commander <https://midnight-commander.org>
Midnight Development Center
Comment (by andrew_b):
There is no such issue on Linux. Please show config.log and output of
make.
--
Ticket URL: <http://www.midnight-commander.org/ticket/4493#comment:1>
Comment (by phil):
Attached `config.log`. Relevant output of `make`:
{{{
Making all in local
gmake[6]: Entering directory '/usr/home/phil/freebsd-
ports/misc/mc/work/mc-4.8.30/src/vfs/local'
/bin/sh ../../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.
-I../../.. -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/
local/include -I../../.. -I/usr/local/include -DLIBICONV_PLUG
-I/usr/local/include -I/usr/local/include -I/usr/local/include -Wassign-
enum -Wbad-function-
cast -Wcomment -Wconditional-uninitialized -Wdeclaration-after-statement
-Wfloat-conversion -Wfloat-equal -Wformat -Wformat-security -Wimplicit
-Wimplicit-fal
lthrough -Wignored-qualifiers -Wlogical-not-parentheses -Wmissing-braces
-Wmissing-declarations -Wmissing-field-initializers -Wmissing-format-
attribute -Wmiss
ing-prototypes -Wmissing-variable-declarations -Wnested-externs -Wno-long-
long -Wno-unreachable-code -Wparentheses -Wpointer-arith -Wpointer-sign
-Wredundant-decls -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare
-Wstrict-prototypes -Wswitch -Wswitch-default -Wtype-limits -Wundef
-Wuninitialized -Wunreachable-code -Wunused-but-set-variable -Wunused-
function -Wunused-label -Wunused-parameter -Wunused-result -Wunused-value
-Wunused-variable -Wwrite-strings -O2 -pipe -DLIBICONV_PLUG -fstack-
protector-strong -fno-strict-aliasing -MT local.lo -MD -MP -MF
.deps/local.Tpo -c -o local.lo local.c
libtool: compile: cc -DHAVE_CONFIG_H -I. -I../../..
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include -I../../.. -I/usr/local/include -DLIBICONV_PLUG
-I/usr/local/include -I/usr/local/include -I/usr/local/include -Wassign-
enum -Wbad-function-cast -Wcomment -Wconditional-uninitialized
-Wdeclaration-after-statement -Wfloat-conversion -Wfloat-equal -Wformat
-Wformat-security -Wimplicit -Wimplicit-fallthrough -Wignored-qualifiers
-Wlogical-not-parentheses -Wmissing-braces -Wmissing-declarations
-Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-
prototypes -Wmissing-variable-declarations -Wnested-externs -Wno-long-long
-Wno-unreachable-code -Wparentheses -Wpointer-arith -Wpointer-sign
-Wredundant-decls -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare
-Wstrict-prototypes -Wswitch -Wswitch-default -Wtype-limits -Wundef
-Wuninitialized -Wunreachable-code -Wunused-but-set-variable -Wunused-
function -Wunused-label -Wunused-parameter -Wunused-result -Wunused-value
-Wunused-variable -Wwrite-strings -O2 -pipe -DLIBICONV_PLUG -fstack-
protector-strong -fno-strict-aliasing -MT local.lo -MD -MP -MF
.deps/local.Tpo -c local.c -fPIC -DPIC -o .libs/local.o
local.c:35:10: fatal error: 'e2p/e2p.h' file not found
#include <e2p/e2p.h> /* fgetflags(), fsetflags() */
^~~~~~~~~~~
1 error generated.
gmake[6]: *** [Makefile:513: local.lo] Error 1
}}}
--
Ticket URL: <http://www.midnight-commander.org/ticket/4493#comment:2>
Comment (by phil):
I simply copied the fix from the other piece of code that uses `e2p`,
`src/filemanager/Makefile.am`.
--
Ticket URL: <http://www.midnight-commander.org/ticket/4493#comment:3>
Comment (by phil):
Replying to [comment:4 andrew_b]:
> Please test the attached 4493_ext2fs_cppflags.patch.
Thanks, your patch also works fine.
--
Ticket URL: <http://www.midnight-commander.org/ticket/4493#comment:5>
* owner: => andrew_b
* status: new => accepted
* branch_state: no branch => on review
Comment:
Branch: 4493_FTBFS_FreeBSD.
changeset:9688e7d015d1744e3d22d2ec64ae56222eb9259d
--
Ticket URL: <http://www.midnight-commander.org/ticket/4493#comment:6>
* votes: => phil andrew_b
* branch_state: on review => approved
--
Ticket URL: <http://www.midnight-commander.org/ticket/4493#comment:7>
* status: accepted => testing
* votes: phil andrew_b => committed-master
* resolution: => fixed
* branch_state: approved => merged
Comment:
Merged to master: [c56c4f63ccb245eb5e25d71230b906f6b852b92d].
--
Ticket URL: <http://www.midnight-commander.org/ticket/4493#comment:8>