Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 461962 - =media-video/avidemux-2.6.2 - ERROR CLI UI requested, but cannot find header file for avidemux/cli...disabling it
Summary: =media-video/avidemux-2.6.2 - ERROR CLI UI requested, but cannot find header ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Tom Wijsman (TomWij) (RETIRED)
URL:
Whiteboard:
Keywords:
: 461970 462076 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-03-16 23:27 UTC by Peter Norman
Modified: 2013-03-20 13:54 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
complete build.log (avidemux.log.xz,52.05 KB, application/x-xz)
2013-03-17 11:48 UTC, Haze
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Norman 2013-03-16 23:27:50 UTC
make -j1 DESTDIR=/var/tmp/portage/media-video/avidemux-2.6.2/image/ preinstall 
/usr/bin/cmake -H/var/tmp/portage/media-video/avidemux-2.6.2/work/avidemux_2.6.2/avidemux_plugins e/media-video/avidemux-2.6.2/work/avidemux_2.6.2/buildPluginsGtk --check-build-system CMakeFiles/M
/usr/bin/cmake -E cmake_progress_start /var/tmp/portage/media-video/avidemux-2.6.2/work/avidemux_2Gtk/CMakeFiles /var/tmp/portage/media-video/avidemux-2.6.2/work/avidemux_2.6.2/buildPluginsGtk/CMamarks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory `/var/tmp/portage/media-video/avidemux-2.6.2/work/avidemux_2.6.2/build
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/media-video/avidemux-2.6.2/work/avidemux_2.6.2/buildP
/usr/bin/cmake -E cmake_progress_start /var/tmp/portage/media-video/avidemux-2.6.2/work/avidemux_2Gtk/CMakeFiles 0
make -f CMakeFiles/Makefile2 preinstall
make[1]: Entering directory `/var/tmp/portage/media-video/avidemux-2.6.2/work/avidemux_2.6.2/build
make[1]: Nothing to be done for `preinstall'.
make[1]: Leaving directory `/var/tmp/portage/media-video/avidemux-2.6.2/work/avidemux_2.6.2/buildP
chmod: cannot access '/var/tmp/portage/media-video/avidemux-2.6.2/image//usr/bin/avidemux3_jobs': irectory


Reproducible: Always
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-03-17 00:31:24 UTC
1) Please post the output of `emerge --info =media-video/avidemux-2.6.2`.
2) Please attach the complete build.log to this bug.
Comment 2 Haze 2013-03-17 03:57:30 UTC
Same error here on ~amd64.

Complete build.log is very so big (3,4Mo) for paste here or on pastebin, so I put a long part of it here >

http://pastebin.com/3d9gwLPc

----------------------------------
emerge --info > 

