Jump to content
  • 0
Sign in to follow this  
tsymiroro

gcc with gcj (for pdftk and impressive)

Question

I want to install app-text/pdftk and app-office/impressive.

 

They need a gcc compiled with gcj use-flag.

 

This is an issue in the bug tracker

https://bugs.funtoo.org/browse/FL-970

 

My question is:

how to install gcc-4.6.2-r1?

 

I think that it is possible to install these ebuild.

If not that they do in the portage tree?

 

# emerge -av pdftk impressive

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  NS    ] sys-devel/gcc-4.6.2-r1:4.6 [4.8.2-r3:4.8] USE="cxx gcj mudflap (multilib) nls nptl (-altivec) -awt -doc (-fixed-point) -fortran -graphite (-hardened) (-libssp) (-multislot) -nopie -nossp -objc -objc++ -objc-gc -openmp -regression-test -vanilla" 0 kB
[ebuild  N    #] app-text/pdftk-2.02  0 kB
[ebuild  N     ] app-office/impressive-0.10.5  PYTHON_TARGETS="python2_7" 0 kB

Total: 3 packages (2 new, 1 in new slot), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No]
 

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

pdftk is needed by app-office/impressive.

mcpdf can not really replace pdftk in this case.

 

The error message tell "install a gcc with gcj" (4.6 in new slot), but it fail when I want to do this.

 

My qyestion is how to install gcc-4.6.2-r1?

 

After installing app-text/mcpdf I have

 

# emerge -av impressive

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  NS    ] sys-devel/gcc-4.6.2-r1:4.6.2 [4.8.2-r3:4.8] USE="cxx gcj mudflap (multilib) nls nptl (-altivec) -awt -doc (-fixed-point) -fortran -graphite (-hardened) (-libssp) (-multislot) -nopie -nossp -objc -objc++ -objc-gc -openmp -regression-test -vanilla" 0 kB
[ebuild  N    #] app-text/pdftk-2.02  0 kB
[ebuild  N     ] app-office/impressive-0.10.5  PYTHON_TARGETS="python2_7" 0 kB
[blocks B      ] app-text/pdftk ("app-text/pdftk" is blocking app-text/mcpdf-0.2.1)

Total: 3 packages (2 new, 1 in new slot), Size of downloads: 0 kB
Conflict: 1 block (1 unsatisfied)
 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (app-text/mcpdf-0.2.1::gentoo, installed) pulled in by
    app-text/mcpdf required by @selected

  (app-text/pdftk-2.02::gentoo, ebuild scheduled for merge) pulled in by
    app-text/pdftk required by (app-office/impressive-0.10.5::gentoo, ebuild scheduled for merge)


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked


The following mask changes are necessary to proceed:
 (see "package.unmask" in the portage(5) man page for more details)
# required by app-office/impressive-0.10.5
# required by impressive (argument)
# /usr/portage/profiles/package.mask/funtoo-cautionary:
# Dantrell B. (10 Aug 2014)
# Depends on sys-devel/gcc[gcj] which newer versions of gcc in Funtoo do not have
#  Build against a version of gcc that does or use app-text/mcpdf instead
# Ref FL-970, FL-1351 and FL-1424
=app-text/pdftk-2.02

NOTE: The --autounmask-keep-masks option will prevent emerge
      from creating package.unmask or ** keyword changes.

Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT). Carefully examine the list of proposed changes,
paying special attention to mask or keyword changes that may expose
experimental or unstable packages.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...