From unknown Sat Sep 06 05:55:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50494: 28.0.50; OpenBSD pgtk build fails due to the use of libdl Resent-From: Daniel Semyonov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Sep 2021 23:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50494 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 50494@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163123048713345 (code B ref -1); Thu, 09 Sep 2021 23:35:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 Sep 2021 23:34:47 +0000 Received: from localhost ([127.0.0.1]:36433 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOTZ9-0003T9-6k for submit@debbugs.gnu.org; Thu, 09 Sep 2021 19:34:47 -0400 Received: from lists.gnu.org ([209.51.188.17]:50956) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOTZ8-0003T2-1n for submit@debbugs.gnu.org; Thu, 09 Sep 2021 19:34:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49350) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOTZ7-0007jT-Mv for bug-gnu-emacs@gnu.org; Thu, 09 Sep 2021 19:34:45 -0400 Received: from dsemy.com ([46.23.89.208]:37197) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOTZ5-0005G7-Fh for bug-gnu-emacs@gnu.org; Thu, 09 Sep 2021 19:34:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=dkim; bh=p7lE8kie9d4ia ibi4xW6nLkpZcjKA+dd4g56Pw5EGPc=; h=date:subject:to:from; d=dsemy.com; b=IlA0sJzOnhKl4CLqsMf94mhaunNTrPRifwig5RbaBRifszV9jzv2slz2GsUUrs9Sv7Vh 3g1DKrihzmwCLXck1EITgH5M0CvI806UE4SyO4+19Ms0Mnlw9A7mhhMDgzpd9gV6m46Vga +e0u03JVEX9YozTuB6/tvLLis8gL0/fCCUdeVmAPJ0t7FI7xcEuzH1urI2jJ99p7XOM2ny OLHNEzTMBLsym/vzrwmaN+6Jtq5TCkRiBoESEV5iUoLwvZuPr2XxiUmEb7tdKC1+isH5Ae UVsCTezVA4pWdJIIrFpjfSVmpgUQX13c8U30G3TW9BXZjg7TEdl/Cu6Ocz4fOkYg== Received: from coldharbour ( [10.51.82.2]) by dsemy.com (OpenSMTPD) with ESMTPSA id 8d84a6bb (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Fri, 10 Sep 2021 02:34:37 +0300 (IDT) From: Daniel Semyonov Date: Fri, 10 Sep 2021 02:34:35 +0300 Message-ID: <87ilz9fhmc.fsf@dsemy.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=46.23.89.208; envelope-from=daniel@dsemy.com; helo=dsemy.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Note: I'm sending this from a Linux machine but this was observed on an OpenBSD laptop which I currently can't use, however since Emacs 28 is releasing soon I thought I might as well report this since I happen to know the solution to this bug. At some point during a pgtk build (configure --with-pgtk) ld(1) will error out since it can't find libdl, causing the build to fail. This occurs since on OpenBSD libdl doesn't exist, instead providing the same facilities through libc (this is a common issue when porting programs to OpenBSD). Workaround: 1. Run ./configure --with-pgtk 2. Open src/Makefile 3. Find the line PGTK_LIBS=... 4. Remove -ldl (the last library listed) 5. Run make This produces a working Emacs AFAICT. Sorry for not providing the specific error message returned by ld, and not reporting this from the affected machine. If this is critical, I could try to get that laptop to work again and give some more information. Regards, Daniel In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.29, cairo version 1.16.0) of 2021-09-09 built on coldharbour Repository revision: fadf8f610d99d995310010a039aebb56dcc79dc7 Repository branch: feature/pgtk Windowing system distributor 'System Description: void Configured using: 'configure --without-x --with-pgtk --prefix=/opt/Emacs' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBSYSTEMD LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS XIM GTK3 ZLIB Important settings: value of $LC_COLLATE: C value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Group Minor modes in effect: semantic-minor-modes-format: ((:eval (if (or semantic-highlight-edits-mode semantic-show-unmatched-syntax-mode) S))) gnus-agent-group-mode: t gnus-topic-mode: t gnus-undo-mode: t global-git-commit-mode: t magit-auto-revert-mode: t shell-dirtrack-mode: t emms-mode-line-mode: t emms-playing-time-display-mode: t emms-playing-time-mode: t pdf-occur-global-minor-mode: t show-paren-mode: t electric-pair-mode: t repeat-mode: t swsw-mode: t global-auto-revert-mode: t delete-selection-mode: t vcomplete-mode: t display-time-mode: t minibuffer-line-mode: t minibuffer-electric-default-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: /home/daniel/etc/emacs/elpa/transient-0.3.6/transient hides /opt/Emacs/share/emacs/28.0.50/lisp/transient Features: (shadow emacsbug sendmail make-mode tabify man magit-patch magit-subtree magit-ediff ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help ediff-init ediff-util sh-script executable wdired css-mode smie sgml-mode facemenu eww xdg url-queue color makeinfo icomplete texinfo texinfo-loaddefs eieio-opt speedbar ezimage dframe shortdoc cua-gmrk cua-rect rect cua-base nndoc gnus-dup debbugs-gnu debbugs soap-client rng-xsd rng-dt rng-util xsd-regexp emms-playlist-mode emms-source-playlist emms-source-file locate url-http url-gw url-cache url-auth nnrss mm-url sort smiley gnus-cite mm-archive mail-extr gnus-async gnus-bcklg qp gnus-ml gnus-topic nndraft nnmh nnfolder utf-7 gnutls network-stream nsm gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-cache gnus-sum shr kinsoku svg dom init-gnus gnus-demon nntp gnus-group gnus-undo cus-start gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time iso8601 gnus-spec gnus-int gnus-range gnus-win gnus nnheader term disp-table ehelp js cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs misearch multi-isearch goto-addr mule-util epa-file magit-extras conf-mode vc-mtn vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs vc bug-reference dired-aux face-remap magit-bookmark magit-submodule magit-obsolete magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func magit-diff smerge-mode diff git-commit rx log-edit message rmc puny rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log magit-core magit-autorevert magit-margin magit-transient magit-process with-editor shell pcomplete magit-mode transient magit-git magit-section magit-utils crm dash cl-extra cl-print help-fns radix-tree noutline outline vc-git diff-mode easy-mmode vc-dispatcher time-date checkdoc lisp-mnt mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr help-mode flymake-proc flymake warnings thingatpt flyspell ispell init-interfaces grep init-emms emms-mode-line emms-playing-time emms-player-mpv emms-player-simple emms-info-opusinfo emms-info emms-later-do emms emms-compat init-web elpher-eww-emulation init-volume init-pass auth-source-pass pinentry init-programs pdf-occur ibuf-ext ibuffer ibuffer-loaddefs tablist tablist-filter semantic/wisent/comp semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local find-func cedet pdf-isearch let-alist pdf-misc imenu pdf-tools compile comint ansi-color ring pdf-view bookmark text-property-search jka-compr pdf-cache pdf-info tq pdf-util advice image-mode exif dired dired-loaddefs init-term init-eshell init-programming paren elec-pair init-ui format-spec repeat swsw autorevert filenotify edmacro kmacro delsel vcomplete battery dbus cal-julian solar cal-dst cal-menu calendar cal-loaddefs xml time minibuffer-line minibuf-eldef init-personal pcase init-base server finder-inf package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv info cus-edit pp cus-load wid-edit cl-loaddefs cl-lib iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/pgtk-win pgtk-win term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit pgtk lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 823844 157742) (symbols 48 41233 1) (strings 32 214817 36469) (string-bytes 1 6119234) (vectors 16 85442) (vector-slots 8 1795153 153588) (floats 8 3246 1215) (intervals 56 9931 8584) (buffers 992 28)) From unknown Sat Sep 06 05:55:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50494: 28.0.50; OpenBSD pgtk build fails due to the use of libdl Resent-From: Daniel Semyonov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Dec 2021 18:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50494 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 50494@debbugs.gnu.org Received: via spool by 50494-submit@debbugs.gnu.org id=B50494.16388142218879 (code B ref 50494); Mon, 06 Dec 2021 18:11:01 +0000 Received: (at 50494) by debbugs.gnu.org; 6 Dec 2021 18:10:21 +0000 Received: from localhost ([127.0.0.1]:35362 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muIRR-0002J9-4V for submit@debbugs.gnu.org; Mon, 06 Dec 2021 13:10:21 -0500 Received: from dsemy.com ([46.23.89.208]:38114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muIRO-0002It-Qv for 50494@debbugs.gnu.org; Mon, 06 Dec 2021 13:10:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=dkim; bh=WXm+vkXEVXKis PXEjNcxuppAyBiU5m6KFQygcw59aXg=; h=in-reply-to:date:references: subject:to:from; d=dsemy.com; b=YjOPa3ct26lJ+9Cin4tBPJAJUgkQ4lDrUTfsel mLPocQBEg6vgTgMccRFnoSl9r7XG59R+fFtGFOor9GDD7LDK1N1p1WFU0ibpefz+jDxxj3 YF+Y2ZgTtoQdq+uyugqN1JRWNrqo2n49xZPMexpAPucby1dHDzE6cfZRXoSKiYcBe0b3MK rpFnmkUSoqlyBc8AbKOeumrWmdFJ/12FRHmCeqYHTq3D9yBefsCZocVeP3zeaV9ojemIx9 DwEEqkeChDbUVhAPh959xcsJh78HDw64Nknb32fK6Z0BPhHXIo/6MezunaRJKYJZv4dmaD Zfv0j6axhcKBztVPVGop82dw== Received: from coldharbour (bzq-79-176-56-149.red.bezeqint.net [79.176.56.149]) by dsemy.com (OpenSMTPD) with ESMTPSA id 09571379 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for <50494@debbugs.gnu.org>; Mon, 6 Dec 2021 19:10:11 +0100 (CET) From: Daniel Semyonov References: <87ilz9fhmc.fsf@dsemy.com> Date: Mon, 06 Dec 2021 20:10:08 +0200 In-Reply-To: <87ilz9fhmc.fsf@dsemy.com> (Daniel Semyonov's message of "Fri, 10 Sep 2021 02:34:35 +0300") Message-ID: <87wnkheha7.fsf@dsemy.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This has been fixed at some point (not sure how to close this bug, or if I'm even able to do so as the reporter). Thanks, Daniel From unknown Sat Sep 06 05:55:17 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Daniel Semyonov Subject: bug#50494: closed (Re: bug#50494: 28.0.50; OpenBSD pgtk build fails due to the use of libdl) Message-ID: References: <87ilw1ha1f.fsf@gmail.com> <87ilz9fhmc.fsf@dsemy.com> X-Gnu-PR-Message: they-closed 50494 X-Gnu-PR-Package: emacs Reply-To: 50494@debbugs.gnu.org Date: Mon, 06 Dec 2021 18:19:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1638814742-9782-1" This is a multi-part message in MIME format... ------------=_1638814742-9782-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #50494: 28.0.50; OpenBSD pgtk build fails due to the use of libdl which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 50494@debbugs.gnu.org. --=20 50494: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D50494 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1638814742-9782-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 50494-done) by debbugs.gnu.org; 6 Dec 2021 18:18:29 +0000 Received: from localhost ([127.0.0.1]:35376 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muIZJ-0002Ww-BP for submit@debbugs.gnu.org; Mon, 06 Dec 2021 13:18:29 -0500 Received: from mail-wm1-f54.google.com ([209.85.128.54]:40777) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muIZH-0002Wj-Jv for 50494-done@debbugs.gnu.org; Mon, 06 Dec 2021 13:18:28 -0500 Received: by mail-wm1-f54.google.com with SMTP id j140-20020a1c2392000000b003399ae48f58so11075270wmj.5 for <50494-done@debbugs.gnu.org>; Mon, 06 Dec 2021 10:18:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version; bh=qYf18TmJRr4CLttipVqptVCsUjy8WtKyhQOj0dV/VmI=; b=ma7gaddH7zHte1h6NGJgpB0WJa/M7NUdvDnd9z7JF0jBorTEnxrTvISBz4VokX/n4c vd3//IqlgLe7xQfOSHr1mH9o68WnwOxqbxNL8uwjgBAVwvTX02qwn9oaNjiJdFKRwSMN PbAbnfJMPl7z1Uu9TMohv3VZ+x41Kfa1aWdAUJcxnI23KhNpSGnuZk4fbvhybr6Xq3ap Lfw8Y4toTOXQOqtqpP0TZTmqhb5+lxARY7FfM9D/NcB47j1vV26cS9Tp4sunTu6FZJAu I/A8amq1Kayf+XocdVcPAA/m5g2Ren3yRmkAoSPhKPcqL/rMOsD1YIl5Ia/uc/NCH4EL ThvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version; bh=qYf18TmJRr4CLttipVqptVCsUjy8WtKyhQOj0dV/VmI=; b=F5d7LgllXc/UVoKmU7SbH5FXkYBRCdAagZ0faTmapazg3mOayVFj6/1D4OEblrj1TV QuyanYQzHy2t2Qi0CKM+5Wi3mJV1CGoLpMgReXayOcetPS6jo12WOaRttO+Z/9lizI0p PT1TwwF5GEmEtII1fVyHmW5ovjRiRavaehLfrtNA8eglffLwDxQMZT1u2uTgDOKuArTe GN7nEj55GVScdbU+uLI6VWxzzCGE1fBwpy62Nn1MQe+xZDbbyu6yoFnj7PQmf1bFka1a L01vbmyIJQ2VueheWCKDCie126e5DRN0TFNQooDFbSHv2PnYTRxZML23VN1nwnUNtDM9 2xrQ== X-Gm-Message-State: AOAM5325TgVkw5DL84Yz0cHVRCEelRaKrjTX8uCfhsuJSY2oVO/I/A6a oxD+nVV0yowdPYQm4q7IMn2dbwxTFss= X-Google-Smtp-Source: ABdhPJz98OdLIrDaS73nZt/CBK3vpWFXXR9CoisukxJOmMI42J7NqGoVEC+zoWIUDMmiaq/9BGJtgg== X-Received: by 2002:a1c:a710:: with SMTP id q16mr221472wme.138.1638814701421; Mon, 06 Dec 2021 10:18:21 -0800 (PST) Received: from rltb ([2a01:e0a:3f3:fb50:4dc:c52f:2231:28b1]) by smtp.gmail.com with ESMTPSA id x4sm131994wmi.3.2021.12.06.10.18.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Dec 2021 10:18:21 -0800 (PST) From: Robert Pluim To: Daniel Semyonov Subject: Re: bug#50494: 28.0.50; OpenBSD pgtk build fails due to the use of libdl References: <87ilz9fhmc.fsf@dsemy.com> <87wnkheha7.fsf@dsemy.com> Date: Mon, 06 Dec 2021 19:18:20 +0100 In-Reply-To: <87wnkheha7.fsf@dsemy.com> (Daniel Semyonov via's message of "Mon, 06 Dec 2021 20:10:08 +0200") Message-ID: <87ilw1ha1f.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 50494-done Cc: 50494-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> On Mon, 06 Dec 2021 20:10:08 +0200, Daniel Semyonov via "Bug reports for GNU Emacs, the Swiss army knife of text editors" said: Daniel> This has been fixed at some point (not sure how to close this bug, or if Daniel> I'm even able to do so as the reporter). The easiest way is to send to -done@debbugs.gnu.org, like I've done here. Robert -- ------------=_1638814742-9782-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 9 Sep 2021 23:34:47 +0000 Received: from localhost ([127.0.0.1]:36433 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOTZ9-0003T9-6k for submit@debbugs.gnu.org; Thu, 09 Sep 2021 19:34:47 -0400 Received: from lists.gnu.org ([209.51.188.17]:50956) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOTZ8-0003T2-1n for submit@debbugs.gnu.org; Thu, 09 Sep 2021 19:34:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49350) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOTZ7-0007jT-Mv for bug-gnu-emacs@gnu.org; Thu, 09 Sep 2021 19:34:45 -0400 Received: from dsemy.com ([46.23.89.208]:37197) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOTZ5-0005G7-Fh for bug-gnu-emacs@gnu.org; Thu, 09 Sep 2021 19:34:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=dkim; bh=p7lE8kie9d4ia ibi4xW6nLkpZcjKA+dd4g56Pw5EGPc=; h=date:subject:to:from; d=dsemy.com; b=IlA0sJzOnhKl4CLqsMf94mhaunNTrPRifwig5RbaBRifszV9jzv2slz2GsUUrs9Sv7Vh 3g1DKrihzmwCLXck1EITgH5M0CvI806UE4SyO4+19Ms0Mnlw9A7mhhMDgzpd9gV6m46Vga +e0u03JVEX9YozTuB6/tvLLis8gL0/fCCUdeVmAPJ0t7FI7xcEuzH1urI2jJ99p7XOM2ny OLHNEzTMBLsym/vzrwmaN+6Jtq5TCkRiBoESEV5iUoLwvZuPr2XxiUmEb7tdKC1+isH5Ae UVsCTezVA4pWdJIIrFpjfSVmpgUQX13c8U30G3TW9BXZjg7TEdl/Cu6Ocz4fOkYg== Received: from coldharbour ( [10.51.82.2]) by dsemy.com (OpenSMTPD) with ESMTPSA id 8d84a6bb (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Fri, 10 Sep 2021 02:34:37 +0300 (IDT) From: Daniel Semyonov To: bug-gnu-emacs@gnu.org Subject: 28.0.50; OpenBSD pgtk build fails due to the use of libdl Date: Fri, 10 Sep 2021 02:34:35 +0300 Message-ID: <87ilz9fhmc.fsf@dsemy.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=46.23.89.208; envelope-from=daniel@dsemy.com; helo=dsemy.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Note: I'm sending this from a Linux machine but this was observed on an OpenBSD laptop which I currently can't use, however since Emacs 28 is releasing soon I thought I might as well report this since I happen to know the solution to this bug. At some point during a pgtk build (configure --with-pgtk) ld(1) will error out since it can't find libdl, causing the build to fail. This occurs since on OpenBSD libdl doesn't exist, instead providing the same facilities through libc (this is a common issue when porting programs to OpenBSD). Workaround: 1. Run ./configure --with-pgtk 2. Open src/Makefile 3. Find the line PGTK_LIBS=... 4. Remove -ldl (the last library listed) 5. Run make This produces a working Emacs AFAICT. Sorry for not providing the specific error message returned by ld, and not reporting this from the affected machine. If this is critical, I could try to get that laptop to work again and give some more information. Regards, Daniel In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.29, cairo version 1.16.0) of 2021-09-09 built on coldharbour Repository revision: fadf8f610d99d995310010a039aebb56dcc79dc7 Repository branch: feature/pgtk Windowing system distributor 'System Description: void Configured using: 'configure --without-x --with-pgtk --prefix=/opt/Emacs' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBSYSTEMD LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS XIM GTK3 ZLIB Important settings: value of $LC_COLLATE: C value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Group Minor modes in effect: semantic-minor-modes-format: ((:eval (if (or semantic-highlight-edits-mode semantic-show-unmatched-syntax-mode) S))) gnus-agent-group-mode: t gnus-topic-mode: t gnus-undo-mode: t global-git-commit-mode: t magit-auto-revert-mode: t shell-dirtrack-mode: t emms-mode-line-mode: t emms-playing-time-display-mode: t emms-playing-time-mode: t pdf-occur-global-minor-mode: t show-paren-mode: t electric-pair-mode: t repeat-mode: t swsw-mode: t global-auto-revert-mode: t delete-selection-mode: t vcomplete-mode: t display-time-mode: t minibuffer-line-mode: t minibuffer-electric-default-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: /home/daniel/etc/emacs/elpa/transient-0.3.6/transient hides /opt/Emacs/share/emacs/28.0.50/lisp/transient Features: (shadow emacsbug sendmail make-mode tabify man magit-patch magit-subtree magit-ediff ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help ediff-init ediff-util sh-script executable wdired css-mode smie sgml-mode facemenu eww xdg url-queue color makeinfo icomplete texinfo texinfo-loaddefs eieio-opt speedbar ezimage dframe shortdoc cua-gmrk cua-rect rect cua-base nndoc gnus-dup debbugs-gnu debbugs soap-client rng-xsd rng-dt rng-util xsd-regexp emms-playlist-mode emms-source-playlist emms-source-file locate url-http url-gw url-cache url-auth nnrss mm-url sort smiley gnus-cite mm-archive mail-extr gnus-async gnus-bcklg qp gnus-ml gnus-topic nndraft nnmh nnfolder utf-7 gnutls network-stream nsm gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-cache gnus-sum shr kinsoku svg dom init-gnus gnus-demon nntp gnus-group gnus-undo cus-start gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time iso8601 gnus-spec gnus-int gnus-range gnus-win gnus nnheader term disp-table ehelp js cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs misearch multi-isearch goto-addr mule-util epa-file magit-extras conf-mode vc-mtn vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs vc bug-reference dired-aux face-remap magit-bookmark magit-submodule magit-obsolete magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func magit-diff smerge-mode diff git-commit rx log-edit message rmc puny rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log magit-core magit-autorevert magit-margin magit-transient magit-process with-editor shell pcomplete magit-mode transient magit-git magit-section magit-utils crm dash cl-extra cl-print help-fns radix-tree noutline outline vc-git diff-mode easy-mmode vc-dispatcher time-date checkdoc lisp-mnt mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr help-mode flymake-proc flymake warnings thingatpt flyspell ispell init-interfaces grep init-emms emms-mode-line emms-playing-time emms-player-mpv emms-player-simple emms-info-opusinfo emms-info emms-later-do emms emms-compat init-web elpher-eww-emulation init-volume init-pass auth-source-pass pinentry init-programs pdf-occur ibuf-ext ibuffer ibuffer-loaddefs tablist tablist-filter semantic/wisent/comp semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local find-func cedet pdf-isearch let-alist pdf-misc imenu pdf-tools compile comint ansi-color ring pdf-view bookmark text-property-search jka-compr pdf-cache pdf-info tq pdf-util advice image-mode exif dired dired-loaddefs init-term init-eshell init-programming paren elec-pair init-ui format-spec repeat swsw autorevert filenotify edmacro kmacro delsel vcomplete battery dbus cal-julian solar cal-dst cal-menu calendar cal-loaddefs xml time minibuffer-line minibuf-eldef init-personal pcase init-base server finder-inf package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv info cus-edit pp cus-load wid-edit cl-loaddefs cl-lib iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/pgtk-win pgtk-win term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit pgtk lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 823844 157742) (symbols 48 41233 1) (strings 32 214817 36469) (string-bytes 1 6119234) (vectors 16 85442) (vector-slots 8 1795153 153588) (floats 8 3246 1215) (intervals 56 9931 8584) (buffers 992 28)) ------------=_1638814742-9782-1--