Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 447398 - app-admin/system-config-printer-common-1.3.12 fails to build: udev-configure-printer.c: undefined reference to udev_enumerate_add_match_parent
Summary: app-admin/system-config-printer-common-1.3.12 fails to build: udev-configure-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Maciej Mrozowski
URL: http://wklej.org/id/898220/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-15 21:04 UTC by Tomasz
Modified: 2012-12-15 22:18 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz 2012-12-15 21:04:02 UTC
error to install gnome3

Reproducible: Always

Steps to Reproduce:
1.revdep-rebuild
2. maske package 
3.



gentoo ~amd

proflie gnome
Comment 1 Tomasz 2012-12-15 21:04:32 UTC
>>> Emerging (2 of 11) app-admin/system-config-printer-common-1.3.12
 * system-config-printer-1.3.12.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...                                   [ ok ]
>>> Unpacking source...
>>> Unpacking system-config-printer-1.3.12.tar.xz to /var/tmp/portage/app-admin/system-config-printer-common-1.3.12/work
>>> Source unpacked in /var/tmp/portage/app-admin/system-config-printer-common-1.3.12/work
>>> Preparing source in /var/tmp/portage/app-admin/system-config-printer-common-1.3.12/work/system-config-printer-1.3.12 ...
 * Applying system-config-printer-common-1.3.12-split.patch ...                                               [ ok ]
 * Running eautoreconf in '/var/tmp/portage/app-admin/system-config-printer-common-1.3.12/work/system-config-printer-1.3.12' ...
 * Running intltoolize --automake --copy --force ...                                                          [ ok ]
 * Running aclocal ...                                                                                        [ ok ]
 * Running autoconf ...                                                                                       [ ok ]
 * Running automake --add-missing --copy ...                                                                  [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-admin/system-config-printer-common-1.3.12/work/system-config-printer-1.3.12 ...
 * econf: updating system-config-printer-1.3.12/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating system-config-printer-1.3.12/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-dependency-tracking --disable-nls --with-udev-rules
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether NLS is requested... no
checking for style of include used by make... GNU
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.16.1
checking for XML::Parser... ok
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for gmsgfmt... (cached) /usr/bin/gmsgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for msgmerge... (cached) /usr/bin/msgmerge
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for ld used by GCC... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking whether to use NLS... no
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}/lib64/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages
checking for x86_64-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... yes
checking for libudev... yes
checking for libusb... yes
checking whether x86_64-pc-linux-gnu-gcc and cc understand -c and -o together... yes
checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating system-config-printer
config.status: creating system-config-printer-applet
config.status: creating dbus/scp-dbus-service
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing po/stamp-it commands
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-admin/system-config-printer-common-1.3.12/work/system-config-printer-1.3.12 ...
make -j5 
Making all in po
make[1]: Entering directory `/var/tmp/portage/app-admin/system-config-printer-common-1.3.12/work/system-config-printer-1.3.12/po'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/app-admin/system-config-printer-common-1.3.12/work/system-config-printer-1.3.12/po'
make[1]: Entering directory `/var/tmp/portage/app-admin/system-config-printer-common-1.3.12/work/system-config-printer-1.3.12'
sed \
  -e "s|\@prefix\@|/usr|" \
  -e "s|\@datadir\@|/usr/share|" \
  -e "s|\@localedir\@|/usr/share/locale|" \
  -e "s|\@VERSION\@|1.3.12|" \
  -e "s|\@PACKAGE\@|system-config-printer|" \
  config.py.in > config.py
if [ "." != "." ]; then	\
	cp ./setup.py .;			\
	/bin/mkdir -p cupshelpers;				\
	for file in cupshelpers/__init__.py cupshelpers/cupshelpers.py cupshelpers/installdriver.py cupshelpers/ppds.py cupshelpers/openprinting.py cupshelpers/xmldriverprefs.py; do		\
		cp ./$file $file;		\
	done;						\
fi
/bin/mkdir -p cupshelpers
sed \
  -e "s|\@prefix\@|/usr|" \
  -e "s|\@sysconfdir\@|/etc|" \
  -e "s|\@cupsserverbindir\@|/usr/libexec/cups|" \
  cupshelpers/config.py.in > cupshelpers/config.py
