Re: emulators/linux_base-f10 poudriere (3.1pre)

2014-08-15 Thread Alexander Leidinger
On Wed, 13 Aug 2014 21:16:43 +0200
Matthias Apitz g...@unixarea.de wrote:

 I' building my ports with poudriere 3.1pre on head. The port
 emulators/linux_base-f10 can not be build due to a problem with one
 file listed in the Makefile which seems to not exist anymore (or at
 least not with the correct SHA256 signature and filesize). What makes
 me wonder is that the file gamin-0.1.9-6.fc10.src.rpm itself is not
 used to build the port, poudriere only stops because it can not fetch
 this file;

For GPLed binaries (RPMs) we have the obligation to provide the src
(SRPMs). As such the src needs to be fetched on the FreeBSD ports build
cluster and provided together with the binaries.

 If one builds the port normal (with make install) the missing file is
 not an issue and the port just installs fine.

[...]
 If I comment out the single file, poudriere is happy.
 
 Why the normal 'make install' can build the port and poudriere can
 not?

On a normal install PACKAGE_BUILDING is not defined. I assume poudriere
is defining it.

I don't know of PACAKGE_BULDING implies BATCH or if BATCH is enough to
build non-interactively. So a quick solution could be to remove this
PACKAGE_BULDING from non-FreeBSD-ports-build-cluster builds. The right
solution is to check where the missing file can be found and commit a
fix to the port.

Bye,
Alexander.

-- 
http://www.Leidinger.net alexan...@leidinger.net: PGP 0xC773696B3BAC17DC
http://www.FreeBSD.orgnetch...@freebsd.org  : PGP 0xC773696B3BAC17DC
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org


Re: emulators/linux_base-f10 poudriere (3.1pre)

2014-08-15 Thread Juergen Lock
On Fri, Aug 15, 2014 at 07:50:04PM +0200, Juergen Lock wrote:
 On Fri, Aug 15, 2014 at 03:49:47PM +0200, Matthias Apitz wrote:
  El día Friday, August 15, 2014 a las 12:12:53PM +0200, Alexander Leidinger 
  escribió:
  
   For GPLed binaries (RPMs) we have the obligation to provide the src
   (SRPMs). As such the src needs to be fetched on the FreeBSD ports build
   cluster and provided together with the binaries.
  
  I understand.
  
   On a normal install PACKAGE_BUILDING is not defined. I assume poudriere
   is defining it.
   
   I don't know of PACAKGE_BULDING implies BATCH or if BATCH is enough to
   build non-interactively. So a quick solution could be to remove this
   PACKAGE_BULDING from non-FreeBSD-ports-build-cluster builds. The right
   solution is to check where the missing file can be found and commit a
   fix to the port.
  
  I spent hours in googling around and fetching files with that name
  gamin-0.1.9-6.fc10.src.rpm from servers all over the world. I could not
  find any which matches the SIZE and SHA256 signature. And, I'm not the
  authority to decide which one is the correct file. There are some with a
  size of around 650 KByte, while the distinfo file says some 10K:
  
  $ fgrep gamin-0.1.9-6.fc10.src.rpm distinfo.i386
  SHA256 (rpm/i386/fedora/10/gamin-0.1.9-6.fc10.src.rpm) = 
  cd3be5866aae06398e919eaa412af2d92b04b63139dc1a20e8377c5bf98c0e84
  SIZE (rpm/i386/fedora/10/gamin-0.1.9-6.fc10.src.rpm) = 10649
  
  Over to maintainer :-)
  
  Thanks
  
  matthias
 
 I still have that file, and it's not an rpm, it's html. (attached)
 
 SHA256 (/usr/ports/distfiles/rpm/i386/fedora/10/gamin-0.1.9-6.fc10.src.rpm) = 
 cd3be5866aae06398e919eaa412af2d92b04b63139dc1a20e8377c5bf98c0e84
 
  So probably the 650k one should be used instead...
 
  HTH,
   Juergen

 
 
 
 
 
 
 
  [1]SEARCH
  [2]NEWS
  [3]DIRECTORIES
  [4]ABOUT
  [5]FAQ
  [6]VARIOUS
  [7]BLOG
  [8]FORUM
  [9]DONATE
  [10]YUM REPOSITORY
 
 
 
   You have chosen search rpm in world FTP resources.
   Not enough search parameters. I'm using defaults.
   Display 1 - 2 hits of 2. Search took 0.01 seconds.
 
 
1
 
   1
 
 
 
   Search results for gamin-0.1.9-6.fc10.src.rpm :
 
Filename Distribution   File 
 size
[11]gamin-0.1.9-6.fc10.src.rpm   Fedora 10   647 kB
[12]gamin-0.1.9-6.fc10.src.rpm   Fedora 10   647 kB
 
 
1
 
   1
 
 
 
 
 
 
 [13]internet katowice Designed by station75
 
 References
 
