Gnus development mailing list
 help / color / mirror / Atom feed
* Track down a failure involving shr
@ 2014-12-20 21:16 Harry Putnam
  2014-12-20 21:57 ` Adam Sjøgren
  2014-12-20 22:45 ` Steinar Bang
  0 siblings, 2 replies; 9+ messages in thread
From: Harry Putnam @ 2014-12-20 21:16 UTC (permalink / raw)
  To: ding

Setup: Gentoo linux (new install)
       emacs-25
       gentoo pkg emacs-vcs which installs from the bzr trunk

I'm attempting to change from using w3m to render html to using the
default shr.

I've gone thru my init files and removed all reference to w3m or
emacs-w3m.

I'm pretty sure that change is the source of my current problem but
not thinking of how to track it down.

Or maybe something to do with using the changing devel version of
emacs.

Cutting to the chase...

So far, with every message I've opened from the `gwene' group:
   gwene.com.stackoverflow.feeds.tag.emacs

[NOTE: I have not seen the problem on any group I read other than
 gwene groups]

When I attempt to open a posting I get:

 [From the *Messages* buffer]

 mm-shr: Symbol's function definition is void:
 libxml-parse-html-region

The message is opened like one expects to see when opening raw message
with C+u g.

(back trace is posted near the end)

Just a quick grep on libxml-parse-html-region in the lisp files shows
that string is present in nearly 20 files some of that figure is
caused by finding the string in both elc and el versions.  But still a
bit daunting as to how to track this down.

So, I could use a bit of coaching on tracking this down.

Since it is the devel version of emacs, I probably should be posting
on the devel group, but man, those folks look to be very busy right now.

So anyone have some ideas about what might be going on.
-------       -------       ---=---       -------       -------

Back trace:

