Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
media-video/gpac emerge problem: libjs.so missing
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
AllanS
n00b
n00b


Joined: 19 Oct 2006
Posts: 45

PostPosted: Thu Apr 21, 2011 1:32 pm    Post subject: media-video/gpac emerge problem: libjs.so missing Reply with quote

My revdep-rebuild fails on media-video/gpac because libjs.so is missing. SpiderMonkey renamed that library to libmozjs.so. When is libgpac and gpac going to be updated to use the correct library?

Or is there another fix that is available?

Thanks,

-Allan
Back to top
View user's profile Send private message
AllanS
n00b
n00b


Joined: 19 Oct 2006
Posts: 45

PostPosted: Wed Apr 27, 2011 6:26 pm    Post subject: Reply with quote

Bump
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 7398
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Apr 27, 2011 6:51 pm    Post subject: Reply with quote

Have you done an "emerge --sync" lately? I just built it here and it worked fine.

- John
_________________
This space intentionally left blank.
Back to top
View user's profile Send private message
AllanS
n00b
n00b


Joined: 19 Oct 2006
Posts: 45

PostPosted: Thu Apr 28, 2011 2:54 am    Post subject: Reply with quote

Of course :-)

Perhaps there are USE flags that I need. However, the use.desc and use.local.desc do not describe flags which imply using the correct library. If you know of what USE flags *should* be there, I'm happy to try.

Currently, I have threadsafe for spidermonkey. The rest are global-context level USE elements.

My "make.conf" USE flags are:

X Xaw3d
a52 aac acpi aim alsa apache2 arts
bash-completion bcmath -bluetooth bzip2
caps cddb cdr cgi clamav cracklib crypt cscope css ctype cups curl curlwrappers
dbus dga directfb djvu dri dts dv dvb dvd dvdr
encode esd exif expat
fbcon ffmpeg firefox flac foomaticdb freetds ftp
gd gdbm geoip gif gimp gnome gnuplot gnutls gphoto2 gpm gps gsm gstreamer gtk gtkhtml gzip
hal hddtemp
iconv icq imagemagick imap imlib innodb
jabber java javascript jbig jingle jpeg jpeg2k
kde
lash lcms libnotify lzo
mad matroska mikmod mime mmap mmx mng mono motif mp3 mp4 mpeg mplayer msn mssql musicbrainz mysql mysqli
ncurses nptl nsplugin
odbc offensive ofx ogg opengl osc oscar oss
pam pcntl pcre pdf perl php plotutils png policykit posix ppds prelude python
qt3 qt4 quicktime
raw rdesktop readline
samba sasl scanner sdl semantic-desktop session shorten slp soap sockets speex spell spl sqlite sqlite3 sse ssl subversion svg svga syslog sysvipc
tcl theora threads tidy tiff tk truetype
unicode usb
v4l v4l2 vcd vhosts vim-syntax vnc vorbis
wavpack win32codecs wmf wxwidgets
x264 xinetd xml xmlrpc xosd xpm xprint xscreensaver xsl xv xvid
yahoo
zlib
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 7398
Location: Somewhere over Atlanta, Georgia

PostPosted: Thu Apr 28, 2011 3:04 pm    Post subject: Reply with quote

Could you post the build log from the first error to the end, please? Note: Using [code] tags make such posts easier to read for everyone.

- John
_________________
This space intentionally left blank.
Back to top
View user's profile Send private message
AllanS
n00b
n00b


Joined: 19 Oct 2006
Posts: 45

PostPosted: Fri Apr 29, 2011 1:01 pm    Post subject: Reply with quote

Code:

ar cr ../bin/gcc/libgpac_static.a utils/os_divers.o utils/os_net.o utils/os_module.o utils/os_thread.o utils/list.o utils/base_encoding.o utils/bitstream.o utils/color.o utils/configfile.o utils/downloader.o utils/error.o utils/math.o utils/path2d.o utils/path2d_stroker.o utils/module.o utils/token.o utils/uni_bidi.o utils/url.o utils/utf.o utils/xml_parser.o mcrypt/cbc.o mcrypt/cfb.o mcrypt/ctr.o mcrypt/des.o mcrypt/ecb.o mcrypt/g_crypt.o mcrypt/ncfb.o mcrypt/nofb.o mcrypt/ofb.o mcrypt/rijndael-128.o mcrypt/rijndael-192.o mcrypt/rijndael-256.o mcrypt/stream.o mcrypt/tripledes.o mcrypt/sha1.o  scenegraph/base_scenegraph.o scenegraph/mpeg4_animators.o scenegraph/commands.o scenegraph/mpeg4_nodes.o scenegraph/mpeg4_valuator.o scenegraph/vrml_interpolators.o scenegraph/vrml_proto.o scenegraph/vrml_route.o scenegraph/vrml_script.o scenegraph/vrml_smjs.o scenegraph/vrml_tools.o scenegraph/x3d_nodes.o scenegraph/svg_attributes.o scenegraph/svg_types.o scenegraph/svg_smjs.o scenegraph/smil_anim.o scenegraph/smil_timing.o scenegraph/svg_properties.o scenegraph/dom_events.o  scenegraph/dom_smjs.o scenegraph/xbl_process.o scenegraph/xml_ns.o ietf/rtcp.o ietf/rtp.o ietf/rtp_packetizer.o ietf/rtp_pck_3gpp.o ietf/rtp_pck_mpeg12.o ietf/rtp_pck_mpeg4.o ietf/rtsp_command.o ietf/rtsp_common.o ietf/rtsp_response.o ietf/rtsp_session.o ietf/sdp.o ietf/rtp_depacketizer.o bifs/arith_decoder.o bifs/bifs_codec.o bifs/bifs_node_tables.o bifs/com_dec.o bifs/com_enc.o bifs/conditional.o bifs/field_decode.o bifs/field_encode.o bifs/memory_decoder.o bifs/predictive_mffield.o bifs/quantize.o bifs/script_dec.o bifs/script_enc.o bifs/unquantize.o isomedia/avc_ext.o isomedia/box_code_3gpp.o isomedia/box_code_apple.o isomedia/box_code_base.o isomedia/box_code_isma.o isomedia/box_code_meta.o isomedia/box_dump.o isomedia/box_funcs.o isomedia/data_map.o isomedia/hint_track.o isomedia/hinting.o isomedia/isma_sample.o isomedia/isom_intern.o isomedia/isom_read.o isomedia/isom_store.o isomedia/isom_write.o isomedia/media.o isomedia/media_odf.o isomedia/meta.o isomedia/movie_fragments.o isomedia/sample_descs.o isomedia/stbl_read.o isomedia/stbl_write.o isomedia/track.o isomedia/tx3g.o  odf/desc_private.o odf/descriptors.o odf/ipmpx_code.o odf/ipmpx_dump.o odf/ipmpx_parse.o odf/oci_codec.o odf/odf_code.o odf/odf_codec.o odf/odf_command.o odf/odf_dump.o odf/odf_parse.o odf/qos.o odf/slc.o  media_tools/av_parsers.o media_tools/avilib.o media_tools/gpac_ogg.o media_tools/img.o media_tools/ismacryp.o media_tools/isom_hinter.o media_tools/isom_tools.o media_tools/media_export.o media_tools/media_import.o media_tools/mpeg2_ps.o media_tools/text_import.o media_tools/saf.o media_tools/mpegts.o media_tools/vobsub.o scene_manager/loader_bt.o scene_manager/loader_isom.o scene_manager/loader_qt.o scene_manager/loader_xmt.o scene_manager/scene_dump.o scene_manager/scene_manager.o scene_manager/scene_stats.o scene_manager/swf_parse.o scene_manager/swf_bifs.o scene_manager/text_to_bifs.o scene_manager/encode_cbk.o scene_manager/encode_isom.o scene_manager/loader_svg.o terminal/channel.o terminal/clock.o terminal/decoder.o terminal/term_node_init.o terminal/inline.o terminal/input_sensor.o terminal/media_control.o terminal/media_manager.o terminal/media_memory.o terminal/media_object.o terminal/media_sensor.o terminal/network_service.o terminal/object_browser.o terminal/object_manager.o terminal/terminal.o terminal/svg_external.o compositor/audio_input.o compositor/audio_mixer.o compositor/audio_render.o compositor/bindable.o compositor/camera.o compositor/compositor.o compositor/compositor_2d.o compositor/compositor_3d.o compositor/compositor_node_init.o compositor/drawable.o compositor/events.o compositor/font_engine.o compositor/hardcoded_protos.o compositor/mesh.o compositor/mesh_collide.o compositor/mesh_tesselate.o compositor/mpeg4_animstream.o compositor/mpeg4_audio.o compositor/mpeg4_background.o compositor/mpeg4_background2d.o compositor/mpeg4_bitmap.o compositor/mpeg4_composite.o compositor/mpeg4_form.o compositor/mpeg4_geometry_2d.o compositor/mpeg4_geometry_3d.o compositor/mpeg4_geometry_ifs2d.o compositor/mpeg4_geometry_ils2d.o compositor/mpeg4_gradients.o compositor/mpeg4_grouping.o compositor/mpeg4_grouping_2d.o compositor/mpeg4_grouping_3d.o compositor/mpeg4_layer_2d.o compositor/mpeg4_layer_3d.o compositor/mpeg4_layout.o compositor/mpeg4_lighting.o compositor/mpeg4_path_layout.o compositor/mpeg4_sensors.o compositor/mpeg4_sound.o compositor/mpeg4_text.o compositor/mpeg4_textures.o compositor/mpeg4_timesensor.o compositor/mpeg4_viewport.o compositor/navigate.o compositor/offscreen_cache.o compositor/svg_base.o compositor/svg_font.o compositor/svg_geometry.o compositor/svg_grouping.o compositor/svg_media.o compositor/svg_paint_servers.o compositor/svg_text.o compositor/texturing.o compositor/texturing_gl.o compositor/visual_manager.o compositor/visual_manager_2d.o compositor/visual_manager_2d_draw.o compositor/visual_manager_3d.o compositor/visual_manager_3d_gl.o compositor/x3d_geometry.o laser/lsr_enc.o laser/lsr_dec.o laser/lsr_tables.o
ranlib ../bin/gcc/libgpac_static.a
i686-pc-linux-gnu-gcc -shared "-Wl,-soname,libgpac.so" -Wl,-O1 -Wl,--as-needed -Wl --warn-common -o ../bin/gcc/libgpac.so utils/os_divers.opic utils/os_net.opic utils/os_module.opic utils/os_thread.opic utils/list.opic utils/base_encoding.opic utils/bitstream.opic utils/color.opic utils/configfile.opic utils/downloader.opic utils/error.opic utils/math.opic utils/path2d.opic utils/path2d_stroker.opic utils/module.opic utils/token.opic utils/uni_bidi.opic utils/url.opic utils/utf.opic utils/xml_parser.opic mcrypt/cbc.opic mcrypt/cfb.opic mcrypt/ctr.opic mcrypt/des.opic mcrypt/ecb.opic mcrypt/g_crypt.opic mcrypt/ncfb.opic mcrypt/nofb.opic mcrypt/ofb.opic mcrypt/rijndael-128.opic mcrypt/rijndael-192.opic mcrypt/rijndael-256.opic mcrypt/stream.opic mcrypt/tripledes.opic mcrypt/sha1.opic scenegraph/base_scenegraph.opic scenegraph/mpeg4_animators.opic scenegraph/commands.opic scenegraph/mpeg4_nodes.opic scenegraph/mpeg4_valuator.opic scenegraph/vrml_interpolators.opic scenegraph/vrml_proto.opic scenegraph/vrml_route.opic scenegraph/vrml_script.opic scenegraph/vrml_smjs.opic scenegraph/vrml_tools.opic scenegraph/x3d_nodes.opic scenegraph/svg_attributes.opic scenegraph/svg_types.opic scenegraph/svg_smjs.opic scenegraph/smil_anim.opic scenegraph/smil_timing.opic scenegraph/svg_properties.opic scenegraph/dom_events.opic scenegraph/dom_smjs.opic scenegraph/xbl_process.opic scenegraph/xml_ns.opic ietf/rtcp.opic ietf/rtp.opic ietf/rtp_packetizer.opic ietf/rtp_pck_3gpp.opic ietf/rtp_pck_mpeg12.opic ietf/rtp_pck_mpeg4.opic ietf/rtsp_command.opic ietf/rtsp_common.opic ietf/rtsp_response.opic ietf/rtsp_session.opic ietf/sdp.opic ietf/rtp_depacketizer.opic bifs/arith_decoder.opic bifs/bifs_codec.opic bifs/bifs_node_tables.opic bifs/com_dec.opic bifs/com_enc.opic bifs/conditional.opic bifs/field_decode.opic bifs/field_encode.opic bifs/memory_decoder.opic bifs/predictive_mffield.opic bifs/quantize.opic bifs/script_dec.opic bifs/script_enc.opic bifs/unquantize.opic isomedia/avc_ext.opic isomedia/box_code_3gpp.opic isomedia/box_code_apple.opic isomedia/box_code_base.opic isomedia/box_code_isma.opic isomedia/box_code_meta.opic isomedia/box_dump.opic isomedia/box_funcs.opic isomedia/data_map.opic isomedia/hint_track.opic isomedia/hinting.opic isomedia/isma_sample.opic isomedia/isom_intern.opic isomedia/isom_read.opic isomedia/isom_store.opic isomedia/isom_write.opic isomedia/media.opic isomedia/media_odf.opic isomedia/meta.opic isomedia/movie_fragments.opic isomedia/sample_descs.opic isomedia/stbl_read.opic isomedia/stbl_write.opic isomedia/track.opic isomedia/tx3g.opic odf/desc_private.opic odf/descriptors.opic odf/ipmpx_code.opic odf/ipmpx_dump.opic odf/ipmpx_parse.opic odf/oci_codec.opic odf/odf_code.opic odf/odf_codec.opic odf/odf_command.opic odf/odf_dump.opic odf/odf_parse.opic odf/qos.opic odf/slc.opic media_tools/av_parsers.opic media_tools/avilib.opic media_tools/gpac_ogg.opic media_tools/img.opic media_tools/ismacryp.opic media_tools/isom_hinter.opic media_tools/isom_tools.opic media_tools/media_export.opic media_tools/media_import.opic media_tools/mpeg2_ps.opic media_tools/text_import.opic media_tools/saf.opic media_tools/mpegts.opic media_tools/vobsub.opic scene_manager/loader_bt.opic scene_manager/loader_isom.opic scene_manager/loader_qt.opic scene_manager/loader_xmt.opic scene_manager/scene_dump.opic scene_manager/scene_manager.opic scene_manager/scene_stats.opic scene_manager/swf_parse.opic scene_manager/swf_bifs.opic scene_manager/text_to_bifs.opic scene_manager/encode_cbk.opic scene_manager/encode_isom.opic scene_manager/loader_svg.opic terminal/channel.opic terminal/clock.opic terminal/decoder.opic terminal/term_node_init.opic terminal/inline.opic terminal/input_sensor.opic terminal/media_control.opic terminal/media_manager.opic terminal/media_memory.opic terminal/media_object.opic terminal/media_sensor.opic terminal/network_service.opic terminal/object_browser.opic terminal/object_manager.opic terminal/terminal.opic terminal/svg_external.opic compositor/audio_input.opic compositor/audio_mixer.opic compositor/audio_render.opic compositor/bindable.opic compositor/camera.opic compositor/compositor.opic compositor/compositor_2d.opic compositor/compositor_3d.opic compositor/compositor_node_init.opic compositor/drawable.opic compositor/events.opic compositor/font_engine.opic compositor/hardcoded_protos.opic compositor/mesh.opic compositor/mesh_collide.opic compositor/mesh_tesselate.opic compositor/mpeg4_animstream.opic compositor/mpeg4_audio.opic compositor/mpeg4_background.opic compositor/mpeg4_background2d.opic compositor/mpeg4_bitmap.opic compositor/mpeg4_composite.opic compositor/mpeg4_form.opic compositor/mpeg4_geometry_2d.opic compositor/mpeg4_geometry_3d.opic compositor/mpeg4_geometry_ifs2d.opic compositor/mpeg4_geometry_ils2d.opic compositor/mpeg4_gradients.opic compositor/mpeg4_grouping.opic compositor/mpeg4_grouping_2d.opic compositor/mpeg4_grouping_3d.opic compositor/mpeg4_layer_2d.opic compositor/mpeg4_layer_3d.opic compositor/mpeg4_layout.opic compositor/mpeg4_lighting.opic compositor/mpeg4_path_layout.opic compositor/mpeg4_sensors.opic compositor/mpeg4_sound.opic compositor/mpeg4_text.opic compositor/mpeg4_textures.opic compositor/mpeg4_timesensor.opic compositor/mpeg4_viewport.opic compositor/navigate.opic compositor/offscreen_cache.opic compositor/svg_base.opic compositor/svg_font.opic compositor/svg_geometry.opic compositor/svg_grouping.opic compositor/svg_media.opic compositor/svg_paint_servers.opic compositor/svg_text.opic compositor/texturing.opic compositor/texturing_gl.opic compositor/visual_manager.opic compositor/visual_manager_2d.opic compositor/visual_manager_2d_draw.opic compositor/visual_manager_3d.opic compositor/visual_manager_3d_gl.opic compositor/x3d_geometry.opic laser/lsr_enc.opic laser/lsr_dec.opic laser/lsr_tables.opic -lm -L/usr/lib -lGL -lglut  -lz -lssl -lcrypto -ljs -ljpeg -lpng -lpthread -ldl
/usr/lib/gcc/i686-pc-linux-gnu/4.4.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ljs
collect2: ld returned 1 exit status
make[1]: *** [libgpac.so] Error 1
make[1]: Leaving directory `/usr/portage/local/tmp/portage/media-video/gpac-0.4.5-r1/work/gpac/src'
make: *** [lib] Error 2
emake failed
 * ERROR: media-video/gpac-0.4.5-r1 failed (compile phase):
 *   emake failed.
 *
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 3054:  Called die
 * The specific snippet of code:
 *       emake -j1 OPTFLAGS="${CFLAGS}" || die "emake failed."
 *
 * If you need support, post the output of 'emerge --info =media-video/gpac-0.4.5-r1',
 * the complete build log and the output of 'emerge -pqv =media-video/gpac-0.4.5-r1'.
 * The complete build log is located at '/usr/portage/local/log/media-video:gpac-0.4.5-r1:20110427-130434.log'.
 * The ebuild environment file is located at '/usr/portage/local/tmp/portage/media-video/gpac-0.4.5-r1/temp/environment'.
 * S: '/usr/portage/local/tmp/portage/media-video/gpac-0.4.5-r1/work/gpac'


In my /usr/lib directory are
libjs_static.a
libmozjs.so

There is no libjs.so or variant in /usr/lib
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 7398
Location: Somewhere over Atlanta, Georgia

PostPosted: Fri Apr 29, 2011 2:14 pm    Post subject: Reply with quote

Okay, thanks. Could you post the output of
Code:
equery list -p -e xulrunner
and also
Code:
md5sum /usr/portage/media-video/gpac/gpac-0.4.5-r1.ebuild
please?

- John
_________________
This space intentionally left blank.
Back to top
View user's profile Send private message
AllanS
n00b
n00b


Joined: 19 Oct 2006
Posts: 45

PostPosted: Sat Apr 30, 2011 2:23 am    Post subject: Reply with quote

Of course!

Code:

galactica ~ # equery list -p -e xulrunner
[ Searching for package 'xulrunner' in all categories among: ]
 * installed packages
[I--] [  ] net-libs/xulrunner-1.9.2.16 (1.9)
 * Portage tree (/usr/portage)
[-P-] [  ] net-libs/xulrunner-1.9.2.12 (1.9)
[-P-] [  ] net-libs/xulrunner-1.9.2.15 (1.9)
[-P-] [M~] net-libs/xulrunner-2.0-r1 (1.9)
galactica ~ # md5sum /usr/portage/media-video/gpac/gpac-0.4.5-r1.ebuild
86ddb2181757dc5ef307db78fd2ecedd  /usr/portage/media-video/gpac/gpac-0.4.5-r1.ebuild
galactica ~ #


And thank you!
Back to top
View user's profile Send private message
AllanS
n00b
n00b


Joined: 19 Oct 2006
Posts: 45

PostPosted: Tue May 03, 2011 1:41 pm    Post subject: Reply with quote

Bump again
Back to top
View user's profile Send private message
GlemSom
n00b
n00b


Joined: 26 Oct 2004
Posts: 31

PostPosted: Mon May 09, 2011 9:10 am    Post subject: Reply with quote

Same with net-libs/xulrunner-1.9.2.17
Back to top
View user's profile Send private message
krinn
Advocate
Advocate


Joined: 02 May 2003
Posts: 3907

PostPosted: Mon May 09, 2011 10:03 am    Post subject: Reply with quote

if you knew libmozjs.so = libjs.so and libjs.so is still missing, why don't you just symlink it ?
Back to top
View user's profile Send private message
AllanS
n00b
n00b


Joined: 19 Oct 2006
Posts: 45

PostPosted: Mon May 09, 2011 1:12 pm    Post subject: Reply with quote

krinn wrote:
if you knew libmozjs.so = libjs.so and libjs.so is still missing, why don't you just symlink it ?


If Gentoo new that libmozjs.so = libjs.so then why not fix the ebuild?

I am trying to avoid unnecessary and cluttering symlinks when the problem is with the packages and the ebuilds used to build them. What do I do with these symlinks when the problem is fixed? What happens if my symlinks collide with future package changes?

Yes, this is my system. But I've assigned relative ownership of /usr/bin and /bin and /usr/lib to Gentoo. The /usr/local hierarchy is mine. This avoids collisions but still allows packages that are not supported by Gentoo to be used on my system.

All I want is a consistent, functioning Gentoo portion of my system. Currently, there is a problem.
Back to top
View user's profile Send private message
relkai
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jun 2004
Posts: 96
Location: Hamburg, Germany

PostPosted: Mon May 09, 2011 3:38 pm    Post subject: Reply with quote

I'm in the same boat - emerge of media-video/gpac fails during revdep-rebuild.
I already created the symlink to the new libmozjs.so and revdep-rebuild doesn't complain about gpac to be broken anymore.

To be honest, I'm very sure, I'm going to forget about this symlink in about a month and I would also prefer an ebuild based solution.
_________________
Server: Pentium D-3,2GHz / 2 GB DDR-RAM / TerraTec Cynergy 1400 DVB-T
Notebook: IBM Thinkpad T60 / Core 2 Duo 2,2GHz / 2GB DDR-RAM / Intel 945GM
MythTV Box: Zotac ZBOX HD-ID33 1,8GHz / 2 GB DDR2-RAM / 32GB SSD-HDD
Back to top
View user's profile Send private message
krinn
Advocate
Advocate


Joined: 02 May 2003
Posts: 3907

PostPosted: Mon May 09, 2011 6:56 pm    Post subject: Reply with quote

+ well you know the problem
+ you know the solve too

but forum isn't the right place then, bugs.gentoo.org and report it with solve and the dev will be happy (i suppose) to add your solve then.
Back to top
View user's profile Send private message
relkai
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jun 2004
Posts: 96
Location: Hamburg, Germany

PostPosted: Mon May 09, 2011 9:54 pm    Post subject: Reply with quote

Of course you're right.
I'll file a bug report for this issue.
_________________
Server: Pentium D-3,2GHz / 2 GB DDR-RAM / TerraTec Cynergy 1400 DVB-T
Notebook: IBM Thinkpad T60 / Core 2 Duo 2,2GHz / 2GB DDR-RAM / Intel 945GM
MythTV Box: Zotac ZBOX HD-ID33 1,8GHz / 2 GB DDR2-RAM / 32GB SSD-HDD
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 7398
Location: Somewhere over Atlanta, Georgia

PostPosted: Mon May 09, 2011 11:02 pm    Post subject: Reply with quote

Except that it's more complicated than that. The exact same version compiles just fine for me. Looking for root cause is a worthwhile exercise.

- John
_________________
This space intentionally left blank.
Back to top
View user's profile Send private message
AllanS
n00b
n00b


Joined: 19 Oct 2006
Posts: 45

PostPosted: Thu May 12, 2011 12:58 am    Post subject: Reply with quote

I have figured it out. The latest version of gpac is 0.4.5-r1 although there is a masked version 0.4.5-r4. The latest version 0.4.5-r1 uses a few tests in the configure script to determine which JavaScript library to use. Unfortunately, the tests it uses are flawed and does not take into account the Gentoo SpiderMonkey configuration. See configure near line 468. Thus it uses the defaults and fails.

Now the masked 0.4.5-r4 version of configure is more clever and actually has a proper Gentoo SpiderMonkey test which works. See its configure near line 500 for the proper test.

Thus it seems we need gpac version 0.4.5-r4, yet it is masked. Any idea as to why it is masked? I dislike unmasking something that the Gentoo team sees fit to mask (i.e. there must be a reason).

-Allan
Back to top
View user's profile Send private message
ssuominen
Developer
Developer


Joined: 30 Sep 2005
Posts: 2000
Location: Finland

PostPosted: Thu May 12, 2011 6:01 pm    Post subject: Reply with quote

AllanS wrote:
I have figured it out. The latest version of gpac is 0.4.5-r1 although there is a masked version 0.4.5-r4. The latest version 0.4.5-r1 uses a few tests in the configure script to determine which JavaScript library to use. Unfortunately, the tests it uses are flawed and does not take into account the Gentoo SpiderMonkey configuration. See configure near line 468. Thus it uses the defaults and fails.

Now the masked 0.4.5-r4 version of configure is more clever and actually has a proper Gentoo SpiderMonkey test which works. See its configure near line 500 for the proper test.

Thus it seems we need gpac version 0.4.5-r4, yet it is masked. Any idea as to why it is masked? I dislike unmasking something that the Gentoo team sees fit to mask (i.e. there must be a reason).

-Allan


No other reason than it's been simply missed. File a stabilization request bug at http://bugs.gentoo.org/

And even if there are issues preventing it's stabilization, the bug will be the required push to get those sorted out. To let maintainers, as well as developers responsible for stabilizations know about it... Obviously nothing will happen if you don't let anyone know (only small percentage of developers read the forums)
Back to top
View user's profile Send private message
AllanS
n00b
n00b


Joined: 19 Oct 2006
Posts: 45

PostPosted: Fri May 13, 2011 1:15 am    Post subject: Reply with quote

http://bugs.gentoo.org/show_bug.cgi?id=367039
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum