Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 398277 - net-print/cups-1.5.2-r1[perl] build fails due to perl not building against local cups
Summary: net-print/cups-1.5.2-r1[perl] build fails due to perl not building against lo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: cups-stable
  Show dependency tree
 
Reported: 2012-01-09 19:11 UTC by SpanKY
Modified: 2012-04-19 20:23 UTC (History)
0 users

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


Attachments
emerge --info cups (emerge-info.log,21.09 KB, text/plain)
2012-01-09 19:14 UTC, SpanKY
Details
`emerge cups` log (cups-build.log,46.79 KB, text/plain)
2012-01-09 19:14 UTC, SpanKY
Details

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2012-01-09 19:11:18 UTC
i don't have cups installed.  so when i ran `emerge cups`, i hit:

 * emake OTHERLDFLAGS=-Wl,-O1 -Wl,--hash-style=gnu
make -j5 'OTHERLDFLAGS=-Wl,-O1 -Wl,--hash-style=gnu'
/usr/bin/perl5.12.4 /usr/lib64/perl5/vendor_perl/5.12.4/ExtUtils/xsubpp  -typemap /usr/lib64/perl5/5.12.4/ExtUtils/typemap  CUPS.xs > CUPS.xsc && mv CUPS.xsc CUPS.c
Running Mkbootstrap for CUPS ()
chmod 644 CUPS.bs
cp CUPS.bs blib/arch/auto/CUPS/CUPS.bs
chmod 644 blib/arch/auto/CUPS/CUPS.bs
cp CUPS.pm blib/lib/CUPS.pm
AutoSplitting blib/lib/CUPS.pm (blib/lib/auto/CUPS)
Please specify prototyping behavior for CUPS.xs (see perlxs manual)
x86_64-pc-linux-gnu-gcc -c  -I../../ -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=k8 -pipe -g -Wimplicit-function-declaration   -DVERSION=\"1.2\" -DXS_VERSION=\"1.2\" -fPIC "-I/usr/lib64/perl5/5.12.4/x86_64-linux/CORE"   CUPS.c
rm -f blib/arch/auto/CUPS/CUPS.so
LD_RUN_PATH="/usr/lib64" x86_64-pc-linux-gnu-gcc  -shared -O2 -march=k8 -pipe -g -Wimplicit-function-declaration -Wl,-O1 -Wl,--hash-style=gnu CUPS.o -Wl,-O1 -Wl,--hash-style=gnu -o blib/arch/auto/CUPS/CUPS.so     \
   -lcups       \

/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcups
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/CUPS/CUPS.so] Error 1
emake failed
 * ERROR: net-print/cups-1.4.8-r22 failed (compile phase):
Comment 1 SpanKY gentoo-dev 2012-01-09 19:14:16 UTC
Created attachment 298417 [details]
emerge --info cups
Comment 2 SpanKY gentoo-dev 2012-01-09 19:14:46 UTC
Created attachment 298419 [details]
`emerge cups` log

disabling the perl flag and emerging cups worked fine btw
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2012-01-28 20:56:43 UTC
Makes sense, but right now I can't reproduce it... I just hope this does not depend on a specific perl version. :(

Needs more investigation.
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2012-04-12 23:52:46 UTC
Can you please try if this still happens with current cups-1.5? Sorry, I cant reproduce it...
Comment 5 SpanKY gentoo-dev 2012-04-13 00:45:38 UTC
still fails in the same way
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2012-04-19 20:23:21 UTC
Reproduced and fixed in 1.5.2-r2