Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 430482 - app-admin/system-config-printer-common with >=sys-fs/udev-187 - udev/udev_udev_configure_printer-udev-configure-printer.o: In function `device_id_from_devpath': udev-configure-printer.c:(.text+0xefe): undefined reference to `udev_get_sys_path'
Summary: app-admin/system-config-printer-common with >=sys-fs/udev-187 - udev/udev_ude...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Maciej Mrozowski
URL:
Whiteboard:
Keywords: PATCH
: 435790 (view as bug list)
Depends on: 435072
Blocks: 411627
  Show dependency tree
 
Reported: 2012-08-08 18:27 UTC by Francesco Riosa
Modified: 2012-09-25 19:22 UTC (History)
7 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 Francesco Riosa 2012-08-08 18:27:56 UTC
app-admin/system-config-printer-common fail because "udev_get_sys_path" has been removed from systemd udev, upstream seem to have already fixed the problem in

https://fedorahosted.org/system-config-printer/browser/udev/udev-configure-printer.c?order=name

while latest released version 1.3.9 has it:

https://fedorahosted.org/system-config-printer/browser/udev/udev-configure-printer.c?rev=e85a54e3d633dc12aa2f905801a4c415b4cf3f25

the function simply return a cstring with the "/sys" path.
Comment 1 Francesco Riosa 2012-08-08 18:28:13 UTC
Portage 2.2.0_alpha120 (default/linux/amd64/10.0, gcc-4.6.3, glibc-2.15-r2, 3.4.1-vs2.3.3.4 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.4.1-vs2.3.3.4-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.1
Timestamp of tree: Wed, 08 Aug 2012 18:00:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [enabled]
ccache version 3.1.7 [disabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3, 4.7.1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo vivovl mysql
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=corei7-avx -pipe -frecord-gcc-switches -mno-movbe -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=corei7-avx -fgcse-after-reload -fpredictive-commoning -ftree-vectorize -funswitch-loops -fgraphite-identity -floop-block -floop-interchange -floop-strip-mine  -ggdb -gdwarf-4 -fvar-tracking-assignments"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=corei7-avx -pipe -frecord-gcc-switches -mno-movbe -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=corei7-avx -fgcse-after-reload -fpredictive-commoning -ftree-vectorize -funswitch-loops -fgraphite-identity -floop-block -floop-interchange -floop-strip-mine  -ggdb -gdwarf-4 -fvar-tracking-assignments -fvisibility-inlines-hidden"
DISTDIR="/g/distfiles"
EMERGE_DEFAULT_OPTS="--ask-enter-invalid --quiet-build=y --buildpkg-exclude=x11-drivers/nvidia-drivers --buildpkg-exclude=sys-power/bbswitch --buildpkg-exclude=app-emulation/virtualbox-modules --buildpkg-exclude=sys-fs/aufs3"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg compress-build-logs compressdebug config-protect-if-modified distcc distlocks ebuild-locks fail-clean fixlafiles installsources metadata-transfer news noinfo notitles parallel-fetch parallel-install parse-eapi-ebuild-head sandbox sfperms splitdebug strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.lagis.at/ http://mirror.qubenet.net/mirror/gentoo/"
INSTALL_MASK=" /usr/lib64/elektra/*.la /usr/lib64/libelektra*.la /usr/lib64/libo{{,sp}grove,style}.la /lib/udev/rules.d/45-Argyll.rules /usr/lib64/terminfo/[0-9] "
LANG="it_IT@euro"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--sort-common -Wl,--no-copy-dt-needed-entries -Wl,--build-id "
LINGUAS="it"
MAKEOPTS="-j36"
PKGDIR="/g/packages"
PORTAGE_COMPRESS="lzma"
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="/var/tmp"
PORTDIR="/g/portage"
PORTDIR_OVERLAY="/g/ovl/tmp /g/ovl/mysql"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 avx berkdb bzip2 caps cli cracklib crypt cups curl cxx dbus dri exif ffmpeg flac fortran gdbm gpm iconv icu idn ipv6 jpeg kipi lcms lua lzma lzo modules mudflap multilib ncurses nls nptl opencl openexr opengl openmp pam pcre png pppd qt3support qt4 readline samba session sse sse2 sse3 sse4_1 ssl ssse3 static-libs svg systemd tcpd tiff unicode v4l vorbis xattr xcb xinerama xml zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir 
disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status userdir usertrack vhost_alias reqtimeout" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="krita" CAMERAS="ptp2 directory canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="bootchart mdraid syslog uswsusp caps" ELIBC="glibc" FFTOOLS="aviocat cws2fws ffeval ismindex pktdumper qt-faststart trasher" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="pc efi-64" INPUT_DEVICES="keyboard mouse evdev wacom synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="
it" PHP_TARGETS="php5-3" PYTHON_TARGETS="pypy1_9 python2_7" QEMU_SOFTMMU_TARGETS="arm x86_64" QEMU_USER_TARGETS="arm x86_64" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="hp4200 net ricoh" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia radeon r300 r600 r700 r800 intel modesetting" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Francesco Riosa 2012-08-08 18:28:37 UTC

[ebuild     UD] app-admin/system-config-printer-common-1.3.9-r2 [1.3.9-r4] USE="policykit -doc" 





 * Package:    app-admin/system-config-printer-common-1.3.9-r2
 * Repository: gentoo
 * Maintainer: reavertm@gentoo.org kde@gentoo.org,gnome@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib policykit userland_GNU
 * FEATURES:   compressdebug distcc installsources sandbox splitdebug
>>> Unpacking source...
>>> Unpacking system-config-printer-1.3.9.tar.xz to /var/tmp/portage/app-admin/system-config-printer-common-1.3.9-r2/work
>>> Source unpacked in /var/tmp/portage/app-admin/system-config-printer-common-1.3.9-r2/work
>>> Preparing source in /var/tmp/portage/app-admin/system-config-printer-common-1.3.9-r2/work/system-config-printer-1.3.9 ...
 * Applying system-config-printer-common-1.3.9-split.patch ...
 [ ok ]
 * Applying system-config-printer-common-1.3.9-cups_filters_path.patch ...
 [ ok ]
 * Running eautoreconf in '/var/tmp/portage/app-admin/system-config-printer-common-1.3.9-r2/work/system-config-printer-1.3.9' ...
 * 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.9-r2/work/system-config-printer-1.3.9 ...
 * econf: updating system-config-printer-1.3.9/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating system-config-printer-1.3.9/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-nls --with-udev-rules
configure: loading site script /usr/share/config.site
configure: loading site script /usr/share/crossdev/include/site/linux
configure: loading site script /usr/share/crossdev/include/site/linux-gnu
configure: loading site script /usr/share/crossdev/include/site/x86_64-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/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... gcc3
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.12.4
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... /usr/bin/grep
checking for egrep... /usr/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.9-r2/work/system-config-printer-1.3.9 ...
make -j36 
Making all in po
make[1]: Entering directory `/var/tmp/portage/app-admin/system-config-printer-common-1.3.9-r2/work/system-config-printer-1.3.9/po'
make[1]: Nessuna operazione da eseguire per «all».
make[1]: Leaving directory `/var/tmp/portage/app-admin/system-config-printer-common-1.3.9-r2/work/system-config-printer-1.3.9/po'
make[1]: Entering directory `/var/tmp/portage/app-admin/system-config-printer-common-1.3.9-r2/work/system-config-printer-1.3.9'
sed \
  -e "s|\@prefix\@|/usr|" \
  -e "s|\@datadir\@|/usr/share|" \
  -e "s|\@localedir\@|/usr/share/locale|" \
  -e "s|\@VERSION\@|1.3.9|" \
  -e "s|\@PACKAGE\@|system-config-printer|" \
  config.py.in > config.py
sed -e 's,@udevhelperdir\@,/etc/udev,g' udev/udev-configure-printer.service.in > udev/udev-configure-printer.service
if [ "." != "." ]; then	\
	cp ./setup.py .;			\
	/usr/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
/usr/bin/mkdir -p cupshelpers
sed \
  -e "s|\@prefix\@|/usr|" \
  -e "s|\@sysconfdir\@|/etc|" \
  cupshelpers/config.py.in > cupshelpers/config.py
x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"system-config-printer\" -DPACKAGE_TARNAME=\"system-config-printer\" -DPACKAGE_VERSION=\"1.3.9\" -DPACKAGE_STRING=\"system-config-printer\ 1.3.9\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"system-config-printer\" -DVERSION=\"1.3.9\" -I.     -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -Wall -MT udev/udev_udev_configure_printer-udev-configure-printer.o -MD -MP -MF udev/.deps/udev_udev_configure_printer-udev-configure-printer.Tpo -c -o udev/udev_udev_configure_printer-udev-configure-printer.o `test -f 'udev/udev-configure-printer.c' || echo './'`udev/udev-configure-printer.c
touch .stamp-distutils-in-builddir
/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/cupshelpers.py -> build/lib/cupshelpers
copying cupshelpers/installdriver.py -> build/lib/cupshelpers
copying cupshelpers/ppds.py -> build/lib/cupshelpers
copying cupshelpers/__init__.py -> build/lib/cupshelpers
copying cupshelpers/openprinting.py -> build/lib/cupshelpers
copying cupshelpers/xmldriverprefs.py -> build/lib/cupshelpers
warning: build_py: byte-compiling is disabled, skipping.

udev/udev-configure-printer.c: In function 'device_id_from_devpath':
udev/udev-configure-printer.c:503:3: warning: implicit declaration of function 'udev_get_sys_path' [-Wimplicit-function-declaration]
udev/udev-configure-printer.c:503:7: warning: assignment makes pointer from integer without a cast [enabled by default]
mv -f udev/.deps/udev_udev_configure_printer-udev-configure-printer.Tpo udev/.deps/udev_udev_configure_printer-udev-configure-printer.Po
x86_64-pc-linux-gnu-gcc  -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -Wall  -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--sort-common -Wl,--no-copy-dt-needed-entries -Wl,--build-id  -o udev/udev-configure-printer udev/udev_udev_configure_printer-udev-configure-printer.o -lcups -ludev -lusb -lglib-2.0   
udev/udev_udev_configure_printer-udev-configure-printer.o: In function `device_id_from_devpath':
udev-configure-printer.c:(.text+0xefe): undefined reference to `udev_get_sys_path'
collect2: ld returned 1 exit status
make[1]: *** [udev/udev-configure-printer] Errore 1
make[1]: Leaving directory `/var/tmp/portage/app-admin/system-config-printer-common-1.3.9-r2/work/system-config-printer-1.3.9'
make: *** [all-recursive] Errore 1
emake failed
 * ERROR: app-admin/system-config-printer-common-1.3.9-r2 failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line  85:  Called src_compile
 *   environment, line 5546:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed";
 * 
 * If you need support, post the output of `emerge --info '=app-admin/system-config-printer-common-1.3.9-r2'`,
 * the complete build log and the output of `emerge -pqv '=app-admin/system-config-printer-common-1.3.9-r2'`.
 * The complete build log is located at '/var/log/portage/app-admin:system-config-printer-common-1.3.9-r2:20120808-181715.log.gz'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-admin/system-config-printer-common-1.3.9-r2/temp/build.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/app-admin/system-config-printer-common-1.3.9-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/app-admin/system-config-printer-common-1.3.9-r2/work/system-config-printer-1.3.9'
 * S: '/var/tmp/portage/app-admin/system-config-printer-common-1.3.9-r2/work/system-config-printer-1.3.9'
Comment 3 Daniel Peters 2012-08-11 13:33:18 UTC
app-admin/system-config-printer-common-1.3.11-r1 compiles without errors

FF,

Daniel
Comment 4 Lukas Oliva 2012-09-09 16:11:46 UTC
I see this problem too.
Comment 5 Michael Palimaka (kensington) gentoo-dev 2012-09-11 20:06:23 UTC
Any objections to stabilising 1.3.11-r1 in which this bug is fixed?
Comment 6 Pacho Ramos gentoo-dev 2012-09-12 19:04:38 UTC
(In reply to comment #5)
> Any objections to stabilising 1.3.11-r1 in which this bug is fixed?

Not from me, but wait a bit for other maintainers to confirm ;)
Comment 7 Attila Tóth 2012-09-12 19:34:07 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > Any objections to stabilising 1.3.11-r1 in which this bug is fixed?
> 
> Not from me, but wait a bit for other maintainers to confirm ;)

Confirmed. But wait: oh no, I'm not a maintainer...
Comment 8 Maciej Mrozowski gentoo-dev 2012-09-24 16:59:32 UTC
*** Bug 435790 has been marked as a duplicate of this bug. ***
Comment 9 Pacho Ramos gentoo-dev 2012-09-25 19:22:11 UTC
This is fixed in latest version that is going to stable already