Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#61501 closed defect (fixed)

compface @1.5.2: error: implicit declaration of function 'write' is invalid in C99

Reported by: wealthychef1 Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur catalina Cc:
Port: compface

Description (last modified by wealthychef1)

I think I will just post my screen contents:

root@Richs-iMac (~ ): port clean compface
--->  Cleaning compface
root@Richs-iMac (~ ): port install compface
--->  Fetching archive for compface
--->  Attempting to fetch compface-1.5.2_1.darwin_20.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/compface
--->  Attempting to fetch compface-1.5.2_1.darwin_20.x86_64.tbz2 from https://kmq.jp.packages.macports.org/compface
--->  Attempting to fetch compface-1.5.2_1.darwin_20.x86_64.tbz2 from https://lil.fr.packages.macports.org/compface
--->  Fetching distfiles for compface
--->  Verifying checksums for compface
--->  Extracting compface
--->  Applying patches to compface
--->  Configuring compface
--->  Building compface
Error: Failed to build compface: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_compface/compface/main.log for details.

I have attached the referenced logfile. It is failing to compile with an error about write() not being defined:

:info:build cmain.c:78:7: error: implicit declaration of function 'write' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build       ERROR
:info:build       ^

Attachments (1)

main.log (22.4 KB) - added by wealthychef1 4 years ago.

Download all attachments as: .zip

Change History (6)

Changed 4 years ago by wealthychef1

Attachment: main.log added

comment:1 Changed 4 years ago by wealthychef1

Description: modified (diff)

comment:2 Changed 4 years ago by wealthychef1

Description: modified (diff)

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

Keywords: bigsur catalina added
Owner: set to ryandesign
Status: newaccepted
Summary: compface fails to build on Big Surcompface @1.5.2: error: implicit declaration of function 'write' is invalid in C99

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

Resolution: fixed
Status: acceptedclosed

In 38a2e04f71f961e570a73eef0665a17ac5e655a7/macports-ports (master):

compface: Fix implicit declaration of functions

Closes: #61501

comment:5 Changed 4 years ago by wealthychef1

thank you!

Note: See TracTickets for help on using tickets.