Debugger entered--Lisp error: (void-function libxml-parse-html-region)
  libxml-parse-html-region(1 2208)
  mm-shr((#<buffer  *mm*> ("text/html" (charset . "utf-8")) 8bit nil nil nil nil nil))
  mm-inline-text-html((#<buffer  *mm*> ("text/html" (charset . "utf-8")) 8bit nil nil nil nil nil))
  mm-display-inline((#<buffer  *mm*> ("text/html" (charset . "utf-8")) 8bit nil nil nil nil nil))
  gnus-mime-display-single((#<buffer  *mm*> ("text/html" (charset . "utf-8")) 8bit nil nil nil nil nil))
  gnus-mime-display-part((#<buffer  *mm*> ("text/html" (charset . "utf-8")) 8bit nil nil nil nil nil))
  gnus-display-mime()
  gnus-article-prepare-display()
  gnus-article-prepare(11305 nil)
  gnus-summary-display-article(11305 nil)
  gnus-summary-select-article(nil nil pseudo)
  gnus-summary-scroll-up(1)
  funcall-interactively(gnus-summary-scroll-up 1)
  call-interactively(gnus-summary-scroll-up nil nil)
  command-execute(gnus-summary-scroll-up)




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Track down a failure involving shr
  2014-12-20 21:16 Track down a failure involving shr Harry Putnam
@ 2014-12-20 21:57 ` Adam Sjøgren
  2014-12-20 22:45 ` Steinar Bang
  1 sibling, 0 replies; 9+ messages in thread
From: Adam Sjøgren @ 2014-12-20 21:57 UTC (permalink / raw)
  To: ding

Harry writes:

> Setup: Gentoo linux (new install)
>        emacs-25
>        gentoo pkg emacs-vcs which installs from the bzr trunk

Did you install libxml2 and tell Gentoo to build GNU Emacs with it?


  Best regards,

    Adam

-- 
 "May the force be...                                         Adam Sjøgren
  ... equal to mass · acceleration"                      asjo@koldfront.dk




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Track down a failure involving shr
  2014-12-20 21:16 Track down a failure involving shr Harry Putnam
  2014-12-20 21:57 ` Adam Sjøgren
@ 2014-12-20 22:45 ` Steinar Bang
  2014-12-20 22:52   ` Clemens Schüller
  2014-12-20 22:54   ` Harry Putnam
  1 sibling, 2 replies; 9+ messages in thread
From: Steinar Bang @ 2014-12-20 22:45 UTC (permalink / raw)
  To: ding

>>>>> Harry Putnam <reader@newsguy.com>:

> Setup: Gentoo linux (new install)
>        emacs-25
>        gentoo pkg emacs-vcs which installs from the bzr trunk

I thought emacs had moved from bzr to git?




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Track down a failure involving shr
  2014-12-20 22:45 ` Steinar Bang
@ 2014-12-20 22:52   ` Clemens Schüller
  2014-12-20 23:19     ` Harry Putnam
  2014-12-20 22:54   ` Harry Putnam
  1 sibling, 1 reply; 9+ messages in thread
From: Clemens Schüller @ 2014-12-20 22:52 UTC (permalink / raw)
  To: ding; +Cc: Harry Putnam

Hello!

On 20. Dez. 2014 at 23:45 Steinar Bang wrote:
>>>>>> Harry Putnam <reader@newsguy.com>:


>> Setup: Gentoo linux (new install)
>>        emacs-25
>>        gentoo pkg emacs-vcs which installs from the bzr trunk
>
> I thought emacs had moved from bzr to git?


Thats true. And in case of gentoo there exists a new ebuild file for
emacs-vcs.

Please make a emerge --sync and then a
emerge -av "=app-editors/emacs-vcs-25.0.9999-r1"
to install the git (and not the bzr) repo.


-- 
Best Regards, Clemens Schüller



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Track down a failure involving shr
  2014-12-20 22:45 ` Steinar Bang
  2014-12-20 22:52   ` Clemens Schüller
@ 2014-12-20 22:54   ` Harry Putnam
  1 sibling, 0 replies; 9+ messages in thread
From: Harry Putnam @ 2014-12-20 22:54 UTC (permalink / raw)
  To: ding

Steinar Bang <sb@dod.no> writes:

>>>>>> Harry Putnam <reader@newsguy.com>:
>
>> Setup: Gentoo linux (new install)
>>        emacs-25
>>        gentoo pkg emacs-vcs which installs from the bzr trunk
>
> I thought emacs had moved from bzr to git?

I'm not really sure where emerge gets the source... I just `thought' it
would be bzr.

And the pkg was built using these use flags+

+ flags (those that are turned on):  
  X Xaw3d athena gif gpm gtk gtk3 imagemagick inotify jpeg png svg tiff
  xpm zlib

- Flags (those that are turned off):
  -acl -alsa (-aqua) -dbus -games -gconf -gfile -gnutls -gsettings
  ---gzip-el -hesiod -kerberos -libxml2 -livecd -m17n-lib -motif
  -pax_kernel (-selinux) -sound -source -toolkit-scroll-bars -wide-int
  --xft

  So, infact emerge told the process NOT to build against libxml2

  This is the exact version I installed:
   app-editors/emacs-vcs-25.0.50_pre20141130:25

The ebuild shows the sources URI as: git://git.sv.gnu.org/emacs.git

So, I should have checked I guess, but I `thought' bzr was the repo
used.






^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Track down a failure involving shr
  2014-12-20 22:52   ` Clemens Schüller
@ 2014-12-20 23:19     ` Harry Putnam
  2014-12-21  6:35       ` Adam Sjøgren
  2014-12-21 12:27       ` Clemens Schüller
  0 siblings, 2 replies; 9+ messages in thread
From: Harry Putnam @ 2014-12-20 23:19 UTC (permalink / raw)
  To: ding

Clemens Schüller <cs.mlists+gnus@mailbox.org> writes:

> Hello!
>
> On 20. Dez. 2014 at 23:45 Steinar Bang wrote:
>>>>>>> Harry Putnam <reader@newsguy.com>:
>
>
>>> Setup: Gentoo linux (new install)
>>>        emacs-25
>>>        gentoo pkg emacs-vcs which installs from the bzr trunk
>>
>> I thought emacs had moved from bzr to git?
>
>
> Thats true. And in case of gentoo there exists a new ebuild file for
> emacs-vcs.
>
> Please make a emerge --sync and then a
> emerge -av "=app-editors/emacs-vcs-25.0.9999-r1"
> to install the git (and not the bzr) repo.

I was wrong about it being bzr.  It was git.

OK, but I'm getting some fluff from emerge I don't really understand.

-------       -------       ---=---       -------       ------- 

[ebuild U *] app-editors/emacs-vcs-25.0.9999-r1:25
 [25.0.50_pre20141130:25] USE="X Xaw3d athena gif gpm gtk gtk3
 imagemagick inotify jpeg png svg tiff xpm zlib -acl -alsa (-aqua)
 -dbus -games -gconf -gfile -gnutls -gsettings -gzip-el -hesiod
 -kerberos -libxml2 -livecd -m17n-lib -motif -pax_kernel (-selinux)
 -sound -source -toolkit-scroll-bars -wide-int -xft" 0 KiB

Total: 1 package (1 upgrade), Size of downloads: 0 KiB

 The following keyword changes are necessary to proceed: (see
 "package.accept_keywords" in the portage(5) man page for more
 details) # required by =app-editors/emacs-vcs-25.0.9999-r1 (argument)
 =app-editors/emacs-vcs-25.0.9999-r1 **
/
NOTE: The --autounmask-keep-masks option will prevent emerge
      from creating package.unmask or ** keyword changes.
-------       -------       ---=---       -------       -------

I'm not really sure what that means, but I guess it means to lierally
create the `packag.accept_keywords' file containing:
  
  =app-editors/emacs-vcs-25.0.9999-r1 **

At any rate, that is what I did and it seems to have smoothed things out

Now I need to get some of those USE flags set differently.

Any advice what to do with the libxml2?

It was turned off on the last go around so is it posible it needs to
be ON to make that related error I posted go away?

Any way, I will now close all emacs including this one and fiddle with
thing until I can see a clean install

More later...




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Track down a failure involving shr
  2014-12-20 23:19     ` Harry Putnam
@ 2014-12-21  6:35       ` Adam Sjøgren
  2014-12-21 12:27       ` Clemens Schüller
  1 sibling, 0 replies; 9+ messages in thread
From: Adam Sjøgren @ 2014-12-21  6:35 UTC (permalink / raw)
  To: ding

Harry writes:

> It was turned off on the last go around so is it posible it needs to
> be ON to make that related error I posted go away?

It needs to be turned on when Emacs is built for shr to work.

Maybe you need to consult some Gentoo folks about this?

I would imagine that you just had to install the libxml2 development
package before the emacs package, but I have never used Gentoo.


  Best regards,

    Adam

-- 
 "Perl 5 is a velociraptor, but we need an                    Adam Sjøgren
  acceloraptor now."                                     asjo@koldfront.dk




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Track down a failure involving shr
  2014-12-21 12:27       ` Clemens Schüller
@ 2014-12-21 11:51         ` Harry Putnam
  0 siblings, 0 replies; 9+ messages in thread
From: Harry Putnam @ 2014-12-21 11:51 UTC (permalink / raw)
  To: ding

Clemens Schüller <cs.mlists+gnus@mailbox.org> writes:

> Cutout from my package.use
>
> app-editors/emacs-vcs xft gconf gfile gsettings gzip-el imagemagick libxml2 m17n-lib sound toolkit-scroll-bars
>
> It should install the libxml2 package automatically.

Thanks, I ended up with package.use like this:

=app-editors/emacs-vcs-25.0.9999-r1 Xaw3d athena libxml2 toolkit-scroll-bars imagemagick -acl -alsa -gtk -gtk3

And passed in 2 additional configure flags for good measure. Only the
first of which was probably needed:

EXTRA_ECONF="--with-x-toolkit=LUCID --with-toolkit-scroll-bars" \
  emerge -v app/editors-[...] 

[ebuild   R   *] app-editors/emacs-vcs-25.0.9999-r1:25

USE="X Xaw3d athena dbus gif gpm imagemagick inotify jpeg libxml2 png
svg tiff toolkit-scroll-bars xpm zlib -acl -alsa (-aqua) -games -gconf
-gfile -gnutls -gsettings -gtk -gtk3 -gzip-el -hesiod -kerberos
-livecd -m17n-lib -motif -pax_kernel (-selinux) -sound -source
-wide-int -xft"

Anyway, now emacs doesn't balk at opening gwene msgs.




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Track down a failure involving shr
  2014-12-20 23:19     ` Harry Putnam
  2014-12-21  6:35       ` Adam Sjøgren
@ 2014-12-21 12:27       ` Clemens Schüller
  2014-12-21 11:51         ` Harry Putnam
  1 sibling, 1 reply; 9+ messages in thread
From: Clemens Schüller @ 2014-12-21 12:27 UTC (permalink / raw)
  To: Harry Putnam; +Cc: ding

Hello!

On 21. Dez. 2014 at 00:19 Harry Putnam wrote:


> OK, but I'm getting some fluff from emerge I don't really understand.
>
> -------       -------       ---=---       -------       ------- 
>
> [ebuild U *] app-editors/emacs-vcs-25.0.9999-r1:25
>  [25.0.50_pre20141130:25] USE="X Xaw3d athena gif gpm gtk gtk3
>  imagemagick inotify jpeg png svg tiff xpm zlib -acl -alsa (-aqua)
>  -dbus -games -gconf -gfile -gnutls -gsettings -gzip-el -hesiod
>  -kerberos -libxml2 -livecd -m17n-lib -motif -pax_kernel (-selinux)
>  -sound -source -toolkit-scroll-bars -wide-int -xft" 0 KiB
>
> Total: 1 package (1 upgrade), Size of downloads: 0 KiB
>
>  The following keyword changes are necessary to proceed: (see
>  "package.accept_keywords" in the portage(5) man page for more
>  details) # required by =app-editors/emacs-vcs-25.0.9999-r1 (argument)
>  =app-editors/emacs-vcs-25.0.9999-r1 **
> /
> NOTE: The --autounmask-keep-masks option will prevent emerge
>       from creating package.unmask or ** keyword changes.
> -------       -------       ---=---       -------       -------
>
> I'm not really sure what that means, but I guess it means to lierally
> create the `packag.accept_keywords' file containing:

--8<---------------cut here---------------start------------->8---
[root@cougar: /etc/portage]# tail -n6 package.unmask
# required by =app-editors/emacs-vcs-25.0.9999-r1 (argument)
# /usr/portage/profiles/package.mask:
# Ulrich Müller <ulm@gentoo.org> (12 Nov 2014)
# Temporary mask because of problems with upstream git repo;
# fallback to live bzr ebuilds.
=app-editors/emacs-vcs-25.0.9999-r1
--8<---------------cut here---------------end--------------->8---

Could you try it with this oneliner in the package.unmask


>   =app-editors/emacs-vcs-25.0.9999-r1 **
>
> At any rate, that is what I did and it seems to have smoothed things out
>
> Now I need to get some of those USE flags set differently.
>
> Any advice what to do with the libxml2?

Cutout from my package.use

--8<---------------cut here---------------start------------->8---
app-editors/emacs-vcs xft gconf gfile gsettings gzip-el imagemagick libxml2 m17n-lib sound toolkit-scroll-bars
--8<---------------cut here---------------end--------------->8---

It should install the libxml2 package automatically.


-- 
Best Regards, Clemens Schüller



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-12-21 12:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-20 21:16 Track down a failure involving shr Harry Putnam
2014-12-20 21:57 ` Adam Sjøgren
2014-12-20 22:45 ` Steinar Bang
2014-12-20 22:52   ` Clemens Schüller
2014-12-20 23:19     ` Harry Putnam
2014-12-21  6:35       ` Adam Sjøgren
2014-12-21 12:27       ` Clemens Schüller
2014-12-21 11:51         ` Harry Putnam
2014-12-20 22:54   ` Harry Putnam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).