Newer Version Available

Bug #718150 reported by Tarun K. Mall
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ucommon (Ubuntu)
Expired
Wishlist
Unassigned

Bug Description

there is a new upstream version available and the package in the archives needs an update

Tarun K. Mall (c2tarun)
Changed in ucommon (Ubuntu):
status: New → Confirmed
status: Confirmed → In Progress
assignee: nobody → TARUN KUMAR MALL (c2tarun)
Revision history for this message
Tarun K. Mall (c2tarun) wrote :

I packed the newer version.
Please check it. I am waiting for comments.
Thank you

Changed in ucommon (Ubuntu):
status: In Progress → Confirmed
assignee: TARUN KUMAR MALL (c2tarun) → nobody
Revision history for this message
David Sugar (dyfet-deactivatedaccount) wrote :

Technically, it should be libucommon4 (and libucommon4-dbg), not libucommon3. The library package name is numbered based on the API (linking) version. Anything built against a libucommon3 historically would expect to link against the libucommon3 instance of the package, and anything new or rebuilt would link against the most current libucommon4. For abi numbering you should always check the major version number of LT_VERSION of configure.ac in my packages.

Revision history for this message
Tarun K. Mall (c2tarun) wrote :

@David Sugar: Sorry sir, I am new to packaging and I am not able to understand you comment.
I tried to download the source code of libucommon3 but it is redirecting me to ucommon.
LT_VERSION="4:5:0" but the version number I get from watch file is 4.1.1.
I really want to correct my errors, so can you please explain me a bit.
Thank you.

Revision history for this message
Tarun K. Mall (c2tarun) wrote :

Tried to fix errors in previous comment.
Thank you

Changed in ucommon (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks Tarun for this update. The diff looks fine (version is currently 4.1.5 though).

However as this is a new soname it will require at least a rebuild of the dependencies (sipwitch, libcsript). TBH I'm a bit nervous about this as today is the day of feature freeze.

I would like to get a MOTUs opionion about this.

Revision history for this message
Michael Vogt (mvo) wrote :

When trying to do a test-rebuild of sipswitch with the new libucommon I get:

g++ -DHAVE_CONFIG_H -I. -I.. -I../inc -Wno-variadic-macros -Wno-long-long -DNEW_STDCPP -pthread -fno-check-new -finline -fvisibility=hidden -DUCOMMON_VISIBILITY=1 -pthread -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libdrm -g -O2 -c -o media.o media.cpp
media.cpp: In member function ‘virtual void sipwitch::media::thread::run()’:
media.cpp:116:15: error: invalid types ‘<unresolved overloaded function type>[socket_t]’ for array subscript
media.cpp:118:11: error: invalid types ‘<unresolved overloaded function type>[socket_t]’ for array subscript

This needs to get fixed before the new libucommon can go in (or we need to have a libucommon3 source package).
Building with the old libucommon3 is fine.

I unsubscribe ubuntu-sponsors until this is fixed. Please resubscribe when this is done.

Revision history for this message
Michael Vogt (mvo) wrote :

With the new libucommon ccscript fails to build too:
...
bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../inc -Wno-long-long -DNEW_STDCPP -pthread -fno-check-new -finline -fvisibility=hidden -DUCOMMON_VISIBILITY=1 -g -O2 -g -O2 -c -o common.lo common.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../inc -Wno-long-long -DNEW_STDCPP -pthread -fno-check-new -finline -fvisibility=hidden -DUCOMMON_VISIBILITY=1 -g -O2 -g -O2 -c common.cpp -fPIC -DPIC -o .libs/common.o
common.cpp: In constructor ‘ucc::script::script()’:
common.cpp:287:27: error: call of overloaded ‘pointer()’ is ambiguous
/usr/include/ucommon/generics.h:104:21: note: candidates are: ucc::pointer<T>::pointer(T*) [with T = ucc::script]
/usr/include/ucommon/generics.h:99:12: note: ucc::pointer<T>::pointer() [with T = ucc::script]
common.cpp: In static member function ‘static ucc::script* ucc::script::append(ucc::script*, const char*, ucc::script*)’:
common.cpp:518:35: error: ‘getline’ is not a member of ‘ucc::String’
common.cpp:586:41: error: no matching function for call to ‘ucc::script::find(ucc::script&, const char*&)’
common.cpp:330:20: note: candidates are: static ucc::script::keyword_t* ucc::script::find(const char*)
common.cpp:397:17: note: static ucc::script::header* ucc::script::find(ucc::script*, const char*)
common.cpp:712:82: error: no matching function for call to ‘ucc::script::find(ucc::script&, const char*&)’
common.cpp:330:20: note: candidates are: static ucc::script::keyword_t* ucc::script::find(const char*)
common.cpp:397:17: note: static ucc::script::header* ucc::script::find(ucc::script*, const char*)
...

Same as above, either ccscript needs a fix or we need a new libucommon4-dev package and keep the libucommon3 source in the archive (as we must be able to rebuild all packages).

Revision history for this message
Ilya Barygin (randomaction) wrote :

The package is now available in Debian. Version 5.0.5-1 can be synced/merged.

tags: added: upgrade-software-version
Revision history for this message
Ilya Barygin (randomaction) wrote :

Debian's version has libucommon5. ccscript 4.2.0 doesn't build with it:

libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../inc -Wno-long-long -fno-exceptions -fno-rtti -fno-enforce-eh-specs -pthread -fno-check-new -finline -fvisibility-inlines-hidden -fvisibility=hidden -DUCOMMON_VISIBILITY=1 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -g -O2 -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Wall -c common.cpp -fPIC -DPIC -o .libs/common.o
common.cpp: In constructor 'ucommon::script::script()':
common.cpp:287:27: error: call of overloaded 'pointer()' is ambiguous
common.cpp:287:27: note: candidates are:
/usr/include/ucommon/generics.h:105:21: note: ucommon::pointer<T>::pointer(T*) [with T = ucommon::script]
/usr/include/ucommon/generics.h:100:12: note: ucommon::pointer<T>::pointer() [with T = ucommon::script]
common.cpp: In static member function 'static ucommon::script* ucommon::script::append(ucommon::script*, const char*, ucommon::script*)':
common.cpp:518:35: error: 'getline' is not a member of 'ucommon::String {aka ucommon::string}'
common.cpp:586:41: error: no matching function for call to 'ucommon::script::find(ucommon::script&, const char*&)'
common.cpp:586:41: note: candidates are:
common.cpp:330:20: note: static ucommon::script::keyword_t* ucommon::script::find(const char*)
common.cpp:330:20: note: candidate expects 1 argument, 2 provided
common.cpp:397:17: note: static ucommon::script::header* ucommon::script::find(ucommon::script*, const char*)
common.cpp:397:17: note: no known conversion for argument 1 from 'ucommon::script' to 'ucommon::script*'
common.cpp:712:82: error: no matching function for call to 'ucommon::script::find(ucommon::script&, const char*&)'
common.cpp:712:82: note: candidates are:
common.cpp:330:20: note: static ucommon::script::keyword_t* ucommon::script::find(const char*)
common.cpp:330:20: note: candidate expects 1 argument, 2 provided
common.cpp:397:17: note: static ucommon::script::header* ucommon::script::find(ucommon::script*, const char*)
common.cpp:397:17: note: no known conversion for argument 1 from 'ucommon::script' to 'ucommon::script*'
make[3]: *** [common.lo] Error 1

Debian also has newer version of sipwitch, which build with libucommon5. However, sipwitch was removed from Ubuntu.

Changed in ucommon (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for ucommon (Ubuntu) because there has been no activity for 60 days.]

Changed in ucommon (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.