[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #66143] build of current master (c9b3c99) fails on MacOS 14.6.1
From: |
Sven Schober |
Subject: |
[bug #66143] build of current master (c9b3c99) fails on MacOS 14.6.1 |
Date: |
Thu, 29 Aug 2024 14:49:25 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?66143>
Summary: build of current master (c9b3c99) fails on MacOS
14.6.1
Group: GNU roff
Submitter: sschober
Submitted: Thu 29 Aug 2024 06:49:22 PM UTC
Category: General
Severity: 3 - Normal
Item Group: Build/Installation
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Thu 29 Aug 2024 06:49:22 PM UTC By: Sven Schober <sschober>
Hi!
I am currently trying to build the HEAD/master (c9b3c99) on my MacOS 14.6.1
machine using a lot of homebrew installed deps (so I am always willing to
admit, this might be due to a botched environment if mine caused by historical
accumulation of cruft).
I followed INSTALL.REPO and boostrapped the repo successfully.
When issuing the make command, I get the following error:
$ make
/Library/Developer/CommandLineTools/usr/bin/make all-recursive
CXX src/preproc/preconv/preconv-preconv.o
../src/preproc/preconv/preconv.cpp:30:10: fatal error: 'uchardet/uchardet.h'
file not found
#include <uchardet/uchardet.h>
^~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [src/preproc/preconv/preconv-preconv.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Which is easily solvable for me, by issuing the following patch:
diff --git a/src/preproc/preconv/preconv.cpp
b/src/preproc/preconv/preconv.cpp
index cc661c525..8a13988a4 100644
--- a/src/preproc/preconv/preconv.cpp
+++ b/src/preproc/preconv/preconv.cpp
@@ -27,7 +27,7 @@ along with this program. If not, see
<http://www.gnu.org/licenses/>. */
#include <errno.h>
#include <sys/stat.h>
#ifdef HAVE_UCHARDET
-#include <uchardet/uchardet.h>
+#include <uchardet.h>
#endif
#include "errarg.h"
But I am not sure, why this is necessary.
I had the suspicion, that this might be due to pkg-config? My version is
installed via homebrew:
brew info pkg-config
==> pkg-config: stable 0.29.2 (bottled)
Manage compile and link flags for libraries
https://freedesktop.org/wiki/Software/pkg-config/
Conflicts with:
pkgconf (because both install `pkg.m4` file)
Installed
/opt/homebrew/Cellar/pkg-config/0.29.2_3 (12 files, 679.3KB)
Poured from bottle using the formulae.brew.sh API on 2024-07-19 at 19:20:48
From:
https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/p/pkg-config.rb
License: GPL-2.0-or-later
==> Analytics
install: 63,483 (30 days), 188,030 (90 days), 642,084 (365 days)
install-on-request: 16,770 (30 days), 50,447 (90 days), 183,614 (365 days)
build-error: 342 (30 days)
My installed version of uchardet is 0.0.8 also via homebrew:
brew info uchardet
==> uchardet: stable 0.0.8 (bottled), HEAD
Encoding detector library
https://www.freedesktop.org/wiki/Software/uchardet/
Installed
/opt/homebrew/Cellar/uchardet/0.0.8 (17 files, 652.3KB) *
Poured from bottle on 2023-02-13 at 14:47:25
From:
https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/u/uchardet.rb
License: MPL-1.1 OR GPL-2.0-or-later OR LGPL-2.1-or-later
==> Dependencies
Build: cmake ✔
==> Options
--HEAD
Install HEAD version
==> Analytics
install: 1,172 (30 days), 3,842 (90 days), 15,415 (365 days)
install-on-request: 120 (30 days), 424 (90 days), 1,698 (365 days)
build-error: 0 (30 days)
Please let me know, if you need any further information about my system (I've
attached the config.log, which might help).
As a sidenote: With my "patch" above everything builds just fine, but I am
seeing failed tests, when issuing make check, e.g., in mom tests. I could
solve some of them using relatively harmless changes to
contrib/mom/examples/test-mom.sh.in.
Should I create a separate issue for the test failures?
_______________________________________________________
File Attachments:
-------------------------------------------------------
Name: config.log Size: 324KiB
<https://file.savannah.gnu.org/file/config.log?file_id=56394>
AGPL NOTICE
These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://git.savannah.nongnu.org/cgit/administration/savane.git/snapshot/savane-7f26dae152cb6d51fd34e0dd6b4ab984b68c4926.tar.gz
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66143>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
- [bug #66143] build of current master (c9b3c99) fails on MacOS 14.6.1,
Sven Schober <=
- [bug #66143] build of current master (c9b3c99) fails on MacOS 14.6.1, G. Branden Robinson, 2024/08/30
- [bug #66143] build of current master (c9b3c99) fails on MacOS 14.6.1, Sven Schober, 2024/08/30
- [bug #66143] build of current master (c9b3c99) fails on MacOS 14.6.1, G. Branden Robinson, 2024/08/30
- [bug #66143] build of current master (c9b3c99) fails on MacOS 14.6.1, Sven Schober, 2024/08/30
- [bug #66143] build of current master (c9b3c99) fails on MacOS 14.6.1, Sven Schober, 2024/08/30
- [bug #66143] build of current master (c9b3c99) fails on MacOS 14.6.1, Sven Schober, 2024/08/30
- [bug #66143] build of current master (c9b3c99) fails on MacOS 14.6.1, Dave, 2024/08/31
- [bug #66143] build of current master (c9b3c99) fails on MacOS 14.6.1, Dave, 2024/08/31
- [bug #66143] build of current master (c9b3c99) fails on MacOS 14.6.1, G. Branden Robinson, 2024/08/31
- [bug #66143] build of current master (c9b3c99) fails on MacOS 14.6.1, Sven Schober, 2024/08/31