Opened 13 years ago

Closed 13 years ago

#29587 closed defect (invalid)

startup-notification : Undefined symbols for architecture x86_64

Reported by: moocan2112@… Owned by: macports@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: startup-notification

Description

I'm trying to install gnucash 2.4.5 wiith all dependencies but build failed on startup-notification 0.10 with error

:info:build /bin/sh ../libtool --tag=CC   --mode=link /usr/bin/gcc-4.2  -pipe -O2 -arch x86_64 -Wall -no-undefined -L/opt/local/lib -arch x86_64 -o libstartup-notification-1.la -rpath /opt/local/lib sn-common.lo sn-internals.lo sn-launchee.lo sn-launcher.lo sn-list.lo sn-monitor.lo sn-util.lo sn-xmessages.lo sn-xutils.lo -L/opt/local/lib -lxcb   -L/opt/local/lib -lxcb-util -lxcb   -L/opt/local/lib -lxcb-util -lxcb   -L/opt/local/lib -lxcb-util -lxcb     -lSM -lICE -lX11  
:info:build libtool: link: /usr/bin/gcc-4.2 -dynamiclib  -o .libs/libstartup-notification-1.0.dylib  .libs/sn-common.o .libs/sn-internals.o .libs/sn-launchee.o .libs/sn-launcher.o .libs/sn-list.o .libs/sn-monitor.o .libs/sn-util.o .libs/sn-xmessages.o .libs/sn-xutils.o   -L/opt/local/lib /opt/local/lib/libxcb-util.dylib /opt/local/lib/libSM.dylib /opt/local/lib/libICE.dylib /opt/local/lib/libX11.dylib /opt/local/lib/libxcb.dylib /opt/local/lib/libXau.dylib /opt/local/lib/libXdmcp.dylib  -O2 -arch x86_64 -arch x86_64   -install_name  /opt/local/lib/libstartup-notification-1.0.dylib -compatibility_version 1 -current_version 1.0 -Wl,-single_module
:info:build Undefined symbols for architecture x86_64:
:info:build   "_xcb_atom_get", referenced from:
:info:build       _sn_internal_atom_get in sn-xutils.o
:info:build ld: symbol(s) not found for architecture x86_64
:info:build collect2: ld returned 1 exit status
:info:build make[2]: *** [libstartup-notification-1.la] Error 1
:info:build make[1]: *** [all-recursive] Error 1
:info:build make: *** [all] Error 2
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_startup-notification/work/startup-notification-0.10" && /usr/bin/make -j2 all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for startup-notification): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for startup-notification is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_startup-notification/main.log

Kind Regards

Change History (5)

comment:1 Changed 13 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to macports@…
Port: startup-notification added

comment:2 Changed 13 years ago by jmroot (Joshua Root)

Resolution: invalid
Status: newclosed

Current version of startup-notification is 0.12.

comment:3 in reply to:  2 Changed 13 years ago by moocan2112@…

Resolution: invalid
Status: closedreopened

Replying to jmr@…:

Current version of startup-notification is 0.12.

Hi,

I have tried to but no mre chance with 0.12.

:msg:main --->  Building startup-notification
:debug:build build phase started at Wed May 25 22:31:07 CEST 2011
:debug:build Executing org.macports.build (startup-notification)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_startup-notification/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_startup-notification/work/startup-notification-0.12" && /usr/bin/make -j2 all'
:info:build sh: line 0: cd: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_startup-notification/work/startup-notification-0.12: No such file or directory
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_startup-notification/work/startup-notification-0.12" && /usr/bin/make -j2 all " returned error 1
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for startup-notification): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for startup-notification is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_startup-notification/main.log

comment:4 Changed 13 years ago by moocan2112@…

Hi,

Cleaning startup-notification and other gnucash dependencies corrected the problem.

Kind Regards

comment:5 Changed 13 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: reopenedclosed
Note: See TracTickets for help on using tickets.