1. http://rpm.pbone.net/
2. file:///index.php3/stat/1/data/2012-06-26
3. file:///index.php3/stat/20
4. file:///index.php3/stat/5
5. file:///index.php3/stat/19
6. file:///index.php3/stat/8
7. file:///index.php3/stat/25
8. file:///phpBB2/
9. file:///index.php3/stat/30
   10. file:///index.php3/stat/39
   11. 
 file:///index.php3/stat/26/dist/65/size/662108/name/gamin-0.1.9-6.fc10.src.rpm
   12. 
 file:///index.php3/stat/26/dist/65/size/662268/name/gamin-0.1.9-6.fc10.src.rpm
   13. http://www.3sdlafirm.pl/

 ___
 freebsd-emulation@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
 To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org

Hmm looks like the list software mangled the file, I've put it here:

https://people.freebsd.org/~nox/tmp/distfiles/gamin-0.1.9-6.fc10.src.rpm

 HTH,
Juergen
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org


Re: emulators/linux_base-f10 poudriere (3.1pre)

2014-08-15 Thread Alexander Leidinger
On Fri, 15 Aug 2014 19:50:04 +0200
Juergen Lock n...@jelal.kn-bremen.de wrote:

  So probably the 650k one should be used instead...

I'm looking into this right now.

Bye,
Alexander.

-- 
http://www.Leidinger.net alexan...@leidinger.net: PGP 0xC773696B3BAC17DC
http://www.FreeBSD.orgnetch...@freebsd.org  : PGP 0xC773696B3BAC17DC
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org


Re: emulators/linux_base-f10 poudriere (3.1pre)

2014-08-15 Thread Matthias Apitz
El día Friday, August 15, 2014 a las 07:50:04PM +0200, Juergen Lock escribió:

 I still have that file, and it's not an rpm, it's html. (attached)
 
 SHA256 (/usr/ports/distfiles/rpm/i386/fedora/10/gamin-0.1.9-6.fc10.src.rpm) = 
 cd3be5866aae06398e919eaa412af2d92b04b63139dc1a20e8377c5bf98c0e84
 
  So probably the 650k one should be used instead...

I.e. I was searching hours in Internet because someone commited into the
distfile the signatures of the nonsense of a HTML error page?

Nice :-)

matthias
 
 
   You have chosen search rpm in world FTP resources.
   Not enough search parameters. I'm using defaults.
   Display 1 - 2 hits of 2. Search took 0.01 seconds.
 
   Search results for gamin-0.1.9-6.fc10.src.rpm :
 
Filename Distribution   File 
 size
[11]gamin-0.1.9-6.fc10.src.rpm   Fedora 10   647 kB
[12]gamin-0.1.9-6.fc10.src.rpm   Fedora 10   647 kB
 

-- 
Matthias Apitz   |  /\   ASCII Ribbon Campaign:
E-mail: g...@unixarea.de |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X- No proprietary attachments
phone: +49-170-4527211   |  / \   - Respect for open standards
 | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org

Re: emulators/linux_base-f10 poudriere (3.1pre)

2014-08-15 Thread Matthias Apitz
El día Friday, August 15, 2014 a las 11:03:11PM +0200, Alexander Leidinger 
escribió:

 I'm glad I entertained you... ;-)
 No, I didn't check if it was really me committing those entries.

I did not checked it either.

 Fixed now. Would be nice if you could update and test.

I did:

# cd /usr/ports/emulators/linux_base-f10
# svn up
Updating '.':
Udistinfo.i386
UMakefile
Actualizado a la revisión 365065.

# cp distinfo.i386 Makefile 
/usr/local/poudriere/ports/ports-head/emulators/linux_base-f10/

# rm 
/usr/local/poudriere/data/packages/freebsd-head-ports-head/All/linux_base-f10-10_7.txz

# poudriere bulk -j freebsd-head -p ports-head emulators/linux_base-f10
[00:00:00]  Creating the reference jail...
...
[00:02:01]  [01][00:00:00] Starting build of emulators/linux_base-f10
[00:03:39]  [01][00:01:38] Finished build of emulators/linux_base-f10: 
Success

$ ls -l /usr/ports/distfiles/rpm/i386/fedora/10/gamin-*
-rw-r--r--  1 root  wheel  127020 31 oct  2008 
/usr/ports/distfiles/rpm/i386/fedora/10/gamin-0.1.9-6.fc10.i386.rpm
-rw-r--r--  1 root  wheel  662268 31 oct  2008 
/usr/ports/distfiles/rpm/i386/fedora/10/gamin-0.1.9-6.fc10.src.rpm


i.e. it fetches the correct file now. Tested positiv.

Thanks

matthias
-- 
Matthias Apitz   |  /\   ASCII Ribbon Campaign:
E-mail: g...@unixarea.de |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X- No proprietary attachments
phone: +49-170-4527211   |  / \   - Respect for open standards
 | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org