Hi Dale,

CFLAGS can't have an effect on dependencies. It is passed to make; emerge
doesn't use it. Emerge does use CPU_FLAGS_*, but I don't know if those
flags are used for any conditional dependencies.

Regards,
Waldo

On Mon, Apr 29, 2024, 07:07 Dale <rdalek1...@gmail.com> wrote:

> Dale wrote:
> > Howdy,
> >
> > I'm installing Gentoo on that old Dell Inspiron still.  I'm getting
> > close.  I'm now at this.
> >
> >
> >  * Error: circular dependencies:
> >
> > (media-plugins/frei0r-plugins-1.8.0:0/0::gentoo, ebuild scheduled for
> > merge) depends on
> >  (media-libs/opencv-4.9.0:0/4.9.0::gentoo, ebuild scheduled for merge)
> > (buildtime_slot_op)
> >   (media-video/ffmpeg-6.1.1-r5:0/58.60.60::gentoo, ebuild scheduled for
> > merge) (buildtime_slot_op)
> >    (media-plugins/frei0r-plugins-1.8.0:0/0::gentoo, ebuild scheduled for
> > merge) (buildtime)
> >
> > It might be possible to break this cycle
> > by applying any of the following changes:
> > - media-video/ffmpeg-6.1.1-r5 (Change USE: -frei0r)
> > - media-plugins/frei0r-plugins-1.8.0 (Change USE: -facedetect)
> > - media-libs/opencv-4.9.0 (Change USE: -ffmpeg)
> >
> > Note that this change can be reverted, once the package has been
> installed.
> > NAS2 ~ #
> >
> >
> > Earlier, I added those USE flags so that it could continue on with the
> > install.  I figured it was like that harfbuzz and something else thing.
> > Now that everything else is done, I want to go back to the default USE
> > flags, like it said I could.  Thing is, when I remove the ones it wants
> > above, it still complains.  It either fails to build or spits out
> > something like above.
> >
> > Has anyone doing a recent new install ran into this and know how to get
> > around it?  I've tried different options but they either fail or tell me
> > to change back to the settings it suggests above.  I searched the forums
> > but didn't find anything.  Google didn't find anything either.  I may
> > have found something new.  ROFL
> >
> > Thoughts??
> >
> > Dale
> >
> > :-)  :-)
>
>
> Found a solution for most of it.  When I did my install, I added a line
> for CFLAGS but failed to comment out the other line.  It seems to have
> confused either emerge or that package or maybe both.  Basically, it
> left it empty, no setting at all.
>
> Now I'm left with a failure for net-dns/avahi which gives me this:
>
>
> sed -e 's,@pkgsysconfdir\@,/etc/avahi,g' \
>         -e 's,@servicedir\@,/etc/avahi/services,g' \
>         -e 's,@PACKAGE_BUGREPORT\@,avahi (at) lists (dot) freedesktop
> (dot) org,g' \
>         -e 's,@PACKAGE_URL\@,http://avahi.org/,g'
> avahi-discover.1.xml.in > avahi-discover.1.xml
> sed -e 's,@pkgsysconfdir\@,/etc/avahi,g' \
>         -e 's,@servicedir\@,/etc/avahi/services,g' \
>         -e 's,@PACKAGE_BUGREPORT\@,avahi (at) lists (dot) freedesktop
> (dot) org,g' \
>         -e 's,@PACKAGE_URL\@,http://avahi.org/,g'
> avahi-bookmarks.1.xml.in > avahi-bookmarks.1.xml
> sed -e 's,@pkgsysconfdir\@,/etc/avahi,g' \
>         -e 's,@servicedir\@,/etc/avahi/services,g' \
>         -e 's,@PACKAGE_BUGREPORT\@,avahi (at) lists (dot) freedesktop
> (dot) org,g' \
>         -e 's,@PACKAGE_URL\@,http://avahi.org/,g' bssh.1.xml.in >
> bssh.1.xml
> xmltoman avahi-daemon.8.xml > avahi-daemon.8
> Can't locate XML/Parser.pm in @INC (you may need to install the
> XML::Parser module) (@INC entries checked: /etc/perl
> /usr/local/lib64/perl5/5.38/x86_64-linux-thread-multi
> /usr/local/lib64/perl5/5.38
> /usr/lib64/perl5/vendor_perl/5.38/x86_64-linux-thread-multi
> /usr/lib64/perl5/vendor_perl/5.38
> /usr/lib64/perl5/5.38/x86_64-linux-thread-multi /usr/lib64/perl5/5.38)
> at /usr/bin/xmltoman line 22.
> BEGIN failed--compilation aborted at /usr/bin/xmltoman line 22.
> make[2]: *** [Makefile:861: avahi-daemon.8] Error 2
> make[2]: Leaving directory
> '/var/tmp/portage/net-dns/avahi-0.8-r7/work/avahi-0.8-abi_x86_64.amd64/man'
> make[1]: *** [Makefile:826: all-recursive] Error 1
> make[1]: Leaving directory
> '/var/tmp/portage/net-dns/avahi-0.8-r7/work/avahi-0.8-abi_x86_64.amd64'
> make: *** [Makefile:736: all] Error 2
>  * ERROR: net-dns/avahi-0.8-r7::gentoo failed (compile phase):
>  *   emake failed
>
>
>
> I'll go dig, maybe try another version or something.
>
> I wonder why emerge or something didn't point out basically a empty
> setting for CFLAG.  Odd.
>
> Dale
>
> :-)  :-)
>
>

Reply via email to