Portage 2.2.0_alpha166 (default/linux/amd64/13.0, gcc-4.7.2, glibc-2.16.0, 3.7.10-ck64_Bits x86_64)
=================================================================
System uname: Linux-3.7.10-ck64_Bits-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q8400_@_2.66GHz-with-gentoo-2.2
KiB Mem:     4943056 total,    596764 free
KiB Swap:    9936160 total,   9936160 free
Timestamp of tree: Fri, 15 Mar 2013 00:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.6.8-r1, 2.7.3-r3, 3.2.3-r2
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.7.9-r2, 1.9.6-r3, 1.11.6, 1.12.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.5.4, 4.6.3, 4.7.2-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.8 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo local enlightenment
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc/X11/gdm/* /etc/X11/gdm/custom.conf /etc/conf.d/consolefont /etc/conf.d/distccd /etc/conf.d/hddtemp /etc/conf.d/hostname /etc/conf.d/hwclock /etc/conf.d/keymaps /etc/conf.d/linux-logo /etc/conf.d/net /etc/conf.d/xdm /etc/entrance_config.cfg /etc/exports /etc/gateway6/gw6c.conf /etc/locale.gen /etc/metalog.conf /etc/modules.d/alsa /etc/mpd.conf /etc/nanorc /etc/rc.conf /etc/rsyncd.conf /etc/sudoers"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/rc.d /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/wget"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/mnt/distfiles"
EMERGE_DEFAULT_OPTS=" --keep-going y --load-average=10"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildsyspkg ccache config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/			ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/				http://dside.dyndns.org/files/rusxmms/					ftp://gentoo.arcticnetwork.ca/pub/gentoo/		          	ftp://mirror.switch.ch/mirror/gentoo/   					ftp://ftp.solnet.ch/mirror/Gentoo						ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo   				ftp://ftp.tu-clausthal.de/pub/linux/gentoo/   				ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/			ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo/ 				ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/				http://open-systems.ufl.edu/mirrors/gentoo 				http://gentoo.mirrors.easynews.com/linux/gentoo/ 		        ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/	\ 			 	        http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="fr_FR.utf8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/mnt/quickpkg"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/mnt/tmpfs"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/layman/enlightenment"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac alsa amd64 avahi avi bash-completion bzip2 cairo cdr cdrom cups dbus directfb dri dvd dvdr encode fbcon ffmpeg flac flash fontconfig gif glib gnome gnutls gpm gstreamer gtk imap introspection jpeg maildir mailwrapper mp3 mpeg multilib ncurses network nls ogg opengl oss png rar readline ssl svg taglib tcl threads tiff tk truetype truetype-fonts unicode usb vcd vorbis wavpack xcb xcomposite xft xpm zip zlib" ABI_X86="32 64" ALSA_CARDS="intel8x0 intel8x0m hda-intel" ALSA_PCM_PLUGINS="dsnoop dmix multi share plug route asym softvol extplug ioplug rate copy dshare empty hooks file shm mmap_emul iec958" CAMERAS="canon" CURL_SSL="openssl" ELIBC="glibc" INPUT_DEVICES="evdev virtualbox joystick" KERNEL="linux" LINGUAS="fr" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="hp hpsj5s hp3500 hpljm1005 net" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 3 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2013-03-17 06:06:20 UTC
do NOT CC arch teams, please
Comment 4 Sergey Popov (RETIRED) gentoo-dev 2013-03-17 06:20:35 UTC
(In reply to comment #2)
> Complete build.log is very so big (3,4Mo) for paste here or on pastebin

Compress it and attach here, please
Comment 5 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-03-17 08:40:12 UTC
This isn't PMASKED in CVS, removing that keyword.

So, I notice this in your log that isn't in mine:

> -- Checking for CLI
> -- ****************
> -- Checking for avidemux/cli includes and lib...
> -- It should be /usr/include/avidemux/2.6/cli/config.h
> -- Include for cli not found
> ERROR CLI UI requested, but cannot find header file for avidemux/cli...disabling it

 # equery b /usr/include/avidemux/2.6/cli/config.h
 * Searching for /usr/include/avidemux/2.6/cli/config.h ... 
media-video/avidemux-2.6.2 (/usr/include/avidemux/2.6/cli/config.h)

 # emerge -C media-video/avidemux
...
>>> Unmerging (1 of 1) media-video/avidemux-2.6.2...
...

 # ls /usr/include/avidemux/2.6/cli/config.h
ls: cannot access /usr/include/avidemux/2.6/cli/config.h: No such file or directory

 # emerge =media-video/avidemux-2.6.2
...
>>> Emerging (1 of 1) media-video/avidemux-2.6.2
>>> Installing (1 of 1) media-video/avidemux-2.6.2
>>> Jobs: 1 of 1 complete    Load avg: 8.06, 6.35, 5.31

As you can see, I can't reproduce this so I will need the full build log so I can compare the differences in it.

Here are the steps to attach it:

1) cp /var/log/portage/elog/media-video:avidemux-2.6.2:20130317-031226.log /tmp/avidemux.log
2) cd /tmp && xz avidemux.log
3) Above the comments you will find a Attachments box, click on "Add an attachment" then browse to /tmp/avidemux.log.xz and attach it.

Meanwhile, I'll check if the file is present before changing its permissions; consider this partially fixed.

> -	fperms +x /usr/bin/avidemux3_cli
> -	fperms +x /usr/bin/avidemux3_jobs
> +	if [[ -f "${ED}"/usr/bin/avidemux3_cli ]] ; then
> +		fperms +x /usr/bin/avidemux3_cli
> +	fi
> +
> +	if [[ -f "${ED}"/usr/bin/avidemux3_jobs ]] ; then
> +		fperms +x /usr/bin/avidemux3_jobs
> +	fi

+  17 Mar 2013; Tom Wijsman <TomWij@gentoo.org> avidemux-2.6.2.ebuild:
+  Check for presence of file before changing its permissions. Bug #461962,
+  reported by Peter Norman, thanks.
Comment 6 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-03-17 08:42:21 UTC
*** Bug 461970 has been marked as a duplicate of this bug. ***
Comment 7 Haze 2013-03-17 11:48:55 UTC
Created attachment 342362 [details]
complete build.log

Hi
Ok thanks for information and sorry for my errors..
Comment 8 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-03-17 14:23:48 UTC
Odd; so, I'm forcing these checks to pass for now.

+  17 Mar 2013; Tom Wijsman <TomWij@gentoo.org>
+  +files/avidemux-2.6.2-config-h.patch, avidemux-2.6.2.ebuild:
+  Forcing config.h checks to pass, checked that without avidemux present it
+  compiles for me (and others). This is an attempt to fix bug #461962 reported
+  by Peter Norman.
Comment 9 Haze 2013-03-17 19:17:16 UTC
Thanks a lot it compile fine now. ;)

Bests regards
Comment 10 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-03-17 19:31:08 UTC
Thank you for your confirmation as well, I am glad it are just those checks failing.
Comment 11 James 2013-03-18 23:22:00 UTC
This patch breaks avidemux-2.6.2 compilation on my system.

Bug:
https://bugs.gentoo.org/show_bug.cgi?id=462098
Comment 12 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-03-20 13:54:12 UTC
*** Bug 462076 has been marked as a duplicate of this bug. ***