<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>162130</bug_id>
          
          <creation_ts>2007-01-15 00:31 0000</creation_ts>
          <short_desc>gnomevfs-mount fails, most likely due to --as-needed</short_desc>
          <delta_ts>2007-02-10 23:11:18 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>GNOME</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>nesl247@gmail.com</reporter>
          <assigned_to>genstef@gentoo.org</assigned_to>
          <cc>kernel@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>nesl247@gmail.com</who>
            <bug_when>2007-01-15 00:31:28 0000</bug_when>
            <thetext>The following arises when compiling. I haven&apos;t tested it without --as-needed because this almost certainly looks like an issue of that:

i686-pc-linux-gnu-gcc  -O2 -march=athlon64 -pipe -fomit-frame-pointer -msse3  -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=both -Wl,-znow -o gnomevfs-umount -lglib-2.0   gnomevfs_umount-gnomevfs-umount.o  
gnomevfs_umount-gnomevfs-umount.o: In function `main&apos;:
gnomevfs-umount.c:(.text+0x2c): undefined reference to `g_path_is_absolute&apos;
gnomevfs-umount.c:(.text+0x3b): undefined reference to `g_strdup&apos;
gnomevfs-umount.c:(.text+0x4d): undefined reference to `g_strdup_printf&apos;
gnomevfs-umount.c:(.text+0x57): undefined reference to `g_free&apos;
gnomevfs-umount.c:(.text+0x69): undefined reference to `g_free&apos;
gnomevfs-umount.c:(.text+0x83): undefined reference to `g_get_current_dir&apos;
gnomevfs-umount.c:(.text+0xa4): undefined reference to `g_build_path&apos;
gnomevfs-umount.c:(.text+0xae): undefined reference to `g_free&apos;
gnomevfs-umount.c:(.text+0xc4): undefined reference to `g_print&apos;
collect2: ld returned 1 exit status
make[2]: *** [gnomevfs-umount] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/sys-fs/gnomevfs-mount-0.2.0/work/gnomevfs-mount-0.2.0/src&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-fs/gnomevfs-mount-0.2.0/work/gnomevfs-mount-0.2.0&apos;
make: *** [all] Error 2

Reproducible: Always</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nesl247@gmail.com</who>
            <bug_when>2007-01-15 00:57:27 0000</bug_when>
            <thetext>Created an attachment (id=107021)
gnomevfs-mount-as-needed.patch

Fixes the link issues. Not sure if this is the proper way to do it, but seems like it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>compnerd@gentoo.org</who>
            <bug_when>2007-01-15 02:13:46 0000</bug_when>
            <thetext>That patch makes no sense.  The failure is with gnomevfs-umount and you are patch gnomevfs-mount.  Try building without -Wl,--hash-style=both -Wl,-znow.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nesl247@gmail.com</who>
            <bug_when>2007-01-15 02:35:21 0000</bug_when>
            <thetext>The failure is definitely --as-needed. I just patched the gnomevfs_mount_LDADD because it was there. As I said, I am not 100% positive on autotools stuff like this, so wasn&apos;t sure if there is more to it than gnomevfs_umount_LDADD = $(GLIB_LIBS) .. Because if so I had no idea what else to modify.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nesl247@gmail.com</who>
            <bug_when>2007-01-15 02:38:49 0000</bug_when>
            <thetext>Created an attachment (id=107022)
gnomevfs-mount-as-needed.patch

Patches for umount instead of mount.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dang@gentoo.org</who>
            <bug_when>2007-01-28 04:04:43 0000</bug_when>
            <thetext>gnomevfs-mount isn&apos;t a gnome package...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nesl247@gmail.com</who>
            <bug_when>2007-01-28 14:12:22 0000</bug_when>
            <thetext>I know, it&apos;s closer to gnome than anything else I could think of, and since I can&apos;t specify an email (only devs can do that), it was the best choice IMO.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>genstef@gentoo.org</who>
            <bug_when>2007-02-10 23:00:04 0000</bug_when>
            <thetext>committed your patch, I wonder why you play with this package anyway - I thought it is dead.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nesl247@gmail.com</who>
            <bug_when>2007-02-10 23:11:18 0000</bug_when>
            <thetext>Someone recommended it to me when I asked how to get gnomevfs mounted filesystems to be hard mounted, and not virtually. (So KDE apps, and others that don&apos;t use gnomevfs can use the stuff)</thetext>
          </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>107021</attachid>
            <date>2007-01-15 00:57 0000</date>
            <desc>gnomevfs-mount-as-needed.patch</desc>
            <filename>gnomevfs-mount-as-needed.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHNyYy9NYWtlZmlsZS5hbSAyMDA3LTAxLTE0IDE5OjQ1OjU1LjAwMDAwMDAwMCAtMDUwMAor
Kysgc3JjL01ha2VmaWxlLmFtIDIwMDctMDEtMTQgMTk6NDU6NDkuMDAwMDAwMDAwIC0wNTAwCkBA
IC01LDcgKzUsNyBAQAogZ25vbWV2ZnNfbW91bnRfU09VUkNFUyA9IGdub21ldmZzLW1vdW50LmMg
Z25vbWV2ZnMtbW91bnQuaAogCiBnbm9tZXZmc19tb3VudF9MREZMQUdTID0gQEdOT01FX1ZGU19M
SUJTQCBAR05PTUVfS0VZUklOR19MSUJTQCAtbGZ1c2UKLWdub21ldmZzX21vdW50X0xEQUREID0g
LWxmdXNlCitnbm9tZXZmc19tb3VudF9MREFERCA9IC1sZnVzZSAkKEdMSUJfTElCUykKIGdub21l
dmZzX21vdW50X0NGTEFHUyA9ICBAR05PTUVfVkZTX0NGTEFHU0AgQEdOT01FX0tFWVJJTkdfQ0ZM
QUdTQAogCiBnbm9tZXZmc191bW91bnRfTERGTEFHUyA9IEBHTElCX0xJQlNACgo=
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>107022</attachid>
            <date>2007-01-15 02:38 0000</date>
            <desc>gnomevfs-mount-as-needed.patch</desc>
            <filename>gnomevfs-mount-as-needed.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHNyYy9NYWtlZmlsZS5hbSAyMDA3LTAxLTE0IDIxOjMzOjA5LjAwMDAwMDAwMCAtMDUwMAor
Kysgc3JjL01ha2VmaWxlLmFtIDIwMDctMDEtMTQgMjE6MzY6MDMuMDAwMDAwMDAwIC0wNTAwCkBA
IC05LDUgKzksNiBAQAogZ25vbWV2ZnNfbW91bnRfQ0ZMQUdTID0gIEBHTk9NRV9WRlNfQ0ZMQUdT
QCBAR05PTUVfS0VZUklOR19DRkxBR1NACiAKIGdub21ldmZzX3Vtb3VudF9MREZMQUdTID0gQEdM
SUJfTElCU0AKK2dub21ldmZzX3Vtb3VudF9MREFERCA9ICQoR0xJQl9MSUJTKQogZ25vbWV2ZnNf
dW1vdW50X0NGTEFHUyA9IEBHTElCX0NGTEFHU0AKCg==
</data>        

          </attachment>
    </bug>

</bugzilla>