Opened 4 years ago

Last modified 4 years ago

#61502 new defect

macutil @2.0b3 (sysutils): port build failure

Reported by: hpauluss (hpauluss) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc: cooljeanius (Eric Gallager)
Port: macutil

Description

port installation of macutil on macbook pro after upgrade to MacOS BigSur 11.0.1.

Following is the output of port install command:

# port install macutil
--->  Fetching archive for macutil
--->  Attempting to fetch macutil-2.0b3_0.darwin_20.x86_64.tbz2 from https://lil.fr.packages.macports.org/macutil
--->  Attempting to fetch macutil-2.0b3_0.darwin_20.x86_64.tbz2 from https://packages.macports.org/macutil
--->  Attempting to fetch macutil-2.0b3_0.darwin_20.x86_64.tbz2 from https://mse.uk.packages.macports.org/macutil
--->  Fetching distfiles for macutil
--->  Verifying checksums for macutil
--->  Extracting macutil
--->  Applying patches to macutil
--->  Configuring macutil
--->  Building macutil
Error: Failed to build macutil: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_macutil/macutil/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port macutil failed

Attachments (1)

main.log (21.6 KB) - added by hpauluss (hpauluss) 4 years ago.
main.log from /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_macutil

Download all attachments as: .zip

Change History (10)

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Please attach the main.log.

comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Checking on my system, I see it's the usual implicit declaration of function problem with Xcode 12.

comment:3 Changed 4 years ago by mf2k (Frank Schima)

In the future, please fill in the Port field.

comment:4 Changed 4 years ago by mf2k (Frank Schima)

Port: macutil added

Changed 4 years ago by hpauluss (hpauluss)

Attachment: main.log added

main.log from /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_macutil

comment:5 in reply to:  3 Changed 4 years ago by hpauluss (hpauluss)

Replying to mf2k:

In the future, please fill in the Port field.

I am a bit confused. I filled in the Port field, indicating "macports".

I followed the instructions on https://guide.macports.org/#project.tickets.

This is the text given in that section:

Port: For tickets on ports, enter the name of the port (or ports, space-separated, when multiple are affected).

Or do I misunderstand?

comment:6 Changed 4 years ago by mf2k (Frank Schima)

You misunderstood.

comment:7 in reply to:  6 Changed 4 years ago by hpauluss (hpauluss)

Replying to mf2k:

You misunderstood.

Yes, you are right. Sorry.

Now I've understood.

comment:8 Changed 4 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:9 in reply to:  2 Changed 4 years ago by cooljeanius (Eric Gallager)

Replying to ryandesign:

Checking on my system, I see it's the usual implicit declaration of function problem with Xcode 12.

Confirming this:

/usr/bin/clang -O -Os -DBSD -DTYPES_H -DDIRENT_H -DTERMIOS_H -arch x86_64   -c -o backtrans.o backtrans.c
util.c:101:12: error: implicit declaration of function 'read' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    (void) read(2, temp, sizeof(temp));
           ^
util.c:101:12: note: did you mean 'fread'?
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdio.h:158:9: note: 'fread' declared here
size_t   fread(void * __restrict __ptr, size_t __size, size_t __nitems, FILE * __restrict __stream);
         ^
1 error generated.
make[1]: *** [util.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_macutil/macutil/work/macutil/util'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_macutil/macutil/work/macutil'
Note: See TracTickets for help on using tickets.