List for cgit developers and users
 help / color / mirror / Atom feed
From: Markus Mayer <code@mmayer.net>
To: "Eric F (iEFdev)" <eric@iefdev.se>
Cc: CGit list <cgit@lists.zx2c4.com>
Subject: Re: cgit-1.2.3: Undefined symbols for architecture x86_64: "_memrchr"
Date: Sat, 8 Aug 2020 11:07:07 -0700	[thread overview]
Message-ID: <CANEuBv7_TrihNXLNupfoJTxS-jTKYwgGdWo57hNgdTV=QFeN=g@mail.gmail.com> (raw)
In-Reply-To: <9f26dd1e-1d5c-5eb5-a0e4-1b79dfa67ef5@iefdev.se>

I submitted a patch for this a month or two ago, but it doesn't seem
to be making it to the mailing list for reasons unknown. I even tried
sending it twice. Do dice.

Regards,
-Markus


On Sat, 8 Aug 2020 at 10:20, Eric F (iEFdev) <eric@iefdev.se> wrote:
>
> Hi,
>
> I was about to install cgit the other day, and thought I also should update the
> “Portfile” (MacPorts) to the latest version - but I ran into this build error:
>
>     :info:build Undefined symbols for architecture x86_64:
>     :info:build   "_memrchr", referenced from:
>     :info:build       _cgit_set_title_from_path in ui-shared.o
>     :info:build ld: symbol(s) not found for architecture x86_64
> —
>
> I made a ticket report for that, and was later asked to report this to the
> developers (ie you).
>
> Last part of the `main.log`:
>
> ```
> :info:build /usr/bin/clang -arch x86_64   -g -O2 -Wall -I. -DPRECOMPOSE_UNICODE
> -DPROTECT_HFS_DEFAULT=1 -I/usr/local/include -DGIT_HOST_CPU="\"x86_64\""
> -I/opt/local/include -DNO_CURL -DNO_OPENSSL -DUSE_ST_TIMESPEC -DNO_GETTEXT
> -DSHA1_APPLE -DSHA256_BLK -DSHA1_MAX_BLOCK_SIZE="1024L*1024L*1024L"
> -DHAVE_DEV_TTY -DHAVE_BSD_SYSCTL -DHAVE_GETDELIM -DHAVE_NS_GET_EXECUTABLE_PATH
> -DAPPLE_COMMON_CRYPTO -DFREAD_READS_DIRECTORIES -DCOMMON_DIGEST_FOR_OPENSSL
> -DNO_MEMMEM -Icompat/regex -DSHELL_PATH='"/bin/sh"' -DPAGER_ENV='"LESS=FRX
> LV=-c"' -o ../cgit   -L/usr/local/lib -L/opt/local/lib ../cgit.o ../cache.o
> ../cmd.o ../configfile.o ../filter.o ../html.o ../parsing.o ../scan-tree.o
> ../shared.o ../ui-atom.o ../ui-blame.o ../ui-blob.o ../ui-clone.o ../ui-commit.o
> ../ui-diff.o ../ui-log.o ../ui-patch.o ../ui-plain.o ../ui-refs.o
> ../ui-repolist.o ../ui-shared.o ../ui-snapshot.o ../ui-ssdiff.o ../ui-stats.o
> ../ui-summary.o ../ui-tag.o ../ui-tree.o common-main.o libgit.a xdiff/lib.a  -lz
>  -liconv
> :info:build Undefined symbols for architecture x86_64:
> :info:build   "_memrchr", referenced from:
> :info:build       _cgit_set_title_from_path in ui-shared.o
> :info:build ld: symbol(s) not found for architecture x86_64
> :info:build clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> :info:build ../cgit.mk:133: recipe for target '../cgit' failed
> :info:build make[1]: *** [../cgit] Error 1
> :info:build make[1]: Leaving directory
> '/opt/local/var/macports/build/_opt_ports_dev_www_cgit/cgit/work/cgit-1.2.3/git'
> :info:build Makefile:76: recipe for target 'cgit' failed
> :info:build make: *** [cgit] Error 2
> :info:build make: Leaving directory
> '/opt/local/var/macports/build/_opt_ports_dev_www_cgit/cgit/work/cgit-1.2.3'
> :info:build Command failed:  cd
> "/opt/local/var/macports/build/_opt_ports_dev_www_cgit/cgit/work/cgit-1.2.3" &&
> /usr/local/bin/make -j5 -w all prefix=/opt/local CC="/usr/bin/clang -arch
> x86_64" NO_GETTEXT=1 NO_LUA=1 V=1
> ```
>
> Ticket: https://trac.macports.org/ticket/60967
> Log:    https://trac.macports.org/attachment/ticket/60967/cgit-1.2.3_main.log
>
>
> // [OS X/macOS](https://ports.macports.org/port/cgit/)
> // current version v1.2.1
> —
>
> Thanks.
>
> Best regards,
>  · Eric

  reply	other threads:[~2020-08-08 18:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-08 17:22 Eric F (iEFdev)
2020-08-08 18:07 ` Markus Mayer [this message]
2020-08-08 18:28   ` Eric F (iEFdev)
2020-08-09  7:04   ` Eric F (iEFdev)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CANEuBv7_TrihNXLNupfoJTxS-jTKYwgGdWo57hNgdTV=QFeN=g@mail.gmail.com' \
    --to=code@mmayer.net \
    --cc=cgit@lists.zx2c4.com \
    --cc=eric@iefdev.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).