Opened 18 months ago

Last modified 17 months ago

#66251 new defect

syslog-ng @3.38.1_0 conflicts with eventlog @0.2.12_0

Reported by: cooljeanius (Eric Gallager) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: Cc:
Port: syslog-ng eventlog

Description

They both try to install a libevtlog.dylib:

x ./Library/LaunchDaemons/
x ./Library/LaunchDaemons/org.macports.syslog-ng.plist
Error: Failed to activate syslog-ng: Image error: /opt/local/lib/libevtlog.dylib is being used by the active eventlog port.  Please deactivate this port first, or use 'port -f activate syslog-ng' to force the activation.
    while executing
"throw registry::image-error $msg"
    ("foreach" body line 47)
    invoked from within
"foreach file $imagefiles {
                set srcfile "${extracted_dir}${file}"

                # To be able to install links, we test if we can lst..."
    invoked from within
"registry::write {
            foreach file $imagefiles {
                set srcfile "${extracted_dir}${file}"

                # To be able to instal..."
DEBUG: Error code: registry::image-error
DEBUG: Backtrace: Image error: /opt/local/lib/libevtlog.dylib is being used by the active eventlog port.  Please deactivate this port first, or use 'port -f activate syslog-ng' to force the activation.
    while executing
"throw registry::image-error $msg"
    ("foreach" body line 47)
    invoked from within
"foreach file $imagefiles {
                set srcfile "${extracted_dir}${file}"

                # To be able to install links, we test if we can lst..."
    invoked from within
"registry::write {
            foreach file $imagefiles {
                set srcfile "${extracted_dir}${file}"

                # To be able to instal..."
    while executing
"throw [dict get $eOptions -errorcode] [dict get $eOptions -errorinfo]"
    (procedure "_activate_contents" line 200)
    invoked from within
"_activate_contents $requested $rename_list"
    (procedure "portimage::activate" line 70)
    invoked from within
"registry_activate $subport $_inregistry_version $_inregistry_revision $_inregistry_variants $optionlist"
    (procedure "portactivate::activate_main" line 20)
    invoked from within
"$procedure $targetname"
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_syslog-ng/syslog-ng/main.log for details.
Error: Couldn't activate syslog-ng 3.38.1_0: 1
DEBUG: Rebuilding port syslog-ng finished with status 1
DEBUG: rev-upgrade failed: Error rebuilding syslog-ng
    while executing
"error "Error rebuilding $portname""
    (procedure "revupgrade_scanandrebuild" line 460)
    invoked from within
"revupgrade_scanandrebuild broken_port_counts $opts"
Error: rev-upgrade failed: Error rebuilding syslog-ng

This conflict should either be marked, or fixed.

Change History (3)

comment:1 Changed 18 months ago by kencu (Ken)

hey, thanks, Eric.

Which do you prefer?

comment:2 Changed 18 months ago by jmroot (Joshua Root)

The eventlog port is super old and has no dependents; can probably be replaced_by syslog-ng.

comment:3 in reply to:  1 Changed 17 months ago by cooljeanius (Eric Gallager)

Replying to kencu:

hey, thanks, Eric.

Which do you prefer?

Whichever is easier

Note: See TracTickets for help on using tickets.