Opened 5 years ago
Closed 3 years ago
#59825 closed defect (fixed)
hexchat @2.14.2: ERROR: Linker APPLE ld does not support position-independent executable
Reported by: | friguron (friguron) | Owned by: | raimue (Rainer Müller) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.2 |
Keywords: | Cc: | ||
Port: | hexchat |
Description
Hi, I've been using and building macports hexchat for months. I had to uninstall it in summer, and the other day I had to reinstall it again. What happened? It just doesn't build, it complains with a strange error. (output of the suggested error log file):
WARNING: Project specifies a minimum meson_version '>= 0.38.0' but uses features which were added in newer versions: * 0.50.0: {'install arg in configure_file'}
My meson version is 0.52.0
I've tried to clean, uninstall, purge, etc... to no avail.
Any hint?
Version list: Macports 2.6.2, Xcode 11.0, OSX: Mojave 10.14.6 (was failing with 10.14.5 also)
Attachments (1)
Change History (5)
Changed 5 years ago by friguron (friguron)
Attachment: | meson-log.txt added |
---|
comment:1 Changed 5 years ago by kencu (Ken)
Some test compile is not working. Might just need a flag -PIE
or similar?...have to see what the exact test build line is...
ERROR: Linker APPLE ld does not support position-independent executable
comment:2 Changed 5 years ago by jmroot (Joshua Root)
Keywords: | hexchat error not_building meson removed |
---|---|
Owner: | set to raimue |
Status: | new → assigned |
Summary: | Hexchat not building months ago... (Mojave 10.14.5/10.14.6...) Build system complaining about a non complian meson version → Hexchat build failure |
comment:3 Changed 5 years ago by kencu (Ken)
This "hack" worked to fix it for MacPorts, but it's not an upstreamable fix:
$ diff -u src/fe-gtk/meson.build.orig src/fe-gtk/meson.build --- src/fe-gtk/meson.build.orig 2019-12-08 18:50:18.000000000 -0800 +++ src/fe-gtk/meson.build 2019-12-08 18:50:41.000000000 -0800 @@ -40,11 +40,11 @@ endif hexchat_gtk_cflags = [ - '-fPIE' + '' ] hexchat_gtk_ldflags = [ - '-pie' + '' ] if get_option('with-libnotify')
comment:4 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Summary: | Hexchat build failure → hexchat @2.14.2: ERROR: Linker APPLE ld does not support position-independent executable |
Fixed in 2.16.0; see https://github.com/hexchat/hexchat/commit/eeada79a64b7188f2f820cd45328cf2daa20f9e2
meson-log.txt file which the alleged problem (when trying to clean build hexchat)