Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 856328 - g-cpan generated modules fail to build....
Summary: g-cpan generated modules fail to build....
Status: RESOLVED DUPLICATE of bug 819513
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-03 22:23 UTC by Nico Baggus
Modified: 2022-07-03 22:25 UTC (History)
0 users

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 Nico Baggus 2022-07-03 22:23:24 UTC
1) g-cpan usess EAPI=5  which is not accepted anymore
2) g-cpan generated file with EAPI-6  fails to build any module


Reproducible: Always

Steps to Reproduce:
1.g-cpan -i WWW::Telegram::BotAPI
2.sed 's/EAPI=5/EAPI=6/'   "generated file"
3.ebuild " generated file" manifest
4) emerge -1 =perl-gcpan/WWW-Telegram-BotAPI-0.12
Actual Results:  
>>> Failed to emerge perl-gcpan/WWW-Telegram-BotAPI-0.12, Log file:
>>>  '/var/log/portage/perl-gcpan:WWW-Telegram-BotAPI-0.12:20220703-221315.log'
 * Package:    perl-gcpan/WWW-Telegram-BotAPI-0.12
 * Repository: x-portage
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   distcc network-sandbox preserve-libs sandbox userpriv usersandbox
 * ERROR: perl-gcpan/WWW-Telegram-BotAPI-0.12::x-portage failed (prepare phase):
 *   The source directory '/var/tmp/portage/perl-gcpan/WWW-Telegram-BotAPI-0.12/work/WWW-Telegram-BotAPI-0.12' doesn't exist
 * 
 * Call stack:
 *            ebuild.sh, line  770:  Called __ebuild_main 'prepare'
 *   phase-functions.sh, line 1059:  Called __dyn_prepare
 *   phase-functions.sh, line  385:  Called die
 * The specific snippet of code:
 *              die "The source directory '${S}' doesn't exist"
 * 
 * If you need support, post the output of `emerge --info '=perl-gcpan/WWW-Telegram-BotAPI-0.12::x-portage'`,
 * the complete build log and the output of `emerge -pqv '=perl-gcpan/WWW-Telegram-BotAPI-0.12::x-portage'`.
 * The complete build log is located at '/var/log/portage/perl-gcpan:WWW-Telegram-BotAPI-0.12:20220703-221315.log'.


