[MacPorts] #64396: [samba4] Undefined symbols for architecture x86_64 in charset_macosxfs.c.1.o

MacPorts noreply at macports.org
Sun Jan 9 04:33:13 UTC 2022


#64396: [samba4] Undefined symbols for architecture x86_64 in
charset_macosxfs.c.1.o
-------------------------+--------------------
  Reporter:  BjarneDMat  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  samba4      |
-------------------------+--------------------

Comment (by ryandesign):

 Replying to [comment:1 BjarneDMat]:
 > My 1st problem is :
 > {{{
 > :notice:fetch --->  Attempting to fetch samba-4.15.3.tar.gz from
 https://download.samba.org/pub/samba/stable
 > :debug:fetch Fetching distfile failed: error:1407742E:SSL
 routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
 > }}}
 >
 > How do I fix this ?

 Read ProblemHotlist#letsencrypt.

 Replying to [comment:2 BjarneDMat]:
 > {{{
 > Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_samba4/samba4/work/samba-4.15.3"
 && /usr/bin/patch -p1 <
 '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/net/samba4/files
 /patch-fix-debug.diff'
 > DEBUG: system:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_samba4/samba4/work/samba-4.15.3"
 && /usr/bin/patch -p1 <
 '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/net/samba4/files
 /patch-fix-debug.diff'
 > patching file lib/util/charset/charset_macosxfs.c
 > Reversed (or previously applied) patch detected!  Assume -R? [n]
 > Apply anyway? [n]
 > Skipping patch.
 > 1 out of 1 hunk ignored -- saving rejects to file
 lib/util/charset/charset_macosxfs.c.rej
 > Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_samba4/samba4/work/samba-4.15.3"
 && /usr/bin/patch -p1 <
 '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/net/samba4/files
 /patch-fix-debug.diff'
 > Exit code: 1
 > Error: Failed to patch samba4: command execution failed
 > }}}
 >
 >
 > But applying manually :
 > {{{
 > root at MiniWeb 02:45:55
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_samba4/samba4/work/samba-4.15.3
 > #=> /usr/bin/patch -p1 <
 '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/net/samba4/files
 /patch-fix-debug.diff' patching file lib/util/charset/charset_macosxfs.c
 > Reversed (or previously applied) patch detected!  Assume -R? [n] y
 > }}}
 >
 > and success !?!

 Based on the name of the patchfile, it fixed some debug problem. It failed
 to apply, perhaps because upstream integrated it into their sources. You
 answered "y" to the question of whether to apply the patch in reverse
 order, thereby undoing whatever the patch was fixing. So try again after
 removing this patch.

-- 
Ticket URL: <https://trac.macports.org/ticket/64396#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list