FreeBSD Port: liferea-0.9.2

J. W. Ballantine jwb at homer.att.com
Mon May 23 11:39:50 GMT 2005


----------  In Response to your message -------------

>  Date:  Sat, 21 May 2005 11:16:10 +0200
>  To:  jwb at homer.att.com
>  From:  Andreas Kohn <andreas.kohn at gmx.net>
>  Subject:  Re: FreeBSD Port: liferea-0.9.2
>
>  
>  --=-biNrxNOOo2zGkHO0RVS6
>  Content-Type: multipart/mixed; boundary="=-oSwB4Y5A+jkmtvFOTqE9"
>  
>  
>  --=-oSwB4Y5A+jkmtvFOTqE9
>  Content-Type: text/plain
>  Content-Transfer-Encoding: quoted-printable
>  
>  On Fri, 2005-05-20 at 13:42 -0400, J. W. Ballantine wrote:
>  > lifera build failure
>  >=20
>  > While building liferea on a 5.4-STABLE system liferea failed with:
>  > mkdir .libs
>  > cc -O -pipe -o liferea-bin callbacks.o cdf_channel.o cdf_item.o common.o
>  > conf.o debug.o eggtrayicon.o export.o favicon.o feed.o fold
>  > er.o html.o interface.o item.o itemlist.o main.o metadata.o ns_ocs.o=20
>  > ns_dc.o
>  > ns_fm.o ns_slash.o ns_content.o ns_syn.o ns_admin.o ns_
>  > blogChannel.o ns_cC.o ns_ag.o ns_photo.o opml.o ocs_dir.o pie_feed.o
>  > pie_entry.o rss_channel.o rss_item.o rule.o support.o ui_dnd.o
>  > ui_enclosure.o ui_feed.o ui_feedlist.o ui_folder.o ui_htmlview.o=20
>  > ui_itemlist.o
>  > ui_mainwindow.o ui_notification.o ui_popup.o ui_prefs
>  > .o ui_queue.o ui_search.o ui_session.o ui_tabs.o ui_tray.o ui_vfolder.o
>  > update.o vfolder.o -Wl,--export-dynamic -Wl,--rpath -Wl,/usr
>  > /local/lib  -L/usr/local/lib net/liblinet.a -pthread -L/usr/X11R6/lib
>  > -lgtk-x11-2.0 -lgconf-2 -lxml2 -lz -liconv -lm -lgmodule-2.0 -
>  > lSM -lICE -lX11 -ldbus-1 -ldbus-glib-1 -lintl
>  > ui_feedlist.o(.text+0x18b4): In function `ui_feedlist_dbus_connect':
>  > : undefined reference to `dbus_bus_acquire_service'
>  > gmake[3]: *** [liferea-bin] Error 1
>  > gmake[3]: Leaving directory `/usr/ports/net/liferea/work/liferea-0.9.2/sr=
>  c'
>  > gmake[2]: *** [all-recursive] Error 1
>  > gmake[2]: Leaving directory `/usr/ports/net/liferea/work/liferea-0.9.2/sr=
>  c'
>  > gmake[1]: *** [all-recursive] Error 1
>  > gmake[1]: Leaving directory `/usr/ports/net/liferea/work/lifferea-0.9.2'
>  > gmake: *** [all] Error 2
>  > *** Error code 2
>  >=20
>  > Stop in /usr/ports/net/liferea.
>  > ** Command failed [exit code 1]: /usr/bin/script -qa=20
>  > /tmp/portupgrade67929.6
>  > make
>  > ** Fix the problem and try again.
>  >=20
>  >=20
>  Hi,
>  
>  could you try dropping the attached patch into
>  the /usr/ports/net/liferea/files directory, and rebuilding?
>  
>  HTH,
>  --
>  Andreas
>  
>  

Hi,

Did a make distclean ; make and it failed with:

===>  Extracting for liferea-0.9.2
=> Checksum OK for liferea-0.9.2.tar.gz.
===>  Patching for liferea-0.9.2
===>  Applying FreeBSD patches for liferea-0.9.2
1 out of 1 hunks failed--saving rejects to src/ui_feedlist.c.rej
=> Patch patch-src_ui_feedlist.c failed to apply cleanly.
=> Patch(es) patch-src::net::netio.c applied cleanly.
*** Error code 1

The rej file is:


***************
*** 821,827 ****
        dbus_connection_setup_with_g_main (connection, NULL);
            
        /* Register for the FeedReader service on the bus, so we get method 
calls */
-     dbus_bus_acquire_service (connection, DBUS_RSS_SERVICE, 0, &error);
        if (dbus_error_is_set (&error))
        {
                fprintf (stderr, "*** ui_feedlist.c: Failed to get dbus 
service: %s | %s\n", error.name, error.message);
--- 821,827 ----
        dbus_connection_setup_with_g_main (connection, NULL);
            
        /* Register for the FeedReader service on the bus, so we get method 
calls */
+     dbus_bus_request_name (connection, DBUS_RSS_SERVICE, 0, &error);
        if (dbus_error_is_set (&error))
        {
                fprintf (stderr, "*** ui_feedlist.c: Failed to get dbus 
service: %s | %s\n", error.name, error.message);

And the dir tree is:

 # ls
Makefile        distinfo        pkg-descr       work
build.log       files           pkg-plist
 # ls files
patch-src::net::netio.c patch-src_ui_feedlist.c
 # ls -ltra files
total 8
-rw-r--r--  1 root  wheel  409 Apr 16 23:48 patch-src::net::netio.c
-rw-r--r--  1 root  wheel  561 May 23 07:07 patch-src_ui_feedlist.c
drwxr-xr-x  2 root  wheel  512 May 23 07:07 .
drwxr-xr-x  4 root  wheel  512 May 23 07:17 ..





More information about the freebsd-ports mailing list