dongcarl
commented at 2:56 pm on July 8, 2019:
member
While doing depends builds, I noticed that there are many configure flags that weren’t recognized by our packages. This leads to things like: #16183. This is most likely caused by either overzealous configure flag adding, or updating depends packages without looking at changes to accepted configure flags.
I propose that we:
Prune configure flags from depends that packages don’t understand.
Add documentation on updating packages (namely that new configure flags should be checked).
(stretch-goal) Find out what --without- and --disable- configure flags we can supply to speed up depends builds.
dongcarl added the label
Build system
on Jul 8, 2019
MarcoFalke
commented at 4:49 pm on July 8, 2019:
member
Is there a grep line you could use to find all flags that are not understood in a full (fresh) depends build output?
dongcarl
commented at 8:35 pm on July 8, 2019:
member
@MarcoFalke I believe you can grep '\bconfigure\b.\+\bunrecognized options\b' on stderr
MarcoFalke added the label
good first issue
on Jul 8, 2019
laanwj referenced this in commit
a54a12046e
on Jul 25, 2019
konez2k referenced this in commit
5e9dd64953
on Jul 27, 2019
meshcollider referenced this in commit
3ca514ddb7
on Aug 24, 2019
sidhujag referenced this in commit
d89bdedbc5
on Aug 25, 2019
fanquake
commented at 9:54 am on September 23, 2019:
member
Here’s a non-extensive list of some of the outstanding unrecognized options::
macOS
0make bdb_configured -C depends/
1configure: WARNING: unrecognized options: --disable-dependency-tracking
2configure: WARNING: If you wanted to set the --build type, don't use --host.
3 If a cross compiler is detected then cross compile mode will be used.
4configure: WARNING: unrecognized options: --disable-dependency-tracking
0PROTOBUF=1 make protobuf_configured -C depends/
1configure: WARNING: Impossible to determine how to use pthreads with shared libraries and -nostdlib
0make libxcb_configured -C depends/
1configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-shared, --with-pic
2configure: WARNING: xmllint not found; unable to validate against schema.
3configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-shared, --with-pic
4-c:2: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
5Package xorg-macros was not found in the pkg-config search path.
6Perhaps you should add the directory containing `xorg-macros.pc' 7to the PKG_CONFIG_PATH environment variable
8No package 'xorg-macros' found
9configure: WARNING: if you wanted to set the --build type, don't use --host.
10 If a cross compiler is detected then cross compile mode will be used
11Package xorg-macros was not found in the pkg-config search path.
12Perhaps you should add the directory containing `xorg-macros.pc'13to the PKG_CONFIG_PATH environment variable
14No package 'xorg-macros' found
15ar: `u' modifier ignored since `D' is the default (see `U')
16libtool: install: warning: remember to run `libtool --finish /bitcoin/depends/x86_64-pc-linux-gnu/lib'
0make libXau_configured -C depends/
1configure: WARNING: if you wanted to set the --build type, don't use --host.
2 If a cross compiler is detected then cross compile mode will be used
3Package xorg-macros was not found in the pkg-config search path.
4Perhaps you should add the directory containing `xorg-macros.pc'5to the PKG_CONFIG_PATH environment variable
6No package 'xorg-macros' found
0make xproto_configured -C depends/
1Package xorg-macros was not found in the pkg-config search path.
2Perhaps you should add the directory containing `xorg-macros.pc'
3to the PKG_CONFIG_PATH environment variable
4No package 'xorg-macros' found
0make xcb_proto_configured -C depends/
1configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-shared, --with-pic
2configure: WARNING: xmllint not found; unable to validate against schema.
3configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-shared, --with-pic
0HOST=x86_64-apple-darwin14 make native_cctools_configured
1configure: WARNING: unrecognized options: --disable-dependency-tracking
fanquake referenced this in commit
19eb427dc8
on Sep 24, 2019
fanquake referenced this in commit
bcff8e21b1
on Oct 11, 2019
fanquake referenced this in commit
fd3b4e422d
on Oct 18, 2019
sidhujag referenced this in commit
8fd9ef011a
on Oct 21, 2019
fanquake
commented at 5:56 pm on December 8, 2019:
member
Current depends configure warnings:
macOS
0make bdb_configured -C depends/
1configure: WARNING: If you wanted to set the --build type, don't use --host.
2 If a cross compiler is detected then cross compile mode will be used.
Debian
0make xcb_proto_configured -C depends/
1configure: WARNING: unrecognized options: --disable-shared, --with-pic
2configure: WARNING: xmllint not found; unable to validate against schema.
0make xproto_configured -C depends/
1Package xorg-macros was not found in the pkg-config search path.
2Perhaps you should add the directory containing `xorg-macros.pc'
3to the PKG_CONFIG_PATH environment variable
4No package 'xorg-macros' found
0make libXau_configured -C depends/
1configure: WARNING: if you wanted to set the --build type, don't use --host.
2 If a cross compiler is detected then cross compile mode will be used
3Package xorg-macros was not found in the pkg-config search path.
4Perhaps you should add the directory containing `xorg-macros.pc'5to the PKG_CONFIG_PATH environment variable
6No package 'xorg-macros' found
dongcarl
commented at 5:03 pm on December 9, 2019:
member
Yeah so all the xorg things want xorg-macros to be there so it can regenerate or something… Not 100% sure if it’s a good idea to include xorg-macros in depends for more visibility into their Makefile generation
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2024-11-17 12:12 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me