Opened 6 weeks ago

Closed 6 weeks ago

#71087 closed defect (fixed)

umem @1.0.1: error: incompatible pointer to integer conversion assigning to 'int' from 'void *' [-Wint-conversion]

Reported by: vitaligedz Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.10.2
Keywords: sequoia Cc:
Port: umem

Description (last modified by ryandesign (Ryan Carsten Schmidt))

The following dependencies will be installed: 
 cyrus-sasl2
 libmemcached
 umem
Continue? [Y/n]: y
--->  Fetching archive for umem
--->  Attempting to fetch umem-1.0.1_1.darwin_24.arm64.tbz2 from https://packages.macports.org/umem
--->  Attempting to fetch umem-1.0.1_1.darwin_24.arm64.tbz2 from https://cph.dk.packages.macports.org/umem
--->  Attempting to fetch umem-1.0.1_1.darwin_24.arm64.tbz2 from https://nue.de.packages.macports.org/umem
--->  Building umem
Error: Failed to build umem: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_umem/umem/main.log for details.

Inside of log:

:info:archivefetch --->  umem-1.0.1_1.darwin_24.arm64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch umem-1.0.1_1.darwin_24.arm64.tbz2 from https://packages.macports.org/umem
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
:msg:archivefetch --->  Attempting to fetch umem-1.0.1_1.darwin_24.arm64.tbz2 from https://cph.dk.packages.macports.org/umem
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
:msg:archivefetch --->  Attempting to fetch umem-1.0.1_1.darwin_24.arm64.tbz2 from https://nue.de.packages.macports.org/umem
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404

File not found. Seems to be missing file and that's why not installable on new system.

Attachments (1)

main.log (73.4 KB) - added by vitaligedz 6 weeks ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 6 weeks ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: sequoia added
Port: umem added
Summary: php83-memcached for macOS Sequoia 15umem @1.0.1: Build failure

The archive does not exist on the servers because I have not set up a build machine for macOS 15 for arm64 yet. That's not really a bug; it's just a missing feature. See #60756.

When MacPorts can't find an archive on the servers, it builds from source on your system. That appears to be failing. That's a bug. Please attach the main.log file so that we can investigate what has gone wrong.

Changed 6 weeks ago by vitaligedz

Attachment: main.log added

comment:2 Changed 6 weeks ago by vitaligedz

Right, thanks. Just provided info about new system and would be nice to see its working soon.

Attached main.log

comment:3 Changed 6 weeks ago by ryandesign (Ryan Carsten Schmidt)

Summary: umem @1.0.1: Build failureumem @1.0.1: error: incompatible pointer to integer conversion assigning to 'int' from 'void *' [-Wint-conversion]
Version: 2.10.2

Ok, the log says:

:info:build vmem_sbrk.c:137:14: error: incompatible pointer to integer conversion assigning to 'int' from 'void *' [-Wint-conversion]
:info:build   137 |   brk_result = brk((void *)new_brk);
:info:build       |              ^ ~~~~~~~~~~~~~~~~~~~~
:info:build 2 warnings and 1 error generated.

Incompatible pointer to integer conversions are a new error in the version of clang in Xcode 16.

Unfortunately, the developers of umem no longer exist so they won't help us with this. (Nevertheless the problem should be reported in their issue tracker.)

comment:4 in reply to:  3 Changed 6 weeks ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign:

the problem should be reported in their issue tracker

https://github.com/omniti-labs/portableumem/issues/5

comment:5 Changed 6 weeks ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In db26e44c2c2d838f2387311a27b098470ae35866/macports-ports (master):

umem: Fix brk return type and success check

Closes: #71087

Note: See TracTickets for help on using tickets.