----
# emerge --info '=perl-gcpan/WWW-Telegram-BotAPI-0.12::x-portage'
Portage 3.0.30 (python 3.10.5-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-11.3.0, glibc-2.34-r13, 5.15.41-gentoo-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.15.41-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i5-6300U_CPU_@_2.40GHz-with-glibc2.34
KiB Mem:    32544204 total,  18266084 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 03 Jul 2022 22:00:01 +0000
Head commit of repository gentoo: 0640ec9ea7c046fbc3f0cfd9a1cdfa27a6f245be
Timestamp of repository wayland-desktop: Sat, 02 Jul 2022 18:17:01 +0000
Head commit of repository wayland-desktop: 9c3e086a264abf9b561b9b1b9d74e5a4ddb69920

sh bash 5.1_p16
ld GNU ld (Gentoo 2.37_p1 p2) 2.37
distcc 3.4 x86_64-pc-linux-gnu [enabled]
ccache version 4.5.1 [disabled]
app-misc/pax-utils:        1.3.4::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.1-r3::gentoo
dev-lang/python:           2.7.18_p15::gentoo, 3.9.13::gentoo, 3.10.5::gentoo
dev-lang/rust:             1.60.0::gentoo
dev-util/ccache:           4.5.1::gentoo
dev-util/cmake:            3.22.4::gentoo
dev-util/meson:            0.61.4-r2::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/openrc:           0.44.10::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r2::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.13.4-r2::gentoo, 1.16.5::gentoo
sys-devel/binutils:        2.37_p1-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           13.0.1::gentoo, 14.0.4::gentoo
sys-devel/gcc:             11.3.0::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/llvm:            13.0.1::gentoo, 14.0.4::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.34-r13::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: --exclude ChangeLog --delete-excluded
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24

wayland-desktop
    location: /var/db/repos/wayland-desktop
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/wayland-desktop.git
    masters: gentoo

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

noci
    location: /usr/local/portage-noci
    masters: gentoo
    priority: 1

gamerlay
    location: /var/lib/layman/gamerlay
    masters: gentoo
    priority: 50

jorgicio
    location: /var/lib/layman/jorgicio
    masters: gentoo
    priority: 50

matrix
    location: /var/lib/layman/matrix
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE PUEL sun-bcla-java-vm dlj-1.1 skype-eula googleearth AdobeFlash-10 AdobeFlash-10.1 OPERA-12 gSOAP"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.0/ext-active/ /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php8.0/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.0/ext-active/ /etc/php/phpdbg-php8.1/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 -pipe"
DISTDIR="/var/tmp/portdist"
EMERGE_DEFAULT_OPTS="--jobs=3 --load-average=2 --autounmask-write --quiet --keep-going --with-bdeps=y "
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distcc distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="rsync://mirror.leaseweb.com/gentoo/ rsync://ftp.snt.utwente.nl/gentoo http://mirror.leaseweb.com/gentoo/ http://gentoo.c3sl.ufpr.br/ ftp://gentoo.c3sl.ufpr.br/gentoo/"
LANG="nl_NL.UTF-8"
LDFLAGS="-Wl,--as-needed"
MAKEOPTS="-j3 -l2"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude ChangeLog --delete-excluded"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="3dnow 3dnowext 3dnowprefetch X X509 a52 aac aalib accessibility acl acpi activefilter activities ads aio akode akonadi alsa amd64 ao ati audiofile audit automount avahi bash-completion bl bluetooth bookmarks branding bzip2 cairo caps cdda cddb cdparanoia cdr cgi chm cli clvm cman crypt cscope css cups curl dbus declarative dga directfb djvu dri dts dv dvb dvd dvdr eap-tls elogind encode esd exif exiscan exiscan-acl expat fam fame fastcgi fax fbcon ffmpeg flac fpx frxp gd gdbm ggi gif gimp glib gmp gphoto2 gpm graphviz gs gsm gstreamer gtk gui guile hal handbook howl-compat html http httpd ical icecast iconv icu id3 id3tag idn ieee1394 ilbc imap imlib ipv6 irda ithreads jabber java javascript jbig jingle joystick jpeg jpeg2k justify kde kdeprefix kerberos kipi kqemu kwallet lame laptop lcms ldap libcaca libglvnd libnotify libsamplerate libtirpc live lm_sensors lmtp loop-aes lua lzma lzo mad mailwrapper mariadb matroska mbrola md5sum mdnsresponder-compat memcache mhash mikmod mjpeg mmap mmx mmxext mng motif mp2 mp3 mp4 mpeg mplayer multilib musepack musicbrainz nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh nas ncurses netboot network networkmanager nfs nls nptl nsplugin obex ocamlopt odbc odk ogg openal openexr opengl openmp oscar pam pango pcre pda pdf phonon php pic plasma plotutils png pnm policykit postscript ppds pth pulseaudio qml qt5 quicktime quotas radius rar rdesktop readline real rle rrdtool rtc scanner sdl seccomp semantic-desktop server skey slang sndfile snmp span speex spell spf split-usr sqlite sqlite3 srs srtp sse sse2 sse3 sse4 sse4_1 sse4_2 sse4a ssl ssse3 startup-notification subversion svg swat symlink sysfs syslog theora threads tiff tools truetype tta udev udisks unicode ups urandom usb utempter v4l v4l2 vcd vde vim-syntax vnc vorbis wavpack wayland webdav widgets wifi win32codecs winbind wma wmf wxwidgets x264 xanim xattr xcb xfs xine xinerama xml xmlreader xmlrpc xmlwriter xosd xpm xscreensaver xv xvid yaz yv12 zeroconf zip zlib zrtp" ABI_X86="64" ADA_TARGET="gnat_2020" ALSA_CARDS="hda-intel usb-audio" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="ptp2 canon casio st2205 stv0674 stv0680 ax203 sony_dscf1 sony_dscf55 directory mustek" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx f16c mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc efi-64" INPUT_DEVICES="evdev libinput synaptics joystick aiptek wacom" KERNEL="linux" L10N="nl-NL en-US en-GB nl en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver pdfimport scripting-beanshell scripting=javascript wiki-publisher presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1 lua5-3" LUA_TARGETS="lua5-1" NGINX_MODULES_HTTP="ssi replace sub scgi rewrite referrer proxy perl memcached gzip gzip_static geo geoip fastcgi dav charset browser auth_basic access addition ajp auth_pam auth_request autoindex dav_ext echo empty_gif fancyindex flv gunzip headers_more image_filter limit_conn limit_req lua map metrics mp4 naxsi push_stream random_index referer slice uwsgi xslt stub_status" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10 python3_9" QEMU_SOFTMMU_TARGETS="arm i386 alpha x86_64" QEMU_USER_TARGETS="alpha i386 x86_64 arm armeb" RUBY_TARGETS="ruby27" SANE_BACKENDS="net v4l hpaio" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="gradm ipp2p ipv4options length2 lscan psd quota2 account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

perl-gcpan/WWW-Telegram-BotAPI-0.12::x-portage was built with the following:
USE="" ABI_X86="(64)"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distcc distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"



Expected Results:  
emerge not failing for generated CPAN module.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-03 22:25:36 UTC
Because you can't just sed like that. More changes are needed.

*** This bug has been marked as a duplicate of bug 819513 ***