Opened 13 years ago

Closed 11 years ago

#31270 closed defect (duplicate)

p5.12-cgi-speedycgi fails to build

Reported by: arjan@… Owned by: markd@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: p5.12-cgi-speedycgi

Description

the speedycgi port fails to build (comes as a dependency for smoke ping) with the following error message:

:info:build Warning: the following items did not execute (for p5.12-cgi-speedycgi): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:error:build Failed to install p5.12-cgi-speedycgi
:debug:build couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory
    while executing
"open [file join $dir tclIndex]"

It seems to expect tclIndex in /System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex

It lives one level deeper though, in: /System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/Scripts/tclIndex

I'm not sure if this is a side effect, or a root-cause, or I would whip up a patch myself.

Attachments (2)

main.log (25.9 KB) - added by arjan@… 13 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-cgi-speedycgi/p5.12-cgi-speedycgi/main.log
Portfile (350 bytes) - added by markd@… 12 years ago.

Download all attachments as: .zip

Change History (14)

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

Keywords: speedycgi smokeping removed

That's not the relevant part of the error message. Please attach the main.log file.

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

Owner: changed from macports-tickets@… to markd@…

Changed 13 years ago by arjan@…

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-cgi-speedycgi/p5.12-cgi-speedycgi/main.log

comment:3 Changed 13 years ago by arjan@…

You're quite right, next time, I need to drink more coffee before I press submit.

Attached is the main.log, it seems to contain linker errors.

comment:4 Changed 13 years ago by markd@…

I wonder why I don't see the problem on 10.6, though the path is incorrect What OS X version do you have? Any manually installed open source software?

comment:5 Changed 13 years ago by arjan@…

I'm running 10.7.1, no manually installed open source. I learned long ago, from working with FreeBSD, that you ought not mix port-based and manual stuff. On this box I definitely don't mix them (mac mini server, with Lion Server), which I might try to mess with on one of the other Mac's.

comment:6 Changed 12 years ago by hellan@…

I'm also trying to build smokeping, and stuck on this.

Before getting the "tclIndex" message, I get a lot of undefined entries during linking: _speedy_file_fd_is_suspect, _speedy_file_set_state, _speedy_opt_script_fname, _speedy_util_geteuid, _speedy_util_getpid, _speedy_util_gettimeofday, _speedy_util_open_stat, _speedy_util_stat_devino, _speedy_util_time

comment:7 Changed 12 years ago by jeremy@…

I'm in the same boat as these other people. I'm trying to build smokeping on Lion, but this fails to build.

Here's the relevant bit of my main.log:

:info:build _speedy_ipc_listen in speedy_ipc.o :info:build ld: symbol(s) not found for architecture x86_64 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build make[1]: * [speedy_backend] Error 1

I also tried to build the universal variant, but I had the same problem.

comment:8 Changed 12 years ago by markd@…

I see that smokeping has been updated, and it has switched to fastcgi. Probably best to update the smokeping port to use that and kill two birds with one stone. I'll try to updating it as fast as I can, hopefully a day or two.

comment:9 Changed 12 years ago by markd@…

Well the new smokeping wants Config::Grammar and that port doesn't exist, so I tried to create it. The install fails with "Error: Dependency 'p5.12-config-grammar' not found". What do I need to do to make this portfile work? I'm attaching it.

Changed 12 years ago by markd@…

Attachment: Portfile added

comment:10 Changed 12 years ago by hellan@…

I wrote comment 6. The problem now seems to have been fixed.

comment:11 in reply to:  9 Changed 12 years ago by jmroot (Joshua Root)

Replying to markd@…:

Well the new smokeping wants Config::Grammar and that port doesn't exist, so I tried to create it. The install fails with "Error: Dependency 'p5.12-config-grammar' not found". What do I need to do to make this portfile work? I'm attaching it.

Update your PortIndex or install p5.12-config-grammar first.

comment:12 Changed 11 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

Duping to #33479 since it has a better summary.

Note: See TracTickets for help on using tickets.