From: | Filip Janus <fjanus(at)redhat(dot)com> |
---|---|
To: | pgsql-hackers(at)lists(dot)postgresql(dot)org |
Subject: | Possible dependency issue in makefile |
Date: | 2021-08-04 07:50:31 |
Message-ID: | CAFjYY+JD65CAFbVF0EbD-1UX6WCKJPy6PH+3M6-TkC1Ct0e1iw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi all,
I am building libecpg 13.1 but 13.3 behaves in the same manner and my build
fails with:
path.c: In function 'get_html_path':
path.c:787:38: error: 'HTMLDIR' undeclared (first use in this function)
787 | make_relative_path(ret_path, HTMLDIR, PGBINDIR, my_exec_path);
| ^~~~~~~
path.c:787:38: note: each undeclared identifier is reported only once
for each function it appears in
path.c: In function 'get_man_path':
path.c:796:38: error: 'MANDIR' undeclared (first use in this
function); did you mean 'MAXDIM'?
796 | make_relative_path(ret_path, MANDIR, PGBINDIR, my_exec_path);
| ^~~~~~
| MAXDIM
make[2]: *** [<builtin>: path.o] Error 1
It looks like some dependency issue, because this error is followed by:
make[2]: Entering directory '/builddir/build/BUILD/postgresql-13.1/src/port'
echo "#define PGBINDIR \"/usr/bin\"" >pg_config_paths.h
echo "#define PGSHAREDIR \"/usr/share/pgsql\"" >>pg_config_paths.h
echo "#define SYSCONFDIR \"/etc\"" >>pg_config_paths.h
echo "#define INCLUDEDIR \"/usr/include\"" >>pg_config_paths.h
echo "#define PKGINCLUDEDIR \"/usr/include/pgsql\"" >>pg_config_paths.h
echo "#define INCLUDEDIRSERVER \"/usr/include/pgsql/server\""
>>pg_config_paths.h
echo "#define LIBDIR \"/usr/lib64\"" >>pg_config_paths.h
echo "#define PKGLIBDIR \"/usr/lib64/pgsql\"" >>pg_config_paths.h
echo "#define LOCALEDIR \"/usr/share/locale\"" >>pg_config_paths.h
echo "#define DOCDIR \"/usr/share/doc//pgsql\"" >>pg_config_paths.h
echo "#define HTMLDIR \"/usr/share/doc//pgsql\"" >>pg_config_paths.h
echo "#define MANDIR \"/usr/share/man\"" >>pg_config_paths.h
make[2]: Leaving directory '/builddir/build/BUILD/postgresql-13.1/src/port'
So from my point of view, pg_config_paths.h header file finished
*after* it was used to compile code.
This issue is probably caused by parallel build because sometimes build succeed.
Complete build log: log <https://fjanus.fedorapeople.org/postgresql/build.log>
Regards,
-Filip-
From | Date | Subject | |
---|---|---|---|
Next Message | houzj.fnst@fujitsu.com | 2021-08-04 08:06:53 | RE: [BUG] wrong refresh when ALTER SUBSCRIPTION ADD/DROP PUBLICATION |
Previous Message | Dean Rasheed | 2021-08-04 07:38:49 | Re: Division by zero error in to_char(num, '9.9EEEE') |