Opened 4 years ago

Closed 2 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)

meson-log.txt (72.2 KB) - added by friguron (friguron) 4 years ago.
meson-log.txt file which the alleged problem (when trying to clean build hexchat)

Download all attachments as: .zip

Change History (5)

Changed 4 years ago by friguron (friguron)

Attachment: meson-log.txt added

meson-log.txt file which the alleged problem (when trying to clean build hexchat)

comment:1 Changed 4 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 4 years ago by jmroot (Joshua Root)

Keywords: hexchat error not_building meson removed
Owner: set to raimue
Status: newassigned
Summary: Hexchat not building months ago... (Mojave 10.14.5/10.14.6...) Build system complaining about a non complian meson versionHexchat build failure

comment:3 Changed 4 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 2 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Summary: Hexchat build failurehexchat @2.14.2: ERROR: Linker APPLE ld does not support position-independent executable
Note: See TracTickets for help on using tickets.