touch .stamp-distutils-in-builddir
x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"system-config-printer\" -DPACKAGE_TARNAME=\"system-config-printer\" -DPACKAGE_VERSION=\"1.3.12\" -DPACKAGE_STRING=\"system-config-printer\ 1.3.12\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"system-config-printer\" -DVERSION=\"1.3.12\" -I.      -I/usr/include/libusb-1.0   -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -march=core2 -mtune=generic -O2 -pipe -c -o udev/udev_udev_configure_printer-udev-configure-printer.o `test -f 'udev/udev-configure-printer.c' || echo './'`udev/udev-configure-printer.c
/usr/bin/python setup.py build
running build
running build_py
creating build
creating build/lib
creating build/lib/cupshelpers
copying cupshelpers/config.py -> build/lib/cupshelpers
copying cupshelpers/installdriver.py -> build/lib/cupshelpers
copying cupshelpers/__init__.py -> build/lib/cupshelpers
copying cupshelpers/ppds.py -> build/lib/cupshelpers
copying cupshelpers/cupshelpers.py -> build/lib/cupshelpers
copying cupshelpers/xmldriverprefs.py -> build/lib/cupshelpers
copying cupshelpers/openprinting.py -> build/lib/cupshelpers
warning: build_py: byte-compiling is disabled, skipping.

x86_64-pc-linux-gnu-gcc   -I/usr/include/libusb-1.0   -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -march=core2 -mtune=generic -O2 -pipe  -Wl,-O1 -o udev/udev-configure-printer udev/udev_udev_configure_printer-udev-configure-printer.o -lcups -ludev -lrt   -lusb-1.0   -lglib-2.0   
udev/udev_udev_configure_printer-udev-configure-printer.o: In function `do_add':
udev-configure-printer.c:(.text+0x2a41): undefined reference to `udev_enumerate_add_match_parent'
collect2: ld returned 1 exit status
make[1]: *** [udev/udev-configure-printer] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-admin/system-config-printer-common-1.3.12/work/system-config-printer-1.3.12'
make: *** [all-recursive] Error 1
 * ERROR: app-admin/system-config-printer-common-1.3.12 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=app-admin/system-config-printer-common-1.3.12'`,
 * the complete build log and the output of `emerge -pqv '=app-admin/system-config-printer-common-1.3.12'`.
 * The complete build log is located at '/var/tmp/portage/app-admin/system-config-printer-common-1.3.12/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-admin/system-config-printer-common-1.3.12/temp/environment'.
 * Working directory: '/var/tmp/portage/app-admin/system-config-printer-common-1.3.12/work/system-config-printer-1.3.12'
 * S: '/var/tmp/portage/app-admin/system-config-printer-common-1.3.12/work/system-config-printer-1.3.12'

>>> Failed to emerge app-admin/system-config-printer-common-1.3.12, Log file:

>>>  '/var/tmp/portage/app-admin/system-config-printer-common-1.3.12/temp/build.log'

 * Messages for package app-admin/system-config-printer-common-1.3.12:

 * ERROR: app-admin/system-config-printer-common-1.3.12 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=app-admin/system-config-printer-common-1.3.12'`,
 * the complete build log and the output of `emerge -pqv '=app-admin/system-config-printer-common-1.3.12'`.
 * The complete build log is located at '/var/tmp/portage/app-admin/system-config-printer-common-1.3.12/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-admin/system-config-printer-common-1.3.12/temp/environment'.
 * Working directory: '/var/tmp/portage/app-admin/system-config-printer-common-1.3.12/work/system-config-printer-1.3.12'
 * S: '/var/tmp/portage/app-admin/system-config-printer-common-1.3.12/work/system-config-printer-1.3.12'

 * GNU info directory index is up-to-date.

 * IMPORTANT: 7 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

 * After world updates, it is important to remove obsolete packages with
 * emerge --depclean. Refer to `man emerge` for more information.
localhost asqard #
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-12-15 21:40:12 UTC
Please attach the output of "emerge --info sys-fs/udev"

Try updating to the latest ~amd64 version of sys-fs/udev (currently 196-r1).
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-12-15 21:47:02 UTC
I now understand what happened: the udev_enumerate_add_match_parent() function was only added in sys-fs/udev-172, but the system-config-printer-common-1.3.12 ebuild depends on >=udev-172.

If you had udev-171 installed, you would encounter this error.

So please update to udev-196-r1, it should fix the problem for you.

>  15 Dec 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
>  system-config-printer-common-1.3.12.ebuild:
>  Depend on >=udev-172 for udev_enumerate_add_match_parent() (bug #447398,
>  thanks to Tomasz).
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-12-15 21:47:49 UTC
(In reply to comment #3)
> system-config-printer-common-1.3.12 ebuild depends on >=udev-172.

Meant to say: "depends on >=udev-171"
Comment 5 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-12-15 22:18:59 UTC
Reported upstream at https://fedorahosted.org/system-config-printer/ticket/228