Opened 10 years ago

Last modified 7 years ago

#46009 closed defect

count @1.20_1: build fails with redefined symbol — at Version 2

Reported by: robertfleisig@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: count

Description (last modified by larryv (Lawrence Velázquez))

>sudo port install count
--->  Computing dependencies for count
--->  Building count
Error: org.macports.build for port count returned: command execution failed
Please see the log file for port count for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_count/count/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port count failed

Change History (3)

Changed 10 years ago by robertfleisig@…

Attachment: main.log added

comment:1 Changed 10 years ago by robertfleisig@…

Cc: robertfleisig@… added

Cc Me!

comment:2 in reply to:  description Changed 10 years ago by larryv (Lawrence Velázquez)

Cc: robertfleisig@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to mww@…
Port: count added
Summary: Port "count" won't buildcount @1.20_1: build fails with redefined symbol

Thanks for the report. In the future, please Cc relevant port maintainers (port info --maintainers count).

:info:build 	==> COMPILING "avoffset.o"
:info:build In file included from avoffset.c:36:
:info:build ../include/schily.h:190:12: error: conflicting types for 'getline'
:info:build extern  int     getline __PR((char *, int));
:info:build                 ^
:info:build /usr/include/stdio.h:442:9: note: previous declaration is here
:info:build ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3);
:info:build         ^
:info:build 1 error generated.
Note: See TracTickets for help on using tickets.