Opened 13 years ago
Closed 13 years ago
#32870 closed defect (fixed)
whirlgif: build failure with clang: error: 'main' must return 'int'
Reported by: | jxzhu@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | clang | Cc: | |
Port: | whirlgif |
Description (last modified by mf2k (Frank Schima))
When the following command
sudo port install whirlgif
is executed on Lion 10.7.2 with Xcode 4.2.1, the error comes out as copied/pasted below. The main.log file is attached.
Any help is appreciated.
JX
---> Fetching archive for whirlgif ---> Attempting to fetch whirlgif-3.04_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/whirlgif ---> Fetching whirlgif ---> Verifying checksum(s) for whirlgif ---> Extracting whirlgif ---> Configuring whirlgif ---> Building whirlgif Error: Target org.macports.build returned: shell command failed (see log for details) Log for whirlgif is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_whirlgif/whirlgif/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
Attachments (1)
Change History (8)
Changed 13 years ago by jxzhu@…
comment:1 Changed 13 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Port: | whirlgif added |
Priority: | High → Normal |
comment:2 follow-up: 4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Keywords: | clang added |
Summary: | whirlgif installation failure → whirlgif build failure with clang |
comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | whirlgif build failure with clang → whirlgif: build failure with clang: error: 'main' must return 'int' |
---|
comment:4 Changed 13 years ago by jxzhu@…
Replying to ryandesign@…:
From the log:
whirlgif.c:99:1: error: 'main' must return 'int'Same error as with gtime in #32860. Hopefully fix is simple. If not, you can use a different compiler.
It did fix the error. No compiler is changed.
JX
comment:6 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… removed |
---|---|
Owner: | changed from macports-tickets@… to ryandesign@… |
Status: | new → assigned |
Jian-Xin Zhu replied by email:
Change "void main" to "int main" in whirlgif.c.
comment:7 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Thanks, fixed in r88920.
Note: See
TracTickets for help on using
tickets.
From the log:
Same error as with gtime in #32860. Hopefully fix is simple. If not, you can use a different compiler.