[Top][All Lists]

[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


                 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




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
    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
  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
  28568 reproduce/software/make/ 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.


This sounds very much like a library/include path issue in both cases, in
which case it would be related to bug

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:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]