Opened 12 years ago

Closed 12 years ago

#34842 closed defect (fixed)

sfind@1.2 - build failure

Reported by: fmgre-02@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: lion Cc: ryandesign (Ryan Carsten Schmidt)
Port: sfind

Description

sfind fails to build , first thing obvious is that smake does not like the -j2 flag ; though i tried without that flag with no success either

Attachments (1)

main.log (5.3 KB) - added by fmgre-02@… 12 years ago.
log file

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by fmgre-02@…

Attachment: main.log added

log file

comment:1 in reply to:  description Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Milestone: MacPorts Future

Replying to fmgre-02@…:

sfind fails to build , first thing obvious is that smake does not like the -j2 flag ;

I have corrected this problem in r94231. It now builds for me on Snow Leopard with Xcode 3.2.6.

though i tried without that flag with no success either

Please wait 30 minutes, run "sudo port clean sfind" and "sudo port selfupdate" and then try again, and attach the new main.log file so we can see what the new failure on your system is.

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

Keywords: lion added

Our Lion buildbot encountered this error:

../include/schily/schily.h:189:12: error: conflicting types for 'getline'
extern  int     getline __PR((char *, int));
                ^
/usr/include/stdio.h:449:9: note: previous declaration is here

If that's the problem you see too, then this is a Lion-specific issue we've seen before and should be able to work around by renaming schily's "getline" to something else.

comment:3 in reply to:  2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Replying to ryandesign@…:

If that's the problem you see too, then this is a Lion-specific issue we've seen before and should be able to work around by renaming schily's "getline" to something else.

That's fixed in r94236, and the Lion buildbot now builds the port ok. Please wait 30 minutes, run "sudo port clean sfind" and "sudo port selfupdate" and then try again, and if it fails again, please re-open the ticket and attach the new main.log file.

Note: See TracTickets for help on using tickets.