[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #58353] bsd/unistd.h configure fails
From: |
Boud Roukema |
Subject: |
[bug #58353] bsd/unistd.h configure fails |
Date: |
Mon, 11 May 2020 12:16:01 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 |
URL:
<https://savannah.nongnu.org/bugs/?58353>
Summary: bsd/unistd.h configure fails
Project: Reproducible paper template
Submitted by: boud
Submitted on: Mon 11 May 2020 04:15:59 PM UTC
Category: None
Severity: 5 - Blocker
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
DESCRIPTION:
With commit 96a299b, the reconfigure
./project configure --existing-conf
fails with _./project --check-config_ listing
curl-7.65.3 libbsd-0.9.1 wget-1.20.3
The first error is for _libbsd_ :
546 checking for limits.h... In file included from
../include/bsd/getopt.h:29,
547 from /usr/include/unistd.h:873,
548 from ../include/bsd/unistd.h:29,
549 from setproctitle_ctor.c:27:
550 ../include/bsd/unistd.h: In function 'setproctitle':
551 ../include/bsd/unistd.h:68:2: error: expected declaration specifiers
before '__printflike'
552 68 | __printflike(1, 2);
553 | ^~~~~~~~~~~~
Another error is that _openssl_ cannot be found by the _wget_ configure rule:
28563 checking for dlopen in -ldl... config.status: creating
lib/curl_config.h
28564 config.status: executing depfiles commands
28565 yes
28566 checking for libssl... no
28567 configure: error: --with-ssl=openssl was given, but SSL is not
available.
28568 reproduce/software/make/basic.mk:896: recipe for target
'/mnt/tmpbuild/software/installed/version-info/proglib/wget' failed
28569 make: *** [/mnt/tmpbuild/software/installed/version-info/proglib/wget]
Error 1
A log file is attached.
HYPOTHESIS:
This sounds very much like a library/include path issue in both cases, in
which case it would be related to bug https://savannah.nongnu.org/bugs/?58351
.
A clue to this is that _/usr/include/unistd.h_ has around line 873:
872 # define __need_getopt
873 # include <getopt.h>
874 #endif
so there seems to be a mix of libbsd's own versions of files and the host
system's choices of files being successively included.
Solving this needs knowing which packages are to be compiled starting with the
host system tools, which should be purely internally created within maneage
(for maximum reproducibility), and which should be a blend between these.
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/bugs/?58353>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/
- [bug #58353] bsd/unistd.h configure fails,
Boud Roukema <=