libglibmm-2.4-dev seems to be buggy on ppc

Bug #70821 reported by effraie
4
Affects Status Importance Assigned to Milestone
glibmm2.4 (Ubuntu)
Invalid
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: libglibmm-2.4-dev

Hello!

I was trying to package BMPx for ppc. (on edgy)
I had that kind of errors:

#####################

/tmp/buildd/bmpx-0.32.0/plugins/vfs/container/libcontainer_folder.cc:58: undefined reference to `Glib::ustring::~ustring()'
/tmp/buildd/bmpx-0.32.0/plugins/vfs/container/libcontainer_folder.cc:58: undefined reference to `Glib::ustring::~ustring()'
/tmp/buildd/bmpx-0.32.0/plugins/vfs/container/libcontainer_folder.cc:58: undefined reference to `Glib::ustring::~ustring()'
/tmp/buildd/bmpx-0.32.0/plugins/vfs/container/libcontainer_folder.cc:58: undefined reference to `Glib::ustring::~ustring()'
/tmp/buildd/bmpx-0.32.0/plugins/vfs/container/libcontainer_folder.cc:58: undefined reference to `Glib::ustring::~ustring()'

#########################

so i did add libglibmm-2.4-dev in build-deps.
I had same errors.
i tried it on x86, and it did build...

so i think there is a bug in libglibmm-2.4-dev, even if i'm not capable to point it..

Tags: edgy ppc
Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks for your bug report. Can you please attach the build logs of this?

Changed in glibmm2.4:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: Unconfirmed → Needs Info
Revision history for this message
effraie (effraie) wrote :

here is the log.

i did reported the bug to BMPx bugtracker too, cause i'm not sure where the bug come from.

Revision history for this message
Milosz Derezynski (internalerror) wrote :

Well it is not a BMPx bug (i've closed it on our bugtracker as 'not fixable') seems like dholbach has taken notice of it so we'll have to wait until it gets fixed in glibmm upstream.

(Might be some kind of linker/compiler issue still, though)

Revision history for this message
Daniel Holbach (dholbach) wrote :

Does

sudo apt-get build-dep regexxer; fakeroot apt-get source -b regexxer

work for you?

Revision history for this message
effraie (effraie) wrote :

seems to work fine:

#############
echo "langpack.mk: add translation domain to regexxer"; \
        if [ -e ./po/Makefile ]; then \
            DOMAIN=$(grep --max-count 1 '^GETTEXT_PACKAGE[[:space:]]*=' ./po/Makefile | sed 's/^.*=[[:space:]]*\([^[:space:]]\)/\1/'); \
            if [ "$DOMAIN" ]; then \
                for d in $(find debian/regexxer -type f \( -name "*.desktop" -o -name "*.directory" \) ); do \
                    echo "langpack.mk: Adding translation domain $DOMAIN to $d..."; \
                    echo "X-Ubuntu-Gettext-Domain=$DOMAIN" >> $d; \
                done; \
                for d in $(find debian/regexxer -type f -name "*.server" ); do \
                    echo "langpack.mk: Adding translation domain $DOMAIN to $d..."; \
                    sed -i "s/<oaf_server\>/<oaf_server ubuntu-gettext-domain=\"$DOMAIN\"/" $d; \
                done; \
            fi; \
        fi
langpack.mk: add translation domain to regexxer
langpack.mk: Adding translation domain regexxer to debian/regexxer/usr/share/applications/regexxer.desktop...
dh_gencontrol -pregexxer
dh_md5sums -pregexxer
dh_builddeb -pregexxer
dpkg-deb : construction du paquet « regexxer » dans « ../regexxer_0.8-3.1_powerpc.deb ».
tar: -: file name read contains nul character
 dpkg-genchanges -b
dpkg-genchanges: binary-only upload - not including any source code
dpkg-buildpackage: binary only upload (no source included)
effraie@ubook:~$ ls
Desktop regexxer_0.8-3.1.diff.gz regexxer_0.8-3.1_powerpc.deb Podcasts regexxer_0.8-3.1.dsc regexxer_0.8.orig.tar.gz regexxer-0.8 regexxer_0.8-3.1_powerpc.changes

################

Revision history for this message
effraie (effraie) wrote :

maybe you can close the bug...
i builded succesfull BMPx-0.34rc1, which has libglibmm-dev as build-dep too.

certainly the bug was from BMPx.

Revision history for this message
Milosz Derezynski (internalerror) wrote :

Just FWIW, and i'm sure Daniel will agree with me, it can hardly be a BMPx error if the destructor for ustring is not known to the so lib (Where the ctor seems to be or it would have complained about that). We also use very conservative flags by default (only -O2 and -ggdb3, latter only being for debugging), and recently since recent 0.33.x and 0.34.0 RCx no flags at all since Fedora Core 6, on which i develop BMPx, has a problem with g++ and binutils which prevents BMPx from building correctly at all with -O2 enabled, so this issue is if anything at all a linker issue, and was for you most likely resolved the same way it was for me: because of the now-missing CFLAGS/CXXFLAGS. I just wanted to annotate that because it "certainly" was "not" a bug from BMPx...

Revision history for this message
Daniel Holbach (dholbach) wrote :

Can you attach the bmpx source package to the bug? http://depot.effraie.org was down, when I tried. Which compiler of which version do you use? Is this stock edgy?

Revision history for this message
effraie (effraie) wrote :

the source (succesfully) package is here:
http://mental-ppc.tuxfamily.org/dists/dists/edgy-mppc/incoming/

( http://depot.effraie.org is mostly for my own usage, when i build software as e17 or beryl for ppc)

i'm not sure to understand your question about my compiler (my english is poor). hope this will be an answer :

effraie@ubook:~$ apt-cache policy gcc
gcc:
  Installé : 4:4.1.1-6ubuntu3
  Candidat : 4:4.1.1-6ubuntu3
 Table de version :
 *** 4:4.1.1-6ubuntu3 0
        500 http://archive.ubuntu.com edgy/main Packages
        100 /var/lib/dpkg/status
effraie@ubook:~$ apt-cache policy pbuilder
pbuilder:
  Installé : 0.155ubuntu3
  Candidat : 0.155ubuntu3
 Table de version :
 *** 0.155ubuntu3 0
        500 http://archive.ubuntu.com edgy/main Packages
        100 /var/lib/dpkg/status

Revision history for this message
Daniel Holbach (dholbach) wrote :

0.34.0~rc1-bmp0ubuntu2 from http://mental-ppc.tuxfamily.org/dists/dists/edgy-mppc/incoming/ builds fine in ppc edgy pbuilder - I'm afraid it looks like a configuration problem on your end and not like a glibmm2.4 bug.

Changed in glibmm2.4:
status: Needs Info → Rejected
Revision history for this message
effraie (effraie) wrote :

just small adjustement: i know 0.34.0~rc1-bmp0ubuntu2 builds fine, cause i did it.

the problem was during building bmpx-0.32.0.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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